@aurigma/ng-design-atoms-api-client 2.44.1 → 2.48.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 +350 -130
- 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/lib/design-atoms-api-client.js +220 -11
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +220 -11
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +168 -29
- package/package.json +1 -1
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
return _this;
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* Get assembly build info.
|
|
382
382
|
* @return Success
|
|
383
383
|
*/
|
|
384
384
|
BuildInfoApiClient.prototype.headInfo = function () {
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
return rxjs.of(null);
|
|
450
450
|
};
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* Get assembly build info.
|
|
453
453
|
* @return Success
|
|
454
454
|
*/
|
|
455
455
|
BuildInfoApiClient.prototype.getInfo = function () {
|
|
@@ -1296,9 +1296,11 @@
|
|
|
1296
1296
|
* @param alphaMask (optional)
|
|
1297
1297
|
* @param page (optional)
|
|
1298
1298
|
* @param colorizeColor (optional)
|
|
1299
|
+
* @param rw (optional)
|
|
1300
|
+
* @param rh (optional)
|
|
1299
1301
|
* @return Success
|
|
1300
1302
|
*/
|
|
1301
|
-
DesignAtomsCompatibilityApiClient.prototype.img = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor) {
|
|
1303
|
+
DesignAtomsCompatibilityApiClient.prototype.img = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
1302
1304
|
var _this = this;
|
|
1303
1305
|
var url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/img?";
|
|
1304
1306
|
if (tenantId === undefined || tenantId === null)
|
|
@@ -1336,6 +1338,10 @@
|
|
|
1336
1338
|
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
1337
1339
|
if (colorizeColor !== undefined && colorizeColor !== null)
|
|
1338
1340
|
url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
|
|
1341
|
+
if (rw !== undefined && rw !== null)
|
|
1342
|
+
url_ += "rw=" + encodeURIComponent("" + rw) + "&";
|
|
1343
|
+
if (rh !== undefined && rh !== null)
|
|
1344
|
+
url_ += "rh=" + encodeURIComponent("" + rh) + "&";
|
|
1339
1345
|
url_ = url_.replace(/[?&]$/, "");
|
|
1340
1346
|
var options_ = {
|
|
1341
1347
|
observe: "response",
|
|
@@ -1671,9 +1677,26 @@
|
|
|
1671
1677
|
};
|
|
1672
1678
|
/**
|
|
1673
1679
|
* @param f (optional)
|
|
1680
|
+
* @param w (optional)
|
|
1681
|
+
* @param h (optional)
|
|
1682
|
+
* @param cmyk (optional)
|
|
1683
|
+
* @param rgb (optional)
|
|
1684
|
+
* @param grayscale (optional)
|
|
1685
|
+
* @param target (optional)
|
|
1686
|
+
* @param sq (optional)
|
|
1687
|
+
* @param effect (optional)
|
|
1688
|
+
* @param kp (optional)
|
|
1689
|
+
* @param color (optional)
|
|
1690
|
+
* @param obm (optional)
|
|
1691
|
+
* @param oo (optional)
|
|
1692
|
+
* @param alphaMask (optional)
|
|
1693
|
+
* @param page (optional)
|
|
1694
|
+
* @param colorizeColor (optional)
|
|
1695
|
+
* @param rw (optional)
|
|
1696
|
+
* @param rh (optional)
|
|
1674
1697
|
* @return Success
|
|
1675
1698
|
*/
|
|
1676
|
-
DesignAtomsCompatibilityApiClient.prototype.svg = function (tenantId, f) {
|
|
1699
|
+
DesignAtomsCompatibilityApiClient.prototype.svg = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
1677
1700
|
var _this = this;
|
|
1678
1701
|
var url_ = this.baseUrl + "/api/atoms/v1/tenants/{tenantId}/api/ccviewer/svg?";
|
|
1679
1702
|
if (tenantId === undefined || tenantId === null)
|
|
@@ -1681,6 +1704,40 @@
|
|
|
1681
1704
|
url_ = url_.replace("{tenantId}", encodeURIComponent("" + tenantId));
|
|
1682
1705
|
if (f !== undefined && f !== null)
|
|
1683
1706
|
url_ += "f=" + encodeURIComponent("" + f) + "&";
|
|
1707
|
+
if (w !== undefined && w !== null)
|
|
1708
|
+
url_ += "w=" + encodeURIComponent("" + w) + "&";
|
|
1709
|
+
if (h !== undefined && h !== null)
|
|
1710
|
+
url_ += "h=" + encodeURIComponent("" + h) + "&";
|
|
1711
|
+
if (cmyk !== undefined && cmyk !== null)
|
|
1712
|
+
url_ += "cmyk=" + encodeURIComponent("" + cmyk) + "&";
|
|
1713
|
+
if (rgb !== undefined && rgb !== null)
|
|
1714
|
+
url_ += "rgb=" + encodeURIComponent("" + rgb) + "&";
|
|
1715
|
+
if (grayscale !== undefined && grayscale !== null)
|
|
1716
|
+
url_ += "grayscale=" + encodeURIComponent("" + grayscale) + "&";
|
|
1717
|
+
if (target !== undefined && target !== null)
|
|
1718
|
+
url_ += "target=" + encodeURIComponent("" + target) + "&";
|
|
1719
|
+
if (sq !== undefined && sq !== null)
|
|
1720
|
+
url_ += "sq=" + encodeURIComponent("" + sq) + "&";
|
|
1721
|
+
if (effect !== undefined && effect !== null)
|
|
1722
|
+
url_ += "effect=" + encodeURIComponent("" + effect) + "&";
|
|
1723
|
+
if (kp !== undefined && kp !== null)
|
|
1724
|
+
url_ += "kp=" + encodeURIComponent("" + kp) + "&";
|
|
1725
|
+
if (color !== undefined && color !== null)
|
|
1726
|
+
url_ += "color=" + encodeURIComponent("" + color) + "&";
|
|
1727
|
+
if (obm !== undefined && obm !== null)
|
|
1728
|
+
url_ += "obm=" + encodeURIComponent("" + obm) + "&";
|
|
1729
|
+
if (oo !== undefined && oo !== null)
|
|
1730
|
+
url_ += "oo=" + encodeURIComponent("" + oo) + "&";
|
|
1731
|
+
if (alphaMask !== undefined && alphaMask !== null)
|
|
1732
|
+
url_ += "alphaMask=" + encodeURIComponent("" + alphaMask) + "&";
|
|
1733
|
+
if (page !== undefined && page !== null)
|
|
1734
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
1735
|
+
if (colorizeColor !== undefined && colorizeColor !== null)
|
|
1736
|
+
url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
|
|
1737
|
+
if (rw !== undefined && rw !== null)
|
|
1738
|
+
url_ += "rw=" + encodeURIComponent("" + rw) + "&";
|
|
1739
|
+
if (rh !== undefined && rh !== null)
|
|
1740
|
+
url_ += "rh=" + encodeURIComponent("" + rh) + "&";
|
|
1684
1741
|
url_ = url_.replace(/[?&]$/, "");
|
|
1685
1742
|
var options_ = {
|
|
1686
1743
|
observe: "response",
|
|
@@ -3892,6 +3949,110 @@
|
|
|
3892
3949
|
}
|
|
3893
3950
|
return rxjs.of(null);
|
|
3894
3951
|
};
|
|
3952
|
+
/**
|
|
3953
|
+
* Returns design parameters stored in product model.
|
|
3954
|
+
* @param id Design identifier.
|
|
3955
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3956
|
+
* @param tenantId (optional) Tenant identifier
|
|
3957
|
+
* @return Success
|
|
3958
|
+
*/
|
|
3959
|
+
DesignAtomsServiceApiClient.prototype.getDesignParameters = function (id, privateStorageOwner, tenantId) {
|
|
3960
|
+
var _this = this;
|
|
3961
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/parameters?";
|
|
3962
|
+
if (id === undefined || id === null)
|
|
3963
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
3964
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
3965
|
+
if (privateStorageOwner !== undefined && privateStorageOwner !== null)
|
|
3966
|
+
url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
|
|
3967
|
+
if (tenantId === null)
|
|
3968
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
3969
|
+
else if (tenantId !== undefined)
|
|
3970
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3971
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
3972
|
+
var options_ = {
|
|
3973
|
+
observe: "response",
|
|
3974
|
+
responseType: "blob",
|
|
3975
|
+
headers: new i1.HttpHeaders({
|
|
3976
|
+
"Accept": "application/json"
|
|
3977
|
+
})
|
|
3978
|
+
};
|
|
3979
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
3980
|
+
return _this.http.request("get", url_, transformedOptions_);
|
|
3981
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
3982
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignParameters(r); });
|
|
3983
|
+
})).pipe(operators.catchError(function (response_) {
|
|
3984
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
3985
|
+
try {
|
|
3986
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignParameters(r); });
|
|
3987
|
+
}
|
|
3988
|
+
catch (e) {
|
|
3989
|
+
return rxjs.throwError(e);
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
else
|
|
3993
|
+
return rxjs.throwError(response_);
|
|
3994
|
+
}));
|
|
3995
|
+
};
|
|
3996
|
+
DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
|
|
3997
|
+
var e_39, _a;
|
|
3998
|
+
var _this = this;
|
|
3999
|
+
var status = response.status;
|
|
4000
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
4001
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
4002
|
+
var _headers = {};
|
|
4003
|
+
if (response.headers) {
|
|
4004
|
+
try {
|
|
4005
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
4006
|
+
var key = _c.value;
|
|
4007
|
+
_headers[key] = response.headers.get(key);
|
|
4008
|
+
}
|
|
4009
|
+
}
|
|
4010
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
4011
|
+
finally {
|
|
4012
|
+
try {
|
|
4013
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4014
|
+
}
|
|
4015
|
+
finally { if (e_39) throw e_39.error; }
|
|
4016
|
+
}
|
|
4017
|
+
}
|
|
4018
|
+
if (status === 200) {
|
|
4019
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4020
|
+
var result200 = null;
|
|
4021
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4022
|
+
return rxjs.of(result200);
|
|
4023
|
+
}));
|
|
4024
|
+
}
|
|
4025
|
+
else if (status === 404) {
|
|
4026
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4027
|
+
var result404 = null;
|
|
4028
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4029
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4030
|
+
}));
|
|
4031
|
+
}
|
|
4032
|
+
else if (status === 401) {
|
|
4033
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4034
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
4035
|
+
}));
|
|
4036
|
+
}
|
|
4037
|
+
else if (status === 403) {
|
|
4038
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4039
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
4040
|
+
}));
|
|
4041
|
+
}
|
|
4042
|
+
else if (status === 500) {
|
|
4043
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4044
|
+
var result500 = null;
|
|
4045
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4046
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
4047
|
+
}));
|
|
4048
|
+
}
|
|
4049
|
+
else if (status !== 200 && status !== 204) {
|
|
4050
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4051
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4052
|
+
}));
|
|
4053
|
+
}
|
|
4054
|
+
return rxjs.of(null);
|
|
4055
|
+
};
|
|
3895
4056
|
/**
|
|
3896
4057
|
* Loads data schema from design file taken from storage
|
|
3897
4058
|
* @param id Design identifier
|
|
@@ -3940,7 +4101,7 @@
|
|
|
3940
4101
|
}));
|
|
3941
4102
|
};
|
|
3942
4103
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
3943
|
-
var
|
|
4104
|
+
var e_40, _a;
|
|
3944
4105
|
var _this = this;
|
|
3945
4106
|
var status = response.status;
|
|
3946
4107
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3953,12 +4114,12 @@
|
|
|
3953
4114
|
_headers[key] = response.headers.get(key);
|
|
3954
4115
|
}
|
|
3955
4116
|
}
|
|
3956
|
-
catch (
|
|
4117
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
3957
4118
|
finally {
|
|
3958
4119
|
try {
|
|
3959
4120
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3960
4121
|
}
|
|
3961
|
-
finally { if (
|
|
4122
|
+
finally { if (e_40) throw e_40.error; }
|
|
3962
4123
|
}
|
|
3963
4124
|
}
|
|
3964
4125
|
if (status === 200 || status === 206) {
|
|
@@ -4053,7 +4214,7 @@
|
|
|
4053
4214
|
}));
|
|
4054
4215
|
};
|
|
4055
4216
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
4056
|
-
var
|
|
4217
|
+
var e_41, _a;
|
|
4057
4218
|
var _this = this;
|
|
4058
4219
|
var status = response.status;
|
|
4059
4220
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4066,12 +4227,12 @@
|
|
|
4066
4227
|
_headers[key] = response.headers.get(key);
|
|
4067
4228
|
}
|
|
4068
4229
|
}
|
|
4069
|
-
catch (
|
|
4230
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4070
4231
|
finally {
|
|
4071
4232
|
try {
|
|
4072
4233
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4073
4234
|
}
|
|
4074
|
-
finally { if (
|
|
4235
|
+
finally { if (e_41) throw e_41.error; }
|
|
4075
4236
|
}
|
|
4076
4237
|
}
|
|
4077
4238
|
if (status === 200) {
|
|
@@ -4163,7 +4324,7 @@
|
|
|
4163
4324
|
}));
|
|
4164
4325
|
};
|
|
4165
4326
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
4166
|
-
var
|
|
4327
|
+
var e_42, _a;
|
|
4167
4328
|
var _this = this;
|
|
4168
4329
|
var status = response.status;
|
|
4169
4330
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4176,12 +4337,12 @@
|
|
|
4176
4337
|
_headers[key] = response.headers.get(key);
|
|
4177
4338
|
}
|
|
4178
4339
|
}
|
|
4179
|
-
catch (
|
|
4340
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4180
4341
|
finally {
|
|
4181
4342
|
try {
|
|
4182
4343
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4183
4344
|
}
|
|
4184
|
-
finally { if (
|
|
4345
|
+
finally { if (e_42) throw e_42.error; }
|
|
4185
4346
|
}
|
|
4186
4347
|
}
|
|
4187
4348
|
if (status === 200) {
|
|
@@ -4275,7 +4436,7 @@
|
|
|
4275
4436
|
}));
|
|
4276
4437
|
};
|
|
4277
4438
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
4278
|
-
var
|
|
4439
|
+
var e_43, _a;
|
|
4279
4440
|
var _this = this;
|
|
4280
4441
|
var status = response.status;
|
|
4281
4442
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4288,12 +4449,12 @@
|
|
|
4288
4449
|
_headers[key] = response.headers.get(key);
|
|
4289
4450
|
}
|
|
4290
4451
|
}
|
|
4291
|
-
catch (
|
|
4452
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4292
4453
|
finally {
|
|
4293
4454
|
try {
|
|
4294
4455
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4295
4456
|
}
|
|
4296
|
-
finally { if (
|
|
4457
|
+
finally { if (e_43) throw e_43.error; }
|
|
4297
4458
|
}
|
|
4298
4459
|
}
|
|
4299
4460
|
if (status === 200) {
|
|
@@ -4392,7 +4553,7 @@
|
|
|
4392
4553
|
}));
|
|
4393
4554
|
};
|
|
4394
4555
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
4395
|
-
var
|
|
4556
|
+
var e_44, _a;
|
|
4396
4557
|
var _this = this;
|
|
4397
4558
|
var status = response.status;
|
|
4398
4559
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4405,12 +4566,12 @@
|
|
|
4405
4566
|
_headers[key] = response.headers.get(key);
|
|
4406
4567
|
}
|
|
4407
4568
|
}
|
|
4408
|
-
catch (
|
|
4569
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4409
4570
|
finally {
|
|
4410
4571
|
try {
|
|
4411
4572
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4412
4573
|
}
|
|
4413
|
-
finally { if (
|
|
4574
|
+
finally { if (e_44) throw e_44.error; }
|
|
4414
4575
|
}
|
|
4415
4576
|
}
|
|
4416
4577
|
if (status === 200) {
|
|
@@ -4495,7 +4656,7 @@
|
|
|
4495
4656
|
}));
|
|
4496
4657
|
};
|
|
4497
4658
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
4498
|
-
var
|
|
4659
|
+
var e_45, _a;
|
|
4499
4660
|
var _this = this;
|
|
4500
4661
|
var status = response.status;
|
|
4501
4662
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4508,12 +4669,12 @@
|
|
|
4508
4669
|
_headers[key] = response.headers.get(key);
|
|
4509
4670
|
}
|
|
4510
4671
|
}
|
|
4511
|
-
catch (
|
|
4672
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4512
4673
|
finally {
|
|
4513
4674
|
try {
|
|
4514
4675
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4515
4676
|
}
|
|
4516
|
-
finally { if (
|
|
4677
|
+
finally { if (e_45) throw e_45.error; }
|
|
4517
4678
|
}
|
|
4518
4679
|
}
|
|
4519
4680
|
if (status === 200) {
|
|
@@ -4594,7 +4755,7 @@
|
|
|
4594
4755
|
}));
|
|
4595
4756
|
};
|
|
4596
4757
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
4597
|
-
var
|
|
4758
|
+
var e_46, _a;
|
|
4598
4759
|
var _this = this;
|
|
4599
4760
|
var status = response.status;
|
|
4600
4761
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4607,12 +4768,12 @@
|
|
|
4607
4768
|
_headers[key] = response.headers.get(key);
|
|
4608
4769
|
}
|
|
4609
4770
|
}
|
|
4610
|
-
catch (
|
|
4771
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4611
4772
|
finally {
|
|
4612
4773
|
try {
|
|
4613
4774
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4614
4775
|
}
|
|
4615
|
-
finally { if (
|
|
4776
|
+
finally { if (e_46) throw e_46.error; }
|
|
4616
4777
|
}
|
|
4617
4778
|
}
|
|
4618
4779
|
if (status === 200) {
|
|
@@ -4701,7 +4862,7 @@
|
|
|
4701
4862
|
}));
|
|
4702
4863
|
};
|
|
4703
4864
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
4704
|
-
var
|
|
4865
|
+
var e_47, _a;
|
|
4705
4866
|
var _this = this;
|
|
4706
4867
|
var status = response.status;
|
|
4707
4868
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4714,12 +4875,12 @@
|
|
|
4714
4875
|
_headers[key] = response.headers.get(key);
|
|
4715
4876
|
}
|
|
4716
4877
|
}
|
|
4717
|
-
catch (
|
|
4878
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4718
4879
|
finally {
|
|
4719
4880
|
try {
|
|
4720
4881
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4721
4882
|
}
|
|
4722
|
-
finally { if (
|
|
4883
|
+
finally { if (e_47) throw e_47.error; }
|
|
4723
4884
|
}
|
|
4724
4885
|
}
|
|
4725
4886
|
if (status === 200) {
|
|
@@ -4805,7 +4966,7 @@
|
|
|
4805
4966
|
}));
|
|
4806
4967
|
};
|
|
4807
4968
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
4808
|
-
var
|
|
4969
|
+
var e_48, _a;
|
|
4809
4970
|
var _this = this;
|
|
4810
4971
|
var status = response.status;
|
|
4811
4972
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4818,12 +4979,12 @@
|
|
|
4818
4979
|
_headers[key] = response.headers.get(key);
|
|
4819
4980
|
}
|
|
4820
4981
|
}
|
|
4821
|
-
catch (
|
|
4982
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4822
4983
|
finally {
|
|
4823
4984
|
try {
|
|
4824
4985
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4825
4986
|
}
|
|
4826
|
-
finally { if (
|
|
4987
|
+
finally { if (e_48) throw e_48.error; }
|
|
4827
4988
|
}
|
|
4828
4989
|
}
|
|
4829
4990
|
if (status === 201) {
|
|
@@ -4900,7 +5061,7 @@
|
|
|
4900
5061
|
}));
|
|
4901
5062
|
};
|
|
4902
5063
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
4903
|
-
var
|
|
5064
|
+
var e_49, _a;
|
|
4904
5065
|
var _this = this;
|
|
4905
5066
|
var status = response.status;
|
|
4906
5067
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4913,12 +5074,12 @@
|
|
|
4913
5074
|
_headers[key] = response.headers.get(key);
|
|
4914
5075
|
}
|
|
4915
5076
|
}
|
|
4916
|
-
catch (
|
|
5077
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
4917
5078
|
finally {
|
|
4918
5079
|
try {
|
|
4919
5080
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4920
5081
|
}
|
|
4921
|
-
finally { if (
|
|
5082
|
+
finally { if (e_49) throw e_49.error; }
|
|
4922
5083
|
}
|
|
4923
5084
|
}
|
|
4924
5085
|
if (status === 201) {
|
|
@@ -4996,7 +5157,7 @@
|
|
|
4996
5157
|
}));
|
|
4997
5158
|
};
|
|
4998
5159
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
4999
|
-
var
|
|
5160
|
+
var e_50, _a;
|
|
5000
5161
|
var _this = this;
|
|
5001
5162
|
var status = response.status;
|
|
5002
5163
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5009,12 +5170,12 @@
|
|
|
5009
5170
|
_headers[key] = response.headers.get(key);
|
|
5010
5171
|
}
|
|
5011
5172
|
}
|
|
5012
|
-
catch (
|
|
5173
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
5013
5174
|
finally {
|
|
5014
5175
|
try {
|
|
5015
5176
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5016
5177
|
}
|
|
5017
|
-
finally { if (
|
|
5178
|
+
finally { if (e_50) throw e_50.error; }
|
|
5018
5179
|
}
|
|
5019
5180
|
}
|
|
5020
5181
|
if (status === 200 || status === 206) {
|
|
@@ -5093,7 +5254,7 @@
|
|
|
5093
5254
|
}));
|
|
5094
5255
|
};
|
|
5095
5256
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
5096
|
-
var
|
|
5257
|
+
var e_51, _a;
|
|
5097
5258
|
var _this = this;
|
|
5098
5259
|
var status = response.status;
|
|
5099
5260
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5106,12 +5267,12 @@
|
|
|
5106
5267
|
_headers[key] = response.headers.get(key);
|
|
5107
5268
|
}
|
|
5108
5269
|
}
|
|
5109
|
-
catch (
|
|
5270
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
5110
5271
|
finally {
|
|
5111
5272
|
try {
|
|
5112
5273
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5113
5274
|
}
|
|
5114
|
-
finally { if (
|
|
5275
|
+
finally { if (e_51) throw e_51.error; }
|
|
5115
5276
|
}
|
|
5116
5277
|
}
|
|
5117
5278
|
if (status === 200 || status === 206) {
|
|
@@ -5189,7 +5350,7 @@
|
|
|
5189
5350
|
}));
|
|
5190
5351
|
};
|
|
5191
5352
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
5192
|
-
var
|
|
5353
|
+
var e_52, _a;
|
|
5193
5354
|
var _this = this;
|
|
5194
5355
|
var status = response.status;
|
|
5195
5356
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5202,12 +5363,12 @@
|
|
|
5202
5363
|
_headers[key] = response.headers.get(key);
|
|
5203
5364
|
}
|
|
5204
5365
|
}
|
|
5205
|
-
catch (
|
|
5366
|
+
catch (e_52_1) { e_52 = { error: e_52_1 }; }
|
|
5206
5367
|
finally {
|
|
5207
5368
|
try {
|
|
5208
5369
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5209
5370
|
}
|
|
5210
|
-
finally { if (
|
|
5371
|
+
finally { if (e_52) throw e_52.error; }
|
|
5211
5372
|
}
|
|
5212
5373
|
}
|
|
5213
5374
|
if (status === 200 || status === 206) {
|
|
@@ -5288,7 +5449,7 @@
|
|
|
5288
5449
|
}));
|
|
5289
5450
|
};
|
|
5290
5451
|
DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
|
|
5291
|
-
var
|
|
5452
|
+
var e_53, _a;
|
|
5292
5453
|
var _this = this;
|
|
5293
5454
|
var status = response.status;
|
|
5294
5455
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5301,12 +5462,12 @@
|
|
|
5301
5462
|
_headers[key] = response.headers.get(key);
|
|
5302
5463
|
}
|
|
5303
5464
|
}
|
|
5304
|
-
catch (
|
|
5465
|
+
catch (e_53_1) { e_53 = { error: e_53_1 }; }
|
|
5305
5466
|
finally {
|
|
5306
5467
|
try {
|
|
5307
5468
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5308
5469
|
}
|
|
5309
|
-
finally { if (
|
|
5470
|
+
finally { if (e_53) throw e_53.error; }
|
|
5310
5471
|
}
|
|
5311
5472
|
}
|
|
5312
5473
|
if (status === 200) {
|
|
@@ -5417,7 +5578,7 @@
|
|
|
5417
5578
|
}));
|
|
5418
5579
|
};
|
|
5419
5580
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
5420
|
-
var
|
|
5581
|
+
var e_54, _a;
|
|
5421
5582
|
var _this = this;
|
|
5422
5583
|
var status = response.status;
|
|
5423
5584
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5430,12 +5591,12 @@
|
|
|
5430
5591
|
_headers[key] = response.headers.get(key);
|
|
5431
5592
|
}
|
|
5432
5593
|
}
|
|
5433
|
-
catch (
|
|
5594
|
+
catch (e_54_1) { e_54 = { error: e_54_1 }; }
|
|
5434
5595
|
finally {
|
|
5435
5596
|
try {
|
|
5436
5597
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5437
5598
|
}
|
|
5438
|
-
finally { if (
|
|
5599
|
+
finally { if (e_54) throw e_54.error; }
|
|
5439
5600
|
}
|
|
5440
5601
|
}
|
|
5441
5602
|
if (status === 200) {
|
|
@@ -5499,7 +5660,7 @@
|
|
|
5499
5660
|
}));
|
|
5500
5661
|
};
|
|
5501
5662
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
5502
|
-
var
|
|
5663
|
+
var e_55, _a;
|
|
5503
5664
|
var _this = this;
|
|
5504
5665
|
var status = response.status;
|
|
5505
5666
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5512,12 +5673,12 @@
|
|
|
5512
5673
|
_headers[key] = response.headers.get(key);
|
|
5513
5674
|
}
|
|
5514
5675
|
}
|
|
5515
|
-
catch (
|
|
5676
|
+
catch (e_55_1) { e_55 = { error: e_55_1 }; }
|
|
5516
5677
|
finally {
|
|
5517
5678
|
try {
|
|
5518
5679
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5519
5680
|
}
|
|
5520
|
-
finally { if (
|
|
5681
|
+
finally { if (e_55) throw e_55.error; }
|
|
5521
5682
|
}
|
|
5522
5683
|
}
|
|
5523
5684
|
if (status === 200 || status === 206) {
|
|
@@ -5588,7 +5749,7 @@
|
|
|
5588
5749
|
}));
|
|
5589
5750
|
};
|
|
5590
5751
|
DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
|
|
5591
|
-
var
|
|
5752
|
+
var e_56, _a;
|
|
5592
5753
|
var _this = this;
|
|
5593
5754
|
var status = response.status;
|
|
5594
5755
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5601,12 +5762,12 @@
|
|
|
5601
5762
|
_headers[key] = response.headers.get(key);
|
|
5602
5763
|
}
|
|
5603
5764
|
}
|
|
5604
|
-
catch (
|
|
5765
|
+
catch (e_56_1) { e_56 = { error: e_56_1 }; }
|
|
5605
5766
|
finally {
|
|
5606
5767
|
try {
|
|
5607
5768
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5608
5769
|
}
|
|
5609
|
-
finally { if (
|
|
5770
|
+
finally { if (e_56) throw e_56.error; }
|
|
5610
5771
|
}
|
|
5611
5772
|
}
|
|
5612
5773
|
if (status === 200) {
|
|
@@ -5671,7 +5832,7 @@
|
|
|
5671
5832
|
}));
|
|
5672
5833
|
};
|
|
5673
5834
|
DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
|
|
5674
|
-
var
|
|
5835
|
+
var e_57, _a;
|
|
5675
5836
|
var _this = this;
|
|
5676
5837
|
var status = response.status;
|
|
5677
5838
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5684,12 +5845,12 @@
|
|
|
5684
5845
|
_headers[key] = response.headers.get(key);
|
|
5685
5846
|
}
|
|
5686
5847
|
}
|
|
5687
|
-
catch (
|
|
5848
|
+
catch (e_57_1) { e_57 = { error: e_57_1 }; }
|
|
5688
5849
|
finally {
|
|
5689
5850
|
try {
|
|
5690
5851
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5691
5852
|
}
|
|
5692
|
-
finally { if (
|
|
5853
|
+
finally { if (e_57) throw e_57.error; }
|
|
5693
5854
|
}
|
|
5694
5855
|
}
|
|
5695
5856
|
if (status === 200) {
|
|
@@ -5753,7 +5914,7 @@
|
|
|
5753
5914
|
}));
|
|
5754
5915
|
};
|
|
5755
5916
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
5756
|
-
var
|
|
5917
|
+
var e_58, _a;
|
|
5757
5918
|
var _this = this;
|
|
5758
5919
|
var status = response.status;
|
|
5759
5920
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5766,12 +5927,12 @@
|
|
|
5766
5927
|
_headers[key] = response.headers.get(key);
|
|
5767
5928
|
}
|
|
5768
5929
|
}
|
|
5769
|
-
catch (
|
|
5930
|
+
catch (e_58_1) { e_58 = { error: e_58_1 }; }
|
|
5770
5931
|
finally {
|
|
5771
5932
|
try {
|
|
5772
5933
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5773
5934
|
}
|
|
5774
|
-
finally { if (
|
|
5935
|
+
finally { if (e_58) throw e_58.error; }
|
|
5775
5936
|
}
|
|
5776
5937
|
}
|
|
5777
5938
|
if (status === 200 || status === 206) {
|
|
@@ -5838,7 +5999,7 @@
|
|
|
5838
5999
|
}));
|
|
5839
6000
|
};
|
|
5840
6001
|
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
5841
|
-
var
|
|
6002
|
+
var e_59, _a;
|
|
5842
6003
|
var _this = this;
|
|
5843
6004
|
var status = response.status;
|
|
5844
6005
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5851,12 +6012,12 @@
|
|
|
5851
6012
|
_headers[key] = response.headers.get(key);
|
|
5852
6013
|
}
|
|
5853
6014
|
}
|
|
5854
|
-
catch (
|
|
6015
|
+
catch (e_59_1) { e_59 = { error: e_59_1 }; }
|
|
5855
6016
|
finally {
|
|
5856
6017
|
try {
|
|
5857
6018
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5858
6019
|
}
|
|
5859
|
-
finally { if (
|
|
6020
|
+
finally { if (e_59) throw e_59.error; }
|
|
5860
6021
|
}
|
|
5861
6022
|
}
|
|
5862
6023
|
if (status === 200 || status === 206) {
|
|
@@ -5920,7 +6081,7 @@
|
|
|
5920
6081
|
}));
|
|
5921
6082
|
};
|
|
5922
6083
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
5923
|
-
var
|
|
6084
|
+
var e_60, _a;
|
|
5924
6085
|
var _this = this;
|
|
5925
6086
|
var status = response.status;
|
|
5926
6087
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5933,12 +6094,12 @@
|
|
|
5933
6094
|
_headers[key] = response.headers.get(key);
|
|
5934
6095
|
}
|
|
5935
6096
|
}
|
|
5936
|
-
catch (
|
|
6097
|
+
catch (e_60_1) { e_60 = { error: e_60_1 }; }
|
|
5937
6098
|
finally {
|
|
5938
6099
|
try {
|
|
5939
6100
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5940
6101
|
}
|
|
5941
|
-
finally { if (
|
|
6102
|
+
finally { if (e_60) throw e_60.error; }
|
|
5942
6103
|
}
|
|
5943
6104
|
}
|
|
5944
6105
|
if (status === 200) {
|
|
@@ -6003,7 +6164,7 @@
|
|
|
6003
6164
|
}));
|
|
6004
6165
|
};
|
|
6005
6166
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
6006
|
-
var
|
|
6167
|
+
var e_61, _a;
|
|
6007
6168
|
var _this = this;
|
|
6008
6169
|
var status = response.status;
|
|
6009
6170
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6016,12 +6177,12 @@
|
|
|
6016
6177
|
_headers[key] = response.headers.get(key);
|
|
6017
6178
|
}
|
|
6018
6179
|
}
|
|
6019
|
-
catch (
|
|
6180
|
+
catch (e_61_1) { e_61 = { error: e_61_1 }; }
|
|
6020
6181
|
finally {
|
|
6021
6182
|
try {
|
|
6022
6183
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6023
6184
|
}
|
|
6024
|
-
finally { if (
|
|
6185
|
+
finally { if (e_61) throw e_61.error; }
|
|
6025
6186
|
}
|
|
6026
6187
|
}
|
|
6027
6188
|
if (status === 200) {
|
|
@@ -6086,7 +6247,7 @@
|
|
|
6086
6247
|
}));
|
|
6087
6248
|
};
|
|
6088
6249
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
6089
|
-
var
|
|
6250
|
+
var e_62, _a;
|
|
6090
6251
|
var _this = this;
|
|
6091
6252
|
var status = response.status;
|
|
6092
6253
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6099,12 +6260,12 @@
|
|
|
6099
6260
|
_headers[key] = response.headers.get(key);
|
|
6100
6261
|
}
|
|
6101
6262
|
}
|
|
6102
|
-
catch (
|
|
6263
|
+
catch (e_62_1) { e_62 = { error: e_62_1 }; }
|
|
6103
6264
|
finally {
|
|
6104
6265
|
try {
|
|
6105
6266
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6106
6267
|
}
|
|
6107
|
-
finally { if (
|
|
6268
|
+
finally { if (e_62) throw e_62.error; }
|
|
6108
6269
|
}
|
|
6109
6270
|
}
|
|
6110
6271
|
if (status === 200) {
|
|
@@ -6145,10 +6306,12 @@
|
|
|
6145
6306
|
* @param alphaMask (optional)
|
|
6146
6307
|
* @param page (optional)
|
|
6147
6308
|
* @param colorizeColor (optional)
|
|
6309
|
+
* @param rw (optional)
|
|
6310
|
+
* @param rh (optional)
|
|
6148
6311
|
* @param tenantId (optional) Tenant identifier
|
|
6149
6312
|
* @return Success
|
|
6150
6313
|
*/
|
|
6151
|
-
DesignAtomsViewerApiClient.prototype.img = function (f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, tenantId) {
|
|
6314
|
+
DesignAtomsViewerApiClient.prototype.img = function (f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
|
|
6152
6315
|
var _this = this;
|
|
6153
6316
|
var url_ = this.baseUrl + "/api/atoms/v1/ccviewer/img?";
|
|
6154
6317
|
if (f !== undefined && f !== null)
|
|
@@ -6183,6 +6346,10 @@
|
|
|
6183
6346
|
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
6184
6347
|
if (colorizeColor !== undefined && colorizeColor !== null)
|
|
6185
6348
|
url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
|
|
6349
|
+
if (rw !== undefined && rw !== null)
|
|
6350
|
+
url_ += "rw=" + encodeURIComponent("" + rw) + "&";
|
|
6351
|
+
if (rh !== undefined && rh !== null)
|
|
6352
|
+
url_ += "rh=" + encodeURIComponent("" + rh) + "&";
|
|
6186
6353
|
if (tenantId === null)
|
|
6187
6354
|
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
6188
6355
|
else if (tenantId !== undefined)
|
|
@@ -6213,7 +6380,7 @@
|
|
|
6213
6380
|
}));
|
|
6214
6381
|
};
|
|
6215
6382
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
6216
|
-
var
|
|
6383
|
+
var e_63, _a;
|
|
6217
6384
|
var _this = this;
|
|
6218
6385
|
var status = response.status;
|
|
6219
6386
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6226,12 +6393,12 @@
|
|
|
6226
6393
|
_headers[key] = response.headers.get(key);
|
|
6227
6394
|
}
|
|
6228
6395
|
}
|
|
6229
|
-
catch (
|
|
6396
|
+
catch (e_63_1) { e_63 = { error: e_63_1 }; }
|
|
6230
6397
|
finally {
|
|
6231
6398
|
try {
|
|
6232
6399
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6233
6400
|
}
|
|
6234
|
-
finally { if (
|
|
6401
|
+
finally { if (e_63) throw e_63.error; }
|
|
6235
6402
|
}
|
|
6236
6403
|
}
|
|
6237
6404
|
if (status === 200 || status === 206) {
|
|
@@ -6303,7 +6470,7 @@
|
|
|
6303
6470
|
}));
|
|
6304
6471
|
};
|
|
6305
6472
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
6306
|
-
var
|
|
6473
|
+
var e_64, _a;
|
|
6307
6474
|
var _this = this;
|
|
6308
6475
|
var status = response.status;
|
|
6309
6476
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6316,12 +6483,12 @@
|
|
|
6316
6483
|
_headers[key] = response.headers.get(key);
|
|
6317
6484
|
}
|
|
6318
6485
|
}
|
|
6319
|
-
catch (
|
|
6486
|
+
catch (e_64_1) { e_64 = { error: e_64_1 }; }
|
|
6320
6487
|
finally {
|
|
6321
6488
|
try {
|
|
6322
6489
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6323
6490
|
}
|
|
6324
|
-
finally { if (
|
|
6491
|
+
finally { if (e_64) throw e_64.error; }
|
|
6325
6492
|
}
|
|
6326
6493
|
}
|
|
6327
6494
|
if (status === 200) {
|
|
@@ -6385,7 +6552,7 @@
|
|
|
6385
6552
|
}));
|
|
6386
6553
|
};
|
|
6387
6554
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
6388
|
-
var
|
|
6555
|
+
var e_65, _a;
|
|
6389
6556
|
var _this = this;
|
|
6390
6557
|
var status = response.status;
|
|
6391
6558
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6398,12 +6565,12 @@
|
|
|
6398
6565
|
_headers[key] = response.headers.get(key);
|
|
6399
6566
|
}
|
|
6400
6567
|
}
|
|
6401
|
-
catch (
|
|
6568
|
+
catch (e_65_1) { e_65 = { error: e_65_1 }; }
|
|
6402
6569
|
finally {
|
|
6403
6570
|
try {
|
|
6404
6571
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6405
6572
|
}
|
|
6406
|
-
finally { if (
|
|
6573
|
+
finally { if (e_65) throw e_65.error; }
|
|
6407
6574
|
}
|
|
6408
6575
|
}
|
|
6409
6576
|
if (status === 200 || status === 206) {
|
|
@@ -6478,7 +6645,7 @@
|
|
|
6478
6645
|
}));
|
|
6479
6646
|
};
|
|
6480
6647
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
6481
|
-
var
|
|
6648
|
+
var e_66, _a;
|
|
6482
6649
|
var _this = this;
|
|
6483
6650
|
var status = response.status;
|
|
6484
6651
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6491,12 +6658,12 @@
|
|
|
6491
6658
|
_headers[key] = response.headers.get(key);
|
|
6492
6659
|
}
|
|
6493
6660
|
}
|
|
6494
|
-
catch (
|
|
6661
|
+
catch (e_66_1) { e_66 = { error: e_66_1 }; }
|
|
6495
6662
|
finally {
|
|
6496
6663
|
try {
|
|
6497
6664
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6498
6665
|
}
|
|
6499
|
-
finally { if (
|
|
6666
|
+
finally { if (e_66) throw e_66.error; }
|
|
6500
6667
|
}
|
|
6501
6668
|
}
|
|
6502
6669
|
if (status === 200 || status === 206) {
|
|
@@ -6528,14 +6695,65 @@
|
|
|
6528
6695
|
};
|
|
6529
6696
|
/**
|
|
6530
6697
|
* @param f (optional)
|
|
6698
|
+
* @param w (optional)
|
|
6699
|
+
* @param h (optional)
|
|
6700
|
+
* @param cmyk (optional)
|
|
6701
|
+
* @param rgb (optional)
|
|
6702
|
+
* @param grayscale (optional)
|
|
6703
|
+
* @param target (optional)
|
|
6704
|
+
* @param sq (optional)
|
|
6705
|
+
* @param effect (optional)
|
|
6706
|
+
* @param kp (optional)
|
|
6707
|
+
* @param color (optional)
|
|
6708
|
+
* @param obm (optional)
|
|
6709
|
+
* @param oo (optional)
|
|
6710
|
+
* @param alphaMask (optional)
|
|
6711
|
+
* @param page (optional)
|
|
6712
|
+
* @param colorizeColor (optional)
|
|
6713
|
+
* @param rw (optional)
|
|
6714
|
+
* @param rh (optional)
|
|
6531
6715
|
* @param tenantId (optional) Tenant identifier
|
|
6532
6716
|
* @return Success
|
|
6533
6717
|
*/
|
|
6534
|
-
DesignAtomsViewerApiClient.prototype.svg = function (f, tenantId) {
|
|
6718
|
+
DesignAtomsViewerApiClient.prototype.svg = function (f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
|
|
6535
6719
|
var _this = this;
|
|
6536
6720
|
var url_ = this.baseUrl + "/api/atoms/v1/ccviewer/svg?";
|
|
6537
6721
|
if (f !== undefined && f !== null)
|
|
6538
6722
|
url_ += "f=" + encodeURIComponent("" + f) + "&";
|
|
6723
|
+
if (w !== undefined && w !== null)
|
|
6724
|
+
url_ += "w=" + encodeURIComponent("" + w) + "&";
|
|
6725
|
+
if (h !== undefined && h !== null)
|
|
6726
|
+
url_ += "h=" + encodeURIComponent("" + h) + "&";
|
|
6727
|
+
if (cmyk !== undefined && cmyk !== null)
|
|
6728
|
+
url_ += "cmyk=" + encodeURIComponent("" + cmyk) + "&";
|
|
6729
|
+
if (rgb !== undefined && rgb !== null)
|
|
6730
|
+
url_ += "rgb=" + encodeURIComponent("" + rgb) + "&";
|
|
6731
|
+
if (grayscale !== undefined && grayscale !== null)
|
|
6732
|
+
url_ += "grayscale=" + encodeURIComponent("" + grayscale) + "&";
|
|
6733
|
+
if (target !== undefined && target !== null)
|
|
6734
|
+
url_ += "target=" + encodeURIComponent("" + target) + "&";
|
|
6735
|
+
if (sq !== undefined && sq !== null)
|
|
6736
|
+
url_ += "sq=" + encodeURIComponent("" + sq) + "&";
|
|
6737
|
+
if (effect !== undefined && effect !== null)
|
|
6738
|
+
url_ += "effect=" + encodeURIComponent("" + effect) + "&";
|
|
6739
|
+
if (kp !== undefined && kp !== null)
|
|
6740
|
+
url_ += "kp=" + encodeURIComponent("" + kp) + "&";
|
|
6741
|
+
if (color !== undefined && color !== null)
|
|
6742
|
+
url_ += "color=" + encodeURIComponent("" + color) + "&";
|
|
6743
|
+
if (obm !== undefined && obm !== null)
|
|
6744
|
+
url_ += "obm=" + encodeURIComponent("" + obm) + "&";
|
|
6745
|
+
if (oo !== undefined && oo !== null)
|
|
6746
|
+
url_ += "oo=" + encodeURIComponent("" + oo) + "&";
|
|
6747
|
+
if (alphaMask !== undefined && alphaMask !== null)
|
|
6748
|
+
url_ += "alphaMask=" + encodeURIComponent("" + alphaMask) + "&";
|
|
6749
|
+
if (page !== undefined && page !== null)
|
|
6750
|
+
url_ += "page=" + encodeURIComponent("" + page) + "&";
|
|
6751
|
+
if (colorizeColor !== undefined && colorizeColor !== null)
|
|
6752
|
+
url_ += "colorizeColor=" + encodeURIComponent("" + colorizeColor) + "&";
|
|
6753
|
+
if (rw !== undefined && rw !== null)
|
|
6754
|
+
url_ += "rw=" + encodeURIComponent("" + rw) + "&";
|
|
6755
|
+
if (rh !== undefined && rh !== null)
|
|
6756
|
+
url_ += "rh=" + encodeURIComponent("" + rh) + "&";
|
|
6539
6757
|
if (tenantId === null)
|
|
6540
6758
|
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
6541
6759
|
else if (tenantId !== undefined)
|
|
@@ -6566,7 +6784,7 @@
|
|
|
6566
6784
|
}));
|
|
6567
6785
|
};
|
|
6568
6786
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
6569
|
-
var
|
|
6787
|
+
var e_67, _a;
|
|
6570
6788
|
var _this = this;
|
|
6571
6789
|
var status = response.status;
|
|
6572
6790
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6579,12 +6797,12 @@
|
|
|
6579
6797
|
_headers[key] = response.headers.get(key);
|
|
6580
6798
|
}
|
|
6581
6799
|
}
|
|
6582
|
-
catch (
|
|
6800
|
+
catch (e_67_1) { e_67 = { error: e_67_1 }; }
|
|
6583
6801
|
finally {
|
|
6584
6802
|
try {
|
|
6585
6803
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6586
6804
|
}
|
|
6587
|
-
finally { if (
|
|
6805
|
+
finally { if (e_67) throw e_67.error; }
|
|
6588
6806
|
}
|
|
6589
6807
|
}
|
|
6590
6808
|
if (status === 200 || status === 206) {
|
|
@@ -6659,7 +6877,7 @@
|
|
|
6659
6877
|
}));
|
|
6660
6878
|
};
|
|
6661
6879
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
6662
|
-
var
|
|
6880
|
+
var e_68, _a;
|
|
6663
6881
|
var _this = this;
|
|
6664
6882
|
var status = response.status;
|
|
6665
6883
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6672,12 +6890,12 @@
|
|
|
6672
6890
|
_headers[key] = response.headers.get(key);
|
|
6673
6891
|
}
|
|
6674
6892
|
}
|
|
6675
|
-
catch (
|
|
6893
|
+
catch (e_68_1) { e_68 = { error: e_68_1 }; }
|
|
6676
6894
|
finally {
|
|
6677
6895
|
try {
|
|
6678
6896
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6679
6897
|
}
|
|
6680
|
-
finally { if (
|
|
6898
|
+
finally { if (e_68) throw e_68.error; }
|
|
6681
6899
|
}
|
|
6682
6900
|
}
|
|
6683
6901
|
if (status === 200 || status === 206) {
|
|
@@ -6753,7 +6971,7 @@
|
|
|
6753
6971
|
}));
|
|
6754
6972
|
};
|
|
6755
6973
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
6756
|
-
var
|
|
6974
|
+
var e_69, _a;
|
|
6757
6975
|
var _this = this;
|
|
6758
6976
|
var status = response.status;
|
|
6759
6977
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6766,12 +6984,12 @@
|
|
|
6766
6984
|
_headers[key] = response.headers.get(key);
|
|
6767
6985
|
}
|
|
6768
6986
|
}
|
|
6769
|
-
catch (
|
|
6987
|
+
catch (e_69_1) { e_69 = { error: e_69_1 }; }
|
|
6770
6988
|
finally {
|
|
6771
6989
|
try {
|
|
6772
6990
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6773
6991
|
}
|
|
6774
|
-
finally { if (
|
|
6992
|
+
finally { if (e_69) throw e_69.error; }
|
|
6775
6993
|
}
|
|
6776
6994
|
}
|
|
6777
6995
|
if (status === 200) {
|
|
@@ -6836,7 +7054,7 @@
|
|
|
6836
7054
|
}));
|
|
6837
7055
|
};
|
|
6838
7056
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
6839
|
-
var
|
|
7057
|
+
var e_70, _a;
|
|
6840
7058
|
var _this = this;
|
|
6841
7059
|
var status = response.status;
|
|
6842
7060
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6849,12 +7067,12 @@
|
|
|
6849
7067
|
_headers[key] = response.headers.get(key);
|
|
6850
7068
|
}
|
|
6851
7069
|
}
|
|
6852
|
-
catch (
|
|
7070
|
+
catch (e_70_1) { e_70 = { error: e_70_1 }; }
|
|
6853
7071
|
finally {
|
|
6854
7072
|
try {
|
|
6855
7073
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6856
7074
|
}
|
|
6857
|
-
finally { if (
|
|
7075
|
+
finally { if (e_70) throw e_70.error; }
|
|
6858
7076
|
}
|
|
6859
7077
|
}
|
|
6860
7078
|
if (status === 200) {
|
|
@@ -6919,7 +7137,7 @@
|
|
|
6919
7137
|
}));
|
|
6920
7138
|
};
|
|
6921
7139
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
6922
|
-
var
|
|
7140
|
+
var e_71, _a;
|
|
6923
7141
|
var _this = this;
|
|
6924
7142
|
var status = response.status;
|
|
6925
7143
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6932,12 +7150,12 @@
|
|
|
6932
7150
|
_headers[key] = response.headers.get(key);
|
|
6933
7151
|
}
|
|
6934
7152
|
}
|
|
6935
|
-
catch (
|
|
7153
|
+
catch (e_71_1) { e_71 = { error: e_71_1 }; }
|
|
6936
7154
|
finally {
|
|
6937
7155
|
try {
|
|
6938
7156
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6939
7157
|
}
|
|
6940
|
-
finally { if (
|
|
7158
|
+
finally { if (e_71) throw e_71.error; }
|
|
6941
7159
|
}
|
|
6942
7160
|
}
|
|
6943
7161
|
if (status === 200) {
|
|
@@ -7002,7 +7220,7 @@
|
|
|
7002
7220
|
}));
|
|
7003
7221
|
};
|
|
7004
7222
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
7005
|
-
var
|
|
7223
|
+
var e_72, _a;
|
|
7006
7224
|
var _this = this;
|
|
7007
7225
|
var status = response.status;
|
|
7008
7226
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7015,12 +7233,12 @@
|
|
|
7015
7233
|
_headers[key] = response.headers.get(key);
|
|
7016
7234
|
}
|
|
7017
7235
|
}
|
|
7018
|
-
catch (
|
|
7236
|
+
catch (e_72_1) { e_72 = { error: e_72_1 }; }
|
|
7019
7237
|
finally {
|
|
7020
7238
|
try {
|
|
7021
7239
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7022
7240
|
}
|
|
7023
|
-
finally { if (
|
|
7241
|
+
finally { if (e_72) throw e_72.error; }
|
|
7024
7242
|
}
|
|
7025
7243
|
}
|
|
7026
7244
|
if (status === 200) {
|
|
@@ -7085,7 +7303,7 @@
|
|
|
7085
7303
|
}));
|
|
7086
7304
|
};
|
|
7087
7305
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
7088
|
-
var
|
|
7306
|
+
var e_73, _a;
|
|
7089
7307
|
var _this = this;
|
|
7090
7308
|
var status = response.status;
|
|
7091
7309
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7098,12 +7316,12 @@
|
|
|
7098
7316
|
_headers[key] = response.headers.get(key);
|
|
7099
7317
|
}
|
|
7100
7318
|
}
|
|
7101
|
-
catch (
|
|
7319
|
+
catch (e_73_1) { e_73 = { error: e_73_1 }; }
|
|
7102
7320
|
finally {
|
|
7103
7321
|
try {
|
|
7104
7322
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7105
7323
|
}
|
|
7106
|
-
finally { if (
|
|
7324
|
+
finally { if (e_73) throw e_73.error; }
|
|
7107
7325
|
}
|
|
7108
7326
|
}
|
|
7109
7327
|
if (status === 200) {
|
|
@@ -7168,7 +7386,7 @@
|
|
|
7168
7386
|
}));
|
|
7169
7387
|
};
|
|
7170
7388
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
7171
|
-
var
|
|
7389
|
+
var e_74, _a;
|
|
7172
7390
|
var _this = this;
|
|
7173
7391
|
var status = response.status;
|
|
7174
7392
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7181,12 +7399,12 @@
|
|
|
7181
7399
|
_headers[key] = response.headers.get(key);
|
|
7182
7400
|
}
|
|
7183
7401
|
}
|
|
7184
|
-
catch (
|
|
7402
|
+
catch (e_74_1) { e_74 = { error: e_74_1 }; }
|
|
7185
7403
|
finally {
|
|
7186
7404
|
try {
|
|
7187
7405
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7188
7406
|
}
|
|
7189
|
-
finally { if (
|
|
7407
|
+
finally { if (e_74) throw e_74.error; }
|
|
7190
7408
|
}
|
|
7191
7409
|
}
|
|
7192
7410
|
if (status === 200) {
|
|
@@ -7251,7 +7469,7 @@
|
|
|
7251
7469
|
}));
|
|
7252
7470
|
};
|
|
7253
7471
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
7254
|
-
var
|
|
7472
|
+
var e_75, _a;
|
|
7255
7473
|
var _this = this;
|
|
7256
7474
|
var status = response.status;
|
|
7257
7475
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7264,12 +7482,12 @@
|
|
|
7264
7482
|
_headers[key] = response.headers.get(key);
|
|
7265
7483
|
}
|
|
7266
7484
|
}
|
|
7267
|
-
catch (
|
|
7485
|
+
catch (e_75_1) { e_75 = { error: e_75_1 }; }
|
|
7268
7486
|
finally {
|
|
7269
7487
|
try {
|
|
7270
7488
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7271
7489
|
}
|
|
7272
|
-
finally { if (
|
|
7490
|
+
finally { if (e_75) throw e_75.error; }
|
|
7273
7491
|
}
|
|
7274
7492
|
}
|
|
7275
7493
|
if (status === 200) {
|
|
@@ -7334,7 +7552,7 @@
|
|
|
7334
7552
|
}));
|
|
7335
7553
|
};
|
|
7336
7554
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
7337
|
-
var
|
|
7555
|
+
var e_76, _a;
|
|
7338
7556
|
var _this = this;
|
|
7339
7557
|
var status = response.status;
|
|
7340
7558
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7347,12 +7565,12 @@
|
|
|
7347
7565
|
_headers[key] = response.headers.get(key);
|
|
7348
7566
|
}
|
|
7349
7567
|
}
|
|
7350
|
-
catch (
|
|
7568
|
+
catch (e_76_1) { e_76 = { error: e_76_1 }; }
|
|
7351
7569
|
finally {
|
|
7352
7570
|
try {
|
|
7353
7571
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7354
7572
|
}
|
|
7355
|
-
finally { if (
|
|
7573
|
+
finally { if (e_76) throw e_76.error; }
|
|
7356
7574
|
}
|
|
7357
7575
|
}
|
|
7358
7576
|
if (status === 200) {
|
|
@@ -7417,7 +7635,7 @@
|
|
|
7417
7635
|
}));
|
|
7418
7636
|
};
|
|
7419
7637
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
7420
|
-
var
|
|
7638
|
+
var e_77, _a;
|
|
7421
7639
|
var _this = this;
|
|
7422
7640
|
var status = response.status;
|
|
7423
7641
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7430,12 +7648,12 @@
|
|
|
7430
7648
|
_headers[key] = response.headers.get(key);
|
|
7431
7649
|
}
|
|
7432
7650
|
}
|
|
7433
|
-
catch (
|
|
7651
|
+
catch (e_77_1) { e_77 = { error: e_77_1 }; }
|
|
7434
7652
|
finally {
|
|
7435
7653
|
try {
|
|
7436
7654
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7437
7655
|
}
|
|
7438
|
-
finally { if (
|
|
7656
|
+
finally { if (e_77) throw e_77.error; }
|
|
7439
7657
|
}
|
|
7440
7658
|
}
|
|
7441
7659
|
if (status === 200) {
|
|
@@ -7500,7 +7718,7 @@
|
|
|
7500
7718
|
}));
|
|
7501
7719
|
};
|
|
7502
7720
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
7503
|
-
var
|
|
7721
|
+
var e_78, _a;
|
|
7504
7722
|
var _this = this;
|
|
7505
7723
|
var status = response.status;
|
|
7506
7724
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7513,12 +7731,12 @@
|
|
|
7513
7731
|
_headers[key] = response.headers.get(key);
|
|
7514
7732
|
}
|
|
7515
7733
|
}
|
|
7516
|
-
catch (
|
|
7734
|
+
catch (e_78_1) { e_78 = { error: e_78_1 }; }
|
|
7517
7735
|
finally {
|
|
7518
7736
|
try {
|
|
7519
7737
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7520
7738
|
}
|
|
7521
|
-
finally { if (
|
|
7739
|
+
finally { if (e_78) throw e_78.error; }
|
|
7522
7740
|
}
|
|
7523
7741
|
}
|
|
7524
7742
|
if (status === 200) {
|
|
@@ -7583,7 +7801,7 @@
|
|
|
7583
7801
|
}));
|
|
7584
7802
|
};
|
|
7585
7803
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
7586
|
-
var
|
|
7804
|
+
var e_79, _a;
|
|
7587
7805
|
var _this = this;
|
|
7588
7806
|
var status = response.status;
|
|
7589
7807
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7596,12 +7814,12 @@
|
|
|
7596
7814
|
_headers[key] = response.headers.get(key);
|
|
7597
7815
|
}
|
|
7598
7816
|
}
|
|
7599
|
-
catch (
|
|
7817
|
+
catch (e_79_1) { e_79 = { error: e_79_1 }; }
|
|
7600
7818
|
finally {
|
|
7601
7819
|
try {
|
|
7602
7820
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7603
7821
|
}
|
|
7604
|
-
finally { if (
|
|
7822
|
+
finally { if (e_79) throw e_79.error; }
|
|
7605
7823
|
}
|
|
7606
7824
|
}
|
|
7607
7825
|
if (status === 200) {
|
|
@@ -7648,9 +7866,13 @@
|
|
|
7648
7866
|
(function (ImagePreviewFormat) {
|
|
7649
7867
|
ImagePreviewFormat["Jpeg"] = "Jpeg";
|
|
7650
7868
|
ImagePreviewFormat["Png"] = "Png";
|
|
7651
|
-
ImagePreviewFormat["Tiff"] = "Tiff";
|
|
7652
|
-
ImagePreviewFormat["Pdf"] = "Pdf";
|
|
7653
7869
|
})(exports.ImagePreviewFormat || (exports.ImagePreviewFormat = {}));
|
|
7870
|
+
(function (ImagePreviewFitMode) {
|
|
7871
|
+
ImagePreviewFitMode["Fit"] = "Fit";
|
|
7872
|
+
ImagePreviewFitMode["Shrink"] = "Shrink";
|
|
7873
|
+
ImagePreviewFitMode["Resize"] = "Resize";
|
|
7874
|
+
ImagePreviewFitMode["Fill"] = "Fill";
|
|
7875
|
+
})(exports.ImagePreviewFitMode || (exports.ImagePreviewFitMode = {}));
|
|
7654
7876
|
(function (DesignElementType) {
|
|
7655
7877
|
DesignElementType["Product"] = "Product";
|
|
7656
7878
|
DesignElementType["Design"] = "Design";
|
|
@@ -7681,8 +7903,6 @@
|
|
|
7681
7903
|
(function (ProductPreviewFormat) {
|
|
7682
7904
|
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
7683
7905
|
ProductPreviewFormat["Png"] = "Png";
|
|
7684
|
-
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
7685
|
-
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
7686
7906
|
})(exports.ProductPreviewFormat || (exports.ProductPreviewFormat = {}));
|
|
7687
7907
|
(function (ProductProofFormat) {
|
|
7688
7908
|
ProductProofFormat["Jpeg"] = "Jpeg";
|