webflow-api 2.2.0 → 2.2.1

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 (75) hide show
  1. package/api/resources/accessGroups/client/Client.js +1 -1
  2. package/api/resources/assets/client/Client.d.ts +1 -1
  3. package/api/resources/assets/client/Client.js +9 -9
  4. package/api/resources/collections/client/Client.js +5 -5
  5. package/api/resources/collections/resources/fields/client/Client.js +2 -2
  6. package/api/resources/collections/resources/items/client/Client.js +10 -10
  7. package/api/resources/ecommerce/client/Client.js +1 -1
  8. package/api/resources/forms/client/Client.js +5 -5
  9. package/api/resources/inventory/client/Client.js +2 -2
  10. package/api/resources/orders/client/Client.js +6 -6
  11. package/api/resources/pages/client/Client.js +5 -5
  12. package/api/resources/pages/resources/scripts/client/Client.js +3 -3
  13. package/api/resources/products/client/Client.js +6 -6
  14. package/api/resources/scripts/client/Client.js +3 -3
  15. package/api/resources/sites/client/Client.js +4 -4
  16. package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  17. package/api/resources/sites/resources/scripts/client/Client.js +4 -4
  18. package/api/resources/token/client/Client.js +2 -2
  19. package/api/resources/users/client/Client.js +5 -5
  20. package/api/resources/webhooks/client/Client.js +4 -4
  21. package/api/types/Assets.d.ts +10 -0
  22. package/api/types/Assets.js +5 -0
  23. package/api/types/OauthScope.d.ts +46 -22
  24. package/api/types/OauthScope.js +12 -6
  25. package/api/types/index.d.ts +1 -0
  26. package/api/types/index.js +1 -0
  27. package/dist/api/resources/accessGroups/client/Client.js +1 -1
  28. package/dist/api/resources/assets/client/Client.d.ts +1 -1
  29. package/dist/api/resources/assets/client/Client.js +9 -9
  30. package/dist/api/resources/collections/client/Client.js +5 -5
  31. package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
  32. package/dist/api/resources/collections/resources/items/client/Client.js +10 -10
  33. package/dist/api/resources/ecommerce/client/Client.js +1 -1
  34. package/dist/api/resources/forms/client/Client.js +5 -5
  35. package/dist/api/resources/inventory/client/Client.js +2 -2
  36. package/dist/api/resources/orders/client/Client.js +6 -6
  37. package/dist/api/resources/pages/client/Client.js +5 -5
  38. package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
  39. package/dist/api/resources/products/client/Client.js +6 -6
  40. package/dist/api/resources/scripts/client/Client.js +3 -3
  41. package/dist/api/resources/sites/client/Client.js +4 -4
  42. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
  43. package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
  44. package/dist/api/resources/token/client/Client.js +2 -2
  45. package/dist/api/resources/users/client/Client.js +5 -5
  46. package/dist/api/resources/webhooks/client/Client.js +4 -4
  47. package/dist/api/types/Assets.d.ts +10 -0
  48. package/dist/api/types/Assets.js +5 -0
  49. package/dist/api/types/OauthScope.d.ts +46 -22
  50. package/dist/api/types/OauthScope.js +12 -6
  51. package/dist/api/types/index.d.ts +1 -0
  52. package/dist/api/types/index.js +1 -0
  53. package/dist/serialization/resources/assets/client/index.d.ts +0 -1
  54. package/dist/serialization/resources/assets/client/index.js +0 -14
  55. package/dist/serialization/resources/index.d.ts +1 -1
  56. package/dist/serialization/resources/index.js +2 -2
  57. package/dist/serialization/types/Assets.d.ts +12 -0
  58. package/dist/serialization/{resources/assets/client/list.js → types/Assets.js} +7 -3
  59. package/dist/serialization/types/OauthScope.d.ts +1 -1
  60. package/dist/serialization/types/OauthScope.js +12 -6
  61. package/dist/serialization/types/index.d.ts +1 -0
  62. package/dist/serialization/types/index.js +1 -0
  63. package/package.json +1 -1
  64. package/serialization/resources/assets/client/index.d.ts +0 -1
  65. package/serialization/resources/assets/client/index.js +0 -14
  66. package/serialization/resources/index.d.ts +1 -1
  67. package/serialization/resources/index.js +2 -2
  68. package/serialization/types/Assets.d.ts +12 -0
  69. package/serialization/{resources/assets/client/list.js → types/Assets.js} +7 -3
  70. package/serialization/types/OauthScope.d.ts +1 -1
  71. package/serialization/types/OauthScope.js +12 -6
  72. package/serialization/types/index.d.ts +1 -0
  73. package/serialization/types/index.js +1 -0
  74. package/dist/serialization/resources/assets/client/list.d.ts +0 -10
  75. package/serialization/resources/assets/client/list.d.ts +0 -10
@@ -82,7 +82,7 @@ class Users {
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": "v2.2.0",
85
+ "X-Fern-SDK-Version": "v2.2.1",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -158,7 +158,7 @@ class Users {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.2.0",
161
+ "X-Fern-SDK-Version": "v2.2.1",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -233,7 +233,7 @@ class Users {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
234
  "X-Fern-Language": "JavaScript",
235
235
  "X-Fern-SDK-Name": "webflow-api",
236
- "X-Fern-SDK-Version": "v2.2.0",
236
+ "X-Fern-SDK-Version": "v2.2.1",
237
237
  "X-Fern-Runtime": core.RUNTIME.type,
238
238
  "X-Fern-Runtime-Version": core.RUNTIME.version,
239
239
  },
@@ -311,7 +311,7 @@ class Users {
311
311
  Authorization: yield this._getAuthorizationHeader(),
312
312
  "X-Fern-Language": "JavaScript",
313
313
  "X-Fern-SDK-Name": "webflow-api",
314
- "X-Fern-SDK-Version": "v2.2.0",
314
+ "X-Fern-SDK-Version": "v2.2.1",
315
315
  "X-Fern-Runtime": core.RUNTIME.type,
316
316
  "X-Fern-Runtime-Version": core.RUNTIME.version,
317
317
  },
@@ -391,7 +391,7 @@ class Users {
391
391
  Authorization: yield this._getAuthorizationHeader(),
392
392
  "X-Fern-Language": "JavaScript",
393
393
  "X-Fern-SDK-Name": "webflow-api",
394
- "X-Fern-SDK-Version": "v2.2.0",
394
+ "X-Fern-SDK-Version": "v2.2.1",
395
395
  "X-Fern-Runtime": core.RUNTIME.type,
396
396
  "X-Fern-Runtime-Version": core.RUNTIME.version,
397
397
  },
@@ -70,7 +70,7 @@ class Webhooks {
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": "v2.2.0",
73
+ "X-Fern-SDK-Version": "v2.2.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -145,7 +145,7 @@ class Webhooks {
145
145
  Authorization: yield this._getAuthorizationHeader(),
146
146
  "X-Fern-Language": "JavaScript",
147
147
  "X-Fern-SDK-Name": "webflow-api",
148
- "X-Fern-SDK-Version": "v2.2.0",
148
+ "X-Fern-SDK-Version": "v2.2.1",
149
149
  "X-Fern-Runtime": core.RUNTIME.type,
150
150
  "X-Fern-Runtime-Version": core.RUNTIME.version,
151
151
  },
@@ -218,7 +218,7 @@ class Webhooks {
218
218
  Authorization: yield this._getAuthorizationHeader(),
219
219
  "X-Fern-Language": "JavaScript",
220
220
  "X-Fern-SDK-Name": "webflow-api",
221
- "X-Fern-SDK-Version": "v2.2.0",
221
+ "X-Fern-SDK-Version": "v2.2.1",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },
@@ -290,7 +290,7 @@ class Webhooks {
290
290
  Authorization: yield this._getAuthorizationHeader(),
291
291
  "X-Fern-Language": "JavaScript",
292
292
  "X-Fern-SDK-Name": "webflow-api",
293
- "X-Fern-SDK-Version": "v2.2.0",
293
+ "X-Fern-SDK-Version": "v2.2.1",
294
294
  "X-Fern-Runtime": core.RUNTIME.type,
295
295
  "X-Fern-Runtime-Version": core.RUNTIME.version,
296
296
  },
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Webflow from "..";
5
+ /**
6
+ * A list of assets
7
+ */
8
+ export interface Assets {
9
+ assets?: Webflow.Asset[];
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,49 +6,73 @@ export declare type OauthScope =
6
6
  * read details about the authorized user */
7
7
  "authorized_user:read"
8
8
  /**
9
- * read pages on the site */
10
- | "read:pages"
9
+ * read assets on the site */
10
+ | "assets:read"
11
11
  /**
12
- * read sites on the site */
13
- | "sites:read"
12
+ * write assets on a site */
13
+ | "assets:write"
14
14
  /**
15
- * modify pages on the site */
16
- | "sites:write"
15
+ * read collections and items for a site */
16
+ | "cms:read"
17
+ /**
18
+ * write to collections and items for a site */
19
+ | "cms:write"
17
20
  /**
18
21
  * read custom code on the site */
19
22
  | "custom_code:read"
20
23
  /**
21
24
  * modify custom code on the site */
22
25
  | "custom_code:write"
23
- /**
24
- * delete custom code on the site */
25
- | "custom_code:delete"
26
- /**
27
- * read users on the site */
28
- | "users:read"
29
- /**
30
- * modify users on the site */
31
- | "users:write"
32
26
  /**
33
27
  * read ecommerce data */
34
28
  | "ecommerce:read"
35
29
  /**
36
30
  * edit ecommerce data */
37
31
  | "ecommerce:write"
32
+ /**
33
+ * read form data */
34
+ | "forms:read"
35
+ /**
36
+ * write form data */
37
+ | "forms:write"
38
+ /**
39
+ * read pages on the site */
40
+ | "pages:read"
41
+ /**
42
+ * write to pages on the site */
43
+ | "pages:write"
44
+ /**
45
+ * read sites on the site */
46
+ | "sites:read"
47
+ /**
48
+ * modify pages on the site */
49
+ | "sites:write"
50
+ /**
51
+ * read users on the site */
52
+ | "users:read"
38
53
  /**
39
54
  * read site activity logs */
40
- | "site_activity:read";
55
+ | "site_activity:read"
56
+ /**
57
+ * modify users on the site */
58
+ | "users:write";
41
59
  export declare const OauthScope: {
42
60
  readonly AuthorizedUserRead: "authorized_user:read";
43
- readonly ReadPages: "read:pages";
44
- readonly SitesRead: "sites:read";
45
- readonly SitesWrite: "sites:write";
61
+ readonly AssetsRead: "assets:read";
62
+ readonly AssetsWrite: "assets:write";
63
+ readonly CmsRead: "cms:read";
64
+ readonly CmsWrite: "cms:write";
46
65
  readonly CustomCodeRead: "custom_code:read";
47
66
  readonly CustomCodeWrite: "custom_code:write";
48
- readonly CustomCodeDelete: "custom_code:delete";
49
- readonly UsersRead: "users:read";
50
- readonly UsersWrite: "users:write";
51
67
  readonly EcommerceRead: "ecommerce:read";
52
68
  readonly EcommerceWrite: "ecommerce:write";
69
+ readonly FormsRead: "forms:read";
70
+ readonly FormsWrite: "forms:write";
71
+ readonly PagesRead: "pages:read";
72
+ readonly PagesWrite: "pages:write";
73
+ readonly SitesRead: "sites:read";
74
+ readonly SitesWrite: "sites:write";
75
+ readonly UsersRead: "users:read";
53
76
  readonly SiteActivityRead: "site_activity:read";
77
+ readonly UsersWrite: "users:write";
54
78
  };
@@ -6,15 +6,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.OauthScope = void 0;
7
7
  exports.OauthScope = {
8
8
  AuthorizedUserRead: "authorized_user:read",
9
- ReadPages: "read:pages",
10
- SitesRead: "sites:read",
11
- SitesWrite: "sites:write",
9
+ AssetsRead: "assets:read",
10
+ AssetsWrite: "assets:write",
11
+ CmsRead: "cms:read",
12
+ CmsWrite: "cms:write",
12
13
  CustomCodeRead: "custom_code:read",
13
14
  CustomCodeWrite: "custom_code:write",
14
- CustomCodeDelete: "custom_code:delete",
15
- UsersRead: "users:read",
16
- UsersWrite: "users:write",
17
15
  EcommerceRead: "ecommerce:read",
18
16
  EcommerceWrite: "ecommerce:write",
17
+ FormsRead: "forms:read",
18
+ FormsWrite: "forms:write",
19
+ PagesRead: "pages:read",
20
+ PagesWrite: "pages:write",
21
+ SitesRead: "sites:read",
22
+ SitesWrite: "sites:write",
23
+ UsersRead: "users:read",
19
24
  SiteActivityRead: "site_activity:read",
25
+ UsersWrite: "users:write",
20
26
  };
@@ -47,6 +47,7 @@ export * from "./CustomCodeBlock";
47
47
  export * from "./ListCustomCodeBlocks";
48
48
  export * from "./AssetVariant";
49
49
  export * from "./Asset";
50
+ export * from "./Assets";
50
51
  export * from "./AssetUploadUploadDetails";
51
52
  export * from "./AssetUpload";
52
53
  export * from "./AssetFolder";
@@ -63,6 +63,7 @@ __exportStar(require("./CustomCodeBlock"), exports);
63
63
  __exportStar(require("./ListCustomCodeBlocks"), exports);
64
64
  __exportStar(require("./AssetVariant"), exports);
65
65
  __exportStar(require("./Asset"), exports);
66
+ __exportStar(require("./Assets"), exports);
66
67
  __exportStar(require("./AssetUploadUploadDetails"), exports);
67
68
  __exportStar(require("./AssetUpload"), exports);
68
69
  __exportStar(require("./AssetFolder"), exports);
@@ -82,7 +82,7 @@ class AccessGroups {
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": "v2.2.0",
85
+ "X-Fern-SDK-Version": "v2.2.1",
86
86
  "X-Fern-Runtime": core.RUNTIME.type,
87
87
  "X-Fern-Runtime-Version": core.RUNTIME.version,
88
88
  },
@@ -28,7 +28,7 @@ export declare class Assets {
28
28
  * @example
29
29
  * await webflow.assets.list("site_id")
30
30
  */
31
- list(siteId: string, requestOptions?: Assets.RequestOptions): Promise<Webflow.Asset[]>;
31
+ list(siteId: string, requestOptions?: Assets.RequestOptions): Promise<Webflow.Assets>;
32
32
  /**
33
33
  * Create a new asset entry. </br></br> This endpoint generates a response with the following information: `uploadUrl` and `uploadDetails`. You can use these two properties to [upload the file to Amazon s3 by making a POST](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) request to the `uploadUrl` with the `uploadDetails` object as your header information in the request. </br></br> Required scope | `assets:write`
34
34
  * @throws {@link Webflow.BadRequestError}
@@ -70,7 +70,7 @@ class Assets {
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": "v2.2.0",
73
+ "X-Fern-SDK-Version": "v2.2.1",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -79,7 +79,7 @@ class Assets {
79
79
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
80
80
  });
81
81
  if (_response.ok) {
82
- return yield serializers.assets.list.Response.parseOrThrow(_response.body, {
82
+ return yield serializers.Assets.parseOrThrow(_response.body, {
83
83
  unrecognizedObjectKeys: "passthrough",
84
84
  allowUnrecognizedUnionMembers: true,
85
85
  allowUnrecognizedEnumValues: true,
@@ -146,7 +146,7 @@ class Assets {
146
146
  Authorization: yield this._getAuthorizationHeader(),
147
147
  "X-Fern-Language": "JavaScript",
148
148
  "X-Fern-SDK-Name": "webflow-api",
149
- "X-Fern-SDK-Version": "v2.2.0",
149
+ "X-Fern-SDK-Version": "v2.2.1",
150
150
  "X-Fern-Runtime": core.RUNTIME.type,
151
151
  "X-Fern-Runtime-Version": core.RUNTIME.version,
152
152
  },
@@ -219,7 +219,7 @@ class Assets {
219
219
  Authorization: yield this._getAuthorizationHeader(),
220
220
  "X-Fern-Language": "JavaScript",
221
221
  "X-Fern-SDK-Name": "webflow-api",
222
- "X-Fern-SDK-Version": "v2.2.0",
222
+ "X-Fern-SDK-Version": "v2.2.1",
223
223
  "X-Fern-Runtime": core.RUNTIME.type,
224
224
  "X-Fern-Runtime-Version": core.RUNTIME.version,
225
225
  },
@@ -291,7 +291,7 @@ class Assets {
291
291
  Authorization: yield this._getAuthorizationHeader(),
292
292
  "X-Fern-Language": "JavaScript",
293
293
  "X-Fern-SDK-Name": "webflow-api",
294
- "X-Fern-SDK-Version": "v2.2.0",
294
+ "X-Fern-SDK-Version": "v2.2.1",
295
295
  "X-Fern-Runtime": core.RUNTIME.type,
296
296
  "X-Fern-Runtime-Version": core.RUNTIME.version,
297
297
  },
@@ -359,7 +359,7 @@ class Assets {
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": "v2.2.0",
362
+ "X-Fern-SDK-Version": "v2.2.1",
363
363
  "X-Fern-Runtime": core.RUNTIME.type,
364
364
  "X-Fern-Runtime-Version": core.RUNTIME.version,
365
365
  },
@@ -432,7 +432,7 @@ class Assets {
432
432
  Authorization: yield this._getAuthorizationHeader(),
433
433
  "X-Fern-Language": "JavaScript",
434
434
  "X-Fern-SDK-Name": "webflow-api",
435
- "X-Fern-SDK-Version": "v2.2.0",
435
+ "X-Fern-SDK-Version": "v2.2.1",
436
436
  "X-Fern-Runtime": core.RUNTIME.type,
437
437
  "X-Fern-Runtime-Version": core.RUNTIME.version,
438
438
  },
@@ -507,7 +507,7 @@ class Assets {
507
507
  Authorization: yield this._getAuthorizationHeader(),
508
508
  "X-Fern-Language": "JavaScript",
509
509
  "X-Fern-SDK-Name": "webflow-api",
510
- "X-Fern-SDK-Version": "v2.2.0",
510
+ "X-Fern-SDK-Version": "v2.2.1",
511
511
  "X-Fern-Runtime": core.RUNTIME.type,
512
512
  "X-Fern-Runtime-Version": core.RUNTIME.version,
513
513
  },
@@ -580,7 +580,7 @@ class Assets {
580
580
  Authorization: yield this._getAuthorizationHeader(),
581
581
  "X-Fern-Language": "JavaScript",
582
582
  "X-Fern-SDK-Name": "webflow-api",
583
- "X-Fern-SDK-Version": "v2.2.0",
583
+ "X-Fern-SDK-Version": "v2.2.1",
584
584
  "X-Fern-Runtime": core.RUNTIME.type,
585
585
  "X-Fern-Runtime-Version": core.RUNTIME.version,
586
586
  },
@@ -72,7 +72,7 @@ class Collections {
72
72
  Authorization: yield this._getAuthorizationHeader(),
73
73
  "X-Fern-Language": "JavaScript",
74
74
  "X-Fern-SDK-Name": "webflow-api",
75
- "X-Fern-SDK-Version": "v2.2.0",
75
+ "X-Fern-SDK-Version": "v2.2.1",
76
76
  "X-Fern-Runtime": core.RUNTIME.type,
77
77
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
78
  },
@@ -148,7 +148,7 @@ class Collections {
148
148
  Authorization: yield this._getAuthorizationHeader(),
149
149
  "X-Fern-Language": "JavaScript",
150
150
  "X-Fern-SDK-Name": "webflow-api",
151
- "X-Fern-SDK-Version": "v2.2.0",
151
+ "X-Fern-SDK-Version": "v2.2.1",
152
152
  "X-Fern-Runtime": core.RUNTIME.type,
153
153
  "X-Fern-Runtime-Version": core.RUNTIME.version,
154
154
  },
@@ -221,7 +221,7 @@ class Collections {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "webflow-api",
224
- "X-Fern-SDK-Version": "v2.2.0",
224
+ "X-Fern-SDK-Version": "v2.2.1",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -293,7 +293,7 @@ class Collections {
293
293
  Authorization: yield this._getAuthorizationHeader(),
294
294
  "X-Fern-Language": "JavaScript",
295
295
  "X-Fern-SDK-Name": "webflow-api",
296
- "X-Fern-SDK-Version": "v2.2.0",
296
+ "X-Fern-SDK-Version": "v2.2.1",
297
297
  "X-Fern-Runtime": core.RUNTIME.type,
298
298
  "X-Fern-Runtime-Version": core.RUNTIME.version,
299
299
  },
@@ -359,7 +359,7 @@ class Collections {
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": "v2.2.0",
362
+ "X-Fern-SDK-Version": "v2.2.1",
363
363
  "X-Fern-Runtime": core.RUNTIME.type,
364
364
  "X-Fern-Runtime-Version": core.RUNTIME.version,
365
365
  },
@@ -75,7 +75,7 @@ class Fields {
75
75
  Authorization: yield this._getAuthorizationHeader(),
76
76
  "X-Fern-Language": "JavaScript",
77
77
  "X-Fern-SDK-Name": "webflow-api",
78
- "X-Fern-SDK-Version": "v2.2.0",
78
+ "X-Fern-SDK-Version": "v2.2.1",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -152,7 +152,7 @@ class Fields {
152
152
  Authorization: yield this._getAuthorizationHeader(),
153
153
  "X-Fern-Language": "JavaScript",
154
154
  "X-Fern-SDK-Name": "webflow-api",
155
- "X-Fern-SDK-Version": "v2.2.0",
155
+ "X-Fern-SDK-Version": "v2.2.1",
156
156
  "X-Fern-Runtime": core.RUNTIME.type,
157
157
  "X-Fern-Runtime-Version": core.RUNTIME.version,
158
158
  },
@@ -86,7 +86,7 @@ class Items {
86
86
  Authorization: yield this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "webflow-api",
89
- "X-Fern-SDK-Version": "v2.2.0",
89
+ "X-Fern-SDK-Version": "v2.2.1",
90
90
  "X-Fern-Runtime": core.RUNTIME.type,
91
91
  "X-Fern-Runtime-Version": core.RUNTIME.version,
92
92
  },
@@ -171,7 +171,7 @@ class Items {
171
171
  Authorization: yield this._getAuthorizationHeader(),
172
172
  "X-Fern-Language": "JavaScript",
173
173
  "X-Fern-SDK-Name": "webflow-api",
174
- "X-Fern-SDK-Version": "v2.2.0",
174
+ "X-Fern-SDK-Version": "v2.2.1",
175
175
  "X-Fern-Runtime": core.RUNTIME.type,
176
176
  "X-Fern-Runtime-Version": core.RUNTIME.version,
177
177
  },
@@ -250,7 +250,7 @@ class Items {
250
250
  Authorization: yield this._getAuthorizationHeader(),
251
251
  "X-Fern-Language": "JavaScript",
252
252
  "X-Fern-SDK-Name": "webflow-api",
253
- "X-Fern-SDK-Version": "v2.2.0",
253
+ "X-Fern-SDK-Version": "v2.2.1",
254
254
  "X-Fern-Runtime": core.RUNTIME.type,
255
255
  "X-Fern-Runtime-Version": core.RUNTIME.version,
256
256
  },
@@ -326,7 +326,7 @@ class Items {
326
326
  Authorization: yield this._getAuthorizationHeader(),
327
327
  "X-Fern-Language": "JavaScript",
328
328
  "X-Fern-SDK-Name": "webflow-api",
329
- "X-Fern-SDK-Version": "v2.2.0",
329
+ "X-Fern-SDK-Version": "v2.2.1",
330
330
  "X-Fern-Runtime": core.RUNTIME.type,
331
331
  "X-Fern-Runtime-Version": core.RUNTIME.version,
332
332
  },
@@ -400,7 +400,7 @@ class Items {
400
400
  Authorization: yield this._getAuthorizationHeader(),
401
401
  "X-Fern-Language": "JavaScript",
402
402
  "X-Fern-SDK-Name": "webflow-api",
403
- "X-Fern-SDK-Version": "v2.2.0",
403
+ "X-Fern-SDK-Version": "v2.2.1",
404
404
  "X-Fern-Runtime": core.RUNTIME.type,
405
405
  "X-Fern-Runtime-Version": core.RUNTIME.version,
406
406
  },
@@ -483,7 +483,7 @@ class Items {
483
483
  Authorization: yield this._getAuthorizationHeader(),
484
484
  "X-Fern-Language": "JavaScript",
485
485
  "X-Fern-SDK-Name": "webflow-api",
486
- "X-Fern-SDK-Version": "v2.2.0",
486
+ "X-Fern-SDK-Version": "v2.2.1",
487
487
  "X-Fern-Runtime": core.RUNTIME.type,
488
488
  "X-Fern-Runtime-Version": core.RUNTIME.version,
489
489
  },
@@ -562,7 +562,7 @@ class Items {
562
562
  Authorization: yield this._getAuthorizationHeader(),
563
563
  "X-Fern-Language": "JavaScript",
564
564
  "X-Fern-SDK-Name": "webflow-api",
565
- "X-Fern-SDK-Version": "v2.2.0",
565
+ "X-Fern-SDK-Version": "v2.2.1",
566
566
  "X-Fern-Runtime": core.RUNTIME.type,
567
567
  "X-Fern-Runtime-Version": core.RUNTIME.version,
568
568
  },
@@ -635,7 +635,7 @@ class Items {
635
635
  Authorization: yield this._getAuthorizationHeader(),
636
636
  "X-Fern-Language": "JavaScript",
637
637
  "X-Fern-SDK-Name": "webflow-api",
638
- "X-Fern-SDK-Version": "v2.2.0",
638
+ "X-Fern-SDK-Version": "v2.2.1",
639
639
  "X-Fern-Runtime": core.RUNTIME.type,
640
640
  "X-Fern-Runtime-Version": core.RUNTIME.version,
641
641
  },
@@ -713,7 +713,7 @@ class Items {
713
713
  Authorization: yield this._getAuthorizationHeader(),
714
714
  "X-Fern-Language": "JavaScript",
715
715
  "X-Fern-SDK-Name": "webflow-api",
716
- "X-Fern-SDK-Version": "v2.2.0",
716
+ "X-Fern-SDK-Version": "v2.2.1",
717
717
  "X-Fern-Runtime": core.RUNTIME.type,
718
718
  "X-Fern-Runtime-Version": core.RUNTIME.version,
719
719
  },
@@ -788,7 +788,7 @@ class Items {
788
788
  Authorization: yield this._getAuthorizationHeader(),
789
789
  "X-Fern-Language": "JavaScript",
790
790
  "X-Fern-SDK-Name": "webflow-api",
791
- "X-Fern-SDK-Version": "v2.2.0",
791
+ "X-Fern-SDK-Version": "v2.2.1",
792
792
  "X-Fern-Runtime": core.RUNTIME.type,
793
793
  "X-Fern-Runtime-Version": core.RUNTIME.version,
794
794
  },
@@ -74,7 +74,7 @@ class Ecommerce {
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": "v2.2.0",
77
+ "X-Fern-SDK-Version": "v2.2.1",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -80,7 +80,7 @@ class Forms {
80
80
  Authorization: yield this._getAuthorizationHeader(),
81
81
  "X-Fern-Language": "JavaScript",
82
82
  "X-Fern-SDK-Name": "webflow-api",
83
- "X-Fern-SDK-Version": "v2.2.0",
83
+ "X-Fern-SDK-Version": "v2.2.1",
84
84
  "X-Fern-Runtime": core.RUNTIME.type,
85
85
  "X-Fern-Runtime-Version": core.RUNTIME.version,
86
86
  },
@@ -158,7 +158,7 @@ class Forms {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.2.0",
161
+ "X-Fern-SDK-Version": "v2.2.1",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -233,7 +233,7 @@ class Forms {
233
233
  Authorization: yield this._getAuthorizationHeader(),
234
234
  "X-Fern-Language": "JavaScript",
235
235
  "X-Fern-SDK-Name": "webflow-api",
236
- "X-Fern-SDK-Version": "v2.2.0",
236
+ "X-Fern-SDK-Version": "v2.2.1",
237
237
  "X-Fern-Runtime": core.RUNTIME.type,
238
238
  "X-Fern-Runtime-Version": core.RUNTIME.version,
239
239
  },
@@ -308,7 +308,7 @@ class Forms {
308
308
  Authorization: yield this._getAuthorizationHeader(),
309
309
  "X-Fern-Language": "JavaScript",
310
310
  "X-Fern-SDK-Name": "webflow-api",
311
- "X-Fern-SDK-Version": "v2.2.0",
311
+ "X-Fern-SDK-Version": "v2.2.1",
312
312
  "X-Fern-Runtime": core.RUNTIME.type,
313
313
  "X-Fern-Runtime-Version": core.RUNTIME.version,
314
314
  },
@@ -384,7 +384,7 @@ class Forms {
384
384
  Authorization: yield this._getAuthorizationHeader(),
385
385
  "X-Fern-Language": "JavaScript",
386
386
  "X-Fern-SDK-Name": "webflow-api",
387
- "X-Fern-SDK-Version": "v2.2.0",
387
+ "X-Fern-SDK-Version": "v2.2.1",
388
388
  "X-Fern-Runtime": core.RUNTIME.type,
389
389
  "X-Fern-Runtime-Version": core.RUNTIME.version,
390
390
  },
@@ -74,7 +74,7 @@ class Inventory {
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": "v2.2.0",
77
+ "X-Fern-SDK-Version": "v2.2.1",
78
78
  "X-Fern-Runtime": core.RUNTIME.type,
79
79
  "X-Fern-Runtime-Version": core.RUNTIME.version,
80
80
  },
@@ -158,7 +158,7 @@ class Inventory {
158
158
  Authorization: yield this._getAuthorizationHeader(),
159
159
  "X-Fern-Language": "JavaScript",
160
160
  "X-Fern-SDK-Name": "webflow-api",
161
- "X-Fern-SDK-Version": "v2.2.0",
161
+ "X-Fern-SDK-Version": "v2.2.1",
162
162
  "X-Fern-Runtime": core.RUNTIME.type,
163
163
  "X-Fern-Runtime-Version": core.RUNTIME.version,
164
164
  },
@@ -85,7 +85,7 @@ class Orders {
85
85
  Authorization: yield this._getAuthorizationHeader(),
86
86
  "X-Fern-Language": "JavaScript",
87
87
  "X-Fern-SDK-Name": "webflow-api",
88
- "X-Fern-SDK-Version": "v2.2.0",
88
+ "X-Fern-SDK-Version": "v2.2.1",
89
89
  "X-Fern-Runtime": core.RUNTIME.type,
90
90
  "X-Fern-Runtime-Version": core.RUNTIME.version,
91
91
  },
@@ -166,7 +166,7 @@ class Orders {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "webflow-api",
169
- "X-Fern-SDK-Version": "v2.2.0",
169
+ "X-Fern-SDK-Version": "v2.2.1",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -251,7 +251,7 @@ class Orders {
251
251
  Authorization: yield this._getAuthorizationHeader(),
252
252
  "X-Fern-Language": "JavaScript",
253
253
  "X-Fern-SDK-Name": "webflow-api",
254
- "X-Fern-SDK-Version": "v2.2.0",
254
+ "X-Fern-SDK-Version": "v2.2.1",
255
255
  "X-Fern-Runtime": core.RUNTIME.type,
256
256
  "X-Fern-Runtime-Version": core.RUNTIME.version,
257
257
  },
@@ -332,7 +332,7 @@ class Orders {
332
332
  Authorization: yield this._getAuthorizationHeader(),
333
333
  "X-Fern-Language": "JavaScript",
334
334
  "X-Fern-SDK-Name": "webflow-api",
335
- "X-Fern-SDK-Version": "v2.2.0",
335
+ "X-Fern-SDK-Version": "v2.2.1",
336
336
  "X-Fern-Runtime": core.RUNTIME.type,
337
337
  "X-Fern-Runtime-Version": core.RUNTIME.version,
338
338
  },
@@ -415,7 +415,7 @@ class Orders {
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": "v2.2.0",
418
+ "X-Fern-SDK-Version": "v2.2.1",
419
419
  "X-Fern-Runtime": core.RUNTIME.type,
420
420
  "X-Fern-Runtime-Version": core.RUNTIME.version,
421
421
  },
@@ -496,7 +496,7 @@ class Orders {
496
496
  Authorization: yield this._getAuthorizationHeader(),
497
497
  "X-Fern-Language": "JavaScript",
498
498
  "X-Fern-SDK-Name": "webflow-api",
499
- "X-Fern-SDK-Version": "v2.2.0",
499
+ "X-Fern-SDK-Version": "v2.2.1",
500
500
  "X-Fern-Runtime": core.RUNTIME.type,
501
501
  "X-Fern-Runtime-Version": core.RUNTIME.version,
502
502
  },