webflow-api 3.1.3 → 3.1.4

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 (72) hide show
  1. package/.mock/definition/__package__.yml +0 -7
  2. package/.mock/definition/assets.yml +1 -1
  3. package/.mock/definition/orders.yml +14 -14
  4. package/.mock/definition/pages.yml +0 -4
  5. package/.mock/definition/sites/redirects.yml +8 -8
  6. package/.mock/definition/sites.yml +3 -3
  7. package/api/resources/accessGroups/client/Client.js +1 -1
  8. package/api/resources/assets/client/Client.js +8 -8
  9. package/api/resources/collections/client/Client.js +4 -4
  10. package/api/resources/collections/resources/fields/client/Client.js +3 -3
  11. package/api/resources/collections/resources/items/client/Client.js +16 -16
  12. package/api/resources/components/client/Client.js +5 -5
  13. package/api/resources/ecommerce/client/Client.js +1 -1
  14. package/api/resources/forms/client/Client.js +7 -7
  15. package/api/resources/inventory/client/Client.js +2 -2
  16. package/api/resources/orders/client/Client.js +6 -6
  17. package/api/resources/pages/client/Client.js +5 -5
  18. package/api/resources/pages/resources/scripts/client/Client.js +3 -3
  19. package/api/resources/products/client/Client.js +6 -6
  20. package/api/resources/scripts/client/Client.js +3 -3
  21. package/api/resources/sites/client/Client.js +7 -7
  22. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  23. package/api/resources/sites/resources/comments/client/Client.js +3 -3
  24. package/api/resources/sites/resources/plans/client/Client.js +1 -1
  25. package/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  26. package/api/resources/sites/resources/redirects/client/Client.js +8 -8
  27. package/api/resources/sites/resources/robotsTxt/client/Client.js +4 -4
  28. package/api/resources/sites/resources/scripts/client/Client.js +4 -4
  29. package/api/resources/sites/resources/wellKnown/client/Client.js +2 -2
  30. package/api/resources/token/client/Client.js +2 -2
  31. package/api/resources/users/client/Client.js +5 -5
  32. package/api/resources/webhooks/client/Client.js +4 -4
  33. package/api/resources/workspaces/resources/auditLogs/client/Client.js +1 -1
  34. package/api/types/Page.d.ts +0 -2
  35. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  36. package/dist/api/resources/assets/client/Client.js +8 -8
  37. package/dist/api/resources/collections/client/Client.js +4 -4
  38. package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
  39. package/dist/api/resources/collections/resources/items/client/Client.js +16 -16
  40. package/dist/api/resources/components/client/Client.js +5 -5
  41. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  42. package/dist/api/resources/forms/client/Client.js +7 -7
  43. package/dist/api/resources/inventory/client/Client.js +2 -2
  44. package/dist/api/resources/orders/client/Client.js +6 -6
  45. package/dist/api/resources/pages/client/Client.js +5 -5
  46. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
  47. package/dist/api/resources/products/client/Client.js +6 -6
  48. package/dist/api/resources/scripts/client/Client.js +3 -3
  49. package/dist/api/resources/sites/client/Client.js +7 -7
  50. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  51. package/dist/api/resources/sites/resources/comments/client/Client.js +3 -3
  52. package/dist/api/resources/sites/resources/plans/client/Client.js +1 -1
  53. package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
  54. package/dist/api/resources/sites/resources/redirects/client/Client.js +8 -8
  55. package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +4 -4
  56. package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
  57. package/dist/api/resources/sites/resources/wellKnown/client/Client.js +2 -2
  58. package/dist/api/resources/token/client/Client.js +2 -2
  59. package/dist/api/resources/users/client/Client.js +5 -5
  60. package/dist/api/resources/webhooks/client/Client.js +4 -4
  61. package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +1 -1
  62. package/dist/api/types/Page.d.ts +0 -2
  63. package/dist/serialization/types/Page.d.ts +0 -1
  64. package/dist/serialization/types/Page.js +0 -1
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +1 -1
  67. package/package.json +13 -12
  68. package/reference.md +4 -4
  69. package/serialization/types/Page.d.ts +0 -1
  70. package/serialization/types/Page.js +0 -1
  71. package/version.d.ts +1 -1
  72. package/version.js +1 -1
@@ -1701,13 +1701,6 @@ types:
1701
1701
  Branching](https://university.webflow.com/lesson/page-branching)
1702
1702
  default: false
1703
1703
  access: read-only
1704
- isMembersOnly:
1705
- type: optional<boolean>
1706
- docs: >-
1707
- Indicates whether the Page is restricted by [Memberships
1708
- Controls](https://university.webflow.com/lesson/webflow-memberships-overview#how-to-manage-page-restrictions)
1709
- default: false
1710
- access: read-only
1711
1704
  seo:
1712
1705
  type: optional<PageSeo>
1713
1706
  docs: SEO-related fields for the Page
@@ -168,7 +168,7 @@ service:
168
168
  assetUrl: >-
169
169
  https://s3.amazonaws.com/webflow-prod-assets/6258612d1ee792848f805dcf/660d907ab9e91e3e9f56385e_paranoidAndroid-2024.png
170
170
  hostedUrl: >-
171
- https://d1otoma47x30pg.cloudfront.net/643021114e290e0d3a0602b2/64358b9544249dc43d37d2b7_Screenshot%202023-04-11%20at%209.50.42%20AM.png
171
+ https://dev-assets.website-files.com/643021114e290e0d3a0602b2/64358b9544249dc43d37d2b7_Screenshot%202023-04-11%20at%209.50.42%20AM.png
172
172
  originalFileName: file.png
173
173
  createdOn: '2023-04-11T16:32:21Z'
174
174
  lastUpdated: '2023-04-12T20:31:03Z'
@@ -151,7 +151,7 @@ service:
151
151
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
152
152
  variantImage:
153
153
  url: >-
154
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
154
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
155
155
  variantPrice:
156
156
  unit: USD
157
157
  value: '5892'
@@ -176,7 +176,7 @@ service:
176
176
  variantSKU: incredible-bronze-towels-sleek-frozen-incredible-metal
177
177
  variantImage:
178
178
  url: >-
179
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e26729_image16.jpeg
179
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e26729_image16.jpeg
180
180
  variantPrice:
181
181
  unit: USD
182
182
  value: '5892'
@@ -293,7 +293,7 @@ service:
293
293
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
294
294
  variantImage:
295
295
  url: >-
296
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
296
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
297
297
  variantPrice:
298
298
  unit: USD
299
299
  value: '5892'
@@ -320,7 +320,7 @@ service:
320
320
  recycled-steel-gloves-electronic-granite-handcrafted-grey
321
321
  variantImage:
322
322
  url: >-
323
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
323
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
324
324
  variantPrice:
325
325
  unit: USD
326
326
  value: '5892'
@@ -516,7 +516,7 @@ service:
516
516
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
517
517
  variantImage:
518
518
  url: >-
519
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
519
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
520
520
  variantPrice:
521
521
  unit: USD
522
522
  value: '5892'
@@ -539,7 +539,7 @@ service:
539
539
  variantSKU: recycled-steel-gloves-electronic-granite-handcrafted-grey
540
540
  variantImage:
541
541
  url: >-
542
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
542
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
543
543
  variantPrice:
544
544
  unit: USD
545
545
  value: '5892'
@@ -750,7 +750,7 @@ service:
750
750
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
751
751
  variantImage:
752
752
  url: >-
753
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
753
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
754
754
  variantPrice:
755
755
  unit: USD
756
756
  value: '5892'
@@ -773,7 +773,7 @@ service:
773
773
  variantSKU: recycled-steel-gloves-electronic-granite-handcrafted-grey
774
774
  variantImage:
775
775
  url: >-
776
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
776
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
777
777
  variantPrice:
778
778
  unit: USD
779
779
  value: '5892'
@@ -974,7 +974,7 @@ service:
974
974
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
975
975
  variantImage:
976
976
  url: >-
977
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
977
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
978
978
  variantPrice:
979
979
  unit: USD
980
980
  value: '5892'
@@ -997,7 +997,7 @@ service:
997
997
  variantSKU: recycled-steel-gloves-electronic-granite-handcrafted-grey
998
998
  variantImage:
999
999
  url: >-
1000
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1000
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1001
1001
  variantPrice:
1002
1002
  unit: USD
1003
1003
  value: '5892'
@@ -1188,7 +1188,7 @@ service:
1188
1188
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
1189
1189
  variantImage:
1190
1190
  url: >-
1191
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
1191
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
1192
1192
  variantPrice:
1193
1193
  unit: USD
1194
1194
  value: '5892'
@@ -1211,7 +1211,7 @@ service:
1211
1211
  variantSKU: recycled-steel-gloves-electronic-granite-handcrafted-grey
1212
1212
  variantImage:
1213
1213
  url: >-
1214
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1214
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1215
1215
  variantPrice:
1216
1216
  unit: USD
1217
1217
  value: '5892'
@@ -1412,7 +1412,7 @@ service:
1412
1412
  variantSKU: luxurious-fresh-ball-generic-bronze-practical-plastic
1413
1413
  variantImage:
1414
1414
  url: >-
1415
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
1415
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg
1416
1416
  variantPrice:
1417
1417
  unit: USD
1418
1418
  value: '5892'
@@ -1435,7 +1435,7 @@ service:
1435
1435
  variantSKU: recycled-steel-gloves-electronic-granite-handcrafted-grey
1436
1436
  variantImage:
1437
1437
  url: >-
1438
- https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1438
+ https://dev-assets.website-files.com/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg
1439
1439
  variantPrice:
1440
1440
  unit: USD
1441
1441
  value: '5892'
@@ -63,7 +63,6 @@ service:
63
63
  draft: false
64
64
  canBranch: true
65
65
  isBranch: false
66
- isMembersOnly: false
67
66
  seo:
68
67
  title: The Ultimate Hitchhiker's Guide to the Galaxy
69
68
  description: >-
@@ -88,7 +87,6 @@ service:
88
87
  draft: false
89
88
  canBranch: true
90
89
  isBranch: false
91
- isMembersOnly: false
92
90
  seo:
93
91
  title: Celebrate Towel Day - The Hitchhiker's Guide to the Galaxy
94
92
  description: >-
@@ -159,7 +157,6 @@ service:
159
157
  draft: false
160
158
  canBranch: true
161
159
  isBranch: false
162
- isMembersOnly: false
163
160
  seo:
164
161
  title: The Ultimate Hitchhiker's Guide to the Galaxy
165
162
  description: >-
@@ -255,7 +252,6 @@ service:
255
252
  draft: false
256
253
  canBranch: true
257
254
  isBranch: false
258
- isMembersOnly: false
259
255
  seo:
260
256
  title: The Ultimate Hitchhiker's Guide to the Galaxy
261
257
  description: >-
@@ -9,7 +9,7 @@ service:
9
9
  method: GET
10
10
  auth: true
11
11
  docs: >
12
- Fetch a list of all URL redirect rules configured for a specific site.
12
+ Fetch a list of all 301 redirect rules configured for a specific site.
13
13
 
14
14
 
15
15
  Use this endpoint to review, audit, or manage the redirection rules that
@@ -27,7 +27,7 @@ service:
27
27
  site_id:
28
28
  type: string
29
29
  docs: Unique identifier for a Site
30
- display-name: Get URL redirects
30
+ display-name: Get 301 redirects
31
31
  response:
32
32
  docs: Request was successful
33
33
  type: root.Redirects
@@ -59,7 +59,7 @@ service:
59
59
  method: POST
60
60
  auth: true
61
61
  docs: >
62
- Add a new URL redirection rule to a site.
62
+ Add a new 301 redirection rule to a site.
63
63
 
64
64
 
65
65
  This endpoint allows you to define a source path (`fromUrl`) and its
@@ -79,7 +79,7 @@ service:
79
79
  site_id:
80
80
  type: string
81
81
  docs: Unique identifier for a Site
82
- display-name: Create a URL redirect
82
+ display-name: Create a 301 redirect
83
83
  request:
84
84
  body: root.Redirect
85
85
  content-type: application/json
@@ -110,7 +110,7 @@ service:
110
110
  method: DELETE
111
111
  auth: true
112
112
  docs: >
113
- Remove a URL redirection rule from a site.
113
+ Remove a 301 redirection rule from a site.
114
114
 
115
115
 
116
116
  This is useful for cleaning up outdated or unnecessary redirects,
@@ -132,7 +132,7 @@ service:
132
132
  redirect_id:
133
133
  type: string
134
134
  docs: Unique identifier site rediect
135
- display-name: Delete URL redirects
135
+ display-name: Delete 301 redirects
136
136
  response:
137
137
  docs: Request was successful
138
138
  type: root.Redirects
@@ -165,7 +165,7 @@ service:
165
165
  method: PATCH
166
166
  auth: true
167
167
  docs: >
168
- Update a URL redirection rule from a site.
168
+ Update a 301 redirection rule from a site.
169
169
 
170
170
 
171
171
  <Warning title="Enterprise Only">This endpoint requires an Enterprise
@@ -182,7 +182,7 @@ service:
182
182
  redirect_id:
183
183
  type: string
184
184
  docs: Unique identifier site rediect
185
- display-name: Update URL redirect
185
+ display-name: Update 301 redirect
186
186
  request:
187
187
  body: root.Redirect
188
188
  content-type: application/json
@@ -101,7 +101,7 @@ service:
101
101
  lastPublished: '2023-04-02T12:42:00Z'
102
102
  lastUpdated: '2016-10-24T19:43:17Z'
103
103
  previewUrl: >-
104
- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b741/197910121200.png
104
+ https://dev-assets.website-files.com/42e63e98c9a982ac9b8b741/197910121200.png
105
105
  timeZone: DeepSpace/InfiniteImprobability
106
106
  parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
107
107
  customDomains:
@@ -142,7 +142,7 @@ service:
142
142
  lastPublished: '2023-04-02T12:45:00Z'
143
143
  lastUpdated: '2016-10-24T19:43:17Z'
144
144
  previewUrl: >-
145
- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png
145
+ https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png
146
146
  timeZone: DeepSpace/Depression
147
147
  customDomains:
148
148
  - id: 589a331aa51e760df7ccb89f
@@ -175,7 +175,7 @@ service:
175
175
  lastPublished: '2023-04-02T12:50:00Z'
176
176
  lastUpdated: '2016-10-24T19:43:17Z'
177
177
  previewUrl: >-
178
- https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png
178
+ https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png
179
179
  timeZone: Vogsphere/PoetryHall
180
180
  customDomains:
181
181
  - id: 589a331aa51e760df7ccb8a0
@@ -85,7 +85,7 @@ class AccessGroups {
85
85
  const _response = yield core.fetcher({
86
86
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/accessgroups`),
87
87
  method: "GET",
88
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
88
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
89
89
  contentType: "application/json",
90
90
  queryParameters: _queryParams,
91
91
  requestType: "json",
@@ -75,7 +75,7 @@ class Assets {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/assets`),
77
77
  method: "GET",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -185,7 +185,7 @@ class Assets {
185
185
  const _response = yield core.fetcher({
186
186
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/assets`),
187
187
  method: "POST",
188
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  body: serializers.AssetsCreateRequest.jsonOrThrow(request, {
@@ -287,7 +287,7 @@ class Assets {
287
287
  const _response = yield core.fetcher({
288
288
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
289
289
  method: "GET",
290
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
290
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
291
291
  contentType: "application/json",
292
292
  requestType: "json",
293
293
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -384,7 +384,7 @@ class Assets {
384
384
  const _response = yield core.fetcher({
385
385
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
386
386
  method: "DELETE",
387
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
388
  contentType: "application/json",
389
389
  requestType: "json",
390
390
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -476,7 +476,7 @@ class Assets {
476
476
  const _response = yield core.fetcher({
477
477
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `assets/${encodeURIComponent(assetId)}`),
478
478
  method: "PATCH",
479
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
479
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
480
480
  contentType: "application/json",
481
481
  requestType: "json",
482
482
  body: serializers.AssetsUpdateRequest.jsonOrThrow(request, {
@@ -578,7 +578,7 @@ class Assets {
578
578
  const _response = yield core.fetcher({
579
579
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/asset_folders`),
580
580
  method: "GET",
581
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
581
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
582
582
  contentType: "application/json",
583
583
  requestType: "json",
584
584
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -678,7 +678,7 @@ class Assets {
678
678
  const _response = yield core.fetcher({
679
679
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/asset_folders`),
680
680
  method: "POST",
681
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
681
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
682
682
  contentType: "application/json",
683
683
  requestType: "json",
684
684
  body: serializers.AssetsCreateFolderRequest.jsonOrThrow(request, {
@@ -780,7 +780,7 @@ class Assets {
780
780
  const _response = yield core.fetcher({
781
781
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `asset_folders/${encodeURIComponent(assetFolderId)}`),
782
782
  method: "GET",
783
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
783
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
784
784
  contentType: "application/json",
785
785
  requestType: "json",
786
786
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -77,7 +77,7 @@ class Collections {
77
77
  const _response = yield core.fetcher({
78
78
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/collections`),
79
79
  method: "GET",
80
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -199,7 +199,7 @@ class Collections {
199
199
  const _response = yield core.fetcher({
200
200
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/collections`),
201
201
  method: "POST",
202
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
202
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
203
203
  contentType: "application/json",
204
204
  requestType: "json",
205
205
  body: serializers.CollectionsCreateRequest.jsonOrThrow(request, {
@@ -303,7 +303,7 @@ class Collections {
303
303
  const _response = yield core.fetcher({
304
304
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}`),
305
305
  method: "GET",
306
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
306
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
307
307
  contentType: "application/json",
308
308
  requestType: "json",
309
309
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -400,7 +400,7 @@ class Collections {
400
400
  const _response = yield core.fetcher({
401
401
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}`),
402
402
  method: "DELETE",
403
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
404
  contentType: "application/json",
405
405
  requestType: "json",
406
406
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -115,7 +115,7 @@ class Fields {
115
115
  const _response = yield core.fetcher({
116
116
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields`),
117
117
  method: "POST",
118
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
118
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
119
119
  contentType: "application/json",
120
120
  requestType: "json",
121
121
  body: serializers.FieldCreate.jsonOrThrow(request, {
@@ -220,7 +220,7 @@ class Fields {
220
220
  const _response = yield core.fetcher({
221
221
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
222
222
  method: "DELETE",
223
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
223
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
224
224
  contentType: "application/json",
225
225
  requestType: "json",
226
226
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -317,7 +317,7 @@ class Fields {
317
317
  const _response = yield core.fetcher({
318
318
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/fields/${encodeURIComponent(fieldId)}`),
319
319
  method: "PATCH",
320
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
320
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
321
321
  contentType: "application/json",
322
322
  requestType: "json",
323
323
  body: serializers.collections.FieldUpdate.jsonOrThrow(request, {
@@ -96,7 +96,7 @@ class Items {
96
96
  const _response = yield core.fetcher({
97
97
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
98
98
  method: "GET",
99
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
99
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
100
100
  contentType: "application/json",
101
101
  queryParameters: _queryParams,
102
102
  requestType: "json",
@@ -224,7 +224,7 @@ class Items {
224
224
  const _response = yield core.fetcher({
225
225
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
226
226
  method: "POST",
227
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  body: serializers.collections.ItemsCreateItemRequest.jsonOrThrow(request, {
@@ -334,7 +334,7 @@ class Items {
334
334
  const _response = yield core.fetcher({
335
335
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
336
336
  method: "DELETE",
337
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
338
338
  contentType: "application/json",
339
339
  requestType: "json",
340
340
  body: serializers.collections.ItemsDeleteItemsRequest.jsonOrThrow(request, {
@@ -488,7 +488,7 @@ class Items {
488
488
  const _response = yield core.fetcher({
489
489
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items`),
490
490
  method: "PATCH",
491
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
491
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
492
492
  contentType: "application/json",
493
493
  requestType: "json",
494
494
  body: serializers.collections.ItemsUpdateItemsRequest.jsonOrThrow(request, {
@@ -620,7 +620,7 @@ class Items {
620
620
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
621
621
  .dataApi, `collections/${encodeURIComponent(collectionId)}/items/live`),
622
622
  method: "GET",
623
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
623
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
624
624
  contentType: "application/json",
625
625
  queryParameters: _queryParams,
626
626
  requestType: "json",
@@ -749,7 +749,7 @@ class Items {
749
749
  const _response = yield core.fetcher({
750
750
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
751
751
  method: "POST",
752
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
752
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
753
753
  contentType: "application/json",
754
754
  requestType: "json",
755
755
  body: serializers.collections.ItemsCreateItemLiveRequest.jsonOrThrow(request, {
@@ -860,7 +860,7 @@ class Items {
860
860
  const _response = yield core.fetcher({
861
861
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
862
862
  method: "DELETE",
863
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
863
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
864
864
  contentType: "application/json",
865
865
  requestType: "json",
866
866
  body: serializers.collections.ItemsDeleteItemsLiveRequest.jsonOrThrow(request, {
@@ -1011,7 +1011,7 @@ class Items {
1011
1011
  const _response = yield core.fetcher({
1012
1012
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/live`),
1013
1013
  method: "PATCH",
1014
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1014
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1015
1015
  contentType: "application/json",
1016
1016
  requestType: "json",
1017
1017
  body: serializers.collections.ItemsUpdateItemsLiveRequest.jsonOrThrow(request, {
@@ -1143,7 +1143,7 @@ class Items {
1143
1143
  const _response = yield core.fetcher({
1144
1144
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/bulk`),
1145
1145
  method: "POST",
1146
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1146
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1147
1147
  contentType: "application/json",
1148
1148
  requestType: "json",
1149
1149
  body: serializers.collections.CreateBulkCollectionItemRequestBody.jsonOrThrow(request, {
@@ -1253,7 +1253,7 @@ class Items {
1253
1253
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
1254
1254
  .production, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1255
1255
  method: "GET",
1256
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1256
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1257
1257
  contentType: "application/json",
1258
1258
  queryParameters: _queryParams,
1259
1259
  requestType: "json",
@@ -1358,7 +1358,7 @@ class Items {
1358
1358
  const _response = yield core.fetcher({
1359
1359
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1360
1360
  method: "DELETE",
1361
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1361
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1362
1362
  contentType: "application/json",
1363
1363
  queryParameters: _queryParams,
1364
1364
  requestType: "json",
@@ -1459,7 +1459,7 @@ class Items {
1459
1459
  const _response = yield core.fetcher({
1460
1460
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
1461
1461
  method: "PATCH",
1462
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1462
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1463
1463
  contentType: "application/json",
1464
1464
  requestType: "json",
1465
1465
  body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, {
@@ -1574,7 +1574,7 @@ class Items {
1574
1574
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi)
1575
1575
  .dataApi, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1576
1576
  method: "GET",
1577
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1577
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1578
1578
  contentType: "application/json",
1579
1579
  queryParameters: _queryParams,
1580
1580
  requestType: "json",
@@ -1681,7 +1681,7 @@ class Items {
1681
1681
  const _response = yield core.fetcher({
1682
1682
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1683
1683
  method: "DELETE",
1684
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1684
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1685
1685
  contentType: "application/json",
1686
1686
  queryParameters: _queryParams,
1687
1687
  requestType: "json",
@@ -1783,7 +1783,7 @@ class Items {
1783
1783
  const _response = yield core.fetcher({
1784
1784
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
1785
1785
  method: "PATCH",
1786
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1786
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1787
1787
  contentType: "application/json",
1788
1788
  requestType: "json",
1789
1789
  body: serializers.CollectionItemPatchSingle.jsonOrThrow(request, {
@@ -1891,7 +1891,7 @@ class Items {
1891
1891
  const _response = yield core.fetcher({
1892
1892
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `collections/${encodeURIComponent(collectionId)}/items/publish`),
1893
1893
  method: "POST",
1894
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1894
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
1895
1895
  contentType: "application/json",
1896
1896
  requestType: "json",
1897
1897
  body: serializers.collections.ItemsPublishItemRequest.jsonOrThrow(request, {