@aurigma/ng-design-atoms-api-client 2.32.1 → 2.34.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 +346 -189
- 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 +132 -1
- 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 +131 -0
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +20 -0
- package/package.json +1 -1
|
@@ -358,6 +358,9 @@
|
|
|
358
358
|
});
|
|
359
359
|
};
|
|
360
360
|
ApiClientBase.prototype.getBaseUrl = function (defultUrl) {
|
|
361
|
+
if (this.configuration.apiUrl.endsWith('/')) {
|
|
362
|
+
return this.configuration.apiUrl.slice(0, -1);
|
|
363
|
+
}
|
|
361
364
|
return this.configuration.apiUrl;
|
|
362
365
|
};
|
|
363
366
|
ApiClientBase.prototype.transformResult = function (url, res, cb) {
|
|
@@ -795,6 +798,82 @@
|
|
|
795
798
|
}
|
|
796
799
|
return rxjs.of(null);
|
|
797
800
|
};
|
|
801
|
+
/**
|
|
802
|
+
* @return Success
|
|
803
|
+
*/
|
|
804
|
+
DesignAtomsCompatibilityApiClient.prototype.getFallbackFonts = function (tenantId) {
|
|
805
|
+
var _this = this;
|
|
806
|
+
var url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/GetFallbackFonts";
|
|
807
|
+
if (tenantId === undefined || tenantId === null)
|
|
808
|
+
throw new Error("The parameter 'tenantId' must be defined.");
|
|
809
|
+
url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
|
|
810
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
811
|
+
var options_ = {
|
|
812
|
+
observe: "response",
|
|
813
|
+
responseType: "blob",
|
|
814
|
+
headers: new i1.HttpHeaders({
|
|
815
|
+
"Accept": "application/json"
|
|
816
|
+
})
|
|
817
|
+
};
|
|
818
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
819
|
+
return _this.http.request("get", url_, transformedOptions_);
|
|
820
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
821
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
822
|
+
})).pipe(operators.catchError(function (response_) {
|
|
823
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
824
|
+
try {
|
|
825
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
826
|
+
}
|
|
827
|
+
catch (e) {
|
|
828
|
+
return rxjs.throwError(e);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
else
|
|
832
|
+
return rxjs.throwError(response_);
|
|
833
|
+
}));
|
|
834
|
+
};
|
|
835
|
+
DesignAtomsCompatibilityApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
836
|
+
var e_6, _a;
|
|
837
|
+
var _this = this;
|
|
838
|
+
var status = response.status;
|
|
839
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
840
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
841
|
+
var _headers = {};
|
|
842
|
+
if (response.headers) {
|
|
843
|
+
try {
|
|
844
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
845
|
+
var key = _c.value;
|
|
846
|
+
_headers[key] = response.headers.get(key);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
850
|
+
finally {
|
|
851
|
+
try {
|
|
852
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
853
|
+
}
|
|
854
|
+
finally { if (e_6) throw e_6.error; }
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
if (status === 200 || status === 206) {
|
|
858
|
+
var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
859
|
+
var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
860
|
+
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
861
|
+
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
862
|
+
}
|
|
863
|
+
else if (status === 500) {
|
|
864
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
865
|
+
var result500 = null;
|
|
866
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
867
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
868
|
+
}));
|
|
869
|
+
}
|
|
870
|
+
else if (status !== 200 && status !== 204) {
|
|
871
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
872
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
873
|
+
}));
|
|
874
|
+
}
|
|
875
|
+
return rxjs.of(null);
|
|
876
|
+
};
|
|
798
877
|
/**
|
|
799
878
|
* @param body (optional)
|
|
800
879
|
* @return Success
|
|
@@ -834,7 +913,7 @@
|
|
|
834
913
|
}));
|
|
835
914
|
};
|
|
836
915
|
DesignAtomsCompatibilityApiClient.prototype.processGetImageSize = function (response) {
|
|
837
|
-
var
|
|
916
|
+
var e_7, _a;
|
|
838
917
|
var _this = this;
|
|
839
918
|
var status = response.status;
|
|
840
919
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -847,12 +926,12 @@
|
|
|
847
926
|
_headers[key] = response.headers.get(key);
|
|
848
927
|
}
|
|
849
928
|
}
|
|
850
|
-
catch (
|
|
929
|
+
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
851
930
|
finally {
|
|
852
931
|
try {
|
|
853
932
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
854
933
|
}
|
|
855
|
-
finally { if (
|
|
934
|
+
finally { if (e_7) throw e_7.error; }
|
|
856
935
|
}
|
|
857
936
|
}
|
|
858
937
|
if (status === 200) {
|
|
@@ -915,7 +994,7 @@
|
|
|
915
994
|
}));
|
|
916
995
|
};
|
|
917
996
|
DesignAtomsCompatibilityApiClient.prototype.processGetShapeBounds = function (response) {
|
|
918
|
-
var
|
|
997
|
+
var e_8, _a;
|
|
919
998
|
var _this = this;
|
|
920
999
|
var status = response.status;
|
|
921
1000
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -928,12 +1007,12 @@
|
|
|
928
1007
|
_headers[key] = response.headers.get(key);
|
|
929
1008
|
}
|
|
930
1009
|
}
|
|
931
|
-
catch (
|
|
1010
|
+
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
932
1011
|
finally {
|
|
933
1012
|
try {
|
|
934
1013
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
935
1014
|
}
|
|
936
|
-
finally { if (
|
|
1015
|
+
finally { if (e_8) throw e_8.error; }
|
|
937
1016
|
}
|
|
938
1017
|
}
|
|
939
1018
|
if (status === 200) {
|
|
@@ -996,7 +1075,7 @@
|
|
|
996
1075
|
}));
|
|
997
1076
|
};
|
|
998
1077
|
DesignAtomsCompatibilityApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
999
|
-
var
|
|
1078
|
+
var e_9, _a;
|
|
1000
1079
|
var _this = this;
|
|
1001
1080
|
var status = response.status;
|
|
1002
1081
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1009,12 +1088,12 @@
|
|
|
1009
1088
|
_headers[key] = response.headers.get(key);
|
|
1010
1089
|
}
|
|
1011
1090
|
}
|
|
1012
|
-
catch (
|
|
1091
|
+
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
1013
1092
|
finally {
|
|
1014
1093
|
try {
|
|
1015
1094
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1016
1095
|
}
|
|
1017
|
-
finally { if (
|
|
1096
|
+
finally { if (e_9) throw e_9.error; }
|
|
1018
1097
|
}
|
|
1019
1098
|
}
|
|
1020
1099
|
if (status === 200) {
|
|
@@ -1121,7 +1200,7 @@
|
|
|
1121
1200
|
}));
|
|
1122
1201
|
};
|
|
1123
1202
|
DesignAtomsCompatibilityApiClient.prototype.processImg = function (response) {
|
|
1124
|
-
var
|
|
1203
|
+
var e_10, _a;
|
|
1125
1204
|
var _this = this;
|
|
1126
1205
|
var status = response.status;
|
|
1127
1206
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1134,12 +1213,12 @@
|
|
|
1134
1213
|
_headers[key] = response.headers.get(key);
|
|
1135
1214
|
}
|
|
1136
1215
|
}
|
|
1137
|
-
catch (
|
|
1216
|
+
catch (e_10_1) { e_10 = { error: e_10_1 }; }
|
|
1138
1217
|
finally {
|
|
1139
1218
|
try {
|
|
1140
1219
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1141
1220
|
}
|
|
1142
|
-
finally { if (
|
|
1221
|
+
finally { if (e_10) throw e_10.error; }
|
|
1143
1222
|
}
|
|
1144
1223
|
}
|
|
1145
1224
|
if (status === 200 || status === 206) {
|
|
@@ -1209,7 +1288,7 @@
|
|
|
1209
1288
|
}));
|
|
1210
1289
|
};
|
|
1211
1290
|
DesignAtomsCompatibilityApiClient.prototype.processGetLicense = function (response) {
|
|
1212
|
-
var
|
|
1291
|
+
var e_11, _a;
|
|
1213
1292
|
var _this = this;
|
|
1214
1293
|
var status = response.status;
|
|
1215
1294
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1222,12 +1301,12 @@
|
|
|
1222
1301
|
_headers[key] = response.headers.get(key);
|
|
1223
1302
|
}
|
|
1224
1303
|
}
|
|
1225
|
-
catch (
|
|
1304
|
+
catch (e_11_1) { e_11 = { error: e_11_1 }; }
|
|
1226
1305
|
finally {
|
|
1227
1306
|
try {
|
|
1228
1307
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1229
1308
|
}
|
|
1230
|
-
finally { if (
|
|
1309
|
+
finally { if (e_11) throw e_11.error; }
|
|
1231
1310
|
}
|
|
1232
1311
|
}
|
|
1233
1312
|
if (status === 200) {
|
|
@@ -1289,7 +1368,7 @@
|
|
|
1289
1368
|
}));
|
|
1290
1369
|
};
|
|
1291
1370
|
DesignAtomsCompatibilityApiClient.prototype.processPth = function (response) {
|
|
1292
|
-
var
|
|
1371
|
+
var e_12, _a;
|
|
1293
1372
|
var _this = this;
|
|
1294
1373
|
var status = response.status;
|
|
1295
1374
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1302,12 +1381,12 @@
|
|
|
1302
1381
|
_headers[key] = response.headers.get(key);
|
|
1303
1382
|
}
|
|
1304
1383
|
}
|
|
1305
|
-
catch (
|
|
1384
|
+
catch (e_12_1) { e_12 = { error: e_12_1 }; }
|
|
1306
1385
|
finally {
|
|
1307
1386
|
try {
|
|
1308
1387
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1309
1388
|
}
|
|
1310
|
-
finally { if (
|
|
1389
|
+
finally { if (e_12) throw e_12.error; }
|
|
1311
1390
|
}
|
|
1312
1391
|
}
|
|
1313
1392
|
if (status === 200 || status === 206) {
|
|
@@ -1380,7 +1459,7 @@
|
|
|
1380
1459
|
}));
|
|
1381
1460
|
};
|
|
1382
1461
|
DesignAtomsCompatibilityApiClient.prototype.processResource = function (response) {
|
|
1383
|
-
var
|
|
1462
|
+
var e_13, _a;
|
|
1384
1463
|
var _this = this;
|
|
1385
1464
|
var status = response.status;
|
|
1386
1465
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1393,12 +1472,12 @@
|
|
|
1393
1472
|
_headers[key] = response.headers.get(key);
|
|
1394
1473
|
}
|
|
1395
1474
|
}
|
|
1396
|
-
catch (
|
|
1475
|
+
catch (e_13_1) { e_13 = { error: e_13_1 }; }
|
|
1397
1476
|
finally {
|
|
1398
1477
|
try {
|
|
1399
1478
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1400
1479
|
}
|
|
1401
|
-
finally { if (
|
|
1480
|
+
finally { if (e_13) throw e_13.error; }
|
|
1402
1481
|
}
|
|
1403
1482
|
}
|
|
1404
1483
|
if (status === 200 || status === 206) {
|
|
@@ -1466,7 +1545,7 @@
|
|
|
1466
1545
|
}));
|
|
1467
1546
|
};
|
|
1468
1547
|
DesignAtomsCompatibilityApiClient.prototype.processSvg = function (response) {
|
|
1469
|
-
var
|
|
1548
|
+
var e_14, _a;
|
|
1470
1549
|
var _this = this;
|
|
1471
1550
|
var status = response.status;
|
|
1472
1551
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1479,12 +1558,12 @@
|
|
|
1479
1558
|
_headers[key] = response.headers.get(key);
|
|
1480
1559
|
}
|
|
1481
1560
|
}
|
|
1482
|
-
catch (
|
|
1561
|
+
catch (e_14_1) { e_14 = { error: e_14_1 }; }
|
|
1483
1562
|
finally {
|
|
1484
1563
|
try {
|
|
1485
1564
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1486
1565
|
}
|
|
1487
|
-
finally { if (
|
|
1566
|
+
finally { if (e_14) throw e_14.error; }
|
|
1488
1567
|
}
|
|
1489
1568
|
}
|
|
1490
1569
|
if (status === 200 || status === 206) {
|
|
@@ -1557,7 +1636,7 @@
|
|
|
1557
1636
|
}));
|
|
1558
1637
|
};
|
|
1559
1638
|
DesignAtomsCompatibilityApiClient.prototype.processTxt = function (response) {
|
|
1560
|
-
var
|
|
1639
|
+
var e_15, _a;
|
|
1561
1640
|
var _this = this;
|
|
1562
1641
|
var status = response.status;
|
|
1563
1642
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1570,12 +1649,12 @@
|
|
|
1570
1649
|
_headers[key] = response.headers.get(key);
|
|
1571
1650
|
}
|
|
1572
1651
|
}
|
|
1573
|
-
catch (
|
|
1652
|
+
catch (e_15_1) { e_15 = { error: e_15_1 }; }
|
|
1574
1653
|
finally {
|
|
1575
1654
|
try {
|
|
1576
1655
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1577
1656
|
}
|
|
1578
|
-
finally { if (
|
|
1657
|
+
finally { if (e_15) throw e_15.error; }
|
|
1579
1658
|
}
|
|
1580
1659
|
}
|
|
1581
1660
|
if (status === 200 || status === 206) {
|
|
@@ -1649,7 +1728,7 @@
|
|
|
1649
1728
|
}));
|
|
1650
1729
|
};
|
|
1651
1730
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
1652
|
-
var
|
|
1731
|
+
var e_16, _a;
|
|
1653
1732
|
var _this = this;
|
|
1654
1733
|
var status = response.status;
|
|
1655
1734
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1662,12 +1741,12 @@
|
|
|
1662
1741
|
_headers[key] = response.headers.get(key);
|
|
1663
1742
|
}
|
|
1664
1743
|
}
|
|
1665
|
-
catch (
|
|
1744
|
+
catch (e_16_1) { e_16 = { error: e_16_1 }; }
|
|
1666
1745
|
finally {
|
|
1667
1746
|
try {
|
|
1668
1747
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1669
1748
|
}
|
|
1670
|
-
finally { if (
|
|
1749
|
+
finally { if (e_16) throw e_16.error; }
|
|
1671
1750
|
}
|
|
1672
1751
|
}
|
|
1673
1752
|
if (status === 200) {
|
|
@@ -1730,7 +1809,7 @@
|
|
|
1730
1809
|
}));
|
|
1731
1810
|
};
|
|
1732
1811
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
1733
|
-
var
|
|
1812
|
+
var e_17, _a;
|
|
1734
1813
|
var _this = this;
|
|
1735
1814
|
var status = response.status;
|
|
1736
1815
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1743,12 +1822,12 @@
|
|
|
1743
1822
|
_headers[key] = response.headers.get(key);
|
|
1744
1823
|
}
|
|
1745
1824
|
}
|
|
1746
|
-
catch (
|
|
1825
|
+
catch (e_17_1) { e_17 = { error: e_17_1 }; }
|
|
1747
1826
|
finally {
|
|
1748
1827
|
try {
|
|
1749
1828
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1750
1829
|
}
|
|
1751
|
-
finally { if (
|
|
1830
|
+
finally { if (e_17) throw e_17.error; }
|
|
1752
1831
|
}
|
|
1753
1832
|
}
|
|
1754
1833
|
if (status === 200) {
|
|
@@ -1811,7 +1890,7 @@
|
|
|
1811
1890
|
}));
|
|
1812
1891
|
};
|
|
1813
1892
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
1814
|
-
var
|
|
1893
|
+
var e_18, _a;
|
|
1815
1894
|
var _this = this;
|
|
1816
1895
|
var status = response.status;
|
|
1817
1896
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1824,12 +1903,12 @@
|
|
|
1824
1903
|
_headers[key] = response.headers.get(key);
|
|
1825
1904
|
}
|
|
1826
1905
|
}
|
|
1827
|
-
catch (
|
|
1906
|
+
catch (e_18_1) { e_18 = { error: e_18_1 }; }
|
|
1828
1907
|
finally {
|
|
1829
1908
|
try {
|
|
1830
1909
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1831
1910
|
}
|
|
1832
|
-
finally { if (
|
|
1911
|
+
finally { if (e_18) throw e_18.error; }
|
|
1833
1912
|
}
|
|
1834
1913
|
}
|
|
1835
1914
|
if (status === 200) {
|
|
@@ -1892,7 +1971,7 @@
|
|
|
1892
1971
|
}));
|
|
1893
1972
|
};
|
|
1894
1973
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
1895
|
-
var
|
|
1974
|
+
var e_19, _a;
|
|
1896
1975
|
var _this = this;
|
|
1897
1976
|
var status = response.status;
|
|
1898
1977
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1905,12 +1984,12 @@
|
|
|
1905
1984
|
_headers[key] = response.headers.get(key);
|
|
1906
1985
|
}
|
|
1907
1986
|
}
|
|
1908
|
-
catch (
|
|
1987
|
+
catch (e_19_1) { e_19 = { error: e_19_1 }; }
|
|
1909
1988
|
finally {
|
|
1910
1989
|
try {
|
|
1911
1990
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1912
1991
|
}
|
|
1913
|
-
finally { if (
|
|
1992
|
+
finally { if (e_19) throw e_19.error; }
|
|
1914
1993
|
}
|
|
1915
1994
|
}
|
|
1916
1995
|
if (status === 200) {
|
|
@@ -1973,7 +2052,7 @@
|
|
|
1973
2052
|
}));
|
|
1974
2053
|
};
|
|
1975
2054
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateByColorData = function (response) {
|
|
1976
|
-
var
|
|
2055
|
+
var e_20, _a;
|
|
1977
2056
|
var _this = this;
|
|
1978
2057
|
var status = response.status;
|
|
1979
2058
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -1986,12 +2065,12 @@
|
|
|
1986
2065
|
_headers[key] = response.headers.get(key);
|
|
1987
2066
|
}
|
|
1988
2067
|
}
|
|
1989
|
-
catch (
|
|
2068
|
+
catch (e_20_1) { e_20 = { error: e_20_1 }; }
|
|
1990
2069
|
finally {
|
|
1991
2070
|
try {
|
|
1992
2071
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
1993
2072
|
}
|
|
1994
|
-
finally { if (
|
|
2073
|
+
finally { if (e_20) throw e_20.error; }
|
|
1995
2074
|
}
|
|
1996
2075
|
}
|
|
1997
2076
|
if (status === 200) {
|
|
@@ -2054,7 +2133,7 @@
|
|
|
2054
2133
|
}));
|
|
2055
2134
|
};
|
|
2056
2135
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
2057
|
-
var
|
|
2136
|
+
var e_21, _a;
|
|
2058
2137
|
var _this = this;
|
|
2059
2138
|
var status = response.status;
|
|
2060
2139
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2067,12 +2146,12 @@
|
|
|
2067
2146
|
_headers[key] = response.headers.get(key);
|
|
2068
2147
|
}
|
|
2069
2148
|
}
|
|
2070
|
-
catch (
|
|
2149
|
+
catch (e_21_1) { e_21 = { error: e_21_1 }; }
|
|
2071
2150
|
finally {
|
|
2072
2151
|
try {
|
|
2073
2152
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2074
2153
|
}
|
|
2075
|
-
finally { if (
|
|
2154
|
+
finally { if (e_21) throw e_21.error; }
|
|
2076
2155
|
}
|
|
2077
2156
|
}
|
|
2078
2157
|
if (status === 200) {
|
|
@@ -2135,7 +2214,7 @@
|
|
|
2135
2214
|
}));
|
|
2136
2215
|
};
|
|
2137
2216
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
2138
|
-
var
|
|
2217
|
+
var e_22, _a;
|
|
2139
2218
|
var _this = this;
|
|
2140
2219
|
var status = response.status;
|
|
2141
2220
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2148,12 +2227,12 @@
|
|
|
2148
2227
|
_headers[key] = response.headers.get(key);
|
|
2149
2228
|
}
|
|
2150
2229
|
}
|
|
2151
|
-
catch (
|
|
2230
|
+
catch (e_22_1) { e_22 = { error: e_22_1 }; }
|
|
2152
2231
|
finally {
|
|
2153
2232
|
try {
|
|
2154
2233
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2155
2234
|
}
|
|
2156
|
-
finally { if (
|
|
2235
|
+
finally { if (e_22) throw e_22.error; }
|
|
2157
2236
|
}
|
|
2158
2237
|
}
|
|
2159
2238
|
if (status === 200) {
|
|
@@ -2216,7 +2295,7 @@
|
|
|
2216
2295
|
}));
|
|
2217
2296
|
};
|
|
2218
2297
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
2219
|
-
var
|
|
2298
|
+
var e_23, _a;
|
|
2220
2299
|
var _this = this;
|
|
2221
2300
|
var status = response.status;
|
|
2222
2301
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2229,12 +2308,12 @@
|
|
|
2229
2308
|
_headers[key] = response.headers.get(key);
|
|
2230
2309
|
}
|
|
2231
2310
|
}
|
|
2232
|
-
catch (
|
|
2311
|
+
catch (e_23_1) { e_23 = { error: e_23_1 }; }
|
|
2233
2312
|
finally {
|
|
2234
2313
|
try {
|
|
2235
2314
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2236
2315
|
}
|
|
2237
|
-
finally { if (
|
|
2316
|
+
finally { if (e_23) throw e_23.error; }
|
|
2238
2317
|
}
|
|
2239
2318
|
}
|
|
2240
2319
|
if (status === 200) {
|
|
@@ -2297,7 +2376,7 @@
|
|
|
2297
2376
|
}));
|
|
2298
2377
|
};
|
|
2299
2378
|
DesignAtomsCompatibilityApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
2300
|
-
var
|
|
2379
|
+
var e_24, _a;
|
|
2301
2380
|
var _this = this;
|
|
2302
2381
|
var status = response.status;
|
|
2303
2382
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2310,12 +2389,12 @@
|
|
|
2310
2389
|
_headers[key] = response.headers.get(key);
|
|
2311
2390
|
}
|
|
2312
2391
|
}
|
|
2313
|
-
catch (
|
|
2392
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
2314
2393
|
finally {
|
|
2315
2394
|
try {
|
|
2316
2395
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2317
2396
|
}
|
|
2318
|
-
finally { if (
|
|
2397
|
+
finally { if (e_24) throw e_24.error; }
|
|
2319
2398
|
}
|
|
2320
2399
|
}
|
|
2321
2400
|
if (status === 200) {
|
|
@@ -2378,7 +2457,7 @@
|
|
|
2378
2457
|
}));
|
|
2379
2458
|
};
|
|
2380
2459
|
DesignAtomsCompatibilityApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
2381
|
-
var
|
|
2460
|
+
var e_25, _a;
|
|
2382
2461
|
var _this = this;
|
|
2383
2462
|
var status = response.status;
|
|
2384
2463
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2391,12 +2470,12 @@
|
|
|
2391
2470
|
_headers[key] = response.headers.get(key);
|
|
2392
2471
|
}
|
|
2393
2472
|
}
|
|
2394
|
-
catch (
|
|
2473
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
2395
2474
|
finally {
|
|
2396
2475
|
try {
|
|
2397
2476
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2398
2477
|
}
|
|
2399
|
-
finally { if (
|
|
2478
|
+
finally { if (e_25) throw e_25.error; }
|
|
2400
2479
|
}
|
|
2401
2480
|
}
|
|
2402
2481
|
if (status === 200) {
|
|
@@ -2459,7 +2538,7 @@
|
|
|
2459
2538
|
}));
|
|
2460
2539
|
};
|
|
2461
2540
|
DesignAtomsCompatibilityApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
2462
|
-
var
|
|
2541
|
+
var e_26, _a;
|
|
2463
2542
|
var _this = this;
|
|
2464
2543
|
var status = response.status;
|
|
2465
2544
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2472,12 +2551,12 @@
|
|
|
2472
2551
|
_headers[key] = response.headers.get(key);
|
|
2473
2552
|
}
|
|
2474
2553
|
}
|
|
2475
|
-
catch (
|
|
2554
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2476
2555
|
finally {
|
|
2477
2556
|
try {
|
|
2478
2557
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2479
2558
|
}
|
|
2480
|
-
finally { if (
|
|
2559
|
+
finally { if (e_26) throw e_26.error; }
|
|
2481
2560
|
}
|
|
2482
2561
|
}
|
|
2483
2562
|
if (status === 200) {
|
|
@@ -2569,7 +2648,7 @@
|
|
|
2569
2648
|
}));
|
|
2570
2649
|
};
|
|
2571
2650
|
DesignAtomsImagesApiClient.prototype.processRenderImagePreview = function (response) {
|
|
2572
|
-
var
|
|
2651
|
+
var e_27, _a;
|
|
2573
2652
|
var _this = this;
|
|
2574
2653
|
var status = response.status;
|
|
2575
2654
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2582,12 +2661,12 @@
|
|
|
2582
2661
|
_headers[key] = response.headers.get(key);
|
|
2583
2662
|
}
|
|
2584
2663
|
}
|
|
2585
|
-
catch (
|
|
2664
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
2586
2665
|
finally {
|
|
2587
2666
|
try {
|
|
2588
2667
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2589
2668
|
}
|
|
2590
|
-
finally { if (
|
|
2669
|
+
finally { if (e_27) throw e_27.error; }
|
|
2591
2670
|
}
|
|
2592
2671
|
}
|
|
2593
2672
|
if (status === 200 || status === 206) {
|
|
@@ -2684,7 +2763,7 @@
|
|
|
2684
2763
|
}));
|
|
2685
2764
|
};
|
|
2686
2765
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
2687
|
-
var
|
|
2766
|
+
var e_28, _a;
|
|
2688
2767
|
var _this = this;
|
|
2689
2768
|
var status = response.status;
|
|
2690
2769
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2697,12 +2776,12 @@
|
|
|
2697
2776
|
_headers[key] = response.headers.get(key);
|
|
2698
2777
|
}
|
|
2699
2778
|
}
|
|
2700
|
-
catch (
|
|
2779
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
2701
2780
|
finally {
|
|
2702
2781
|
try {
|
|
2703
2782
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2704
2783
|
}
|
|
2705
|
-
finally { if (
|
|
2784
|
+
finally { if (e_28) throw e_28.error; }
|
|
2706
2785
|
}
|
|
2707
2786
|
}
|
|
2708
2787
|
if (status === 200) {
|
|
@@ -2791,7 +2870,7 @@
|
|
|
2791
2870
|
}));
|
|
2792
2871
|
};
|
|
2793
2872
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
2794
|
-
var
|
|
2873
|
+
var e_29, _a;
|
|
2795
2874
|
var _this = this;
|
|
2796
2875
|
var status = response.status;
|
|
2797
2876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2804,12 +2883,12 @@
|
|
|
2804
2883
|
_headers[key] = response.headers.get(key);
|
|
2805
2884
|
}
|
|
2806
2885
|
}
|
|
2807
|
-
catch (
|
|
2886
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
2808
2887
|
finally {
|
|
2809
2888
|
try {
|
|
2810
2889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2811
2890
|
}
|
|
2812
|
-
finally { if (
|
|
2891
|
+
finally { if (e_29) throw e_29.error; }
|
|
2813
2892
|
}
|
|
2814
2893
|
}
|
|
2815
2894
|
if (status === 201) {
|
|
@@ -2891,7 +2970,7 @@
|
|
|
2891
2970
|
}));
|
|
2892
2971
|
};
|
|
2893
2972
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
2894
|
-
var
|
|
2973
|
+
var e_30, _a;
|
|
2895
2974
|
var _this = this;
|
|
2896
2975
|
var status = response.status;
|
|
2897
2976
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2904,12 +2983,12 @@
|
|
|
2904
2983
|
_headers[key] = response.headers.get(key);
|
|
2905
2984
|
}
|
|
2906
2985
|
}
|
|
2907
|
-
catch (
|
|
2986
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
2908
2987
|
finally {
|
|
2909
2988
|
try {
|
|
2910
2989
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2911
2990
|
}
|
|
2912
|
-
finally { if (
|
|
2991
|
+
finally { if (e_30) throw e_30.error; }
|
|
2913
2992
|
}
|
|
2914
2993
|
}
|
|
2915
2994
|
if (status === 200 || status === 206) {
|
|
@@ -3004,7 +3083,7 @@
|
|
|
3004
3083
|
}));
|
|
3005
3084
|
};
|
|
3006
3085
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
3007
|
-
var
|
|
3086
|
+
var e_31, _a;
|
|
3008
3087
|
var _this = this;
|
|
3009
3088
|
var status = response.status;
|
|
3010
3089
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3017,12 +3096,12 @@
|
|
|
3017
3096
|
_headers[key] = response.headers.get(key);
|
|
3018
3097
|
}
|
|
3019
3098
|
}
|
|
3020
|
-
catch (
|
|
3099
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3021
3100
|
finally {
|
|
3022
3101
|
try {
|
|
3023
3102
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3024
3103
|
}
|
|
3025
|
-
finally { if (
|
|
3104
|
+
finally { if (e_31) throw e_31.error; }
|
|
3026
3105
|
}
|
|
3027
3106
|
}
|
|
3028
3107
|
if (status === 200) {
|
|
@@ -3114,7 +3193,7 @@
|
|
|
3114
3193
|
}));
|
|
3115
3194
|
};
|
|
3116
3195
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
3117
|
-
var
|
|
3196
|
+
var e_32, _a;
|
|
3118
3197
|
var _this = this;
|
|
3119
3198
|
var status = response.status;
|
|
3120
3199
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3127,12 +3206,12 @@
|
|
|
3127
3206
|
_headers[key] = response.headers.get(key);
|
|
3128
3207
|
}
|
|
3129
3208
|
}
|
|
3130
|
-
catch (
|
|
3209
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3131
3210
|
finally {
|
|
3132
3211
|
try {
|
|
3133
3212
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3134
3213
|
}
|
|
3135
|
-
finally { if (
|
|
3214
|
+
finally { if (e_32) throw e_32.error; }
|
|
3136
3215
|
}
|
|
3137
3216
|
}
|
|
3138
3217
|
if (status === 200) {
|
|
@@ -3241,7 +3320,7 @@
|
|
|
3241
3320
|
}));
|
|
3242
3321
|
};
|
|
3243
3322
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
3244
|
-
var
|
|
3323
|
+
var e_33, _a;
|
|
3245
3324
|
var _this = this;
|
|
3246
3325
|
var status = response.status;
|
|
3247
3326
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3254,12 +3333,12 @@
|
|
|
3254
3333
|
_headers[key] = response.headers.get(key);
|
|
3255
3334
|
}
|
|
3256
3335
|
}
|
|
3257
|
-
catch (
|
|
3336
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3258
3337
|
finally {
|
|
3259
3338
|
try {
|
|
3260
3339
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3261
3340
|
}
|
|
3262
|
-
finally { if (
|
|
3341
|
+
finally { if (e_33) throw e_33.error; }
|
|
3263
3342
|
}
|
|
3264
3343
|
}
|
|
3265
3344
|
if (status === 200) {
|
|
@@ -3346,7 +3425,7 @@
|
|
|
3346
3425
|
}));
|
|
3347
3426
|
};
|
|
3348
3427
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
3349
|
-
var
|
|
3428
|
+
var e_34, _a;
|
|
3350
3429
|
var _this = this;
|
|
3351
3430
|
var status = response.status;
|
|
3352
3431
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3359,12 +3438,12 @@
|
|
|
3359
3438
|
_headers[key] = response.headers.get(key);
|
|
3360
3439
|
}
|
|
3361
3440
|
}
|
|
3362
|
-
catch (
|
|
3441
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3363
3442
|
finally {
|
|
3364
3443
|
try {
|
|
3365
3444
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3366
3445
|
}
|
|
3367
|
-
finally { if (
|
|
3446
|
+
finally { if (e_34) throw e_34.error; }
|
|
3368
3447
|
}
|
|
3369
3448
|
}
|
|
3370
3449
|
if (status === 200 || status === 206) {
|
|
@@ -3459,7 +3538,7 @@
|
|
|
3459
3538
|
}));
|
|
3460
3539
|
};
|
|
3461
3540
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
3462
|
-
var
|
|
3541
|
+
var e_35, _a;
|
|
3463
3542
|
var _this = this;
|
|
3464
3543
|
var status = response.status;
|
|
3465
3544
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3472,12 +3551,12 @@
|
|
|
3472
3551
|
_headers[key] = response.headers.get(key);
|
|
3473
3552
|
}
|
|
3474
3553
|
}
|
|
3475
|
-
catch (
|
|
3554
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3476
3555
|
finally {
|
|
3477
3556
|
try {
|
|
3478
3557
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3479
3558
|
}
|
|
3480
|
-
finally { if (
|
|
3559
|
+
finally { if (e_35) throw e_35.error; }
|
|
3481
3560
|
}
|
|
3482
3561
|
}
|
|
3483
3562
|
if (status === 200) {
|
|
@@ -3569,7 +3648,7 @@
|
|
|
3569
3648
|
}));
|
|
3570
3649
|
};
|
|
3571
3650
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
3572
|
-
var
|
|
3651
|
+
var e_36, _a;
|
|
3573
3652
|
var _this = this;
|
|
3574
3653
|
var status = response.status;
|
|
3575
3654
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3582,12 +3661,12 @@
|
|
|
3582
3661
|
_headers[key] = response.headers.get(key);
|
|
3583
3662
|
}
|
|
3584
3663
|
}
|
|
3585
|
-
catch (
|
|
3664
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3586
3665
|
finally {
|
|
3587
3666
|
try {
|
|
3588
3667
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3589
3668
|
}
|
|
3590
|
-
finally { if (
|
|
3669
|
+
finally { if (e_36) throw e_36.error; }
|
|
3591
3670
|
}
|
|
3592
3671
|
}
|
|
3593
3672
|
if (status === 200) {
|
|
@@ -3681,7 +3760,7 @@
|
|
|
3681
3760
|
}));
|
|
3682
3761
|
};
|
|
3683
3762
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
3684
|
-
var
|
|
3763
|
+
var e_37, _a;
|
|
3685
3764
|
var _this = this;
|
|
3686
3765
|
var status = response.status;
|
|
3687
3766
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3694,12 +3773,12 @@
|
|
|
3694
3773
|
_headers[key] = response.headers.get(key);
|
|
3695
3774
|
}
|
|
3696
3775
|
}
|
|
3697
|
-
catch (
|
|
3776
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3698
3777
|
finally {
|
|
3699
3778
|
try {
|
|
3700
3779
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3701
3780
|
}
|
|
3702
|
-
finally { if (
|
|
3781
|
+
finally { if (e_37) throw e_37.error; }
|
|
3703
3782
|
}
|
|
3704
3783
|
}
|
|
3705
3784
|
if (status === 200) {
|
|
@@ -3798,7 +3877,7 @@
|
|
|
3798
3877
|
}));
|
|
3799
3878
|
};
|
|
3800
3879
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
3801
|
-
var
|
|
3880
|
+
var e_38, _a;
|
|
3802
3881
|
var _this = this;
|
|
3803
3882
|
var status = response.status;
|
|
3804
3883
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3811,12 +3890,12 @@
|
|
|
3811
3890
|
_headers[key] = response.headers.get(key);
|
|
3812
3891
|
}
|
|
3813
3892
|
}
|
|
3814
|
-
catch (
|
|
3893
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3815
3894
|
finally {
|
|
3816
3895
|
try {
|
|
3817
3896
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3818
3897
|
}
|
|
3819
|
-
finally { if (
|
|
3898
|
+
finally { if (e_38) throw e_38.error; }
|
|
3820
3899
|
}
|
|
3821
3900
|
}
|
|
3822
3901
|
if (status === 200) {
|
|
@@ -3901,7 +3980,7 @@
|
|
|
3901
3980
|
}));
|
|
3902
3981
|
};
|
|
3903
3982
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
3904
|
-
var
|
|
3983
|
+
var e_39, _a;
|
|
3905
3984
|
var _this = this;
|
|
3906
3985
|
var status = response.status;
|
|
3907
3986
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3914,12 +3993,12 @@
|
|
|
3914
3993
|
_headers[key] = response.headers.get(key);
|
|
3915
3994
|
}
|
|
3916
3995
|
}
|
|
3917
|
-
catch (
|
|
3996
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
3918
3997
|
finally {
|
|
3919
3998
|
try {
|
|
3920
3999
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3921
4000
|
}
|
|
3922
|
-
finally { if (
|
|
4001
|
+
finally { if (e_39) throw e_39.error; }
|
|
3923
4002
|
}
|
|
3924
4003
|
}
|
|
3925
4004
|
if (status === 200) {
|
|
@@ -4000,7 +4079,7 @@
|
|
|
4000
4079
|
}));
|
|
4001
4080
|
};
|
|
4002
4081
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
4003
|
-
var
|
|
4082
|
+
var e_40, _a;
|
|
4004
4083
|
var _this = this;
|
|
4005
4084
|
var status = response.status;
|
|
4006
4085
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4013,12 +4092,12 @@
|
|
|
4013
4092
|
_headers[key] = response.headers.get(key);
|
|
4014
4093
|
}
|
|
4015
4094
|
}
|
|
4016
|
-
catch (
|
|
4095
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
4017
4096
|
finally {
|
|
4018
4097
|
try {
|
|
4019
4098
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4020
4099
|
}
|
|
4021
|
-
finally { if (
|
|
4100
|
+
finally { if (e_40) throw e_40.error; }
|
|
4022
4101
|
}
|
|
4023
4102
|
}
|
|
4024
4103
|
if (status === 200) {
|
|
@@ -4107,7 +4186,7 @@
|
|
|
4107
4186
|
}));
|
|
4108
4187
|
};
|
|
4109
4188
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
4110
|
-
var
|
|
4189
|
+
var e_41, _a;
|
|
4111
4190
|
var _this = this;
|
|
4112
4191
|
var status = response.status;
|
|
4113
4192
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4120,12 +4199,12 @@
|
|
|
4120
4199
|
_headers[key] = response.headers.get(key);
|
|
4121
4200
|
}
|
|
4122
4201
|
}
|
|
4123
|
-
catch (
|
|
4202
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4124
4203
|
finally {
|
|
4125
4204
|
try {
|
|
4126
4205
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4127
4206
|
}
|
|
4128
|
-
finally { if (
|
|
4207
|
+
finally { if (e_41) throw e_41.error; }
|
|
4129
4208
|
}
|
|
4130
4209
|
}
|
|
4131
4210
|
if (status === 200) {
|
|
@@ -4211,7 +4290,7 @@
|
|
|
4211
4290
|
}));
|
|
4212
4291
|
};
|
|
4213
4292
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
4214
|
-
var
|
|
4293
|
+
var e_42, _a;
|
|
4215
4294
|
var _this = this;
|
|
4216
4295
|
var status = response.status;
|
|
4217
4296
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4224,12 +4303,12 @@
|
|
|
4224
4303
|
_headers[key] = response.headers.get(key);
|
|
4225
4304
|
}
|
|
4226
4305
|
}
|
|
4227
|
-
catch (
|
|
4306
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4228
4307
|
finally {
|
|
4229
4308
|
try {
|
|
4230
4309
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4231
4310
|
}
|
|
4232
|
-
finally { if (
|
|
4311
|
+
finally { if (e_42) throw e_42.error; }
|
|
4233
4312
|
}
|
|
4234
4313
|
}
|
|
4235
4314
|
if (status === 201) {
|
|
@@ -4306,7 +4385,7 @@
|
|
|
4306
4385
|
}));
|
|
4307
4386
|
};
|
|
4308
4387
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
4309
|
-
var
|
|
4388
|
+
var e_43, _a;
|
|
4310
4389
|
var _this = this;
|
|
4311
4390
|
var status = response.status;
|
|
4312
4391
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4319,12 +4398,12 @@
|
|
|
4319
4398
|
_headers[key] = response.headers.get(key);
|
|
4320
4399
|
}
|
|
4321
4400
|
}
|
|
4322
|
-
catch (
|
|
4401
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4323
4402
|
finally {
|
|
4324
4403
|
try {
|
|
4325
4404
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4326
4405
|
}
|
|
4327
|
-
finally { if (
|
|
4406
|
+
finally { if (e_43) throw e_43.error; }
|
|
4328
4407
|
}
|
|
4329
4408
|
}
|
|
4330
4409
|
if (status === 201) {
|
|
@@ -4402,7 +4481,7 @@
|
|
|
4402
4481
|
}));
|
|
4403
4482
|
};
|
|
4404
4483
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
4405
|
-
var
|
|
4484
|
+
var e_44, _a;
|
|
4406
4485
|
var _this = this;
|
|
4407
4486
|
var status = response.status;
|
|
4408
4487
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4415,12 +4494,12 @@
|
|
|
4415
4494
|
_headers[key] = response.headers.get(key);
|
|
4416
4495
|
}
|
|
4417
4496
|
}
|
|
4418
|
-
catch (
|
|
4497
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4419
4498
|
finally {
|
|
4420
4499
|
try {
|
|
4421
4500
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4422
4501
|
}
|
|
4423
|
-
finally { if (
|
|
4502
|
+
finally { if (e_44) throw e_44.error; }
|
|
4424
4503
|
}
|
|
4425
4504
|
}
|
|
4426
4505
|
if (status === 200 || status === 206) {
|
|
@@ -4499,7 +4578,7 @@
|
|
|
4499
4578
|
}));
|
|
4500
4579
|
};
|
|
4501
4580
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
4502
|
-
var
|
|
4581
|
+
var e_45, _a;
|
|
4503
4582
|
var _this = this;
|
|
4504
4583
|
var status = response.status;
|
|
4505
4584
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4512,12 +4591,12 @@
|
|
|
4512
4591
|
_headers[key] = response.headers.get(key);
|
|
4513
4592
|
}
|
|
4514
4593
|
}
|
|
4515
|
-
catch (
|
|
4594
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4516
4595
|
finally {
|
|
4517
4596
|
try {
|
|
4518
4597
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4519
4598
|
}
|
|
4520
|
-
finally { if (
|
|
4599
|
+
finally { if (e_45) throw e_45.error; }
|
|
4521
4600
|
}
|
|
4522
4601
|
}
|
|
4523
4602
|
if (status === 200 || status === 206) {
|
|
@@ -4595,7 +4674,7 @@
|
|
|
4595
4674
|
}));
|
|
4596
4675
|
};
|
|
4597
4676
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
4598
|
-
var
|
|
4677
|
+
var e_46, _a;
|
|
4599
4678
|
var _this = this;
|
|
4600
4679
|
var status = response.status;
|
|
4601
4680
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4608,12 +4687,12 @@
|
|
|
4608
4687
|
_headers[key] = response.headers.get(key);
|
|
4609
4688
|
}
|
|
4610
4689
|
}
|
|
4611
|
-
catch (
|
|
4690
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4612
4691
|
finally {
|
|
4613
4692
|
try {
|
|
4614
4693
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4615
4694
|
}
|
|
4616
|
-
finally { if (
|
|
4695
|
+
finally { if (e_46) throw e_46.error; }
|
|
4617
4696
|
}
|
|
4618
4697
|
}
|
|
4619
4698
|
if (status === 200 || status === 206) {
|
|
@@ -4709,7 +4788,7 @@
|
|
|
4709
4788
|
}));
|
|
4710
4789
|
};
|
|
4711
4790
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
4712
|
-
var
|
|
4791
|
+
var e_47, _a;
|
|
4713
4792
|
var _this = this;
|
|
4714
4793
|
var status = response.status;
|
|
4715
4794
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4722,12 +4801,12 @@
|
|
|
4722
4801
|
_headers[key] = response.headers.get(key);
|
|
4723
4802
|
}
|
|
4724
4803
|
}
|
|
4725
|
-
catch (
|
|
4804
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4726
4805
|
finally {
|
|
4727
4806
|
try {
|
|
4728
4807
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4729
4808
|
}
|
|
4730
|
-
finally { if (
|
|
4809
|
+
finally { if (e_47) throw e_47.error; }
|
|
4731
4810
|
}
|
|
4732
4811
|
}
|
|
4733
4812
|
if (status === 200) {
|
|
@@ -4791,7 +4870,7 @@
|
|
|
4791
4870
|
}));
|
|
4792
4871
|
};
|
|
4793
4872
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
4794
|
-
var
|
|
4873
|
+
var e_48, _a;
|
|
4795
4874
|
var _this = this;
|
|
4796
4875
|
var status = response.status;
|
|
4797
4876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4804,12 +4883,12 @@
|
|
|
4804
4883
|
_headers[key] = response.headers.get(key);
|
|
4805
4884
|
}
|
|
4806
4885
|
}
|
|
4807
|
-
catch (
|
|
4886
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4808
4887
|
finally {
|
|
4809
4888
|
try {
|
|
4810
4889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4811
4890
|
}
|
|
4812
|
-
finally { if (
|
|
4891
|
+
finally { if (e_48) throw e_48.error; }
|
|
4813
4892
|
}
|
|
4814
4893
|
}
|
|
4815
4894
|
if (status === 200 || status === 206) {
|
|
@@ -4879,7 +4958,7 @@
|
|
|
4879
4958
|
}));
|
|
4880
4959
|
};
|
|
4881
4960
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
4882
|
-
var
|
|
4961
|
+
var e_49, _a;
|
|
4883
4962
|
var _this = this;
|
|
4884
4963
|
var status = response.status;
|
|
4885
4964
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4892,12 +4971,12 @@
|
|
|
4892
4971
|
_headers[key] = response.headers.get(key);
|
|
4893
4972
|
}
|
|
4894
4973
|
}
|
|
4895
|
-
catch (
|
|
4974
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
4896
4975
|
finally {
|
|
4897
4976
|
try {
|
|
4898
4977
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4899
4978
|
}
|
|
4900
|
-
finally { if (
|
|
4979
|
+
finally { if (e_49) throw e_49.error; }
|
|
4901
4980
|
}
|
|
4902
4981
|
}
|
|
4903
4982
|
if (status === 200 || status === 206) {
|
|
@@ -4927,6 +5006,84 @@
|
|
|
4927
5006
|
}
|
|
4928
5007
|
return rxjs.of(null);
|
|
4929
5008
|
};
|
|
5009
|
+
/**
|
|
5010
|
+
* @param tenantId (optional) Tenant identifier
|
|
5011
|
+
* @return Success
|
|
5012
|
+
*/
|
|
5013
|
+
DesignAtomsViewerApiClient.prototype.getFallbackFonts = function (tenantId) {
|
|
5014
|
+
var _this = this;
|
|
5015
|
+
var url_ = this.baseUrl + "/api/atoms/v1/ccviewer/GetFallbackFonts?";
|
|
5016
|
+
if (tenantId === null)
|
|
5017
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
5018
|
+
else if (tenantId !== undefined)
|
|
5019
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
5020
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
5021
|
+
var options_ = {
|
|
5022
|
+
observe: "response",
|
|
5023
|
+
responseType: "blob",
|
|
5024
|
+
headers: new i1.HttpHeaders({
|
|
5025
|
+
"Accept": "application/json"
|
|
5026
|
+
})
|
|
5027
|
+
};
|
|
5028
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
5029
|
+
return _this.http.request("get", url_, transformedOptions_);
|
|
5030
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
5031
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
5032
|
+
})).pipe(operators.catchError(function (response_) {
|
|
5033
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
5034
|
+
try {
|
|
5035
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetFallbackFonts(r); });
|
|
5036
|
+
}
|
|
5037
|
+
catch (e) {
|
|
5038
|
+
return rxjs.throwError(e);
|
|
5039
|
+
}
|
|
5040
|
+
}
|
|
5041
|
+
else
|
|
5042
|
+
return rxjs.throwError(response_);
|
|
5043
|
+
}));
|
|
5044
|
+
};
|
|
5045
|
+
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
5046
|
+
var e_50, _a;
|
|
5047
|
+
var _this = this;
|
|
5048
|
+
var status = response.status;
|
|
5049
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
5050
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
5051
|
+
var _headers = {};
|
|
5052
|
+
if (response.headers) {
|
|
5053
|
+
try {
|
|
5054
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
5055
|
+
var key = _c.value;
|
|
5056
|
+
_headers[key] = response.headers.get(key);
|
|
5057
|
+
}
|
|
5058
|
+
}
|
|
5059
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
5060
|
+
finally {
|
|
5061
|
+
try {
|
|
5062
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5063
|
+
}
|
|
5064
|
+
finally { if (e_50) throw e_50.error; }
|
|
5065
|
+
}
|
|
5066
|
+
}
|
|
5067
|
+
if (status === 200 || status === 206) {
|
|
5068
|
+
var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
5069
|
+
var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
5070
|
+
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
5071
|
+
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
5072
|
+
}
|
|
5073
|
+
else if (status === 500) {
|
|
5074
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
5075
|
+
var result500 = null;
|
|
5076
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
5077
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
5078
|
+
}));
|
|
5079
|
+
}
|
|
5080
|
+
else if (status !== 200 && status !== 204) {
|
|
5081
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
5082
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
5083
|
+
}));
|
|
5084
|
+
}
|
|
5085
|
+
return rxjs.of(null);
|
|
5086
|
+
};
|
|
4930
5087
|
/**
|
|
4931
5088
|
* @param tenantId (optional) Tenant identifier
|
|
4932
5089
|
* @param body (optional)
|
|
@@ -4968,7 +5125,7 @@
|
|
|
4968
5125
|
}));
|
|
4969
5126
|
};
|
|
4970
5127
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
4971
|
-
var
|
|
5128
|
+
var e_51, _a;
|
|
4972
5129
|
var _this = this;
|
|
4973
5130
|
var status = response.status;
|
|
4974
5131
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4981,12 +5138,12 @@
|
|
|
4981
5138
|
_headers[key] = response.headers.get(key);
|
|
4982
5139
|
}
|
|
4983
5140
|
}
|
|
4984
|
-
catch (
|
|
5141
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
4985
5142
|
finally {
|
|
4986
5143
|
try {
|
|
4987
5144
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4988
5145
|
}
|
|
4989
|
-
finally { if (
|
|
5146
|
+
finally { if (e_51) throw e_51.error; }
|
|
4990
5147
|
}
|
|
4991
5148
|
}
|
|
4992
5149
|
if (status === 200) {
|
|
@@ -5051,7 +5208,7 @@
|
|
|
5051
5208
|
}));
|
|
5052
5209
|
};
|
|
5053
5210
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
5054
|
-
var
|
|
5211
|
+
var e_52, _a;
|
|
5055
5212
|
var _this = this;
|
|
5056
5213
|
var status = response.status;
|
|
5057
5214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5064,12 +5221,12 @@
|
|
|
5064
5221
|
_headers[key] = response.headers.get(key);
|
|
5065
5222
|
}
|
|
5066
5223
|
}
|
|
5067
|
-
catch (
|
|
5224
|
+
catch (e_52_1) { e_52 = { error: e_52_1 }; }
|
|
5068
5225
|
finally {
|
|
5069
5226
|
try {
|
|
5070
5227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5071
5228
|
}
|
|
5072
|
-
finally { if (
|
|
5229
|
+
finally { if (e_52) throw e_52.error; }
|
|
5073
5230
|
}
|
|
5074
5231
|
}
|
|
5075
5232
|
if (status === 200) {
|
|
@@ -5134,7 +5291,7 @@
|
|
|
5134
5291
|
}));
|
|
5135
5292
|
};
|
|
5136
5293
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
5137
|
-
var
|
|
5294
|
+
var e_53, _a;
|
|
5138
5295
|
var _this = this;
|
|
5139
5296
|
var status = response.status;
|
|
5140
5297
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5147,12 +5304,12 @@
|
|
|
5147
5304
|
_headers[key] = response.headers.get(key);
|
|
5148
5305
|
}
|
|
5149
5306
|
}
|
|
5150
|
-
catch (
|
|
5307
|
+
catch (e_53_1) { e_53 = { error: e_53_1 }; }
|
|
5151
5308
|
finally {
|
|
5152
5309
|
try {
|
|
5153
5310
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5154
5311
|
}
|
|
5155
|
-
finally { if (
|
|
5312
|
+
finally { if (e_53) throw e_53.error; }
|
|
5156
5313
|
}
|
|
5157
5314
|
}
|
|
5158
5315
|
if (status === 200) {
|
|
@@ -5261,7 +5418,7 @@
|
|
|
5261
5418
|
}));
|
|
5262
5419
|
};
|
|
5263
5420
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
5264
|
-
var
|
|
5421
|
+
var e_54, _a;
|
|
5265
5422
|
var _this = this;
|
|
5266
5423
|
var status = response.status;
|
|
5267
5424
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5274,12 +5431,12 @@
|
|
|
5274
5431
|
_headers[key] = response.headers.get(key);
|
|
5275
5432
|
}
|
|
5276
5433
|
}
|
|
5277
|
-
catch (
|
|
5434
|
+
catch (e_54_1) { e_54 = { error: e_54_1 }; }
|
|
5278
5435
|
finally {
|
|
5279
5436
|
try {
|
|
5280
5437
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5281
5438
|
}
|
|
5282
|
-
finally { if (
|
|
5439
|
+
finally { if (e_54) throw e_54.error; }
|
|
5283
5440
|
}
|
|
5284
5441
|
}
|
|
5285
5442
|
if (status === 200 || status === 206) {
|
|
@@ -5351,7 +5508,7 @@
|
|
|
5351
5508
|
}));
|
|
5352
5509
|
};
|
|
5353
5510
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
5354
|
-
var
|
|
5511
|
+
var e_55, _a;
|
|
5355
5512
|
var _this = this;
|
|
5356
5513
|
var status = response.status;
|
|
5357
5514
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5364,12 +5521,12 @@
|
|
|
5364
5521
|
_headers[key] = response.headers.get(key);
|
|
5365
5522
|
}
|
|
5366
5523
|
}
|
|
5367
|
-
catch (
|
|
5524
|
+
catch (e_55_1) { e_55 = { error: e_55_1 }; }
|
|
5368
5525
|
finally {
|
|
5369
5526
|
try {
|
|
5370
5527
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5371
5528
|
}
|
|
5372
|
-
finally { if (
|
|
5529
|
+
finally { if (e_55) throw e_55.error; }
|
|
5373
5530
|
}
|
|
5374
5531
|
}
|
|
5375
5532
|
if (status === 200) {
|
|
@@ -5433,7 +5590,7 @@
|
|
|
5433
5590
|
}));
|
|
5434
5591
|
};
|
|
5435
5592
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
5436
|
-
var
|
|
5593
|
+
var e_56, _a;
|
|
5437
5594
|
var _this = this;
|
|
5438
5595
|
var status = response.status;
|
|
5439
5596
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5446,12 +5603,12 @@
|
|
|
5446
5603
|
_headers[key] = response.headers.get(key);
|
|
5447
5604
|
}
|
|
5448
5605
|
}
|
|
5449
|
-
catch (
|
|
5606
|
+
catch (e_56_1) { e_56 = { error: e_56_1 }; }
|
|
5450
5607
|
finally {
|
|
5451
5608
|
try {
|
|
5452
5609
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5453
5610
|
}
|
|
5454
|
-
finally { if (
|
|
5611
|
+
finally { if (e_56) throw e_56.error; }
|
|
5455
5612
|
}
|
|
5456
5613
|
}
|
|
5457
5614
|
if (status === 200 || status === 206) {
|
|
@@ -5526,7 +5683,7 @@
|
|
|
5526
5683
|
}));
|
|
5527
5684
|
};
|
|
5528
5685
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
5529
|
-
var
|
|
5686
|
+
var e_57, _a;
|
|
5530
5687
|
var _this = this;
|
|
5531
5688
|
var status = response.status;
|
|
5532
5689
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5539,12 +5696,12 @@
|
|
|
5539
5696
|
_headers[key] = response.headers.get(key);
|
|
5540
5697
|
}
|
|
5541
5698
|
}
|
|
5542
|
-
catch (
|
|
5699
|
+
catch (e_57_1) { e_57 = { error: e_57_1 }; }
|
|
5543
5700
|
finally {
|
|
5544
5701
|
try {
|
|
5545
5702
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5546
5703
|
}
|
|
5547
|
-
finally { if (
|
|
5704
|
+
finally { if (e_57) throw e_57.error; }
|
|
5548
5705
|
}
|
|
5549
5706
|
}
|
|
5550
5707
|
if (status === 200 || status === 206) {
|
|
@@ -5614,7 +5771,7 @@
|
|
|
5614
5771
|
}));
|
|
5615
5772
|
};
|
|
5616
5773
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
5617
|
-
var
|
|
5774
|
+
var e_58, _a;
|
|
5618
5775
|
var _this = this;
|
|
5619
5776
|
var status = response.status;
|
|
5620
5777
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5627,12 +5784,12 @@
|
|
|
5627
5784
|
_headers[key] = response.headers.get(key);
|
|
5628
5785
|
}
|
|
5629
5786
|
}
|
|
5630
|
-
catch (
|
|
5787
|
+
catch (e_58_1) { e_58 = { error: e_58_1 }; }
|
|
5631
5788
|
finally {
|
|
5632
5789
|
try {
|
|
5633
5790
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5634
5791
|
}
|
|
5635
|
-
finally { if (
|
|
5792
|
+
finally { if (e_58) throw e_58.error; }
|
|
5636
5793
|
}
|
|
5637
5794
|
}
|
|
5638
5795
|
if (status === 200 || status === 206) {
|
|
@@ -5707,7 +5864,7 @@
|
|
|
5707
5864
|
}));
|
|
5708
5865
|
};
|
|
5709
5866
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
5710
|
-
var
|
|
5867
|
+
var e_59, _a;
|
|
5711
5868
|
var _this = this;
|
|
5712
5869
|
var status = response.status;
|
|
5713
5870
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5720,12 +5877,12 @@
|
|
|
5720
5877
|
_headers[key] = response.headers.get(key);
|
|
5721
5878
|
}
|
|
5722
5879
|
}
|
|
5723
|
-
catch (
|
|
5880
|
+
catch (e_59_1) { e_59 = { error: e_59_1 }; }
|
|
5724
5881
|
finally {
|
|
5725
5882
|
try {
|
|
5726
5883
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5727
5884
|
}
|
|
5728
|
-
finally { if (
|
|
5885
|
+
finally { if (e_59) throw e_59.error; }
|
|
5729
5886
|
}
|
|
5730
5887
|
}
|
|
5731
5888
|
if (status === 200 || status === 206) {
|
|
@@ -5801,7 +5958,7 @@
|
|
|
5801
5958
|
}));
|
|
5802
5959
|
};
|
|
5803
5960
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
5804
|
-
var
|
|
5961
|
+
var e_60, _a;
|
|
5805
5962
|
var _this = this;
|
|
5806
5963
|
var status = response.status;
|
|
5807
5964
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5814,12 +5971,12 @@
|
|
|
5814
5971
|
_headers[key] = response.headers.get(key);
|
|
5815
5972
|
}
|
|
5816
5973
|
}
|
|
5817
|
-
catch (
|
|
5974
|
+
catch (e_60_1) { e_60 = { error: e_60_1 }; }
|
|
5818
5975
|
finally {
|
|
5819
5976
|
try {
|
|
5820
5977
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5821
5978
|
}
|
|
5822
|
-
finally { if (
|
|
5979
|
+
finally { if (e_60) throw e_60.error; }
|
|
5823
5980
|
}
|
|
5824
5981
|
}
|
|
5825
5982
|
if (status === 200) {
|
|
@@ -5884,7 +6041,7 @@
|
|
|
5884
6041
|
}));
|
|
5885
6042
|
};
|
|
5886
6043
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
5887
|
-
var
|
|
6044
|
+
var e_61, _a;
|
|
5888
6045
|
var _this = this;
|
|
5889
6046
|
var status = response.status;
|
|
5890
6047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5897,12 +6054,12 @@
|
|
|
5897
6054
|
_headers[key] = response.headers.get(key);
|
|
5898
6055
|
}
|
|
5899
6056
|
}
|
|
5900
|
-
catch (
|
|
6057
|
+
catch (e_61_1) { e_61 = { error: e_61_1 }; }
|
|
5901
6058
|
finally {
|
|
5902
6059
|
try {
|
|
5903
6060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5904
6061
|
}
|
|
5905
|
-
finally { if (
|
|
6062
|
+
finally { if (e_61) throw e_61.error; }
|
|
5906
6063
|
}
|
|
5907
6064
|
}
|
|
5908
6065
|
if (status === 200) {
|
|
@@ -5967,7 +6124,7 @@
|
|
|
5967
6124
|
}));
|
|
5968
6125
|
};
|
|
5969
6126
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
5970
|
-
var
|
|
6127
|
+
var e_62, _a;
|
|
5971
6128
|
var _this = this;
|
|
5972
6129
|
var status = response.status;
|
|
5973
6130
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5980,12 +6137,12 @@
|
|
|
5980
6137
|
_headers[key] = response.headers.get(key);
|
|
5981
6138
|
}
|
|
5982
6139
|
}
|
|
5983
|
-
catch (
|
|
6140
|
+
catch (e_62_1) { e_62 = { error: e_62_1 }; }
|
|
5984
6141
|
finally {
|
|
5985
6142
|
try {
|
|
5986
6143
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5987
6144
|
}
|
|
5988
|
-
finally { if (
|
|
6145
|
+
finally { if (e_62) throw e_62.error; }
|
|
5989
6146
|
}
|
|
5990
6147
|
}
|
|
5991
6148
|
if (status === 200) {
|
|
@@ -6050,7 +6207,7 @@
|
|
|
6050
6207
|
}));
|
|
6051
6208
|
};
|
|
6052
6209
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
6053
|
-
var
|
|
6210
|
+
var e_63, _a;
|
|
6054
6211
|
var _this = this;
|
|
6055
6212
|
var status = response.status;
|
|
6056
6213
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6063,12 +6220,12 @@
|
|
|
6063
6220
|
_headers[key] = response.headers.get(key);
|
|
6064
6221
|
}
|
|
6065
6222
|
}
|
|
6066
|
-
catch (
|
|
6223
|
+
catch (e_63_1) { e_63 = { error: e_63_1 }; }
|
|
6067
6224
|
finally {
|
|
6068
6225
|
try {
|
|
6069
6226
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6070
6227
|
}
|
|
6071
|
-
finally { if (
|
|
6228
|
+
finally { if (e_63) throw e_63.error; }
|
|
6072
6229
|
}
|
|
6073
6230
|
}
|
|
6074
6231
|
if (status === 200) {
|
|
@@ -6133,7 +6290,7 @@
|
|
|
6133
6290
|
}));
|
|
6134
6291
|
};
|
|
6135
6292
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
6136
|
-
var
|
|
6293
|
+
var e_64, _a;
|
|
6137
6294
|
var _this = this;
|
|
6138
6295
|
var status = response.status;
|
|
6139
6296
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6146,12 +6303,12 @@
|
|
|
6146
6303
|
_headers[key] = response.headers.get(key);
|
|
6147
6304
|
}
|
|
6148
6305
|
}
|
|
6149
|
-
catch (
|
|
6306
|
+
catch (e_64_1) { e_64 = { error: e_64_1 }; }
|
|
6150
6307
|
finally {
|
|
6151
6308
|
try {
|
|
6152
6309
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6153
6310
|
}
|
|
6154
|
-
finally { if (
|
|
6311
|
+
finally { if (e_64) throw e_64.error; }
|
|
6155
6312
|
}
|
|
6156
6313
|
}
|
|
6157
6314
|
if (status === 200) {
|
|
@@ -6216,7 +6373,7 @@
|
|
|
6216
6373
|
}));
|
|
6217
6374
|
};
|
|
6218
6375
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
6219
|
-
var
|
|
6376
|
+
var e_65, _a;
|
|
6220
6377
|
var _this = this;
|
|
6221
6378
|
var status = response.status;
|
|
6222
6379
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6229,12 +6386,12 @@
|
|
|
6229
6386
|
_headers[key] = response.headers.get(key);
|
|
6230
6387
|
}
|
|
6231
6388
|
}
|
|
6232
|
-
catch (
|
|
6389
|
+
catch (e_65_1) { e_65 = { error: e_65_1 }; }
|
|
6233
6390
|
finally {
|
|
6234
6391
|
try {
|
|
6235
6392
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6236
6393
|
}
|
|
6237
|
-
finally { if (
|
|
6394
|
+
finally { if (e_65) throw e_65.error; }
|
|
6238
6395
|
}
|
|
6239
6396
|
}
|
|
6240
6397
|
if (status === 200) {
|
|
@@ -6299,7 +6456,7 @@
|
|
|
6299
6456
|
}));
|
|
6300
6457
|
};
|
|
6301
6458
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
6302
|
-
var
|
|
6459
|
+
var e_66, _a;
|
|
6303
6460
|
var _this = this;
|
|
6304
6461
|
var status = response.status;
|
|
6305
6462
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6312,12 +6469,12 @@
|
|
|
6312
6469
|
_headers[key] = response.headers.get(key);
|
|
6313
6470
|
}
|
|
6314
6471
|
}
|
|
6315
|
-
catch (
|
|
6472
|
+
catch (e_66_1) { e_66 = { error: e_66_1 }; }
|
|
6316
6473
|
finally {
|
|
6317
6474
|
try {
|
|
6318
6475
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6319
6476
|
}
|
|
6320
|
-
finally { if (
|
|
6477
|
+
finally { if (e_66) throw e_66.error; }
|
|
6321
6478
|
}
|
|
6322
6479
|
}
|
|
6323
6480
|
if (status === 200) {
|
|
@@ -6382,7 +6539,7 @@
|
|
|
6382
6539
|
}));
|
|
6383
6540
|
};
|
|
6384
6541
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
6385
|
-
var
|
|
6542
|
+
var e_67, _a;
|
|
6386
6543
|
var _this = this;
|
|
6387
6544
|
var status = response.status;
|
|
6388
6545
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6395,12 +6552,12 @@
|
|
|
6395
6552
|
_headers[key] = response.headers.get(key);
|
|
6396
6553
|
}
|
|
6397
6554
|
}
|
|
6398
|
-
catch (
|
|
6555
|
+
catch (e_67_1) { e_67 = { error: e_67_1 }; }
|
|
6399
6556
|
finally {
|
|
6400
6557
|
try {
|
|
6401
6558
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6402
6559
|
}
|
|
6403
|
-
finally { if (
|
|
6560
|
+
finally { if (e_67) throw e_67.error; }
|
|
6404
6561
|
}
|
|
6405
6562
|
}
|
|
6406
6563
|
if (status === 200) {
|
|
@@ -6465,7 +6622,7 @@
|
|
|
6465
6622
|
}));
|
|
6466
6623
|
};
|
|
6467
6624
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
6468
|
-
var
|
|
6625
|
+
var e_68, _a;
|
|
6469
6626
|
var _this = this;
|
|
6470
6627
|
var status = response.status;
|
|
6471
6628
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6478,12 +6635,12 @@
|
|
|
6478
6635
|
_headers[key] = response.headers.get(key);
|
|
6479
6636
|
}
|
|
6480
6637
|
}
|
|
6481
|
-
catch (
|
|
6638
|
+
catch (e_68_1) { e_68 = { error: e_68_1 }; }
|
|
6482
6639
|
finally {
|
|
6483
6640
|
try {
|
|
6484
6641
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6485
6642
|
}
|
|
6486
|
-
finally { if (
|
|
6643
|
+
finally { if (e_68) throw e_68.error; }
|
|
6487
6644
|
}
|
|
6488
6645
|
}
|
|
6489
6646
|
if (status === 200) {
|
|
@@ -6548,7 +6705,7 @@
|
|
|
6548
6705
|
}));
|
|
6549
6706
|
};
|
|
6550
6707
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
6551
|
-
var
|
|
6708
|
+
var e_69, _a;
|
|
6552
6709
|
var _this = this;
|
|
6553
6710
|
var status = response.status;
|
|
6554
6711
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6561,12 +6718,12 @@
|
|
|
6561
6718
|
_headers[key] = response.headers.get(key);
|
|
6562
6719
|
}
|
|
6563
6720
|
}
|
|
6564
|
-
catch (
|
|
6721
|
+
catch (e_69_1) { e_69 = { error: e_69_1 }; }
|
|
6565
6722
|
finally {
|
|
6566
6723
|
try {
|
|
6567
6724
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6568
6725
|
}
|
|
6569
|
-
finally { if (
|
|
6726
|
+
finally { if (e_69) throw e_69.error; }
|
|
6570
6727
|
}
|
|
6571
6728
|
}
|
|
6572
6729
|
if (status === 200) {
|
|
@@ -6631,7 +6788,7 @@
|
|
|
6631
6788
|
}));
|
|
6632
6789
|
};
|
|
6633
6790
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
6634
|
-
var
|
|
6791
|
+
var e_70, _a;
|
|
6635
6792
|
var _this = this;
|
|
6636
6793
|
var status = response.status;
|
|
6637
6794
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6644,12 +6801,12 @@
|
|
|
6644
6801
|
_headers[key] = response.headers.get(key);
|
|
6645
6802
|
}
|
|
6646
6803
|
}
|
|
6647
|
-
catch (
|
|
6804
|
+
catch (e_70_1) { e_70 = { error: e_70_1 }; }
|
|
6648
6805
|
finally {
|
|
6649
6806
|
try {
|
|
6650
6807
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6651
6808
|
}
|
|
6652
|
-
finally { if (
|
|
6809
|
+
finally { if (e_70) throw e_70.error; }
|
|
6653
6810
|
}
|
|
6654
6811
|
}
|
|
6655
6812
|
if (status === 200) {
|