webflow-api 2.3.5 → 2.3.6
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/errors/TooManyRequestsError.d.ts +2 -1
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.js +8 -2
- package/api/resources/assets/client/Client.js +64 -16
- package/api/resources/collections/client/Client.js +40 -10
- package/api/resources/collections/resources/fields/client/Client.js +16 -4
- package/api/resources/collections/resources/items/client/Client.d.ts +2 -2
- package/api/resources/collections/resources/items/client/Client.js +98 -26
- package/api/resources/ecommerce/client/Client.js +8 -2
- package/api/resources/forms/client/Client.d.ts +2 -1
- package/api/resources/forms/client/Client.js +51 -11
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +17 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/inventory/client/Client.js +16 -4
- package/api/resources/orders/client/Client.js +48 -12
- package/api/resources/pages/client/Client.d.ts +5 -1
- package/api/resources/pages/client/Client.js +45 -11
- package/api/resources/pages/resources/scripts/client/Client.js +24 -6
- package/api/resources/products/client/Client.js +48 -12
- package/api/resources/scripts/client/Client.js +24 -6
- package/api/resources/sites/client/Client.d.ts +1 -3
- package/api/resources/sites/client/Client.js +33 -15
- package/api/resources/sites/resources/activityLogs/client/Client.js +8 -2
- package/api/resources/sites/resources/scripts/client/Client.js +32 -8
- package/api/resources/token/client/Client.js +2 -2
- package/api/resources/users/client/Client.js +40 -10
- package/api/resources/webhooks/client/Client.d.ts +8 -3
- package/api/resources/webhooks/client/Client.js +40 -11
- package/api/resources/webhooks/client/index.d.ts +1 -1
- package/api/resources/webhooks/client/index.js +0 -15
- package/api/types/Asset.d.ts +10 -8
- package/api/types/Form.d.ts +2 -0
- package/api/types/FormSubmissionList.d.ts +1 -1
- package/api/types/OauthScope.d.ts +9 -1
- package/api/types/OauthScope.js +2 -0
- package/api/types/TooManyRequestsErrorBody.d.ts +9 -0
- package/api/types/Webhook.d.ts +5 -5
- package/api/types/WebhookFilter.d.ts +10 -0
- package/{dist/api/resources/webhooks/client/requests/index.js → api/types/WebhookFilter.js} +3 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/errors/TooManyRequestsError.d.ts +2 -1
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +8 -2
- package/dist/api/resources/assets/client/Client.js +64 -16
- package/dist/api/resources/collections/client/Client.js +40 -10
- package/dist/api/resources/collections/resources/fields/client/Client.js +16 -4
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.js +98 -26
- package/dist/api/resources/ecommerce/client/Client.js +8 -2
- package/dist/api/resources/forms/client/Client.d.ts +2 -1
- package/dist/api/resources/forms/client/Client.js +51 -11
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +17 -0
- package/{api/resources/webhooks/client/requests/index.js → dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.js} +3 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/inventory/client/Client.js +16 -4
- package/dist/api/resources/orders/client/Client.js +48 -12
- package/dist/api/resources/pages/client/Client.d.ts +5 -1
- package/dist/api/resources/pages/client/Client.js +45 -11
- package/dist/api/resources/pages/resources/scripts/client/Client.js +24 -6
- package/dist/api/resources/products/client/Client.js +48 -12
- package/dist/api/resources/scripts/client/Client.js +24 -6
- package/dist/api/resources/sites/client/Client.d.ts +1 -3
- package/dist/api/resources/sites/client/Client.js +33 -15
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +8 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.js +32 -8
- package/dist/api/resources/token/client/Client.js +2 -2
- package/dist/api/resources/users/client/Client.js +40 -10
- package/dist/api/resources/webhooks/client/Client.d.ts +8 -3
- package/dist/api/resources/webhooks/client/Client.js +40 -11
- package/dist/api/resources/webhooks/client/index.d.ts +1 -1
- package/dist/api/resources/webhooks/client/index.js +0 -15
- package/dist/api/types/Asset.d.ts +10 -8
- package/dist/api/types/Form.d.ts +2 -0
- package/dist/api/types/FormSubmissionList.d.ts +1 -1
- package/dist/api/types/OauthScope.d.ts +9 -1
- package/dist/api/types/OauthScope.js +2 -0
- package/dist/api/types/TooManyRequestsErrorBody.d.ts +9 -0
- package/dist/api/types/TooManyRequestsErrorBody.js +5 -0
- package/dist/api/types/Webhook.d.ts +5 -5
- package/dist/api/types/WebhookFilter.d.ts +10 -0
- package/dist/api/types/WebhookFilter.js +5 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/types/Asset.d.ts +5 -4
- package/dist/serialization/types/Asset.js +5 -4
- package/dist/serialization/types/Form.d.ts +1 -0
- package/dist/serialization/types/Form.js +1 -0
- package/dist/serialization/types/FormSubmissionList.d.ts +1 -1
- package/dist/serialization/types/FormSubmissionList.js +1 -1
- package/dist/serialization/types/OauthScope.d.ts +1 -1
- package/dist/serialization/types/OauthScope.js +2 -0
- package/dist/serialization/types/TooManyRequestsErrorBody.d.ts +15 -0
- package/{serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js → dist/serialization/types/TooManyRequestsErrorBody.js} +7 -7
- package/dist/serialization/types/Webhook.d.ts +4 -3
- package/dist/serialization/types/Webhook.js +4 -3
- package/dist/serialization/types/WebhookFilter.d.ts +12 -0
- package/dist/serialization/{resources/webhooks/client/requests/WebhooksCreateRequest.js → types/WebhookFilter.js} +4 -7
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/wrapper/ItemsClient.js +7 -1
- package/package.json +1 -1
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/types/Asset.d.ts +5 -4
- package/serialization/types/Asset.js +5 -4
- package/serialization/types/Form.d.ts +1 -0
- package/serialization/types/Form.js +1 -0
- package/serialization/types/FormSubmissionList.d.ts +1 -1
- package/serialization/types/FormSubmissionList.js +1 -1
- package/serialization/types/OauthScope.d.ts +1 -1
- package/serialization/types/OauthScope.js +2 -0
- package/serialization/types/TooManyRequestsErrorBody.d.ts +15 -0
- package/serialization/types/TooManyRequestsErrorBody.js +36 -0
- package/serialization/types/Webhook.d.ts +4 -3
- package/serialization/types/Webhook.js +4 -3
- package/serialization/types/WebhookFilter.d.ts +12 -0
- package/serialization/types/WebhookFilter.js +33 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/wrapper/ItemsClient.js +7 -1
- package/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -25
- package/api/resources/webhooks/client/requests/index.d.ts +0 -1
- package/dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -25
- package/dist/api/resources/webhooks/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/index.js +0 -17
- package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -15
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/requests/index.js +0 -5
- package/dist/serialization/resources/webhooks/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/index.js +0 -17
- package/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/serialization/resources/webhooks/client/index.js +0 -17
- package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -15
- package/serialization/resources/webhooks/client/requests/index.d.ts +0 -1
- package/serialization/resources/webhooks/client/requests/index.js +0 -5
- package/serialization/resources/webhooks/index.d.ts +0 -1
- package/serialization/resources/webhooks/index.js +0 -17
- /package/api/resources/{webhooks/client/requests/WebhooksCreateRequest.js → forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
- /package/{dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.js → api/types/TooManyRequestsErrorBody.js} +0 -0
|
@@ -90,7 +90,7 @@ 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.3.
|
|
93
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
94
94
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
95
95
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
96
96
|
},
|
|
@@ -122,7 +122,13 @@ class Orders {
|
|
|
122
122
|
case 409:
|
|
123
123
|
throw new Webflow.ConflictError(_response.error.body);
|
|
124
124
|
case 429:
|
|
125
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
125
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
126
|
+
unrecognizedObjectKeys: "passthrough",
|
|
127
|
+
allowUnrecognizedUnionMembers: true,
|
|
128
|
+
allowUnrecognizedEnumValues: true,
|
|
129
|
+
skipValidation: true,
|
|
130
|
+
breadcrumbsPrefix: ["response"],
|
|
131
|
+
}));
|
|
126
132
|
case 500:
|
|
127
133
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
128
134
|
default:
|
|
@@ -177,7 +183,7 @@ class Orders {
|
|
|
177
183
|
Authorization: yield this._getAuthorizationHeader(),
|
|
178
184
|
"X-Fern-Language": "JavaScript",
|
|
179
185
|
"X-Fern-SDK-Name": "webflow-api",
|
|
180
|
-
"X-Fern-SDK-Version": "2.3.
|
|
186
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
181
187
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
182
188
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
183
189
|
},
|
|
@@ -208,7 +214,13 @@ class Orders {
|
|
|
208
214
|
case 409:
|
|
209
215
|
throw new Webflow.ConflictError(_response.error.body);
|
|
210
216
|
case 429:
|
|
211
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
217
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
218
|
+
unrecognizedObjectKeys: "passthrough",
|
|
219
|
+
allowUnrecognizedUnionMembers: true,
|
|
220
|
+
allowUnrecognizedEnumValues: true,
|
|
221
|
+
skipValidation: true,
|
|
222
|
+
breadcrumbsPrefix: ["response"],
|
|
223
|
+
}));
|
|
212
224
|
case 500:
|
|
213
225
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
214
226
|
default:
|
|
@@ -264,7 +276,7 @@ class Orders {
|
|
|
264
276
|
Authorization: yield this._getAuthorizationHeader(),
|
|
265
277
|
"X-Fern-Language": "JavaScript",
|
|
266
278
|
"X-Fern-SDK-Name": "webflow-api",
|
|
267
|
-
"X-Fern-SDK-Version": "2.3.
|
|
279
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
268
280
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
269
281
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
270
282
|
},
|
|
@@ -296,7 +308,13 @@ class Orders {
|
|
|
296
308
|
case 409:
|
|
297
309
|
throw new Webflow.ConflictError(_response.error.body);
|
|
298
310
|
case 429:
|
|
299
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
311
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
312
|
+
unrecognizedObjectKeys: "passthrough",
|
|
313
|
+
allowUnrecognizedUnionMembers: true,
|
|
314
|
+
allowUnrecognizedEnumValues: true,
|
|
315
|
+
skipValidation: true,
|
|
316
|
+
breadcrumbsPrefix: ["response"],
|
|
317
|
+
}));
|
|
300
318
|
case 500:
|
|
301
319
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
302
320
|
default:
|
|
@@ -352,7 +370,7 @@ class Orders {
|
|
|
352
370
|
Authorization: yield this._getAuthorizationHeader(),
|
|
353
371
|
"X-Fern-Language": "JavaScript",
|
|
354
372
|
"X-Fern-SDK-Name": "webflow-api",
|
|
355
|
-
"X-Fern-SDK-Version": "2.3.
|
|
373
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
356
374
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
357
375
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
358
376
|
},
|
|
@@ -386,7 +404,13 @@ class Orders {
|
|
|
386
404
|
case 409:
|
|
387
405
|
throw new Webflow.ConflictError(_response.error.body);
|
|
388
406
|
case 429:
|
|
389
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
407
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
408
|
+
unrecognizedObjectKeys: "passthrough",
|
|
409
|
+
allowUnrecognizedUnionMembers: true,
|
|
410
|
+
allowUnrecognizedEnumValues: true,
|
|
411
|
+
skipValidation: true,
|
|
412
|
+
breadcrumbsPrefix: ["response"],
|
|
413
|
+
}));
|
|
390
414
|
case 500:
|
|
391
415
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
392
416
|
default:
|
|
@@ -441,7 +465,7 @@ class Orders {
|
|
|
441
465
|
Authorization: yield this._getAuthorizationHeader(),
|
|
442
466
|
"X-Fern-Language": "JavaScript",
|
|
443
467
|
"X-Fern-SDK-Name": "webflow-api",
|
|
444
|
-
"X-Fern-SDK-Version": "2.3.
|
|
468
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
445
469
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
446
470
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
447
471
|
},
|
|
@@ -472,7 +496,13 @@ class Orders {
|
|
|
472
496
|
case 409:
|
|
473
497
|
throw new Webflow.ConflictError(_response.error.body);
|
|
474
498
|
case 429:
|
|
475
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
499
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
500
|
+
unrecognizedObjectKeys: "passthrough",
|
|
501
|
+
allowUnrecognizedUnionMembers: true,
|
|
502
|
+
allowUnrecognizedEnumValues: true,
|
|
503
|
+
skipValidation: true,
|
|
504
|
+
breadcrumbsPrefix: ["response"],
|
|
505
|
+
}));
|
|
476
506
|
case 500:
|
|
477
507
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
478
508
|
default:
|
|
@@ -529,7 +559,7 @@ class Orders {
|
|
|
529
559
|
Authorization: yield this._getAuthorizationHeader(),
|
|
530
560
|
"X-Fern-Language": "JavaScript",
|
|
531
561
|
"X-Fern-SDK-Name": "webflow-api",
|
|
532
|
-
"X-Fern-SDK-Version": "2.3.
|
|
562
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
533
563
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
534
564
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
535
565
|
},
|
|
@@ -561,7 +591,13 @@ class Orders {
|
|
|
561
591
|
case 409:
|
|
562
592
|
throw new Webflow.ConflictError(_response.error.body);
|
|
563
593
|
case 429:
|
|
564
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
594
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
595
|
+
unrecognizedObjectKeys: "passthrough",
|
|
596
|
+
allowUnrecognizedUnionMembers: true,
|
|
597
|
+
allowUnrecognizedEnumValues: true,
|
|
598
|
+
skipValidation: true,
|
|
599
|
+
breadcrumbsPrefix: ["response"],
|
|
600
|
+
}));
|
|
565
601
|
case 500:
|
|
566
602
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
567
603
|
default:
|
|
@@ -116,7 +116,11 @@ export declare class Pages {
|
|
|
116
116
|
*/
|
|
117
117
|
getContent(pageId: string, request?: Webflow.PagesGetContentRequest, requestOptions?: Pages.RequestOptions): Promise<Webflow.Dom>;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* This endpoint allows for updating static content on a static page within a secondary locale. It is designed specifically for localized pages and can handle up to 1000 nodes per request.
|
|
120
|
+
*
|
|
121
|
+
* <blockquote class="callout callout_info"><p><strong>Note:</strong>This endpoint is specifically for localized pages. Ensure that the locale specified is a valid secondary locale for the site.</p></blockquote>
|
|
122
|
+
*
|
|
123
|
+
* Required scope | `pages:write`
|
|
120
124
|
*
|
|
121
125
|
* @param {string} pageId - Unique identifier for a Page
|
|
122
126
|
* @param {Webflow.DomWrite} request
|
|
@@ -98,7 +98,7 @@ class Pages {
|
|
|
98
98
|
Authorization: yield this._getAuthorizationHeader(),
|
|
99
99
|
"X-Fern-Language": "JavaScript",
|
|
100
100
|
"X-Fern-SDK-Name": "webflow-api",
|
|
101
|
-
"X-Fern-SDK-Version": "2.3.
|
|
101
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
102
102
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
103
103
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
104
104
|
},
|
|
@@ -126,7 +126,13 @@ class Pages {
|
|
|
126
126
|
case 404:
|
|
127
127
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
128
128
|
case 429:
|
|
129
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
129
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
130
|
+
unrecognizedObjectKeys: "passthrough",
|
|
131
|
+
allowUnrecognizedUnionMembers: true,
|
|
132
|
+
allowUnrecognizedEnumValues: true,
|
|
133
|
+
skipValidation: true,
|
|
134
|
+
breadcrumbsPrefix: ["response"],
|
|
135
|
+
}));
|
|
130
136
|
case 500:
|
|
131
137
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
132
138
|
default:
|
|
@@ -182,7 +188,7 @@ class Pages {
|
|
|
182
188
|
Authorization: yield this._getAuthorizationHeader(),
|
|
183
189
|
"X-Fern-Language": "JavaScript",
|
|
184
190
|
"X-Fern-SDK-Name": "webflow-api",
|
|
185
|
-
"X-Fern-SDK-Version": "2.3.
|
|
191
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
186
192
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
187
193
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
188
194
|
},
|
|
@@ -210,7 +216,13 @@ class Pages {
|
|
|
210
216
|
case 404:
|
|
211
217
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
212
218
|
case 429:
|
|
213
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
219
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
220
|
+
unrecognizedObjectKeys: "passthrough",
|
|
221
|
+
allowUnrecognizedUnionMembers: true,
|
|
222
|
+
allowUnrecognizedEnumValues: true,
|
|
223
|
+
skipValidation: true,
|
|
224
|
+
breadcrumbsPrefix: ["response"],
|
|
225
|
+
}));
|
|
214
226
|
case 500:
|
|
215
227
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
216
228
|
default:
|
|
@@ -290,7 +302,7 @@ class Pages {
|
|
|
290
302
|
Authorization: yield this._getAuthorizationHeader(),
|
|
291
303
|
"X-Fern-Language": "JavaScript",
|
|
292
304
|
"X-Fern-SDK-Name": "webflow-api",
|
|
293
|
-
"X-Fern-SDK-Version": "2.3.
|
|
305
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
294
306
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
295
307
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
296
308
|
},
|
|
@@ -319,7 +331,13 @@ class Pages {
|
|
|
319
331
|
case 404:
|
|
320
332
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
321
333
|
case 429:
|
|
322
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
334
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
335
|
+
unrecognizedObjectKeys: "passthrough",
|
|
336
|
+
allowUnrecognizedUnionMembers: true,
|
|
337
|
+
allowUnrecognizedEnumValues: true,
|
|
338
|
+
skipValidation: true,
|
|
339
|
+
breadcrumbsPrefix: ["response"],
|
|
340
|
+
}));
|
|
323
341
|
case 500:
|
|
324
342
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
325
343
|
default:
|
|
@@ -382,7 +400,7 @@ class Pages {
|
|
|
382
400
|
Authorization: yield this._getAuthorizationHeader(),
|
|
383
401
|
"X-Fern-Language": "JavaScript",
|
|
384
402
|
"X-Fern-SDK-Name": "webflow-api",
|
|
385
|
-
"X-Fern-SDK-Version": "2.3.
|
|
403
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
386
404
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
387
405
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
388
406
|
},
|
|
@@ -412,7 +430,13 @@ class Pages {
|
|
|
412
430
|
case 404:
|
|
413
431
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
414
432
|
case 429:
|
|
415
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
433
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
434
|
+
unrecognizedObjectKeys: "passthrough",
|
|
435
|
+
allowUnrecognizedUnionMembers: true,
|
|
436
|
+
allowUnrecognizedEnumValues: true,
|
|
437
|
+
skipValidation: true,
|
|
438
|
+
breadcrumbsPrefix: ["response"],
|
|
439
|
+
}));
|
|
416
440
|
case 500:
|
|
417
441
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
418
442
|
default:
|
|
@@ -438,7 +462,11 @@ class Pages {
|
|
|
438
462
|
});
|
|
439
463
|
}
|
|
440
464
|
/**
|
|
441
|
-
*
|
|
465
|
+
* This endpoint allows for updating static content on a static page within a secondary locale. It is designed specifically for localized pages and can handle up to 1000 nodes per request.
|
|
466
|
+
*
|
|
467
|
+
* <blockquote class="callout callout_info"><p><strong>Note:</strong>This endpoint is specifically for localized pages. Ensure that the locale specified is a valid secondary locale for the site.</p></blockquote>
|
|
468
|
+
*
|
|
469
|
+
* Required scope | `pages:write`
|
|
442
470
|
*
|
|
443
471
|
* @param {string} pageId - Unique identifier for a Page
|
|
444
472
|
* @param {Webflow.DomWrite} request
|
|
@@ -479,7 +507,7 @@ class Pages {
|
|
|
479
507
|
Authorization: yield this._getAuthorizationHeader(),
|
|
480
508
|
"X-Fern-Language": "JavaScript",
|
|
481
509
|
"X-Fern-SDK-Name": "webflow-api",
|
|
482
|
-
"X-Fern-SDK-Version": "2.3.
|
|
510
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
483
511
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
484
512
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
485
513
|
},
|
|
@@ -510,7 +538,13 @@ class Pages {
|
|
|
510
538
|
case 404:
|
|
511
539
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
512
540
|
case 429:
|
|
513
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
541
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
542
|
+
unrecognizedObjectKeys: "passthrough",
|
|
543
|
+
allowUnrecognizedUnionMembers: true,
|
|
544
|
+
allowUnrecognizedEnumValues: true,
|
|
545
|
+
skipValidation: true,
|
|
546
|
+
breadcrumbsPrefix: ["response"],
|
|
547
|
+
}));
|
|
514
548
|
case 500:
|
|
515
549
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
516
550
|
default:
|
|
@@ -74,7 +74,7 @@ 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.3.
|
|
77
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -101,7 +101,13 @@ class Scripts {
|
|
|
101
101
|
case 404:
|
|
102
102
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
103
103
|
case 429:
|
|
104
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
104
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
105
|
+
unrecognizedObjectKeys: "passthrough",
|
|
106
|
+
allowUnrecognizedUnionMembers: true,
|
|
107
|
+
allowUnrecognizedEnumValues: true,
|
|
108
|
+
skipValidation: true,
|
|
109
|
+
breadcrumbsPrefix: ["response"],
|
|
110
|
+
}));
|
|
105
111
|
case 500:
|
|
106
112
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
107
113
|
default:
|
|
@@ -165,7 +171,7 @@ class Scripts {
|
|
|
165
171
|
Authorization: yield this._getAuthorizationHeader(),
|
|
166
172
|
"X-Fern-Language": "JavaScript",
|
|
167
173
|
"X-Fern-SDK-Name": "webflow-api",
|
|
168
|
-
"X-Fern-SDK-Version": "2.3.
|
|
174
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
169
175
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
170
176
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
171
177
|
},
|
|
@@ -193,7 +199,13 @@ class Scripts {
|
|
|
193
199
|
case 404:
|
|
194
200
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
195
201
|
case 429:
|
|
196
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
202
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
203
|
+
unrecognizedObjectKeys: "passthrough",
|
|
204
|
+
allowUnrecognizedUnionMembers: true,
|
|
205
|
+
allowUnrecognizedEnumValues: true,
|
|
206
|
+
skipValidation: true,
|
|
207
|
+
breadcrumbsPrefix: ["response"],
|
|
208
|
+
}));
|
|
197
209
|
case 500:
|
|
198
210
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
199
211
|
default:
|
|
@@ -243,7 +255,7 @@ class Scripts {
|
|
|
243
255
|
Authorization: yield this._getAuthorizationHeader(),
|
|
244
256
|
"X-Fern-Language": "JavaScript",
|
|
245
257
|
"X-Fern-SDK-Name": "webflow-api",
|
|
246
|
-
"X-Fern-SDK-Version": "2.3.
|
|
258
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
247
259
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
248
260
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
249
261
|
},
|
|
@@ -264,7 +276,13 @@ class Scripts {
|
|
|
264
276
|
case 404:
|
|
265
277
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
266
278
|
case 429:
|
|
267
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
279
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
280
|
+
unrecognizedObjectKeys: "passthrough",
|
|
281
|
+
allowUnrecognizedUnionMembers: true,
|
|
282
|
+
allowUnrecognizedEnumValues: true,
|
|
283
|
+
skipValidation: true,
|
|
284
|
+
breadcrumbsPrefix: ["response"],
|
|
285
|
+
}));
|
|
268
286
|
case 500:
|
|
269
287
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
270
288
|
default:
|
|
@@ -87,7 +87,7 @@ 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.3.
|
|
90
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
91
91
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
92
92
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
93
93
|
},
|
|
@@ -119,7 +119,13 @@ class Products {
|
|
|
119
119
|
case 409:
|
|
120
120
|
throw new Webflow.ConflictError(_response.error.body);
|
|
121
121
|
case 429:
|
|
122
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
122
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
123
|
+
unrecognizedObjectKeys: "passthrough",
|
|
124
|
+
allowUnrecognizedUnionMembers: true,
|
|
125
|
+
allowUnrecognizedEnumValues: true,
|
|
126
|
+
skipValidation: true,
|
|
127
|
+
breadcrumbsPrefix: ["response"],
|
|
128
|
+
}));
|
|
123
129
|
case 500:
|
|
124
130
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
125
131
|
default:
|
|
@@ -180,7 +186,7 @@ class Products {
|
|
|
180
186
|
Authorization: yield this._getAuthorizationHeader(),
|
|
181
187
|
"X-Fern-Language": "JavaScript",
|
|
182
188
|
"X-Fern-SDK-Name": "webflow-api",
|
|
183
|
-
"X-Fern-SDK-Version": "2.3.
|
|
189
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
184
190
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
185
191
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
186
192
|
},
|
|
@@ -212,7 +218,13 @@ class Products {
|
|
|
212
218
|
case 409:
|
|
213
219
|
throw new Webflow.ConflictError(_response.error.body);
|
|
214
220
|
case 429:
|
|
215
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
221
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
222
|
+
unrecognizedObjectKeys: "passthrough",
|
|
223
|
+
allowUnrecognizedUnionMembers: true,
|
|
224
|
+
allowUnrecognizedEnumValues: true,
|
|
225
|
+
skipValidation: true,
|
|
226
|
+
breadcrumbsPrefix: ["response"],
|
|
227
|
+
}));
|
|
216
228
|
case 500:
|
|
217
229
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
218
230
|
default:
|
|
@@ -267,7 +279,7 @@ class Products {
|
|
|
267
279
|
Authorization: yield this._getAuthorizationHeader(),
|
|
268
280
|
"X-Fern-Language": "JavaScript",
|
|
269
281
|
"X-Fern-SDK-Name": "webflow-api",
|
|
270
|
-
"X-Fern-SDK-Version": "2.3.
|
|
282
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
271
283
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
272
284
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
273
285
|
},
|
|
@@ -298,7 +310,13 @@ class Products {
|
|
|
298
310
|
case 409:
|
|
299
311
|
throw new Webflow.ConflictError(_response.error.body);
|
|
300
312
|
case 429:
|
|
301
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
313
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
314
|
+
unrecognizedObjectKeys: "passthrough",
|
|
315
|
+
allowUnrecognizedUnionMembers: true,
|
|
316
|
+
allowUnrecognizedEnumValues: true,
|
|
317
|
+
skipValidation: true,
|
|
318
|
+
breadcrumbsPrefix: ["response"],
|
|
319
|
+
}));
|
|
302
320
|
case 500:
|
|
303
321
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
304
322
|
default:
|
|
@@ -354,7 +372,7 @@ class Products {
|
|
|
354
372
|
Authorization: yield this._getAuthorizationHeader(),
|
|
355
373
|
"X-Fern-Language": "JavaScript",
|
|
356
374
|
"X-Fern-SDK-Name": "webflow-api",
|
|
357
|
-
"X-Fern-SDK-Version": "2.3.
|
|
375
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
358
376
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
359
377
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
360
378
|
},
|
|
@@ -386,7 +404,13 @@ class Products {
|
|
|
386
404
|
case 409:
|
|
387
405
|
throw new Webflow.ConflictError(_response.error.body);
|
|
388
406
|
case 429:
|
|
389
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
407
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
408
|
+
unrecognizedObjectKeys: "passthrough",
|
|
409
|
+
allowUnrecognizedUnionMembers: true,
|
|
410
|
+
allowUnrecognizedEnumValues: true,
|
|
411
|
+
skipValidation: true,
|
|
412
|
+
breadcrumbsPrefix: ["response"],
|
|
413
|
+
}));
|
|
390
414
|
case 500:
|
|
391
415
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
392
416
|
default:
|
|
@@ -446,7 +470,7 @@ class Products {
|
|
|
446
470
|
Authorization: yield this._getAuthorizationHeader(),
|
|
447
471
|
"X-Fern-Language": "JavaScript",
|
|
448
472
|
"X-Fern-SDK-Name": "webflow-api",
|
|
449
|
-
"X-Fern-SDK-Version": "2.3.
|
|
473
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
450
474
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
451
475
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
452
476
|
},
|
|
@@ -478,7 +502,13 @@ class Products {
|
|
|
478
502
|
case 409:
|
|
479
503
|
throw new Webflow.ConflictError(_response.error.body);
|
|
480
504
|
case 429:
|
|
481
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
505
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
506
|
+
unrecognizedObjectKeys: "passthrough",
|
|
507
|
+
allowUnrecognizedUnionMembers: true,
|
|
508
|
+
allowUnrecognizedEnumValues: true,
|
|
509
|
+
skipValidation: true,
|
|
510
|
+
breadcrumbsPrefix: ["response"],
|
|
511
|
+
}));
|
|
482
512
|
case 500:
|
|
483
513
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
484
514
|
default:
|
|
@@ -537,7 +567,7 @@ class Products {
|
|
|
537
567
|
Authorization: yield this._getAuthorizationHeader(),
|
|
538
568
|
"X-Fern-Language": "JavaScript",
|
|
539
569
|
"X-Fern-SDK-Name": "webflow-api",
|
|
540
|
-
"X-Fern-SDK-Version": "2.3.
|
|
570
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
541
571
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
542
572
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
543
573
|
},
|
|
@@ -569,7 +599,13 @@ class Products {
|
|
|
569
599
|
case 409:
|
|
570
600
|
throw new Webflow.ConflictError(_response.error.body);
|
|
571
601
|
case 429:
|
|
572
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
602
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
603
|
+
unrecognizedObjectKeys: "passthrough",
|
|
604
|
+
allowUnrecognizedUnionMembers: true,
|
|
605
|
+
allowUnrecognizedEnumValues: true,
|
|
606
|
+
skipValidation: true,
|
|
607
|
+
breadcrumbsPrefix: ["response"],
|
|
608
|
+
}));
|
|
573
609
|
case 500:
|
|
574
610
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
575
611
|
default:
|
|
@@ -74,7 +74,7 @@ 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.3.
|
|
77
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -101,7 +101,13 @@ class Scripts {
|
|
|
101
101
|
case 404:
|
|
102
102
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
103
103
|
case 429:
|
|
104
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
104
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
105
|
+
unrecognizedObjectKeys: "passthrough",
|
|
106
|
+
allowUnrecognizedUnionMembers: true,
|
|
107
|
+
allowUnrecognizedEnumValues: true,
|
|
108
|
+
skipValidation: true,
|
|
109
|
+
breadcrumbsPrefix: ["response"],
|
|
110
|
+
}));
|
|
105
111
|
case 500:
|
|
106
112
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
107
113
|
default:
|
|
@@ -157,7 +163,7 @@ class Scripts {
|
|
|
157
163
|
Authorization: yield this._getAuthorizationHeader(),
|
|
158
164
|
"X-Fern-Language": "JavaScript",
|
|
159
165
|
"X-Fern-SDK-Name": "webflow-api",
|
|
160
|
-
"X-Fern-SDK-Version": "2.3.
|
|
166
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
161
167
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
162
168
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
163
169
|
},
|
|
@@ -185,7 +191,13 @@ class Scripts {
|
|
|
185
191
|
case 404:
|
|
186
192
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
187
193
|
case 429:
|
|
188
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
194
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
195
|
+
unrecognizedObjectKeys: "passthrough",
|
|
196
|
+
allowUnrecognizedUnionMembers: true,
|
|
197
|
+
allowUnrecognizedEnumValues: true,
|
|
198
|
+
skipValidation: true,
|
|
199
|
+
breadcrumbsPrefix: ["response"],
|
|
200
|
+
}));
|
|
189
201
|
case 500:
|
|
190
202
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
191
203
|
default:
|
|
@@ -240,7 +252,7 @@ class Scripts {
|
|
|
240
252
|
Authorization: yield this._getAuthorizationHeader(),
|
|
241
253
|
"X-Fern-Language": "JavaScript",
|
|
242
254
|
"X-Fern-SDK-Name": "webflow-api",
|
|
243
|
-
"X-Fern-SDK-Version": "2.3.
|
|
255
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
244
256
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
245
257
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
246
258
|
},
|
|
@@ -268,7 +280,13 @@ class Scripts {
|
|
|
268
280
|
case 404:
|
|
269
281
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
270
282
|
case 429:
|
|
271
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
283
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
284
|
+
unrecognizedObjectKeys: "passthrough",
|
|
285
|
+
allowUnrecognizedUnionMembers: true,
|
|
286
|
+
allowUnrecognizedEnumValues: true,
|
|
287
|
+
skipValidation: true,
|
|
288
|
+
breadcrumbsPrefix: ["response"],
|
|
289
|
+
}));
|
|
272
290
|
case 500:
|
|
273
291
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
274
292
|
default:
|
|
@@ -28,11 +28,9 @@ export declare class Sites {
|
|
|
28
28
|
*
|
|
29
29
|
* @param {Sites.RequestOptions} requestOptions - Request-specific configuration.
|
|
30
30
|
*
|
|
31
|
-
* @throws {@link Webflow.BadRequestError}
|
|
32
31
|
* @throws {@link Webflow.UnauthorizedError}
|
|
33
32
|
* @throws {@link Webflow.NotFoundError}
|
|
34
33
|
* @throws {@link Webflow.TooManyRequestsError}
|
|
35
|
-
* @throws {@link Webflow.InternalServerError}
|
|
36
34
|
*
|
|
37
35
|
* @example
|
|
38
36
|
* await client.sites.list()
|
|
@@ -71,7 +69,7 @@ export declare class Sites {
|
|
|
71
69
|
*/
|
|
72
70
|
getCustomDomain(siteId: string, requestOptions?: Sites.RequestOptions): Promise<Webflow.Domains>;
|
|
73
71
|
/**
|
|
74
|
-
* Publish a site to one more more domains. </br></br> Required scope | `sites:write`
|
|
72
|
+
* Publish a site to one more more domains. </br></br> Required scope | `sites:write` <blockquote class="callout callout_info" theme="📘"><h2 class="callout-heading"><span class="callout-icon">📘</span><p>Endpoint-specific rate limit</p></h2><p>This endpoint has a limit of one successful publish queue per minute.</p></blockquote>
|
|
75
73
|
*
|
|
76
74
|
* @param {string} siteId - Unique identifier for a Site
|
|
77
75
|
* @param {Webflow.SitesPublishRequest} request
|