@aurigma/ng-design-atoms-api-client 2.26.7 → 2.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +650 -78
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +561 -7
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +560 -6
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +53 -15
- package/package.json +1 -1
|
@@ -93,6 +93,13 @@ class BuildInfoApiClient extends ApiClientBase {
|
|
|
93
93
|
return of(null);
|
|
94
94
|
}));
|
|
95
95
|
}
|
|
96
|
+
else if (status === 500) {
|
|
97
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
98
|
+
let result500 = null;
|
|
99
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
100
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
101
|
+
}));
|
|
102
|
+
}
|
|
96
103
|
else if (status !== 200 && status !== 204) {
|
|
97
104
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
98
105
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -148,6 +155,13 @@ class BuildInfoApiClient extends ApiClientBase {
|
|
|
148
155
|
return of(result200);
|
|
149
156
|
}));
|
|
150
157
|
}
|
|
158
|
+
else if (status === 500) {
|
|
159
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
160
|
+
let result500 = null;
|
|
161
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
162
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
163
|
+
}));
|
|
164
|
+
}
|
|
151
165
|
else if (status !== 200 && status !== 204) {
|
|
152
166
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
153
167
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -228,6 +242,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
228
242
|
return of(result200);
|
|
229
243
|
}));
|
|
230
244
|
}
|
|
245
|
+
else if (status === 500) {
|
|
246
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
247
|
+
let result500 = null;
|
|
248
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
249
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
250
|
+
}));
|
|
251
|
+
}
|
|
231
252
|
else if (status !== 200 && status !== 204) {
|
|
232
253
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
233
254
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -294,6 +315,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
294
315
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
295
316
|
}));
|
|
296
317
|
}
|
|
318
|
+
else if (status === 500) {
|
|
319
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
320
|
+
let result500 = null;
|
|
321
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
322
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
323
|
+
}));
|
|
324
|
+
}
|
|
297
325
|
else if (status !== 200 && status !== 204) {
|
|
298
326
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
299
327
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -360,6 +388,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
360
388
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
361
389
|
}));
|
|
362
390
|
}
|
|
391
|
+
else if (status === 500) {
|
|
392
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
393
|
+
let result500 = null;
|
|
394
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
395
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
396
|
+
}));
|
|
397
|
+
}
|
|
363
398
|
else if (status !== 200 && status !== 204) {
|
|
364
399
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
365
400
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -421,6 +456,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
421
456
|
return of(result200);
|
|
422
457
|
}));
|
|
423
458
|
}
|
|
459
|
+
else if (status === 500) {
|
|
460
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
461
|
+
let result500 = null;
|
|
462
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
463
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
464
|
+
}));
|
|
465
|
+
}
|
|
424
466
|
else if (status !== 200 && status !== 204) {
|
|
425
467
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
426
468
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -482,6 +524,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
482
524
|
return of(result200);
|
|
483
525
|
}));
|
|
484
526
|
}
|
|
527
|
+
else if (status === 500) {
|
|
528
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
529
|
+
let result500 = null;
|
|
530
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
531
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
532
|
+
}));
|
|
533
|
+
}
|
|
485
534
|
else if (status !== 200 && status !== 204) {
|
|
486
535
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
487
536
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -543,6 +592,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
543
592
|
return of(result200);
|
|
544
593
|
}));
|
|
545
594
|
}
|
|
595
|
+
else if (status === 500) {
|
|
596
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
597
|
+
let result500 = null;
|
|
598
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
599
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
600
|
+
}));
|
|
601
|
+
}
|
|
546
602
|
else if (status !== 200 && status !== 204) {
|
|
547
603
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
548
604
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -659,6 +715,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
659
715
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
660
716
|
}));
|
|
661
717
|
}
|
|
718
|
+
else if (status === 500) {
|
|
719
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
720
|
+
let result500 = null;
|
|
721
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
722
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
723
|
+
}));
|
|
724
|
+
}
|
|
662
725
|
else if (status !== 200 && status !== 204) {
|
|
663
726
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
664
727
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -716,6 +779,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
716
779
|
return of(result200);
|
|
717
780
|
}));
|
|
718
781
|
}
|
|
782
|
+
else if (status === 500) {
|
|
783
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
784
|
+
let result500 = null;
|
|
785
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
786
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
787
|
+
}));
|
|
788
|
+
}
|
|
719
789
|
else if (status !== 200 && status !== 204) {
|
|
720
790
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
721
791
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -787,6 +857,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
787
857
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
788
858
|
}));
|
|
789
859
|
}
|
|
860
|
+
else if (status === 500) {
|
|
861
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
862
|
+
let result500 = null;
|
|
863
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
864
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
865
|
+
}));
|
|
866
|
+
}
|
|
790
867
|
else if (status !== 200 && status !== 204) {
|
|
791
868
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
792
869
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -853,6 +930,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
853
930
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
854
931
|
}));
|
|
855
932
|
}
|
|
933
|
+
else if (status === 500) {
|
|
934
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
935
|
+
let result500 = null;
|
|
936
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
937
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
938
|
+
}));
|
|
939
|
+
}
|
|
856
940
|
else if (status !== 200 && status !== 204) {
|
|
857
941
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
858
942
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -924,6 +1008,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
924
1008
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
925
1009
|
}));
|
|
926
1010
|
}
|
|
1011
|
+
else if (status === 500) {
|
|
1012
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1013
|
+
let result500 = null;
|
|
1014
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1015
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1016
|
+
}));
|
|
1017
|
+
}
|
|
927
1018
|
else if (status !== 200 && status !== 204) {
|
|
928
1019
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
929
1020
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -995,6 +1086,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
995
1086
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
996
1087
|
}));
|
|
997
1088
|
}
|
|
1089
|
+
else if (status === 500) {
|
|
1090
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1091
|
+
let result500 = null;
|
|
1092
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1093
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1094
|
+
}));
|
|
1095
|
+
}
|
|
998
1096
|
else if (status !== 200 && status !== 204) {
|
|
999
1097
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1000
1098
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1056,6 +1154,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1056
1154
|
return of(result200);
|
|
1057
1155
|
}));
|
|
1058
1156
|
}
|
|
1157
|
+
else if (status === 500) {
|
|
1158
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1159
|
+
let result500 = null;
|
|
1160
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1161
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1162
|
+
}));
|
|
1163
|
+
}
|
|
1059
1164
|
else if (status !== 200 && status !== 204) {
|
|
1060
1165
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1061
1166
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1117,6 +1222,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1117
1222
|
return of(result200);
|
|
1118
1223
|
}));
|
|
1119
1224
|
}
|
|
1225
|
+
else if (status === 500) {
|
|
1226
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1227
|
+
let result500 = null;
|
|
1228
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1229
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1230
|
+
}));
|
|
1231
|
+
}
|
|
1120
1232
|
else if (status !== 200 && status !== 204) {
|
|
1121
1233
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1122
1234
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1178,6 +1290,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1178
1290
|
return of(result200);
|
|
1179
1291
|
}));
|
|
1180
1292
|
}
|
|
1293
|
+
else if (status === 500) {
|
|
1294
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1295
|
+
let result500 = null;
|
|
1296
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1297
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1298
|
+
}));
|
|
1299
|
+
}
|
|
1181
1300
|
else if (status !== 200 && status !== 204) {
|
|
1182
1301
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1183
1302
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1239,6 +1358,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1239
1358
|
return of(result200);
|
|
1240
1359
|
}));
|
|
1241
1360
|
}
|
|
1361
|
+
else if (status === 500) {
|
|
1362
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1363
|
+
let result500 = null;
|
|
1364
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1365
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1366
|
+
}));
|
|
1367
|
+
}
|
|
1242
1368
|
else if (status !== 200 && status !== 204) {
|
|
1243
1369
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1244
1370
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1300,6 +1426,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1300
1426
|
return of(result200);
|
|
1301
1427
|
}));
|
|
1302
1428
|
}
|
|
1429
|
+
else if (status === 500) {
|
|
1430
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1431
|
+
let result500 = null;
|
|
1432
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1433
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1434
|
+
}));
|
|
1435
|
+
}
|
|
1303
1436
|
else if (status !== 200 && status !== 204) {
|
|
1304
1437
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1305
1438
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1361,6 +1494,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1361
1494
|
return of(result200);
|
|
1362
1495
|
}));
|
|
1363
1496
|
}
|
|
1497
|
+
else if (status === 500) {
|
|
1498
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1499
|
+
let result500 = null;
|
|
1500
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1501
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1502
|
+
}));
|
|
1503
|
+
}
|
|
1364
1504
|
else if (status !== 200 && status !== 204) {
|
|
1365
1505
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1366
1506
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1422,6 +1562,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1422
1562
|
return of(result200);
|
|
1423
1563
|
}));
|
|
1424
1564
|
}
|
|
1565
|
+
else if (status === 500) {
|
|
1566
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1567
|
+
let result500 = null;
|
|
1568
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1569
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1570
|
+
}));
|
|
1571
|
+
}
|
|
1425
1572
|
else if (status !== 200 && status !== 204) {
|
|
1426
1573
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1427
1574
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1483,6 +1630,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1483
1630
|
return of(result200);
|
|
1484
1631
|
}));
|
|
1485
1632
|
}
|
|
1633
|
+
else if (status === 500) {
|
|
1634
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1635
|
+
let result500 = null;
|
|
1636
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1637
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1638
|
+
}));
|
|
1639
|
+
}
|
|
1486
1640
|
else if (status !== 200 && status !== 204) {
|
|
1487
1641
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1488
1642
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1544,6 +1698,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1544
1698
|
return of(result200);
|
|
1545
1699
|
}));
|
|
1546
1700
|
}
|
|
1701
|
+
else if (status === 500) {
|
|
1702
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1703
|
+
let result500 = null;
|
|
1704
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1705
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1706
|
+
}));
|
|
1707
|
+
}
|
|
1547
1708
|
else if (status !== 200 && status !== 204) {
|
|
1548
1709
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1549
1710
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1605,6 +1766,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1605
1766
|
return of(result200);
|
|
1606
1767
|
}));
|
|
1607
1768
|
}
|
|
1769
|
+
else if (status === 500) {
|
|
1770
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1771
|
+
let result500 = null;
|
|
1772
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1773
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1774
|
+
}));
|
|
1775
|
+
}
|
|
1608
1776
|
else if (status !== 200 && status !== 204) {
|
|
1609
1777
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1610
1778
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1666,6 +1834,13 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1666
1834
|
return of(result200);
|
|
1667
1835
|
}));
|
|
1668
1836
|
}
|
|
1837
|
+
else if (status === 500) {
|
|
1838
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1839
|
+
let result500 = null;
|
|
1840
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1841
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1842
|
+
}));
|
|
1843
|
+
}
|
|
1669
1844
|
else if (status !== 200 && status !== 204) {
|
|
1670
1845
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1671
1846
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1766,6 +1941,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
1766
1941
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
1767
1942
|
}));
|
|
1768
1943
|
}
|
|
1944
|
+
else if (status === 500) {
|
|
1945
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1946
|
+
let result500 = null;
|
|
1947
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
1948
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
1949
|
+
}));
|
|
1950
|
+
}
|
|
1769
1951
|
else if (status !== 200 && status !== 204) {
|
|
1770
1952
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1771
1953
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1846,6 +2028,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
1846
2028
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
1847
2029
|
}));
|
|
1848
2030
|
}
|
|
2031
|
+
else if (status === 500) {
|
|
2032
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2033
|
+
let result500 = null;
|
|
2034
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2035
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2036
|
+
}));
|
|
2037
|
+
}
|
|
1849
2038
|
else if (status !== 200 && status !== 204) {
|
|
1850
2039
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1851
2040
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1922,6 +2111,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
1922
2111
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
1923
2112
|
}));
|
|
1924
2113
|
}
|
|
2114
|
+
else if (status === 422) {
|
|
2115
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2116
|
+
let result422 = null;
|
|
2117
|
+
result422 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2118
|
+
return throwException("Client Error", status, _responseText, _headers, result422);
|
|
2119
|
+
}));
|
|
2120
|
+
}
|
|
1925
2121
|
else if (status === 401) {
|
|
1926
2122
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1927
2123
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -1932,6 +2128,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
1932
2128
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
1933
2129
|
}));
|
|
1934
2130
|
}
|
|
2131
|
+
else if (status === 500) {
|
|
2132
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2133
|
+
let result500 = null;
|
|
2134
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2135
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2136
|
+
}));
|
|
2137
|
+
}
|
|
1935
2138
|
else if (status !== 200 && status !== 204) {
|
|
1936
2139
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1937
2140
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2019,6 +2222,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2019
2222
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2020
2223
|
}));
|
|
2021
2224
|
}
|
|
2225
|
+
else if (status === 500) {
|
|
2226
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2227
|
+
let result500 = null;
|
|
2228
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2229
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2230
|
+
}));
|
|
2231
|
+
}
|
|
2022
2232
|
else if (status !== 200 && status !== 204) {
|
|
2023
2233
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2024
2234
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2107,6 +2317,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2107
2317
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2108
2318
|
}));
|
|
2109
2319
|
}
|
|
2320
|
+
else if (status === 500) {
|
|
2321
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2322
|
+
let result500 = null;
|
|
2323
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2324
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2325
|
+
}));
|
|
2326
|
+
}
|
|
2110
2327
|
else if (status !== 200 && status !== 204) {
|
|
2111
2328
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2112
2329
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2203,6 +2420,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2203
2420
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2204
2421
|
}));
|
|
2205
2422
|
}
|
|
2423
|
+
else if (status === 500) {
|
|
2424
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2425
|
+
let result500 = null;
|
|
2426
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2427
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2428
|
+
}));
|
|
2429
|
+
}
|
|
2206
2430
|
else if (status !== 200 && status !== 204) {
|
|
2207
2431
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2208
2432
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2296,6 +2520,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2296
2520
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2297
2521
|
}));
|
|
2298
2522
|
}
|
|
2523
|
+
else if (status === 500) {
|
|
2524
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2525
|
+
let result500 = null;
|
|
2526
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2527
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2528
|
+
}));
|
|
2529
|
+
}
|
|
2299
2530
|
else if (status !== 200 && status !== 204) {
|
|
2300
2531
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2301
2532
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2383,6 +2614,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2383
2614
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2384
2615
|
}));
|
|
2385
2616
|
}
|
|
2617
|
+
else if (status === 500) {
|
|
2618
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2619
|
+
let result500 = null;
|
|
2620
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2621
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2622
|
+
}));
|
|
2623
|
+
}
|
|
2386
2624
|
else if (status !== 200 && status !== 204) {
|
|
2387
2625
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2388
2626
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2478,6 +2716,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2478
2716
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2479
2717
|
}));
|
|
2480
2718
|
}
|
|
2719
|
+
else if (status === 500) {
|
|
2720
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2721
|
+
let result500 = null;
|
|
2722
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2723
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2724
|
+
}));
|
|
2725
|
+
}
|
|
2481
2726
|
else if (status !== 200 && status !== 204) {
|
|
2482
2727
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2483
2728
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2572,6 +2817,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2572
2817
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2573
2818
|
}));
|
|
2574
2819
|
}
|
|
2820
|
+
else if (status === 500) {
|
|
2821
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2822
|
+
let result500 = null;
|
|
2823
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2824
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2825
|
+
}));
|
|
2826
|
+
}
|
|
2575
2827
|
else if (status !== 200 && status !== 204) {
|
|
2576
2828
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2577
2829
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2660,6 +2912,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2660
2912
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2661
2913
|
}));
|
|
2662
2914
|
}
|
|
2915
|
+
else if (status === 500) {
|
|
2916
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2917
|
+
let result500 = null;
|
|
2918
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
2919
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2920
|
+
}));
|
|
2921
|
+
}
|
|
2663
2922
|
else if (status !== 200 && status !== 204) {
|
|
2664
2923
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2665
2924
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2743,6 +3002,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2743
3002
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2744
3003
|
}));
|
|
2745
3004
|
}
|
|
3005
|
+
else if (status === 500) {
|
|
3006
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3007
|
+
let result500 = null;
|
|
3008
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3009
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3010
|
+
}));
|
|
3011
|
+
}
|
|
2746
3012
|
else if (status !== 200 && status !== 204) {
|
|
2747
3013
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2748
3014
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2817,6 +3083,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2817
3083
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2818
3084
|
}));
|
|
2819
3085
|
}
|
|
3086
|
+
else if (status === 500) {
|
|
3087
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3088
|
+
let result500 = null;
|
|
3089
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3090
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3091
|
+
}));
|
|
3092
|
+
}
|
|
2820
3093
|
else if (status !== 200 && status !== 204) {
|
|
2821
3094
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2822
3095
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2911,6 +3184,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2911
3184
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2912
3185
|
}));
|
|
2913
3186
|
}
|
|
3187
|
+
else if (status === 500) {
|
|
3188
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3189
|
+
let result500 = null;
|
|
3190
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3191
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3192
|
+
}));
|
|
3193
|
+
}
|
|
2914
3194
|
else if (status !== 200 && status !== 204) {
|
|
2915
3195
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2916
3196
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2986,6 +3266,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
2986
3266
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
2987
3267
|
}));
|
|
2988
3268
|
}
|
|
3269
|
+
else if (status === 500) {
|
|
3270
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3271
|
+
let result500 = null;
|
|
3272
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3273
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3274
|
+
}));
|
|
3275
|
+
}
|
|
2989
3276
|
else if (status !== 200 && status !== 204) {
|
|
2990
3277
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2991
3278
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3061,6 +3348,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3061
3348
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
3062
3349
|
}));
|
|
3063
3350
|
}
|
|
3351
|
+
else if (status === 500) {
|
|
3352
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3353
|
+
let result500 = null;
|
|
3354
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3355
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3356
|
+
}));
|
|
3357
|
+
}
|
|
3064
3358
|
else if (status !== 200 && status !== 204) {
|
|
3065
3359
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3066
3360
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3069,13 +3363,14 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3069
3363
|
return of(null);
|
|
3070
3364
|
}
|
|
3071
3365
|
/**
|
|
3072
|
-
* Renders a design with the specified parameters.
|
|
3073
|
-
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
3366
|
+
* Renders a design preview with the specified parameters.
|
|
3367
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
3368
|
+
(default value is 'false').
|
|
3074
3369
|
* @param tenantId (optional) Tenant identifier
|
|
3075
3370
|
* @param body (optional) Render model with preview parameters.
|
|
3076
3371
|
* @return Success
|
|
3077
3372
|
*/
|
|
3078
|
-
|
|
3373
|
+
renderDesignPreview(attachment, tenantId, body) {
|
|
3079
3374
|
let url_ = this.baseUrl + "/api/atoms/v1/render-design-preview?";
|
|
3080
3375
|
if (attachment !== undefined && attachment !== null)
|
|
3081
3376
|
url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
|
|
@@ -3097,11 +3392,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3097
3392
|
return from(this.transformOptions(options_)).pipe(mergeMap(transformedOptions_ => {
|
|
3098
3393
|
return this.http.request("post", url_, transformedOptions_);
|
|
3099
3394
|
})).pipe(mergeMap((response_) => {
|
|
3100
|
-
return this.transformResult(url_, response_, (r) => this.
|
|
3395
|
+
return this.transformResult(url_, response_, (r) => this.processRenderDesignPreview(r));
|
|
3101
3396
|
})).pipe(catchError((response_) => {
|
|
3102
3397
|
if (response_ instanceof HttpResponseBase) {
|
|
3103
3398
|
try {
|
|
3104
|
-
return this.transformResult(url_, response_, (r) => this.
|
|
3399
|
+
return this.transformResult(url_, response_, (r) => this.processRenderDesignPreview(r));
|
|
3105
3400
|
}
|
|
3106
3401
|
catch (e) {
|
|
3107
3402
|
return throwError(e);
|
|
@@ -3111,7 +3406,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3111
3406
|
return throwError(response_);
|
|
3112
3407
|
}));
|
|
3113
3408
|
}
|
|
3114
|
-
|
|
3409
|
+
processRenderDesignPreview(response) {
|
|
3115
3410
|
const status = response.status;
|
|
3116
3411
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
3117
3412
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -3137,6 +3432,97 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3137
3432
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
3138
3433
|
}));
|
|
3139
3434
|
}
|
|
3435
|
+
else if (status === 500) {
|
|
3436
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3437
|
+
let result500 = null;
|
|
3438
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3439
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3440
|
+
}));
|
|
3441
|
+
}
|
|
3442
|
+
else if (status !== 200 && status !== 204) {
|
|
3443
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3444
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
3445
|
+
}));
|
|
3446
|
+
}
|
|
3447
|
+
return of(null);
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* Renders a design proof with the specified parameters.
|
|
3451
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
3452
|
+
(default value is 'false').
|
|
3453
|
+
* @param tenantId (optional) Tenant identifier
|
|
3454
|
+
* @param body (optional) Render model with proof parameters.
|
|
3455
|
+
* @return Success
|
|
3456
|
+
*/
|
|
3457
|
+
renderDesignProof(attachment, tenantId, body) {
|
|
3458
|
+
let url_ = this.baseUrl + "/api/atoms/v1/render-design-proof?";
|
|
3459
|
+
if (attachment !== undefined && attachment !== null)
|
|
3460
|
+
url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
|
|
3461
|
+
if (tenantId === null)
|
|
3462
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
3463
|
+
else if (tenantId !== undefined)
|
|
3464
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3465
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3466
|
+
const content_ = JSON.stringify(body);
|
|
3467
|
+
let options_ = {
|
|
3468
|
+
body: content_,
|
|
3469
|
+
observe: "response",
|
|
3470
|
+
responseType: "blob",
|
|
3471
|
+
headers: new HttpHeaders({
|
|
3472
|
+
"Content-Type": "application/json",
|
|
3473
|
+
"Accept": "application/octet-stream"
|
|
3474
|
+
})
|
|
3475
|
+
};
|
|
3476
|
+
return from(this.transformOptions(options_)).pipe(mergeMap(transformedOptions_ => {
|
|
3477
|
+
return this.http.request("post", url_, transformedOptions_);
|
|
3478
|
+
})).pipe(mergeMap((response_) => {
|
|
3479
|
+
return this.transformResult(url_, response_, (r) => this.processRenderDesignProof(r));
|
|
3480
|
+
})).pipe(catchError((response_) => {
|
|
3481
|
+
if (response_ instanceof HttpResponseBase) {
|
|
3482
|
+
try {
|
|
3483
|
+
return this.transformResult(url_, response_, (r) => this.processRenderDesignProof(r));
|
|
3484
|
+
}
|
|
3485
|
+
catch (e) {
|
|
3486
|
+
return throwError(e);
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
else
|
|
3490
|
+
return throwError(response_);
|
|
3491
|
+
}));
|
|
3492
|
+
}
|
|
3493
|
+
processRenderDesignProof(response) {
|
|
3494
|
+
const status = response.status;
|
|
3495
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
3496
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
3497
|
+
let _headers = {};
|
|
3498
|
+
if (response.headers) {
|
|
3499
|
+
for (let key of response.headers.keys()) {
|
|
3500
|
+
_headers[key] = response.headers.get(key);
|
|
3501
|
+
}
|
|
3502
|
+
}
|
|
3503
|
+
if (status === 200 || status === 206) {
|
|
3504
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
3505
|
+
const fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
3506
|
+
const fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
3507
|
+
return of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
3508
|
+
}
|
|
3509
|
+
else if (status === 401) {
|
|
3510
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3511
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
3512
|
+
}));
|
|
3513
|
+
}
|
|
3514
|
+
else if (status === 403) {
|
|
3515
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3516
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
3517
|
+
}));
|
|
3518
|
+
}
|
|
3519
|
+
else if (status === 500) {
|
|
3520
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3521
|
+
let result500 = null;
|
|
3522
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3523
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3524
|
+
}));
|
|
3525
|
+
}
|
|
3140
3526
|
else if (status !== 200 && status !== 204) {
|
|
3141
3527
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3142
3528
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3213,6 +3599,13 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
3213
3599
|
return throwException("Forbidden", status, _responseText, _headers);
|
|
3214
3600
|
}));
|
|
3215
3601
|
}
|
|
3602
|
+
else if (status === 500) {
|
|
3603
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3604
|
+
let result500 = null;
|
|
3605
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3606
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3607
|
+
}));
|
|
3608
|
+
}
|
|
3216
3609
|
else if (status !== 200 && status !== 204) {
|
|
3217
3610
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3218
3611
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3295,6 +3688,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3295
3688
|
return of(result200);
|
|
3296
3689
|
}));
|
|
3297
3690
|
}
|
|
3691
|
+
else if (status === 500) {
|
|
3692
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3693
|
+
let result500 = null;
|
|
3694
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3695
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3696
|
+
}));
|
|
3697
|
+
}
|
|
3298
3698
|
else if (status !== 200 && status !== 204) {
|
|
3299
3699
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3300
3700
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3363,6 +3763,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3363
3763
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3364
3764
|
}));
|
|
3365
3765
|
}
|
|
3766
|
+
else if (status === 500) {
|
|
3767
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3768
|
+
let result500 = null;
|
|
3769
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3770
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3771
|
+
}));
|
|
3772
|
+
}
|
|
3366
3773
|
else if (status !== 200 && status !== 204) {
|
|
3367
3774
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3368
3775
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3431,6 +3838,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3431
3838
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3432
3839
|
}));
|
|
3433
3840
|
}
|
|
3841
|
+
else if (status === 500) {
|
|
3842
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3843
|
+
let result500 = null;
|
|
3844
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3845
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3846
|
+
}));
|
|
3847
|
+
}
|
|
3434
3848
|
else if (status !== 200 && status !== 204) {
|
|
3435
3849
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3436
3850
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3494,6 +3908,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3494
3908
|
return of(result200);
|
|
3495
3909
|
}));
|
|
3496
3910
|
}
|
|
3911
|
+
else if (status === 500) {
|
|
3912
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3913
|
+
let result500 = null;
|
|
3914
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3915
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3916
|
+
}));
|
|
3917
|
+
}
|
|
3497
3918
|
else if (status !== 200 && status !== 204) {
|
|
3498
3919
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3499
3920
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3557,6 +3978,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3557
3978
|
return of(result200);
|
|
3558
3979
|
}));
|
|
3559
3980
|
}
|
|
3981
|
+
else if (status === 500) {
|
|
3982
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3983
|
+
let result500 = null;
|
|
3984
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3985
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
3986
|
+
}));
|
|
3987
|
+
}
|
|
3560
3988
|
else if (status !== 200 && status !== 204) {
|
|
3561
3989
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3562
3990
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3620,6 +4048,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3620
4048
|
return of(result200);
|
|
3621
4049
|
}));
|
|
3622
4050
|
}
|
|
4051
|
+
else if (status === 500) {
|
|
4052
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4053
|
+
let result500 = null;
|
|
4054
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4055
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4056
|
+
}));
|
|
4057
|
+
}
|
|
3623
4058
|
else if (status !== 200 && status !== 204) {
|
|
3624
4059
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3625
4060
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3738,6 +4173,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3738
4173
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3739
4174
|
}));
|
|
3740
4175
|
}
|
|
4176
|
+
else if (status === 500) {
|
|
4177
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4178
|
+
let result500 = null;
|
|
4179
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4180
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4181
|
+
}));
|
|
4182
|
+
}
|
|
3741
4183
|
else if (status !== 200 && status !== 204) {
|
|
3742
4184
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3743
4185
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3797,6 +4239,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3797
4239
|
return of(result200);
|
|
3798
4240
|
}));
|
|
3799
4241
|
}
|
|
4242
|
+
else if (status === 500) {
|
|
4243
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4244
|
+
let result500 = null;
|
|
4245
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4246
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4247
|
+
}));
|
|
4248
|
+
}
|
|
3800
4249
|
else if (status !== 200 && status !== 204) {
|
|
3801
4250
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3802
4251
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3870,6 +4319,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3870
4319
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3871
4320
|
}));
|
|
3872
4321
|
}
|
|
4322
|
+
else if (status === 500) {
|
|
4323
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4324
|
+
let result500 = null;
|
|
4325
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4326
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4327
|
+
}));
|
|
4328
|
+
}
|
|
3873
4329
|
else if (status !== 200 && status !== 204) {
|
|
3874
4330
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3875
4331
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -3938,6 +4394,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
3938
4394
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3939
4395
|
}));
|
|
3940
4396
|
}
|
|
4397
|
+
else if (status === 500) {
|
|
4398
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4399
|
+
let result500 = null;
|
|
4400
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4401
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4402
|
+
}));
|
|
4403
|
+
}
|
|
3941
4404
|
else if (status !== 200 && status !== 204) {
|
|
3942
4405
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3943
4406
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4011,6 +4474,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4011
4474
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4012
4475
|
}));
|
|
4013
4476
|
}
|
|
4477
|
+
else if (status === 500) {
|
|
4478
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4479
|
+
let result500 = null;
|
|
4480
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4481
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4482
|
+
}));
|
|
4483
|
+
}
|
|
4014
4484
|
else if (status !== 200 && status !== 204) {
|
|
4015
4485
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4016
4486
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4084,6 +4554,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4084
4554
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4085
4555
|
}));
|
|
4086
4556
|
}
|
|
4557
|
+
else if (status === 500) {
|
|
4558
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4559
|
+
let result500 = null;
|
|
4560
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4561
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4562
|
+
}));
|
|
4563
|
+
}
|
|
4087
4564
|
else if (status !== 200 && status !== 204) {
|
|
4088
4565
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4089
4566
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4147,6 +4624,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4147
4624
|
return of(result200);
|
|
4148
4625
|
}));
|
|
4149
4626
|
}
|
|
4627
|
+
else if (status === 500) {
|
|
4628
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4629
|
+
let result500 = null;
|
|
4630
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4631
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4632
|
+
}));
|
|
4633
|
+
}
|
|
4150
4634
|
else if (status !== 200 && status !== 204) {
|
|
4151
4635
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4152
4636
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4210,6 +4694,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4210
4694
|
return of(result200);
|
|
4211
4695
|
}));
|
|
4212
4696
|
}
|
|
4697
|
+
else if (status === 500) {
|
|
4698
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4699
|
+
let result500 = null;
|
|
4700
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4701
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4702
|
+
}));
|
|
4703
|
+
}
|
|
4213
4704
|
else if (status !== 200 && status !== 204) {
|
|
4214
4705
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4215
4706
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4273,6 +4764,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4273
4764
|
return of(result200);
|
|
4274
4765
|
}));
|
|
4275
4766
|
}
|
|
4767
|
+
else if (status === 500) {
|
|
4768
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4769
|
+
let result500 = null;
|
|
4770
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4771
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4772
|
+
}));
|
|
4773
|
+
}
|
|
4276
4774
|
else if (status !== 200 && status !== 204) {
|
|
4277
4775
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4278
4776
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4336,6 +4834,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4336
4834
|
return of(result200);
|
|
4337
4835
|
}));
|
|
4338
4836
|
}
|
|
4837
|
+
else if (status === 500) {
|
|
4838
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4839
|
+
let result500 = null;
|
|
4840
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4841
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4842
|
+
}));
|
|
4843
|
+
}
|
|
4339
4844
|
else if (status !== 200 && status !== 204) {
|
|
4340
4845
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4341
4846
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4399,6 +4904,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4399
4904
|
return of(result200);
|
|
4400
4905
|
}));
|
|
4401
4906
|
}
|
|
4907
|
+
else if (status === 500) {
|
|
4908
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4909
|
+
let result500 = null;
|
|
4910
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4911
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4912
|
+
}));
|
|
4913
|
+
}
|
|
4402
4914
|
else if (status !== 200 && status !== 204) {
|
|
4403
4915
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4404
4916
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4462,6 +4974,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4462
4974
|
return of(result200);
|
|
4463
4975
|
}));
|
|
4464
4976
|
}
|
|
4977
|
+
else if (status === 500) {
|
|
4978
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4979
|
+
let result500 = null;
|
|
4980
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4981
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4982
|
+
}));
|
|
4983
|
+
}
|
|
4465
4984
|
else if (status !== 200 && status !== 204) {
|
|
4466
4985
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4467
4986
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4525,6 +5044,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4525
5044
|
return of(result200);
|
|
4526
5045
|
}));
|
|
4527
5046
|
}
|
|
5047
|
+
else if (status === 500) {
|
|
5048
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5049
|
+
let result500 = null;
|
|
5050
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5051
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5052
|
+
}));
|
|
5053
|
+
}
|
|
4528
5054
|
else if (status !== 200 && status !== 204) {
|
|
4529
5055
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4530
5056
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4588,6 +5114,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4588
5114
|
return of(result200);
|
|
4589
5115
|
}));
|
|
4590
5116
|
}
|
|
5117
|
+
else if (status === 500) {
|
|
5118
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5119
|
+
let result500 = null;
|
|
5120
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5121
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5122
|
+
}));
|
|
5123
|
+
}
|
|
4591
5124
|
else if (status !== 200 && status !== 204) {
|
|
4592
5125
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4593
5126
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4651,6 +5184,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4651
5184
|
return of(result200);
|
|
4652
5185
|
}));
|
|
4653
5186
|
}
|
|
5187
|
+
else if (status === 500) {
|
|
5188
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5189
|
+
let result500 = null;
|
|
5190
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5191
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5192
|
+
}));
|
|
5193
|
+
}
|
|
4654
5194
|
else if (status !== 200 && status !== 204) {
|
|
4655
5195
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4656
5196
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4714,6 +5254,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4714
5254
|
return of(result200);
|
|
4715
5255
|
}));
|
|
4716
5256
|
}
|
|
5257
|
+
else if (status === 500) {
|
|
5258
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5259
|
+
let result500 = null;
|
|
5260
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5261
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5262
|
+
}));
|
|
5263
|
+
}
|
|
4717
5264
|
else if (status !== 200 && status !== 204) {
|
|
4718
5265
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4719
5266
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -4777,6 +5324,13 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
4777
5324
|
return of(result200);
|
|
4778
5325
|
}));
|
|
4779
5326
|
}
|
|
5327
|
+
else if (status === 500) {
|
|
5328
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5329
|
+
let result500 = null;
|
|
5330
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5331
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5332
|
+
}));
|
|
5333
|
+
}
|
|
4780
5334
|
else if (status !== 200 && status !== 204) {
|
|
4781
5335
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4782
5336
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|