webflow-api 2.4.0 → 2.4.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 (47) hide show
  1. package/api/resources/accessGroups/client/Client.js +2 -2
  2. package/api/resources/assets/client/Client.js +16 -16
  3. package/api/resources/collections/client/Client.js +10 -10
  4. package/api/resources/collections/resources/fields/client/Client.js +4 -4
  5. package/api/resources/collections/resources/items/client/Client.js +24 -24
  6. package/api/resources/ecommerce/client/Client.js +2 -2
  7. package/api/resources/forms/client/Client.js +10 -10
  8. package/api/resources/inventory/client/Client.js +4 -4
  9. package/api/resources/orders/client/Client.js +12 -12
  10. package/api/resources/pages/client/Client.js +10 -10
  11. package/api/resources/pages/resources/scripts/client/Client.js +6 -6
  12. package/api/resources/products/client/Client.js +12 -12
  13. package/api/resources/scripts/client/Client.js +6 -6
  14. package/api/resources/sites/client/Client.js +8 -8
  15. package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  16. package/api/resources/sites/resources/scripts/client/Client.js +8 -8
  17. package/api/resources/token/client/Client.js +4 -4
  18. package/api/resources/users/client/Client.js +10 -10
  19. package/api/resources/webhooks/client/Client.js +8 -8
  20. package/dist/api/resources/accessGroups/client/Client.js +2 -2
  21. package/dist/api/resources/assets/client/Client.js +16 -16
  22. package/dist/api/resources/collections/client/Client.js +10 -10
  23. package/dist/api/resources/collections/resources/fields/client/Client.js +4 -4
  24. package/dist/api/resources/collections/resources/items/client/Client.js +24 -24
  25. package/dist/api/resources/ecommerce/client/Client.js +2 -2
  26. package/dist/api/resources/forms/client/Client.js +10 -10
  27. package/dist/api/resources/inventory/client/Client.js +4 -4
  28. package/dist/api/resources/orders/client/Client.js +12 -12
  29. package/dist/api/resources/pages/client/Client.js +10 -10
  30. package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
  31. package/dist/api/resources/products/client/Client.js +12 -12
  32. package/dist/api/resources/scripts/client/Client.js +6 -6
  33. package/dist/api/resources/sites/client/Client.js +8 -8
  34. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
  35. package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
  36. package/dist/api/resources/token/client/Client.js +4 -4
  37. package/dist/api/resources/users/client/Client.js +10 -10
  38. package/dist/api/resources/webhooks/client/Client.js +8 -8
  39. package/dist/version.d.ts +1 -1
  40. package/dist/version.js +1 -1
  41. package/dist/wrapper/ItemsClient.js +6 -6
  42. package/dist/wrapper/WebflowClient.js +9 -0
  43. package/package.json +1 -1
  44. package/version.d.ts +1 -1
  45. package/version.js +1 -1
  46. package/wrapper/ItemsClient.js +6 -6
  47. package/wrapper/WebflowClient.js +9 -0
@@ -79,8 +79,8 @@ class Inventory {
79
79
  Authorization: yield this._getAuthorizationHeader(),
80
80
  "X-Fern-Language": "JavaScript",
81
81
  "X-Fern-SDK-Name": "webflow-api",
82
- "X-Fern-SDK-Version": "2.4.0",
83
- "User-Agent": "webflow-api/2.4.0",
82
+ "X-Fern-SDK-Version": "2.4.2",
83
+ "User-Agent": "webflow-api/2.4.2",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
@@ -176,8 +176,8 @@ class Inventory {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "webflow-api",
179
- "X-Fern-SDK-Version": "2.4.0",
180
- "User-Agent": "webflow-api/2.4.0",
179
+ "X-Fern-SDK-Version": "2.4.2",
180
+ "User-Agent": "webflow-api/2.4.2",
181
181
  "X-Fern-Runtime": core.RUNTIME.type,
182
182
  "X-Fern-Runtime-Version": core.RUNTIME.version,
183
183
  },
@@ -90,8 +90,8 @@ class Orders {
90
90
  Authorization: yield this._getAuthorizationHeader(),
91
91
  "X-Fern-Language": "JavaScript",
92
92
  "X-Fern-SDK-Name": "webflow-api",
93
- "X-Fern-SDK-Version": "2.4.0",
94
- "User-Agent": "webflow-api/2.4.0",
93
+ "X-Fern-SDK-Version": "2.4.2",
94
+ "User-Agent": "webflow-api/2.4.2",
95
95
  "X-Fern-Runtime": core.RUNTIME.type,
96
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
97
  },
@@ -185,8 +185,8 @@ class Orders {
185
185
  Authorization: yield this._getAuthorizationHeader(),
186
186
  "X-Fern-Language": "JavaScript",
187
187
  "X-Fern-SDK-Name": "webflow-api",
188
- "X-Fern-SDK-Version": "2.4.0",
189
- "User-Agent": "webflow-api/2.4.0",
188
+ "X-Fern-SDK-Version": "2.4.2",
189
+ "User-Agent": "webflow-api/2.4.2",
190
190
  "X-Fern-Runtime": core.RUNTIME.type,
191
191
  "X-Fern-Runtime-Version": core.RUNTIME.version,
192
192
  },
@@ -280,8 +280,8 @@ class Orders {
280
280
  Authorization: yield this._getAuthorizationHeader(),
281
281
  "X-Fern-Language": "JavaScript",
282
282
  "X-Fern-SDK-Name": "webflow-api",
283
- "X-Fern-SDK-Version": "2.4.0",
284
- "User-Agent": "webflow-api/2.4.0",
283
+ "X-Fern-SDK-Version": "2.4.2",
284
+ "User-Agent": "webflow-api/2.4.2",
285
285
  "X-Fern-Runtime": core.RUNTIME.type,
286
286
  "X-Fern-Runtime-Version": core.RUNTIME.version,
287
287
  },
@@ -376,8 +376,8 @@ class Orders {
376
376
  Authorization: yield this._getAuthorizationHeader(),
377
377
  "X-Fern-Language": "JavaScript",
378
378
  "X-Fern-SDK-Name": "webflow-api",
379
- "X-Fern-SDK-Version": "2.4.0",
380
- "User-Agent": "webflow-api/2.4.0",
379
+ "X-Fern-SDK-Version": "2.4.2",
380
+ "User-Agent": "webflow-api/2.4.2",
381
381
  "X-Fern-Runtime": core.RUNTIME.type,
382
382
  "X-Fern-Runtime-Version": core.RUNTIME.version,
383
383
  },
@@ -471,8 +471,8 @@ class Orders {
471
471
  Authorization: yield this._getAuthorizationHeader(),
472
472
  "X-Fern-Language": "JavaScript",
473
473
  "X-Fern-SDK-Name": "webflow-api",
474
- "X-Fern-SDK-Version": "2.4.0",
475
- "User-Agent": "webflow-api/2.4.0",
474
+ "X-Fern-SDK-Version": "2.4.2",
475
+ "User-Agent": "webflow-api/2.4.2",
476
476
  "X-Fern-Runtime": core.RUNTIME.type,
477
477
  "X-Fern-Runtime-Version": core.RUNTIME.version,
478
478
  },
@@ -567,8 +567,8 @@ class Orders {
567
567
  Authorization: yield this._getAuthorizationHeader(),
568
568
  "X-Fern-Language": "JavaScript",
569
569
  "X-Fern-SDK-Name": "webflow-api",
570
- "X-Fern-SDK-Version": "2.4.0",
571
- "User-Agent": "webflow-api/2.4.0",
570
+ "X-Fern-SDK-Version": "2.4.2",
571
+ "User-Agent": "webflow-api/2.4.2",
572
572
  "X-Fern-Runtime": core.RUNTIME.type,
573
573
  "X-Fern-Runtime-Version": core.RUNTIME.version,
574
574
  },
@@ -100,8 +100,8 @@ class Pages {
100
100
  Authorization: yield this._getAuthorizationHeader(),
101
101
  "X-Fern-Language": "JavaScript",
102
102
  "X-Fern-SDK-Name": "webflow-api",
103
- "X-Fern-SDK-Version": "2.4.0",
104
- "User-Agent": "webflow-api/2.4.0",
103
+ "X-Fern-SDK-Version": "2.4.2",
104
+ "User-Agent": "webflow-api/2.4.2",
105
105
  "X-Fern-Runtime": core.RUNTIME.type,
106
106
  "X-Fern-Runtime-Version": core.RUNTIME.version,
107
107
  },
@@ -194,8 +194,8 @@ class Pages {
194
194
  Authorization: yield this._getAuthorizationHeader(),
195
195
  "X-Fern-Language": "JavaScript",
196
196
  "X-Fern-SDK-Name": "webflow-api",
197
- "X-Fern-SDK-Version": "2.4.0",
198
- "User-Agent": "webflow-api/2.4.0",
197
+ "X-Fern-SDK-Version": "2.4.2",
198
+ "User-Agent": "webflow-api/2.4.2",
199
199
  "X-Fern-Runtime": core.RUNTIME.type,
200
200
  "X-Fern-Runtime-Version": core.RUNTIME.version,
201
201
  },
@@ -313,8 +313,8 @@ class Pages {
313
313
  Authorization: yield this._getAuthorizationHeader(),
314
314
  "X-Fern-Language": "JavaScript",
315
315
  "X-Fern-SDK-Name": "webflow-api",
316
- "X-Fern-SDK-Version": "2.4.0",
317
- "User-Agent": "webflow-api/2.4.0",
316
+ "X-Fern-SDK-Version": "2.4.2",
317
+ "User-Agent": "webflow-api/2.4.2",
318
318
  "X-Fern-Runtime": core.RUNTIME.type,
319
319
  "X-Fern-Runtime-Version": core.RUNTIME.version,
320
320
  },
@@ -415,8 +415,8 @@ class Pages {
415
415
  Authorization: yield this._getAuthorizationHeader(),
416
416
  "X-Fern-Language": "JavaScript",
417
417
  "X-Fern-SDK-Name": "webflow-api",
418
- "X-Fern-SDK-Version": "2.4.0",
419
- "User-Agent": "webflow-api/2.4.0",
418
+ "X-Fern-SDK-Version": "2.4.2",
419
+ "User-Agent": "webflow-api/2.4.2",
420
420
  "X-Fern-Runtime": core.RUNTIME.type,
421
421
  "X-Fern-Runtime-Version": core.RUNTIME.version,
422
422
  },
@@ -524,8 +524,8 @@ class Pages {
524
524
  Authorization: yield this._getAuthorizationHeader(),
525
525
  "X-Fern-Language": "JavaScript",
526
526
  "X-Fern-SDK-Name": "webflow-api",
527
- "X-Fern-SDK-Version": "2.4.0",
528
- "User-Agent": "webflow-api/2.4.0",
527
+ "X-Fern-SDK-Version": "2.4.2",
528
+ "User-Agent": "webflow-api/2.4.2",
529
529
  "X-Fern-Runtime": core.RUNTIME.type,
530
530
  "X-Fern-Runtime-Version": core.RUNTIME.version,
531
531
  },
@@ -74,8 +74,8 @@ class Scripts {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "2.4.0",
78
- "User-Agent": "webflow-api/2.4.0",
77
+ "X-Fern-SDK-Version": "2.4.2",
78
+ "User-Agent": "webflow-api/2.4.2",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -173,8 +173,8 @@ class Scripts {
173
173
  Authorization: yield this._getAuthorizationHeader(),
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "webflow-api",
176
- "X-Fern-SDK-Version": "2.4.0",
177
- "User-Agent": "webflow-api/2.4.0",
176
+ "X-Fern-SDK-Version": "2.4.2",
177
+ "User-Agent": "webflow-api/2.4.2",
178
178
  "X-Fern-Runtime": core.RUNTIME.type,
179
179
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
180
  },
@@ -259,8 +259,8 @@ class Scripts {
259
259
  Authorization: yield this._getAuthorizationHeader(),
260
260
  "X-Fern-Language": "JavaScript",
261
261
  "X-Fern-SDK-Name": "webflow-api",
262
- "X-Fern-SDK-Version": "2.4.0",
263
- "User-Agent": "webflow-api/2.4.0",
262
+ "X-Fern-SDK-Version": "2.4.2",
263
+ "User-Agent": "webflow-api/2.4.2",
264
264
  "X-Fern-Runtime": core.RUNTIME.type,
265
265
  "X-Fern-Runtime-Version": core.RUNTIME.version,
266
266
  },
@@ -87,8 +87,8 @@ class Products {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "webflow-api",
90
- "X-Fern-SDK-Version": "2.4.0",
91
- "User-Agent": "webflow-api/2.4.0",
90
+ "X-Fern-SDK-Version": "2.4.2",
91
+ "User-Agent": "webflow-api/2.4.2",
92
92
  "X-Fern-Runtime": core.RUNTIME.type,
93
93
  "X-Fern-Runtime-Version": core.RUNTIME.version,
94
94
  },
@@ -188,8 +188,8 @@ class Products {
188
188
  Authorization: yield this._getAuthorizationHeader(),
189
189
  "X-Fern-Language": "JavaScript",
190
190
  "X-Fern-SDK-Name": "webflow-api",
191
- "X-Fern-SDK-Version": "2.4.0",
192
- "User-Agent": "webflow-api/2.4.0",
191
+ "X-Fern-SDK-Version": "2.4.2",
192
+ "User-Agent": "webflow-api/2.4.2",
193
193
  "X-Fern-Runtime": core.RUNTIME.type,
194
194
  "X-Fern-Runtime-Version": core.RUNTIME.version,
195
195
  },
@@ -283,8 +283,8 @@ class Products {
283
283
  Authorization: yield this._getAuthorizationHeader(),
284
284
  "X-Fern-Language": "JavaScript",
285
285
  "X-Fern-SDK-Name": "webflow-api",
286
- "X-Fern-SDK-Version": "2.4.0",
287
- "User-Agent": "webflow-api/2.4.0",
286
+ "X-Fern-SDK-Version": "2.4.2",
287
+ "User-Agent": "webflow-api/2.4.2",
288
288
  "X-Fern-Runtime": core.RUNTIME.type,
289
289
  "X-Fern-Runtime-Version": core.RUNTIME.version,
290
290
  },
@@ -378,8 +378,8 @@ class Products {
378
378
  Authorization: yield this._getAuthorizationHeader(),
379
379
  "X-Fern-Language": "JavaScript",
380
380
  "X-Fern-SDK-Name": "webflow-api",
381
- "X-Fern-SDK-Version": "2.4.0",
382
- "User-Agent": "webflow-api/2.4.0",
381
+ "X-Fern-SDK-Version": "2.4.2",
382
+ "User-Agent": "webflow-api/2.4.2",
383
383
  "X-Fern-Runtime": core.RUNTIME.type,
384
384
  "X-Fern-Runtime-Version": core.RUNTIME.version,
385
385
  },
@@ -478,8 +478,8 @@ class Products {
478
478
  Authorization: yield this._getAuthorizationHeader(),
479
479
  "X-Fern-Language": "JavaScript",
480
480
  "X-Fern-SDK-Name": "webflow-api",
481
- "X-Fern-SDK-Version": "2.4.0",
482
- "User-Agent": "webflow-api/2.4.0",
481
+ "X-Fern-SDK-Version": "2.4.2",
482
+ "User-Agent": "webflow-api/2.4.2",
483
483
  "X-Fern-Runtime": core.RUNTIME.type,
484
484
  "X-Fern-Runtime-Version": core.RUNTIME.version,
485
485
  },
@@ -577,8 +577,8 @@ class Products {
577
577
  Authorization: yield this._getAuthorizationHeader(),
578
578
  "X-Fern-Language": "JavaScript",
579
579
  "X-Fern-SDK-Name": "webflow-api",
580
- "X-Fern-SDK-Version": "2.4.0",
581
- "User-Agent": "webflow-api/2.4.0",
580
+ "X-Fern-SDK-Version": "2.4.2",
581
+ "User-Agent": "webflow-api/2.4.2",
582
582
  "X-Fern-Runtime": core.RUNTIME.type,
583
583
  "X-Fern-Runtime-Version": core.RUNTIME.version,
584
584
  },
@@ -74,8 +74,8 @@ class Scripts {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "2.4.0",
78
- "User-Agent": "webflow-api/2.4.0",
77
+ "X-Fern-SDK-Version": "2.4.2",
78
+ "User-Agent": "webflow-api/2.4.2",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -165,8 +165,8 @@ class Scripts {
165
165
  Authorization: yield this._getAuthorizationHeader(),
166
166
  "X-Fern-Language": "JavaScript",
167
167
  "X-Fern-SDK-Name": "webflow-api",
168
- "X-Fern-SDK-Version": "2.4.0",
169
- "User-Agent": "webflow-api/2.4.0",
168
+ "X-Fern-SDK-Version": "2.4.2",
169
+ "User-Agent": "webflow-api/2.4.2",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -256,8 +256,8 @@ class Scripts {
256
256
  Authorization: yield this._getAuthorizationHeader(),
257
257
  "X-Fern-Language": "JavaScript",
258
258
  "X-Fern-SDK-Name": "webflow-api",
259
- "X-Fern-SDK-Version": "2.4.0",
260
- "User-Agent": "webflow-api/2.4.0",
259
+ "X-Fern-SDK-Version": "2.4.2",
260
+ "User-Agent": "webflow-api/2.4.2",
261
261
  "X-Fern-Runtime": core.RUNTIME.type,
262
262
  "X-Fern-Runtime-Version": core.RUNTIME.version,
263
263
  },
@@ -73,8 +73,8 @@ class Sites {
73
73
  Authorization: yield this._getAuthorizationHeader(),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "webflow-api",
76
- "X-Fern-SDK-Version": "2.4.0",
77
- "User-Agent": "webflow-api/2.4.0",
76
+ "X-Fern-SDK-Version": "2.4.2",
77
+ "User-Agent": "webflow-api/2.4.2",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -154,8 +154,8 @@ class Sites {
154
154
  Authorization: yield this._getAuthorizationHeader(),
155
155
  "X-Fern-Language": "JavaScript",
156
156
  "X-Fern-SDK-Name": "webflow-api",
157
- "X-Fern-SDK-Version": "2.4.0",
158
- "User-Agent": "webflow-api/2.4.0",
157
+ "X-Fern-SDK-Version": "2.4.2",
158
+ "User-Agent": "webflow-api/2.4.2",
159
159
  "X-Fern-Runtime": core.RUNTIME.type,
160
160
  "X-Fern-Runtime-Version": core.RUNTIME.version,
161
161
  },
@@ -239,8 +239,8 @@ class Sites {
239
239
  Authorization: yield this._getAuthorizationHeader(),
240
240
  "X-Fern-Language": "JavaScript",
241
241
  "X-Fern-SDK-Name": "webflow-api",
242
- "X-Fern-SDK-Version": "2.4.0",
243
- "User-Agent": "webflow-api/2.4.0",
242
+ "X-Fern-SDK-Version": "2.4.2",
243
+ "User-Agent": "webflow-api/2.4.2",
244
244
  "X-Fern-Runtime": core.RUNTIME.type,
245
245
  "X-Fern-Runtime-Version": core.RUNTIME.version,
246
246
  },
@@ -325,8 +325,8 @@ class Sites {
325
325
  Authorization: yield this._getAuthorizationHeader(),
326
326
  "X-Fern-Language": "JavaScript",
327
327
  "X-Fern-SDK-Name": "webflow-api",
328
- "X-Fern-SDK-Version": "2.4.0",
329
- "User-Agent": "webflow-api/2.4.0",
328
+ "X-Fern-SDK-Version": "2.4.2",
329
+ "User-Agent": "webflow-api/2.4.2",
330
330
  "X-Fern-Runtime": core.RUNTIME.type,
331
331
  "X-Fern-Runtime-Version": core.RUNTIME.version,
332
332
  },
@@ -82,8 +82,8 @@ class ActivityLogs {
82
82
  Authorization: yield this._getAuthorizationHeader(),
83
83
  "X-Fern-Language": "JavaScript",
84
84
  "X-Fern-SDK-Name": "webflow-api",
85
- "X-Fern-SDK-Version": "2.4.0",
86
- "User-Agent": "webflow-api/2.4.0",
85
+ "X-Fern-SDK-Version": "2.4.2",
86
+ "User-Agent": "webflow-api/2.4.2",
87
87
  "X-Fern-Runtime": core.RUNTIME.type,
88
88
  "X-Fern-Runtime-Version": core.RUNTIME.version,
89
89
  },
@@ -74,8 +74,8 @@ class Scripts {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "2.4.0",
78
- "User-Agent": "webflow-api/2.4.0",
77
+ "X-Fern-SDK-Version": "2.4.2",
78
+ "User-Agent": "webflow-api/2.4.2",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -173,8 +173,8 @@ class Scripts {
173
173
  Authorization: yield this._getAuthorizationHeader(),
174
174
  "X-Fern-Language": "JavaScript",
175
175
  "X-Fern-SDK-Name": "webflow-api",
176
- "X-Fern-SDK-Version": "2.4.0",
177
- "User-Agent": "webflow-api/2.4.0",
176
+ "X-Fern-SDK-Version": "2.4.2",
177
+ "User-Agent": "webflow-api/2.4.2",
178
178
  "X-Fern-Runtime": core.RUNTIME.type,
179
179
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
180
  },
@@ -259,8 +259,8 @@ class Scripts {
259
259
  Authorization: yield this._getAuthorizationHeader(),
260
260
  "X-Fern-Language": "JavaScript",
261
261
  "X-Fern-SDK-Name": "webflow-api",
262
- "X-Fern-SDK-Version": "2.4.0",
263
- "User-Agent": "webflow-api/2.4.0",
262
+ "X-Fern-SDK-Version": "2.4.2",
263
+ "User-Agent": "webflow-api/2.4.2",
264
264
  "X-Fern-Runtime": core.RUNTIME.type,
265
265
  "X-Fern-Runtime-Version": core.RUNTIME.version,
266
266
  },
@@ -347,8 +347,8 @@ class Scripts {
347
347
  Authorization: yield this._getAuthorizationHeader(),
348
348
  "X-Fern-Language": "JavaScript",
349
349
  "X-Fern-SDK-Name": "webflow-api",
350
- "X-Fern-SDK-Version": "2.4.0",
351
- "User-Agent": "webflow-api/2.4.0",
350
+ "X-Fern-SDK-Version": "2.4.2",
351
+ "User-Agent": "webflow-api/2.4.2",
352
352
  "X-Fern-Runtime": core.RUNTIME.type,
353
353
  "X-Fern-Runtime-Version": core.RUNTIME.version,
354
354
  },
@@ -70,8 +70,8 @@ class Token {
70
70
  Authorization: yield this._getAuthorizationHeader(),
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "webflow-api",
73
- "X-Fern-SDK-Version": "2.4.0",
74
- "User-Agent": "webflow-api/2.4.0",
73
+ "X-Fern-SDK-Version": "2.4.2",
74
+ "User-Agent": "webflow-api/2.4.2",
75
75
  "X-Fern-Runtime": core.RUNTIME.type,
76
76
  "X-Fern-Runtime-Version": core.RUNTIME.version,
77
77
  },
@@ -138,8 +138,8 @@ class Token {
138
138
  Authorization: yield this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "webflow-api",
141
- "X-Fern-SDK-Version": "2.4.0",
142
- "User-Agent": "webflow-api/2.4.0",
141
+ "X-Fern-SDK-Version": "2.4.2",
142
+ "User-Agent": "webflow-api/2.4.2",
143
143
  "X-Fern-Runtime": core.RUNTIME.type,
144
144
  "X-Fern-Runtime-Version": core.RUNTIME.version,
145
145
  },
@@ -87,8 +87,8 @@ class Users {
87
87
  Authorization: yield this._getAuthorizationHeader(),
88
88
  "X-Fern-Language": "JavaScript",
89
89
  "X-Fern-SDK-Name": "webflow-api",
90
- "X-Fern-SDK-Version": "2.4.0",
91
- "User-Agent": "webflow-api/2.4.0",
90
+ "X-Fern-SDK-Version": "2.4.2",
91
+ "User-Agent": "webflow-api/2.4.2",
92
92
  "X-Fern-Runtime": core.RUNTIME.type,
93
93
  "X-Fern-Runtime-Version": core.RUNTIME.version,
94
94
  },
@@ -177,8 +177,8 @@ class Users {
177
177
  Authorization: yield this._getAuthorizationHeader(),
178
178
  "X-Fern-Language": "JavaScript",
179
179
  "X-Fern-SDK-Name": "webflow-api",
180
- "X-Fern-SDK-Version": "2.4.0",
181
- "User-Agent": "webflow-api/2.4.0",
180
+ "X-Fern-SDK-Version": "2.4.2",
181
+ "User-Agent": "webflow-api/2.4.2",
182
182
  "X-Fern-Runtime": core.RUNTIME.type,
183
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
184
184
  },
@@ -266,8 +266,8 @@ class Users {
266
266
  Authorization: yield this._getAuthorizationHeader(),
267
267
  "X-Fern-Language": "JavaScript",
268
268
  "X-Fern-SDK-Name": "webflow-api",
269
- "X-Fern-SDK-Version": "2.4.0",
270
- "User-Agent": "webflow-api/2.4.0",
269
+ "X-Fern-SDK-Version": "2.4.2",
270
+ "User-Agent": "webflow-api/2.4.2",
271
271
  "X-Fern-Runtime": core.RUNTIME.type,
272
272
  "X-Fern-Runtime-Version": core.RUNTIME.version,
273
273
  },
@@ -359,8 +359,8 @@ class Users {
359
359
  Authorization: yield this._getAuthorizationHeader(),
360
360
  "X-Fern-Language": "JavaScript",
361
361
  "X-Fern-SDK-Name": "webflow-api",
362
- "X-Fern-SDK-Version": "2.4.0",
363
- "User-Agent": "webflow-api/2.4.0",
362
+ "X-Fern-SDK-Version": "2.4.2",
363
+ "User-Agent": "webflow-api/2.4.2",
364
364
  "X-Fern-Runtime": core.RUNTIME.type,
365
365
  "X-Fern-Runtime-Version": core.RUNTIME.version,
366
366
  },
@@ -453,8 +453,8 @@ class Users {
453
453
  Authorization: yield this._getAuthorizationHeader(),
454
454
  "X-Fern-Language": "JavaScript",
455
455
  "X-Fern-SDK-Name": "webflow-api",
456
- "X-Fern-SDK-Version": "2.4.0",
457
- "User-Agent": "webflow-api/2.4.0",
456
+ "X-Fern-SDK-Version": "2.4.2",
457
+ "User-Agent": "webflow-api/2.4.2",
458
458
  "X-Fern-Runtime": core.RUNTIME.type,
459
459
  "X-Fern-Runtime-Version": core.RUNTIME.version,
460
460
  },
@@ -74,8 +74,8 @@ class Webhooks {
74
74
  Authorization: yield this._getAuthorizationHeader(),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "webflow-api",
77
- "X-Fern-SDK-Version": "2.4.0",
78
- "User-Agent": "webflow-api/2.4.0",
77
+ "X-Fern-SDK-Version": "2.4.2",
78
+ "User-Agent": "webflow-api/2.4.2",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -168,8 +168,8 @@ class Webhooks {
168
168
  Authorization: yield this._getAuthorizationHeader(),
169
169
  "X-Fern-Language": "JavaScript",
170
170
  "X-Fern-SDK-Name": "webflow-api",
171
- "X-Fern-SDK-Version": "2.4.0",
172
- "User-Agent": "webflow-api/2.4.0",
171
+ "X-Fern-SDK-Version": "2.4.2",
172
+ "User-Agent": "webflow-api/2.4.2",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -254,8 +254,8 @@ class Webhooks {
254
254
  Authorization: yield this._getAuthorizationHeader(),
255
255
  "X-Fern-Language": "JavaScript",
256
256
  "X-Fern-SDK-Name": "webflow-api",
257
- "X-Fern-SDK-Version": "2.4.0",
258
- "User-Agent": "webflow-api/2.4.0",
257
+ "X-Fern-SDK-Version": "2.4.2",
258
+ "User-Agent": "webflow-api/2.4.2",
259
259
  "X-Fern-Runtime": core.RUNTIME.type,
260
260
  "X-Fern-Runtime-Version": core.RUNTIME.version,
261
261
  },
@@ -339,8 +339,8 @@ class Webhooks {
339
339
  Authorization: yield this._getAuthorizationHeader(),
340
340
  "X-Fern-Language": "JavaScript",
341
341
  "X-Fern-SDK-Name": "webflow-api",
342
- "X-Fern-SDK-Version": "2.4.0",
343
- "User-Agent": "webflow-api/2.4.0",
342
+ "X-Fern-SDK-Version": "2.4.2",
343
+ "User-Agent": "webflow-api/2.4.2",
344
344
  "X-Fern-Runtime": core.RUNTIME.type,
345
345
  "X-Fern-Runtime-Version": core.RUNTIME.version,
346
346
  },
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.4.0";
1
+ export declare const SDK_VERSION = "2.4.2";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.4.0";
4
+ exports.SDK_VERSION = "2.4.2";
@@ -83,8 +83,8 @@ class Client extends Client_1.Items {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "webflow-api",
86
- "X-Fern-SDK-Version": "2.4.0",
87
- "User-Agent": "webflow-api/2.4.0",
86
+ "X-Fern-SDK-Version": "2.4.2",
87
+ "User-Agent": "webflow-api/2.4.2",
88
88
  "X-Fern-Runtime": core.RUNTIME.type,
89
89
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
90
  },
@@ -187,8 +187,8 @@ class Client extends Client_1.Items {
187
187
  Authorization: yield this._getAuthorizationHeader(),
188
188
  "X-Fern-Language": "JavaScript",
189
189
  "X-Fern-SDK-Name": "webflow-api",
190
- "X-Fern-SDK-Version": "2.4.0",
191
- "User-Agent": "webflow-api/2.4.0",
190
+ "X-Fern-SDK-Version": "2.4.2",
191
+ "User-Agent": "webflow-api/2.4.2",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -281,8 +281,8 @@ class Client extends Client_1.Items {
281
281
  Authorization: yield this._getAuthorizationHeader(),
282
282
  "X-Fern-Language": "JavaScript",
283
283
  "X-Fern-SDK-Name": "webflow-api",
284
- "X-Fern-SDK-Version": "2.4.0",
285
- "User-Agent": "webflow-api/2.4.0",
284
+ "X-Fern-SDK-Version": "2.4.2",
285
+ "User-Agent": "webflow-api/2.4.2",
286
286
  "X-Fern-Runtime": core.RUNTIME.type,
287
287
  "X-Fern-Runtime-Version": core.RUNTIME.version,
288
288
  },
@@ -96,6 +96,15 @@ class WebflowClient extends Client_1.WebflowClient {
96
96
  method: "POST",
97
97
  contentType: "application/json",
98
98
  body,
99
+ headers: {
100
+ "X-Fern-Language": "JavaScript",
101
+ "X-Fern-SDK-Name": "webflow-api",
102
+ "X-Fern-SDK-Version": "2.4.2",
103
+ "User-Agent": "webflow-api/2.4.2",
104
+ "X-Fern-Runtime": core.RUNTIME.type,
105
+ "X-Fern-Runtime-Version": core.RUNTIME.version,
106
+ },
107
+ requestType: "json",
99
108
  });
100
109
  if (response.ok) {
101
110
  return response.body["access_token"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webflow-api",
3
- "version": "2.4.0",
3
+ "version": "2.4.2",
4
4
  "private": false,
5
5
  "repository": "https://github.com/webflow/js-webflow-api",
6
6
  "main": "./index.js",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.4.0";
1
+ export declare const SDK_VERSION = "2.4.2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.4.0";
4
+ exports.SDK_VERSION = "2.4.2";
@@ -83,8 +83,8 @@ class Client extends Client_1.Items {
83
83
  Authorization: yield this._getAuthorizationHeader(),
84
84
  "X-Fern-Language": "JavaScript",
85
85
  "X-Fern-SDK-Name": "webflow-api",
86
- "X-Fern-SDK-Version": "2.4.0",
87
- "User-Agent": "webflow-api/2.4.0",
86
+ "X-Fern-SDK-Version": "2.4.2",
87
+ "User-Agent": "webflow-api/2.4.2",
88
88
  "X-Fern-Runtime": core.RUNTIME.type,
89
89
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
90
  },
@@ -187,8 +187,8 @@ class Client extends Client_1.Items {
187
187
  Authorization: yield this._getAuthorizationHeader(),
188
188
  "X-Fern-Language": "JavaScript",
189
189
  "X-Fern-SDK-Name": "webflow-api",
190
- "X-Fern-SDK-Version": "2.4.0",
191
- "User-Agent": "webflow-api/2.4.0",
190
+ "X-Fern-SDK-Version": "2.4.2",
191
+ "User-Agent": "webflow-api/2.4.2",
192
192
  "X-Fern-Runtime": core.RUNTIME.type,
193
193
  "X-Fern-Runtime-Version": core.RUNTIME.version,
194
194
  },
@@ -281,8 +281,8 @@ class Client extends Client_1.Items {
281
281
  Authorization: yield this._getAuthorizationHeader(),
282
282
  "X-Fern-Language": "JavaScript",
283
283
  "X-Fern-SDK-Name": "webflow-api",
284
- "X-Fern-SDK-Version": "2.4.0",
285
- "User-Agent": "webflow-api/2.4.0",
284
+ "X-Fern-SDK-Version": "2.4.2",
285
+ "User-Agent": "webflow-api/2.4.2",
286
286
  "X-Fern-Runtime": core.RUNTIME.type,
287
287
  "X-Fern-Runtime-Version": core.RUNTIME.version,
288
288
  },