webflow-api 2.1.1 → 2.1.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.
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.js +8 -8
- package/api/resources/collections/client/Client.js +5 -5
- package/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +23 -2
- package/api/resources/collections/resources/items/client/Client.js +89 -11
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js +5 -0
- package/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
- package/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +5 -0
- package/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/api/resources/collections/resources/items/types/index.js +1 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.js +5 -5
- package/api/resources/inventory/client/Client.js +2 -2
- package/api/resources/orders/client/Client.js +6 -6
- package/api/resources/pages/client/Client.js +5 -5
- package/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/api/resources/products/client/Client.js +6 -6
- package/api/resources/scripts/client/Client.js +3 -3
- package/api/resources/sites/client/Client.js +4 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +5 -5
- package/api/resources/webhooks/client/Client.js +4 -4
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.js +8 -8
- package/dist/api/resources/collections/client/Client.js +5 -5
- package/dist/api/resources/collections/resources/fields/client/Client.js +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +23 -2
- package/dist/api/resources/collections/resources/items/client/Client.js +89 -11
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +34 -0
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +9 -0
- package/dist/api/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +5 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/items/types/index.js +1 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.js +5 -5
- package/dist/api/resources/inventory/client/Client.js +2 -2
- package/dist/api/resources/orders/client/Client.js +6 -6
- package/dist/api/resources/pages/client/Client.js +5 -5
- package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -3
- package/dist/api/resources/products/client/Client.js +6 -6
- package/dist/api/resources/scripts/client/Client.js +3 -3
- package/dist/api/resources/sites/client/Client.js +4 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.js +4 -4
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +5 -5
- package/dist/api/resources/webhooks/client/Client.js +4 -4
- package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
- package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +51 -0
- package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
- package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
- package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +34 -0
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +19 -0
- package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +51 -0
- package/serialization/resources/collections/resources/items/client/requests/index.d.ts +1 -0
- package/serialization/resources/collections/resources/items/client/requests/index.js +3 -1
- package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +13 -0
- package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.js +34 -0
- package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/serialization/resources/collections/resources/items/types/index.js +1 -0
|
@@ -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": "
|
|
89
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -139,7 +139,7 @@ class Items {
|
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
* Create Item in a Collection. </br></br> Required scope | `CMS:write`
|
|
142
|
+
* Create Item in a Collection.</br></br> To create items across multiple locales, <a href="https://developers.webflow.com/data/reference/create-item-for-multiple-locales"> please use this endpoint.</a> </br></br> Required scope | `CMS:write`
|
|
143
143
|
* @throws {@link Webflow.BadRequestError}
|
|
144
144
|
* @throws {@link Webflow.UnauthorizedError}
|
|
145
145
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -169,7 +169,7 @@ class Items {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "webflow-api",
|
|
172
|
-
"X-Fern-SDK-Version": "
|
|
172
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -216,7 +216,7 @@ class Items {
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Create live Item in a Collection. This Item will be published to the live site. </br></br> Required scope | `CMS:write`
|
|
219
|
+
* Create live Item in a Collection. This Item will be published to the live site. </br></br> To create items across multiple locales, <a href="https://developers.webflow.com/data/reference/create-item-for-multiple-locales"> please use this endpoint.</a> </br></br> Required scope | `CMS:write`
|
|
220
220
|
* @throws {@link Webflow.BadRequestError}
|
|
221
221
|
* @throws {@link Webflow.UnauthorizedError}
|
|
222
222
|
* @throws {@link Webflow.NotFoundError}
|
|
@@ -246,7 +246,7 @@ class Items {
|
|
|
246
246
|
Authorization: yield this._getAuthorizationHeader(),
|
|
247
247
|
"X-Fern-Language": "JavaScript",
|
|
248
248
|
"X-Fern-SDK-Name": "webflow-api",
|
|
249
|
-
"X-Fern-SDK-Version": "
|
|
249
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
252
252
|
},
|
|
@@ -292,6 +292,84 @@ class Items {
|
|
|
292
292
|
}
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
+
/**
|
|
296
|
+
* Create single Item in a Collection with multiple corresponding locales. </br></br> Required scope | `CMS:write`
|
|
297
|
+
* @throws {@link Webflow.BadRequestError}
|
|
298
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
299
|
+
* @throws {@link Webflow.NotFoundError}
|
|
300
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
301
|
+
* @throws {@link Webflow.InternalServerError}
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* await webflow.collections.items.createItemForMultipleLocales("collection_id", {
|
|
305
|
+
* id: "580e64008c9a982ac9b8b754",
|
|
306
|
+
* lastPublished: "2023-03-17T18:47:35.560Z",
|
|
307
|
+
* lastUpdated: "2023-03-17T18:47:35.560Z",
|
|
308
|
+
* createdOn: "2023-03-17T18:47:35.560Z",
|
|
309
|
+
* fieldData: {
|
|
310
|
+
* name: "My new item",
|
|
311
|
+
* slug: "my-new-item"
|
|
312
|
+
* }
|
|
313
|
+
* })
|
|
314
|
+
*/
|
|
315
|
+
createItemForMultipleLocales(collectionId, request, requestOptions) {
|
|
316
|
+
var _a;
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
const _response = yield core.fetcher({
|
|
319
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `collections/${collectionId}/items/bulk`),
|
|
320
|
+
method: "POST",
|
|
321
|
+
headers: {
|
|
322
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
323
|
+
"X-Fern-Language": "JavaScript",
|
|
324
|
+
"X-Fern-SDK-Name": "webflow-api",
|
|
325
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
326
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
327
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
328
|
+
},
|
|
329
|
+
contentType: "application/json",
|
|
330
|
+
body: yield serializers.collections.BulkCollectionItem.jsonOrThrow(request, {
|
|
331
|
+
unrecognizedObjectKeys: "strip",
|
|
332
|
+
}),
|
|
333
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
334
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
335
|
+
});
|
|
336
|
+
if (_response.ok) {
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
if (_response.error.reason === "status-code") {
|
|
340
|
+
switch (_response.error.statusCode) {
|
|
341
|
+
case 400:
|
|
342
|
+
throw new Webflow.BadRequestError(_response.error.body);
|
|
343
|
+
case 401:
|
|
344
|
+
throw new Webflow.UnauthorizedError(_response.error.body);
|
|
345
|
+
case 404:
|
|
346
|
+
throw new Webflow.NotFoundError(_response.error.body);
|
|
347
|
+
case 429:
|
|
348
|
+
throw new Webflow.TooManyRequestsError(_response.error.body);
|
|
349
|
+
case 500:
|
|
350
|
+
throw new Webflow.InternalServerError(_response.error.body);
|
|
351
|
+
default:
|
|
352
|
+
throw new errors.WebflowError({
|
|
353
|
+
statusCode: _response.error.statusCode,
|
|
354
|
+
body: _response.error.body,
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
switch (_response.error.reason) {
|
|
359
|
+
case "non-json":
|
|
360
|
+
throw new errors.WebflowError({
|
|
361
|
+
statusCode: _response.error.statusCode,
|
|
362
|
+
body: _response.error.rawBody,
|
|
363
|
+
});
|
|
364
|
+
case "timeout":
|
|
365
|
+
throw new errors.WebflowTimeoutError();
|
|
366
|
+
case "unknown":
|
|
367
|
+
throw new errors.WebflowError({
|
|
368
|
+
message: _response.error.errorMessage,
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
}
|
|
295
373
|
/**
|
|
296
374
|
* Get details of a selected Collection Item. </br></br> Required scope | `CMS:read`
|
|
297
375
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -318,7 +396,7 @@ class Items {
|
|
|
318
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
397
|
"X-Fern-Language": "JavaScript",
|
|
320
398
|
"X-Fern-SDK-Name": "webflow-api",
|
|
321
|
-
"X-Fern-SDK-Version": "
|
|
399
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
322
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
402
|
},
|
|
@@ -401,7 +479,7 @@ class Items {
|
|
|
401
479
|
Authorization: yield this._getAuthorizationHeader(),
|
|
402
480
|
"X-Fern-Language": "JavaScript",
|
|
403
481
|
"X-Fern-SDK-Name": "webflow-api",
|
|
404
|
-
"X-Fern-SDK-Version": "
|
|
482
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
405
483
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
406
484
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
407
485
|
},
|
|
@@ -478,7 +556,7 @@ class Items {
|
|
|
478
556
|
Authorization: yield this._getAuthorizationHeader(),
|
|
479
557
|
"X-Fern-Language": "JavaScript",
|
|
480
558
|
"X-Fern-SDK-Name": "webflow-api",
|
|
481
|
-
"X-Fern-SDK-Version": "
|
|
559
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
482
560
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
483
561
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
484
562
|
},
|
|
@@ -551,7 +629,7 @@ class Items {
|
|
|
551
629
|
Authorization: yield this._getAuthorizationHeader(),
|
|
552
630
|
"X-Fern-Language": "JavaScript",
|
|
553
631
|
"X-Fern-SDK-Name": "webflow-api",
|
|
554
|
-
"X-Fern-SDK-Version": "
|
|
632
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
555
633
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
556
634
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
557
635
|
},
|
|
@@ -627,7 +705,7 @@ class Items {
|
|
|
627
705
|
Authorization: yield this._getAuthorizationHeader(),
|
|
628
706
|
"X-Fern-Language": "JavaScript",
|
|
629
707
|
"X-Fern-SDK-Name": "webflow-api",
|
|
630
|
-
"X-Fern-SDK-Version": "
|
|
708
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
631
709
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
632
710
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
633
711
|
},
|
|
@@ -702,7 +780,7 @@ class Items {
|
|
|
702
780
|
Authorization: yield this._getAuthorizationHeader(),
|
|
703
781
|
"X-Fern-Language": "JavaScript",
|
|
704
782
|
"X-Fern-SDK-Name": "webflow-api",
|
|
705
|
-
"X-Fern-SDK-Version": "
|
|
783
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
706
784
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
707
785
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
708
786
|
},
|
package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* id: "580e64008c9a982ac9b8b754",
|
|
9
|
+
* lastPublished: "2023-03-17T18:47:35.560Z",
|
|
10
|
+
* lastUpdated: "2023-03-17T18:47:35.560Z",
|
|
11
|
+
* createdOn: "2023-03-17T18:47:35.560Z",
|
|
12
|
+
* fieldData: {
|
|
13
|
+
* name: "My new item",
|
|
14
|
+
* slug: "my-new-item"
|
|
15
|
+
* }
|
|
16
|
+
* }
|
|
17
|
+
*/
|
|
18
|
+
export interface BulkCollectionItem {
|
|
19
|
+
/** Unique identifier for the Item */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Array of identifiers for the locales where the item will be crated */
|
|
22
|
+
cmsLocaleIds?: string[];
|
|
23
|
+
/** The date the item was last published */
|
|
24
|
+
lastPublished?: string;
|
|
25
|
+
/** The date the item was last updated */
|
|
26
|
+
lastUpdated?: string;
|
|
27
|
+
/** The date the item was created */
|
|
28
|
+
createdOn?: string;
|
|
29
|
+
/** Boolean determining if the Item is set to archived */
|
|
30
|
+
isArchived?: boolean;
|
|
31
|
+
/** Boolean determining if the Item is set to draft */
|
|
32
|
+
isDraft?: boolean;
|
|
33
|
+
fieldData?: Webflow.collections.BulkCollectionItemFieldData;
|
|
34
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { ItemsListItemsRequest } from "./ItemsListItemsRequest";
|
|
2
|
+
export { BulkCollectionItem } from "./BulkCollectionItem";
|
|
2
3
|
export { ItemsGetItemRequest } from "./ItemsGetItemRequest";
|
|
3
4
|
export { ItemsDeleteItemRequest } from "./ItemsDeleteItemRequest";
|
|
4
5
|
export { ItemsPublishItemRequest } from "./ItemsPublishItemRequest";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface BulkCollectionItemFieldData {
|
|
5
|
+
/** Name of the Item */
|
|
6
|
+
name?: string;
|
|
7
|
+
/** URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug. */
|
|
8
|
+
slug?: string;
|
|
9
|
+
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BulkCollectionItemFieldData"), exports);
|
|
17
18
|
__exportStar(require("./ItemsPublishItemResponse"), exports);
|
|
@@ -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": "
|
|
77
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
83
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
161
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
236
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
311
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
387
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
77
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
161
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
88
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
169
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
254
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
335
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
418
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
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": "
|
|
499
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
500
500
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
501
501
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
502
502
|
},
|
|
@@ -93,7 +93,7 @@ class Pages {
|
|
|
93
93
|
Authorization: yield this._getAuthorizationHeader(),
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "webflow-api",
|
|
96
|
-
"X-Fern-SDK-Version": "
|
|
96
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
97
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
99
|
},
|
|
@@ -171,7 +171,7 @@ class Pages {
|
|
|
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": "
|
|
174
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
175
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
176
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
177
177
|
},
|
|
@@ -274,7 +274,7 @@ class Pages {
|
|
|
274
274
|
Authorization: yield this._getAuthorizationHeader(),
|
|
275
275
|
"X-Fern-Language": "JavaScript",
|
|
276
276
|
"X-Fern-SDK-Name": "webflow-api",
|
|
277
|
-
"X-Fern-SDK-Version": "
|
|
277
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
278
278
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
279
279
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
280
280
|
},
|
|
@@ -354,7 +354,7 @@ class Pages {
|
|
|
354
354
|
Authorization: yield this._getAuthorizationHeader(),
|
|
355
355
|
"X-Fern-Language": "JavaScript",
|
|
356
356
|
"X-Fern-SDK-Name": "webflow-api",
|
|
357
|
-
"X-Fern-SDK-Version": "
|
|
357
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
358
358
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
359
359
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
360
360
|
},
|
|
@@ -439,7 +439,7 @@ class Pages {
|
|
|
439
439
|
Authorization: yield this._getAuthorizationHeader(),
|
|
440
440
|
"X-Fern-Language": "JavaScript",
|
|
441
441
|
"X-Fern-SDK-Name": "webflow-api",
|
|
442
|
-
"X-Fern-SDK-Version": "
|
|
442
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
443
443
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
444
444
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
445
445
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
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": "
|
|
73
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -159,7 +159,7 @@ class Scripts {
|
|
|
159
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "webflow-api",
|
|
162
|
-
"X-Fern-SDK-Version": "
|
|
162
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
163
163
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
164
164
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
165
165
|
},
|
|
@@ -232,7 +232,7 @@ class Scripts {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "webflow-api",
|
|
235
|
-
"X-Fern-SDK-Version": "
|
|
235
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -82,7 +82,7 @@ class Products {
|
|
|
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": "
|
|
85
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|
|
@@ -169,7 +169,7 @@ class Products {
|
|
|
169
169
|
Authorization: yield this._getAuthorizationHeader(),
|
|
170
170
|
"X-Fern-Language": "JavaScript",
|
|
171
171
|
"X-Fern-SDK-Name": "webflow-api",
|
|
172
|
-
"X-Fern-SDK-Version": "
|
|
172
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
173
173
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
174
174
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
175
175
|
},
|
|
@@ -250,7 +250,7 @@ class Products {
|
|
|
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": "
|
|
253
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
254
254
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
255
255
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
256
256
|
},
|
|
@@ -374,7 +374,7 @@ class Products {
|
|
|
374
374
|
Authorization: yield this._getAuthorizationHeader(),
|
|
375
375
|
"X-Fern-Language": "JavaScript",
|
|
376
376
|
"X-Fern-SDK-Name": "webflow-api",
|
|
377
|
-
"X-Fern-SDK-Version": "
|
|
377
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
378
378
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
379
379
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
380
380
|
},
|
|
@@ -473,7 +473,7 @@ class Products {
|
|
|
473
473
|
Authorization: yield this._getAuthorizationHeader(),
|
|
474
474
|
"X-Fern-Language": "JavaScript",
|
|
475
475
|
"X-Fern-SDK-Name": "webflow-api",
|
|
476
|
-
"X-Fern-SDK-Version": "
|
|
476
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
477
477
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
478
478
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
479
479
|
},
|
|
@@ -570,7 +570,7 @@ class Products {
|
|
|
570
570
|
Authorization: yield this._getAuthorizationHeader(),
|
|
571
571
|
"X-Fern-Language": "JavaScript",
|
|
572
572
|
"X-Fern-SDK-Name": "webflow-api",
|
|
573
|
-
"X-Fern-SDK-Version": "
|
|
573
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
574
574
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
575
575
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
576
576
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
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": "
|
|
73
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -147,7 +147,7 @@ class Scripts {
|
|
|
147
147
|
Authorization: yield this._getAuthorizationHeader(),
|
|
148
148
|
"X-Fern-Language": "JavaScript",
|
|
149
149
|
"X-Fern-SDK-Name": "webflow-api",
|
|
150
|
-
"X-Fern-SDK-Version": "
|
|
150
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
151
151
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
152
152
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
153
153
|
},
|
|
@@ -224,7 +224,7 @@ class Scripts {
|
|
|
224
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
225
225
|
"X-Fern-Language": "JavaScript",
|
|
226
226
|
"X-Fern-SDK-Name": "webflow-api",
|
|
227
|
-
"X-Fern-SDK-Version": "
|
|
227
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
228
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
229
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
230
230
|
},
|
|
@@ -72,7 +72,7 @@ class Sites {
|
|
|
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": "
|
|
75
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
76
76
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
77
77
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
78
78
|
},
|
|
@@ -144,7 +144,7 @@ class Sites {
|
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
|
145
145
|
"X-Fern-Language": "JavaScript",
|
|
146
146
|
"X-Fern-SDK-Name": "webflow-api",
|
|
147
|
-
"X-Fern-SDK-Version": "
|
|
147
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
148
148
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
149
149
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
150
150
|
},
|
|
@@ -216,7 +216,7 @@ class Sites {
|
|
|
216
216
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
217
|
"X-Fern-Language": "JavaScript",
|
|
218
218
|
"X-Fern-SDK-Name": "webflow-api",
|
|
219
|
-
"X-Fern-SDK-Version": "
|
|
219
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
220
220
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
221
221
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
222
222
|
},
|
|
@@ -290,7 +290,7 @@ class Sites {
|
|
|
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": "
|
|
293
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
294
294
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
295
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
296
|
},
|
|
@@ -77,7 +77,7 @@ class ActivityLogs {
|
|
|
77
77
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
78
|
"X-Fern-Language": "JavaScript",
|
|
79
79
|
"X-Fern-SDK-Name": "webflow-api",
|
|
80
|
-
"X-Fern-SDK-Version": "
|
|
80
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
81
81
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
82
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
83
|
},
|
|
@@ -70,7 +70,7 @@ class Scripts {
|
|
|
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": "
|
|
73
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -159,7 +159,7 @@ class Scripts {
|
|
|
159
159
|
Authorization: yield this._getAuthorizationHeader(),
|
|
160
160
|
"X-Fern-Language": "JavaScript",
|
|
161
161
|
"X-Fern-SDK-Name": "webflow-api",
|
|
162
|
-
"X-Fern-SDK-Version": "
|
|
162
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
163
163
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
164
164
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
165
165
|
},
|
|
@@ -232,7 +232,7 @@ class Scripts {
|
|
|
232
232
|
Authorization: yield this._getAuthorizationHeader(),
|
|
233
233
|
"X-Fern-Language": "JavaScript",
|
|
234
234
|
"X-Fern-SDK-Name": "webflow-api",
|
|
235
|
-
"X-Fern-SDK-Version": "
|
|
235
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
236
236
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
237
237
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
238
238
|
},
|
|
@@ -306,7 +306,7 @@ class Scripts {
|
|
|
306
306
|
Authorization: yield this._getAuthorizationHeader(),
|
|
307
307
|
"X-Fern-Language": "JavaScript",
|
|
308
308
|
"X-Fern-SDK-Name": "webflow-api",
|
|
309
|
-
"X-Fern-SDK-Version": "
|
|
309
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
310
310
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
311
311
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
312
312
|
},
|
|
@@ -67,7 +67,7 @@ class Token {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "webflow-api",
|
|
70
|
-
"X-Fern-SDK-Version": "
|
|
70
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -129,7 +129,7 @@ class Token {
|
|
|
129
129
|
Authorization: yield this._getAuthorizationHeader(),
|
|
130
130
|
"X-Fern-Language": "JavaScript",
|
|
131
131
|
"X-Fern-SDK-Name": "webflow-api",
|
|
132
|
-
"X-Fern-SDK-Version": "
|
|
132
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
133
133
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
134
134
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
135
135
|
},
|