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
|
@@ -98,7 +98,7 @@ class Items {
|
|
|
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 Items {
|
|
|
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:
|
|
@@ -152,7 +158,7 @@ class Items {
|
|
|
152
158
|
});
|
|
153
159
|
}
|
|
154
160
|
/**
|
|
155
|
-
* 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
|
|
161
|
+
* <style>.rm-Markdown.markdown-body a{color: #146EF5 !important;}</style> 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 the bulk item endpoint.</a> </br></br> Required scope | <code>CMS:write</code>
|
|
156
162
|
*
|
|
157
163
|
* @param {string} collectionId - Unique identifier for a Collection
|
|
158
164
|
* @param {Webflow.CollectionItem} request
|
|
@@ -189,7 +195,7 @@ class Items {
|
|
|
189
195
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
196
|
"X-Fern-Language": "JavaScript",
|
|
191
197
|
"X-Fern-SDK-Name": "webflow-api",
|
|
192
|
-
"X-Fern-SDK-Version": "2.3.
|
|
198
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
193
199
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
200
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
201
|
},
|
|
@@ -211,7 +217,13 @@ class Items {
|
|
|
211
217
|
case 404:
|
|
212
218
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
213
219
|
case 429:
|
|
214
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
220
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
221
|
+
unrecognizedObjectKeys: "passthrough",
|
|
222
|
+
allowUnrecognizedUnionMembers: true,
|
|
223
|
+
allowUnrecognizedEnumValues: true,
|
|
224
|
+
skipValidation: true,
|
|
225
|
+
breadcrumbsPrefix: ["response"],
|
|
226
|
+
}));
|
|
215
227
|
case 500:
|
|
216
228
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
217
229
|
default:
|
|
@@ -285,7 +297,7 @@ class Items {
|
|
|
285
297
|
Authorization: yield this._getAuthorizationHeader(),
|
|
286
298
|
"X-Fern-Language": "JavaScript",
|
|
287
299
|
"X-Fern-SDK-Name": "webflow-api",
|
|
288
|
-
"X-Fern-SDK-Version": "2.3.
|
|
300
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
289
301
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
290
302
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
291
303
|
},
|
|
@@ -313,7 +325,13 @@ class Items {
|
|
|
313
325
|
case 404:
|
|
314
326
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
315
327
|
case 429:
|
|
316
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
328
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
329
|
+
unrecognizedObjectKeys: "passthrough",
|
|
330
|
+
allowUnrecognizedUnionMembers: true,
|
|
331
|
+
allowUnrecognizedEnumValues: true,
|
|
332
|
+
skipValidation: true,
|
|
333
|
+
breadcrumbsPrefix: ["response"],
|
|
334
|
+
}));
|
|
317
335
|
case 500:
|
|
318
336
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
319
337
|
default:
|
|
@@ -376,7 +394,7 @@ class Items {
|
|
|
376
394
|
Authorization: yield this._getAuthorizationHeader(),
|
|
377
395
|
"X-Fern-Language": "JavaScript",
|
|
378
396
|
"X-Fern-SDK-Name": "webflow-api",
|
|
379
|
-
"X-Fern-SDK-Version": "2.3.
|
|
397
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
380
398
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
381
399
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
382
400
|
},
|
|
@@ -398,7 +416,13 @@ class Items {
|
|
|
398
416
|
case 404:
|
|
399
417
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
400
418
|
case 429:
|
|
401
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
419
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
420
|
+
unrecognizedObjectKeys: "passthrough",
|
|
421
|
+
allowUnrecognizedUnionMembers: true,
|
|
422
|
+
allowUnrecognizedEnumValues: true,
|
|
423
|
+
skipValidation: true,
|
|
424
|
+
breadcrumbsPrefix: ["response"],
|
|
425
|
+
}));
|
|
402
426
|
case 500:
|
|
403
427
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
404
428
|
default:
|
|
@@ -451,7 +475,7 @@ class Items {
|
|
|
451
475
|
Authorization: yield this._getAuthorizationHeader(),
|
|
452
476
|
"X-Fern-Language": "JavaScript",
|
|
453
477
|
"X-Fern-SDK-Name": "webflow-api",
|
|
454
|
-
"X-Fern-SDK-Version": "2.3.
|
|
478
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
455
479
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
456
480
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
457
481
|
},
|
|
@@ -475,7 +499,13 @@ class Items {
|
|
|
475
499
|
case 404:
|
|
476
500
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
477
501
|
case 429:
|
|
478
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
502
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
503
|
+
unrecognizedObjectKeys: "passthrough",
|
|
504
|
+
allowUnrecognizedUnionMembers: true,
|
|
505
|
+
allowUnrecognizedEnumValues: true,
|
|
506
|
+
skipValidation: true,
|
|
507
|
+
breadcrumbsPrefix: ["response"],
|
|
508
|
+
}));
|
|
479
509
|
case 500:
|
|
480
510
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
481
511
|
default:
|
|
@@ -532,7 +562,7 @@ class Items {
|
|
|
532
562
|
Authorization: yield this._getAuthorizationHeader(),
|
|
533
563
|
"X-Fern-Language": "JavaScript",
|
|
534
564
|
"X-Fern-SDK-Name": "webflow-api",
|
|
535
|
-
"X-Fern-SDK-Version": "2.3.
|
|
565
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
536
566
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
537
567
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
538
568
|
},
|
|
@@ -560,7 +590,13 @@ class Items {
|
|
|
560
590
|
case 404:
|
|
561
591
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
562
592
|
case 429:
|
|
563
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
593
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
594
|
+
unrecognizedObjectKeys: "passthrough",
|
|
595
|
+
allowUnrecognizedUnionMembers: true,
|
|
596
|
+
allowUnrecognizedEnumValues: true,
|
|
597
|
+
skipValidation: true,
|
|
598
|
+
breadcrumbsPrefix: ["response"],
|
|
599
|
+
}));
|
|
564
600
|
case 500:
|
|
565
601
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
566
602
|
default:
|
|
@@ -617,7 +653,7 @@ class Items {
|
|
|
617
653
|
Authorization: yield this._getAuthorizationHeader(),
|
|
618
654
|
"X-Fern-Language": "JavaScript",
|
|
619
655
|
"X-Fern-SDK-Name": "webflow-api",
|
|
620
|
-
"X-Fern-SDK-Version": "2.3.
|
|
656
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
621
657
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
622
658
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
623
659
|
},
|
|
@@ -639,7 +675,13 @@ class Items {
|
|
|
639
675
|
case 404:
|
|
640
676
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
641
677
|
case 429:
|
|
642
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
678
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
679
|
+
unrecognizedObjectKeys: "passthrough",
|
|
680
|
+
allowUnrecognizedUnionMembers: true,
|
|
681
|
+
allowUnrecognizedEnumValues: true,
|
|
682
|
+
skipValidation: true,
|
|
683
|
+
breadcrumbsPrefix: ["response"],
|
|
684
|
+
}));
|
|
643
685
|
case 500:
|
|
644
686
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
645
687
|
default:
|
|
@@ -703,7 +745,7 @@ class Items {
|
|
|
703
745
|
Authorization: yield this._getAuthorizationHeader(),
|
|
704
746
|
"X-Fern-Language": "JavaScript",
|
|
705
747
|
"X-Fern-SDK-Name": "webflow-api",
|
|
706
|
-
"X-Fern-SDK-Version": "2.3.
|
|
748
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
707
749
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
708
750
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
709
751
|
},
|
|
@@ -731,7 +773,13 @@ class Items {
|
|
|
731
773
|
case 404:
|
|
732
774
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
733
775
|
case 429:
|
|
734
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
776
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
777
|
+
unrecognizedObjectKeys: "passthrough",
|
|
778
|
+
allowUnrecognizedUnionMembers: true,
|
|
779
|
+
allowUnrecognizedEnumValues: true,
|
|
780
|
+
skipValidation: true,
|
|
781
|
+
breadcrumbsPrefix: ["response"],
|
|
782
|
+
}));
|
|
735
783
|
case 500:
|
|
736
784
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
737
785
|
default:
|
|
@@ -788,7 +836,7 @@ class Items {
|
|
|
788
836
|
Authorization: yield this._getAuthorizationHeader(),
|
|
789
837
|
"X-Fern-Language": "JavaScript",
|
|
790
838
|
"X-Fern-SDK-Name": "webflow-api",
|
|
791
|
-
"X-Fern-SDK-Version": "2.3.
|
|
839
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
792
840
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
793
841
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
794
842
|
},
|
|
@@ -816,7 +864,13 @@ class Items {
|
|
|
816
864
|
case 404:
|
|
817
865
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
818
866
|
case 429:
|
|
819
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
867
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
868
|
+
unrecognizedObjectKeys: "passthrough",
|
|
869
|
+
allowUnrecognizedUnionMembers: true,
|
|
870
|
+
allowUnrecognizedEnumValues: true,
|
|
871
|
+
skipValidation: true,
|
|
872
|
+
breadcrumbsPrefix: ["response"],
|
|
873
|
+
}));
|
|
820
874
|
case 500:
|
|
821
875
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
822
876
|
default:
|
|
@@ -842,7 +896,7 @@ class Items {
|
|
|
842
896
|
});
|
|
843
897
|
}
|
|
844
898
|
/**
|
|
845
|
-
* Remove a live item from the site. Removing a published item will unpublish the item from the live site and set it to draft. This endpoint does not currently support bulk deletion
|
|
899
|
+
* Remove a live item from the site. Removing a published item will unpublish the item from the live site and set it to draft. This endpoint does not currently support bulk deletion.</br></br> Required scope | `CMS:write`
|
|
846
900
|
*
|
|
847
901
|
* @param {string} collectionId - Unique identifier for a Collection
|
|
848
902
|
* @param {string} itemId - Unique identifier for an Item
|
|
@@ -873,7 +927,7 @@ class Items {
|
|
|
873
927
|
Authorization: yield this._getAuthorizationHeader(),
|
|
874
928
|
"X-Fern-Language": "JavaScript",
|
|
875
929
|
"X-Fern-SDK-Name": "webflow-api",
|
|
876
|
-
"X-Fern-SDK-Version": "2.3.
|
|
930
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
877
931
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
878
932
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
879
933
|
},
|
|
@@ -895,7 +949,13 @@ class Items {
|
|
|
895
949
|
case 404:
|
|
896
950
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
897
951
|
case 429:
|
|
898
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
952
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
953
|
+
unrecognizedObjectKeys: "passthrough",
|
|
954
|
+
allowUnrecognizedUnionMembers: true,
|
|
955
|
+
allowUnrecognizedEnumValues: true,
|
|
956
|
+
skipValidation: true,
|
|
957
|
+
breadcrumbsPrefix: ["response"],
|
|
958
|
+
}));
|
|
899
959
|
case 500:
|
|
900
960
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
901
961
|
default:
|
|
@@ -959,7 +1019,7 @@ class Items {
|
|
|
959
1019
|
Authorization: yield this._getAuthorizationHeader(),
|
|
960
1020
|
"X-Fern-Language": "JavaScript",
|
|
961
1021
|
"X-Fern-SDK-Name": "webflow-api",
|
|
962
|
-
"X-Fern-SDK-Version": "2.3.
|
|
1022
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
963
1023
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
964
1024
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
965
1025
|
},
|
|
@@ -987,7 +1047,13 @@ class Items {
|
|
|
987
1047
|
case 404:
|
|
988
1048
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
989
1049
|
case 429:
|
|
990
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
1050
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
1051
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1052
|
+
allowUnrecognizedUnionMembers: true,
|
|
1053
|
+
allowUnrecognizedEnumValues: true,
|
|
1054
|
+
skipValidation: true,
|
|
1055
|
+
breadcrumbsPrefix: ["response"],
|
|
1056
|
+
}));
|
|
991
1057
|
case 500:
|
|
992
1058
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
993
1059
|
default:
|
|
@@ -1040,7 +1106,7 @@ class Items {
|
|
|
1040
1106
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1041
1107
|
"X-Fern-Language": "JavaScript",
|
|
1042
1108
|
"X-Fern-SDK-Name": "webflow-api",
|
|
1043
|
-
"X-Fern-SDK-Version": "2.3.
|
|
1109
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
1044
1110
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1045
1111
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1046
1112
|
},
|
|
@@ -1064,7 +1130,13 @@ class Items {
|
|
|
1064
1130
|
case 404:
|
|
1065
1131
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
1066
1132
|
case 429:
|
|
1067
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
1133
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
1134
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1135
|
+
allowUnrecognizedUnionMembers: true,
|
|
1136
|
+
allowUnrecognizedEnumValues: true,
|
|
1137
|
+
skipValidation: true,
|
|
1138
|
+
breadcrumbsPrefix: ["response"],
|
|
1139
|
+
}));
|
|
1068
1140
|
case 500:
|
|
1069
1141
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
1070
1142
|
default:
|
|
@@ -78,7 +78,7 @@ class Ecommerce {
|
|
|
78
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
79
79
|
"X-Fern-Language": "JavaScript",
|
|
80
80
|
"X-Fern-SDK-Name": "webflow-api",
|
|
81
|
-
"X-Fern-SDK-Version": "2.3.
|
|
81
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
82
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
83
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
84
84
|
},
|
|
@@ -109,7 +109,13 @@ class Ecommerce {
|
|
|
109
109
|
case 409:
|
|
110
110
|
throw new Webflow.ConflictError(_response.error.body);
|
|
111
111
|
case 429:
|
|
112
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
112
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
114
|
+
allowUnrecognizedUnionMembers: true,
|
|
115
|
+
allowUnrecognizedEnumValues: true,
|
|
116
|
+
skipValidation: true,
|
|
117
|
+
breadcrumbsPrefix: ["response"],
|
|
118
|
+
}));
|
|
113
119
|
case 500:
|
|
114
120
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
115
121
|
default:
|
|
@@ -61,6 +61,7 @@ export declare class Forms {
|
|
|
61
61
|
* List form submissions for a given form </br></br> Required scope | `forms:read`
|
|
62
62
|
*
|
|
63
63
|
* @param {string} formId - Unique identifier for a Form
|
|
64
|
+
* @param {Webflow.FormsListSubmissionsRequest} request
|
|
64
65
|
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
66
|
*
|
|
66
67
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -73,7 +74,7 @@ export declare class Forms {
|
|
|
73
74
|
* @example
|
|
74
75
|
* await client.forms.listSubmissions("form_id")
|
|
75
76
|
*/
|
|
76
|
-
listSubmissions(formId: string, requestOptions?: Forms.RequestOptions): Promise<Webflow.FormSubmissionList>;
|
|
77
|
+
listSubmissions(formId: string, request?: Webflow.FormsListSubmissionsRequest, requestOptions?: Forms.RequestOptions): Promise<Webflow.FormSubmissionList>;
|
|
77
78
|
/**
|
|
78
79
|
* Get information about a given form submission</br></br> Required scope | `forms:read`
|
|
79
80
|
*
|
|
@@ -85,7 +85,7 @@ class Forms {
|
|
|
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": "2.3.
|
|
88
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
91
91
|
},
|
|
@@ -117,7 +117,13 @@ class Forms {
|
|
|
117
117
|
case 409:
|
|
118
118
|
throw new Webflow.ConflictError(_response.error.body);
|
|
119
119
|
case 429:
|
|
120
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
120
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
121
|
+
unrecognizedObjectKeys: "passthrough",
|
|
122
|
+
allowUnrecognizedUnionMembers: true,
|
|
123
|
+
allowUnrecognizedEnumValues: true,
|
|
124
|
+
skipValidation: true,
|
|
125
|
+
breadcrumbsPrefix: ["response"],
|
|
126
|
+
}));
|
|
121
127
|
case 500:
|
|
122
128
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
123
129
|
default:
|
|
@@ -168,7 +174,7 @@ class Forms {
|
|
|
168
174
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
175
|
"X-Fern-Language": "JavaScript",
|
|
170
176
|
"X-Fern-SDK-Name": "webflow-api",
|
|
171
|
-
"X-Fern-SDK-Version": "2.3.
|
|
177
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
172
178
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
179
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
180
|
},
|
|
@@ -197,7 +203,13 @@ class Forms {
|
|
|
197
203
|
case 404:
|
|
198
204
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
199
205
|
case 429:
|
|
200
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
206
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
207
|
+
unrecognizedObjectKeys: "passthrough",
|
|
208
|
+
allowUnrecognizedUnionMembers: true,
|
|
209
|
+
allowUnrecognizedEnumValues: true,
|
|
210
|
+
skipValidation: true,
|
|
211
|
+
breadcrumbsPrefix: ["response"],
|
|
212
|
+
}));
|
|
201
213
|
case 500:
|
|
202
214
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
203
215
|
default:
|
|
@@ -226,6 +238,7 @@ class Forms {
|
|
|
226
238
|
* List form submissions for a given form </br></br> Required scope | `forms:read`
|
|
227
239
|
*
|
|
228
240
|
* @param {string} formId - Unique identifier for a Form
|
|
241
|
+
* @param {Webflow.FormsListSubmissionsRequest} request
|
|
229
242
|
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
230
243
|
*
|
|
231
244
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -238,9 +251,17 @@ class Forms {
|
|
|
238
251
|
* @example
|
|
239
252
|
* await client.forms.listSubmissions("form_id")
|
|
240
253
|
*/
|
|
241
|
-
listSubmissions(formId, requestOptions) {
|
|
254
|
+
listSubmissions(formId, request = {}, requestOptions) {
|
|
242
255
|
var _a;
|
|
243
256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
const { offset, limit } = request;
|
|
258
|
+
const _queryParams = {};
|
|
259
|
+
if (offset != null) {
|
|
260
|
+
_queryParams["offset"] = offset.toString();
|
|
261
|
+
}
|
|
262
|
+
if (limit != null) {
|
|
263
|
+
_queryParams["limit"] = limit.toString();
|
|
264
|
+
}
|
|
244
265
|
const _response = yield core.fetcher({
|
|
245
266
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.Default, `forms/${encodeURIComponent(formId)}/submissions`),
|
|
246
267
|
method: "GET",
|
|
@@ -248,11 +269,12 @@ class Forms {
|
|
|
248
269
|
Authorization: yield this._getAuthorizationHeader(),
|
|
249
270
|
"X-Fern-Language": "JavaScript",
|
|
250
271
|
"X-Fern-SDK-Name": "webflow-api",
|
|
251
|
-
"X-Fern-SDK-Version": "2.3.
|
|
272
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
252
273
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
253
274
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
254
275
|
},
|
|
255
276
|
contentType: "application/json",
|
|
277
|
+
queryParameters: _queryParams,
|
|
256
278
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
257
279
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
258
280
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -277,7 +299,13 @@ class Forms {
|
|
|
277
299
|
case 404:
|
|
278
300
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
279
301
|
case 429:
|
|
280
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
302
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
303
|
+
unrecognizedObjectKeys: "passthrough",
|
|
304
|
+
allowUnrecognizedUnionMembers: true,
|
|
305
|
+
allowUnrecognizedEnumValues: true,
|
|
306
|
+
skipValidation: true,
|
|
307
|
+
breadcrumbsPrefix: ["response"],
|
|
308
|
+
}));
|
|
281
309
|
case 500:
|
|
282
310
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
283
311
|
default:
|
|
@@ -328,7 +356,7 @@ class Forms {
|
|
|
328
356
|
Authorization: yield this._getAuthorizationHeader(),
|
|
329
357
|
"X-Fern-Language": "JavaScript",
|
|
330
358
|
"X-Fern-SDK-Name": "webflow-api",
|
|
331
|
-
"X-Fern-SDK-Version": "2.3.
|
|
359
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
332
360
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
333
361
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
334
362
|
},
|
|
@@ -357,7 +385,13 @@ class Forms {
|
|
|
357
385
|
case 404:
|
|
358
386
|
throw new Webflow.NotFoundError(_response.error.body);
|
|
359
387
|
case 429:
|
|
360
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
388
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
389
|
+
unrecognizedObjectKeys: "passthrough",
|
|
390
|
+
allowUnrecognizedUnionMembers: true,
|
|
391
|
+
allowUnrecognizedEnumValues: true,
|
|
392
|
+
skipValidation: true,
|
|
393
|
+
breadcrumbsPrefix: ["response"],
|
|
394
|
+
}));
|
|
361
395
|
case 500:
|
|
362
396
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
363
397
|
default:
|
|
@@ -410,7 +444,7 @@ class Forms {
|
|
|
410
444
|
Authorization: yield this._getAuthorizationHeader(),
|
|
411
445
|
"X-Fern-Language": "JavaScript",
|
|
412
446
|
"X-Fern-SDK-Name": "webflow-api",
|
|
413
|
-
"X-Fern-SDK-Version": "2.3.
|
|
447
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
414
448
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
415
449
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
416
450
|
},
|
|
@@ -444,7 +478,13 @@ class Forms {
|
|
|
444
478
|
case 409:
|
|
445
479
|
throw new Webflow.ConflictError(_response.error.body);
|
|
446
480
|
case 429:
|
|
447
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
481
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
482
|
+
unrecognizedObjectKeys: "passthrough",
|
|
483
|
+
allowUnrecognizedUnionMembers: true,
|
|
484
|
+
allowUnrecognizedEnumValues: true,
|
|
485
|
+
skipValidation: true,
|
|
486
|
+
breadcrumbsPrefix: ["response"],
|
|
487
|
+
}));
|
|
448
488
|
case 500:
|
|
449
489
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
450
490
|
default:
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface FormsListSubmissionsRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Offset used for pagination if the results have more than limit records
|
|
11
|
+
*/
|
|
12
|
+
offset?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
}
|
package/api/resources/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export * from "./collections/client/requests";
|
|
|
23
23
|
export * from "./pages/client/requests";
|
|
24
24
|
export * from "./scripts/client/requests";
|
|
25
25
|
export * from "./assets/client/requests";
|
|
26
|
-
export * from "./webhooks/client/requests";
|
|
27
26
|
export * from "./forms/client/requests";
|
|
28
27
|
export * from "./users/client/requests";
|
|
29
28
|
export * from "./accessGroups/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -52,7 +52,6 @@ __exportStar(require("./collections/client/requests"), exports);
|
|
|
52
52
|
__exportStar(require("./pages/client/requests"), exports);
|
|
53
53
|
__exportStar(require("./scripts/client/requests"), exports);
|
|
54
54
|
__exportStar(require("./assets/client/requests"), exports);
|
|
55
|
-
__exportStar(require("./webhooks/client/requests"), exports);
|
|
56
55
|
__exportStar(require("./forms/client/requests"), exports);
|
|
57
56
|
__exportStar(require("./users/client/requests"), exports);
|
|
58
57
|
__exportStar(require("./accessGroups/client/requests"), exports);
|
|
@@ -79,7 +79,7 @@ class Inventory {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "webflow-api",
|
|
82
|
-
"X-Fern-SDK-Version": "2.3.
|
|
82
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -110,7 +110,13 @@ class Inventory {
|
|
|
110
110
|
case 409:
|
|
111
111
|
throw new Webflow.ConflictError(_response.error.body);
|
|
112
112
|
case 429:
|
|
113
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
113
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
114
|
+
unrecognizedObjectKeys: "passthrough",
|
|
115
|
+
allowUnrecognizedUnionMembers: true,
|
|
116
|
+
allowUnrecognizedEnumValues: true,
|
|
117
|
+
skipValidation: true,
|
|
118
|
+
breadcrumbsPrefix: ["response"],
|
|
119
|
+
}));
|
|
114
120
|
case 500:
|
|
115
121
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
116
122
|
default:
|
|
@@ -168,7 +174,7 @@ class Inventory {
|
|
|
168
174
|
Authorization: yield this._getAuthorizationHeader(),
|
|
169
175
|
"X-Fern-Language": "JavaScript",
|
|
170
176
|
"X-Fern-SDK-Name": "webflow-api",
|
|
171
|
-
"X-Fern-SDK-Version": "2.3.
|
|
177
|
+
"X-Fern-SDK-Version": "2.3.6",
|
|
172
178
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
173
179
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
174
180
|
},
|
|
@@ -200,7 +206,13 @@ class Inventory {
|
|
|
200
206
|
case 409:
|
|
201
207
|
throw new Webflow.ConflictError(_response.error.body);
|
|
202
208
|
case 429:
|
|
203
|
-
throw new Webflow.TooManyRequestsError(_response.error.body
|
|
209
|
+
throw new Webflow.TooManyRequestsError(yield serializers.TooManyRequestsErrorBody.parseOrThrow(_response.error.body, {
|
|
210
|
+
unrecognizedObjectKeys: "passthrough",
|
|
211
|
+
allowUnrecognizedUnionMembers: true,
|
|
212
|
+
allowUnrecognizedEnumValues: true,
|
|
213
|
+
skipValidation: true,
|
|
214
|
+
breadcrumbsPrefix: ["response"],
|
|
215
|
+
}));
|
|
204
216
|
case 500:
|
|
205
217
|
throw new Webflow.InternalServerError(_response.error.body);
|
|
206
218
|
default:
|