@aurigma/ng-design-atoms-api-client 2.70.1 → 2.71.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 +472 -241
- 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 +281 -62
- 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 +281 -62
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +263 -123
- package/package.json +1 -1
|
@@ -1263,27 +1263,38 @@
|
|
|
1263
1263
|
};
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
1266
|
-
This method accepts query parameters that control the output of the image.
|
|
1267
1266
|
* @param f (optional) The identifier of the original image file.
|
|
1268
1267
|
* @param w (optional) Target width of the resulting image.
|
|
1269
1268
|
* @param h (optional) Target height of the resulting image.
|
|
1270
1269
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
1271
1270
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
1272
1271
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
1273
|
-
* @param target (optional) Target color space, one of
|
|
1274
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
* @param
|
|
1280
|
-
|
|
1281
|
-
* @param
|
|
1282
|
-
|
|
1283
|
-
* @param
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1272
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
1273
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
1274
|
+
The default value is "false".
|
|
1275
|
+
* @param effect (optional) Effect applied to the image.
|
|
1276
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
1277
|
+
The default value is "None".
|
|
1278
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
1279
|
+
The default value is "false".
|
|
1280
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
1281
|
+
By default, it's an empty string.
|
|
1282
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
1283
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
1284
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
1285
|
+
By default, it's an empty string.
|
|
1286
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
1287
|
+
The default value is "null".
|
|
1288
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
1289
|
+
The default value is "false".
|
|
1290
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
1291
|
+
The default value is "0".
|
|
1292
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
1293
|
+
By default, it's an empty string.
|
|
1294
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
1295
|
+
The default value is "0".
|
|
1296
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
1297
|
+
The default value is "0".
|
|
1287
1298
|
* @return Success
|
|
1288
1299
|
*/
|
|
1289
1300
|
DesignAtomsCompatibilityApiClient.prototype.img = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
@@ -1660,20 +1671,32 @@
|
|
|
1660
1671
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
1661
1672
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
1662
1673
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
1663
|
-
* @param target (optional) Target color space, one of
|
|
1664
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
* @param
|
|
1670
|
-
|
|
1671
|
-
* @param
|
|
1672
|
-
|
|
1673
|
-
* @param
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1674
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
1675
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
1676
|
+
The default value is "false".
|
|
1677
|
+
* @param effect (optional) Effect applied to the image.
|
|
1678
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
1679
|
+
The default value is "None".
|
|
1680
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
1681
|
+
The default value is "false".
|
|
1682
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
1683
|
+
By default, it's an empty string.
|
|
1684
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
1685
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
1686
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
1687
|
+
By default, it's an empty string.
|
|
1688
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
1689
|
+
The default value is "null".
|
|
1690
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
1691
|
+
The default value is "false".
|
|
1692
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
1693
|
+
The default value is "0".
|
|
1694
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
1695
|
+
By default, it's an empty string.
|
|
1696
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
1697
|
+
The default value is "0".
|
|
1698
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
1699
|
+
The default value is "0".
|
|
1677
1700
|
* @return Success
|
|
1678
1701
|
*/
|
|
1679
1702
|
DesignAtomsCompatibilityApiClient.prototype.svg = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
@@ -2855,6 +2878,13 @@
|
|
|
2855
2878
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2856
2879
|
}));
|
|
2857
2880
|
}
|
|
2881
|
+
else if (status === 409) {
|
|
2882
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2883
|
+
var result409 = null;
|
|
2884
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2885
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
2886
|
+
}));
|
|
2887
|
+
}
|
|
2858
2888
|
else if (status === 401) {
|
|
2859
2889
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2860
2890
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -2884,9 +2914,10 @@
|
|
|
2884
2914
|
* @param height (optional)
|
|
2885
2915
|
* @param fileFormat (optional)
|
|
2886
2916
|
* @param fitMode (optional)
|
|
2917
|
+
* @param pageIndex (optional)
|
|
2887
2918
|
* @return Success
|
|
2888
2919
|
*/
|
|
2889
|
-
DesignAtomsImagesApiClient.prototype.renderImagePreviewFromFile = function (attachment, tenantId, sourceFile, mockupOwnerId, mockupId, width, height, fileFormat, fitMode) {
|
|
2920
|
+
DesignAtomsImagesApiClient.prototype.renderImagePreviewFromFile = function (attachment, tenantId, sourceFile, mockupOwnerId, mockupId, width, height, fileFormat, fitMode, pageIndex) {
|
|
2890
2921
|
var _this = this;
|
|
2891
2922
|
var url_ = this.baseUrl + "/api/atoms/v1/images/render-preview/from-file?";
|
|
2892
2923
|
if (attachment !== undefined && attachment !== null)
|
|
@@ -2911,6 +2942,8 @@
|
|
|
2911
2942
|
content_.append("fileFormat", fileFormat.toString());
|
|
2912
2943
|
if (fitMode !== null && fitMode !== undefined)
|
|
2913
2944
|
content_.append("fitMode", fitMode.toString());
|
|
2945
|
+
if (pageIndex !== null && pageIndex !== undefined)
|
|
2946
|
+
content_.append("pageIndex", pageIndex.toString());
|
|
2914
2947
|
var options_ = {
|
|
2915
2948
|
body: content_,
|
|
2916
2949
|
observe: "response",
|
|
@@ -2971,6 +3004,13 @@
|
|
|
2971
3004
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
2972
3005
|
}));
|
|
2973
3006
|
}
|
|
3007
|
+
else if (status === 409) {
|
|
3008
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3009
|
+
var result409 = null;
|
|
3010
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3011
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3012
|
+
}));
|
|
3013
|
+
}
|
|
2974
3014
|
else if (status === 401) {
|
|
2975
3015
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2976
3016
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3005,9 +3045,10 @@
|
|
|
3005
3045
|
* @param height (optional)
|
|
3006
3046
|
* @param fileFormat (optional)
|
|
3007
3047
|
* @param fitMode (optional)
|
|
3048
|
+
* @param pageIndex (optional)
|
|
3008
3049
|
* @return Success
|
|
3009
3050
|
*/
|
|
3010
|
-
DesignAtomsImagesApiClient.prototype.renderImagePreviewFromFileToResource = function (tenantId, resourceOwnerId, resourceNamespace, resourceName, resourceSourceId, resourceType, anonymousAccess, overwriteExistingResource, sourceFile, mockupOwnerId, mockupId, width, height, fileFormat, fitMode) {
|
|
3051
|
+
DesignAtomsImagesApiClient.prototype.renderImagePreviewFromFileToResource = function (tenantId, resourceOwnerId, resourceNamespace, resourceName, resourceSourceId, resourceType, anonymousAccess, overwriteExistingResource, sourceFile, mockupOwnerId, mockupId, width, height, fileFormat, fitMode, pageIndex) {
|
|
3011
3052
|
var _this = this;
|
|
3012
3053
|
var url_ = this.baseUrl + "/api/atoms/v1/images/render-preview/from-file/to-resource?";
|
|
3013
3054
|
if (tenantId === null)
|
|
@@ -3044,6 +3085,8 @@
|
|
|
3044
3085
|
content_.append("fileFormat", fileFormat.toString());
|
|
3045
3086
|
if (fitMode !== null && fitMode !== undefined)
|
|
3046
3087
|
content_.append("fitMode", fitMode.toString());
|
|
3088
|
+
if (pageIndex !== null && pageIndex !== undefined)
|
|
3089
|
+
content_.append("pageIndex", pageIndex.toString());
|
|
3047
3090
|
var options_ = {
|
|
3048
3091
|
body: content_,
|
|
3049
3092
|
observe: "response",
|
|
@@ -3209,6 +3252,13 @@
|
|
|
3209
3252
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3210
3253
|
}));
|
|
3211
3254
|
}
|
|
3255
|
+
else if (status === 409) {
|
|
3256
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3257
|
+
var result409 = null;
|
|
3258
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
3259
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3260
|
+
}));
|
|
3261
|
+
}
|
|
3212
3262
|
else if (status === 401) {
|
|
3213
3263
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
3214
3264
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -7608,6 +7658,13 @@
|
|
|
7608
7658
|
return rxjs.of(result200);
|
|
7609
7659
|
}));
|
|
7610
7660
|
}
|
|
7661
|
+
else if (status === 400) {
|
|
7662
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7663
|
+
var result400 = null;
|
|
7664
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7665
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
7666
|
+
}));
|
|
7667
|
+
}
|
|
7611
7668
|
else if (status === 401) {
|
|
7612
7669
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7613
7670
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -7668,6 +7725,7 @@
|
|
|
7668
7725
|
};
|
|
7669
7726
|
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImage = function (response) {
|
|
7670
7727
|
var e_72, _a;
|
|
7728
|
+
var _this = this;
|
|
7671
7729
|
var status = response.status;
|
|
7672
7730
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
7673
7731
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -7693,6 +7751,107 @@
|
|
|
7693
7751
|
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
7694
7752
|
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
7695
7753
|
}
|
|
7754
|
+
else if (status === 400) {
|
|
7755
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7756
|
+
var result400 = null;
|
|
7757
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7758
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
7759
|
+
}));
|
|
7760
|
+
}
|
|
7761
|
+
else if (status === 401) {
|
|
7762
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7763
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
7764
|
+
}));
|
|
7765
|
+
}
|
|
7766
|
+
else if (status === 403) {
|
|
7767
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7768
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
7769
|
+
}));
|
|
7770
|
+
}
|
|
7771
|
+
else if (status !== 200 && status !== 204) {
|
|
7772
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7773
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
7774
|
+
}));
|
|
7775
|
+
}
|
|
7776
|
+
return rxjs.of(null);
|
|
7777
|
+
};
|
|
7778
|
+
/**
|
|
7779
|
+
* Extracts print-product item image.
|
|
7780
|
+
* @param tenantId (optional) Tenant ID.
|
|
7781
|
+
* @param body (optional) Extraction parameters.
|
|
7782
|
+
* @return Success
|
|
7783
|
+
*/
|
|
7784
|
+
DesignAtomsPrintProductItemsApiClient.prototype.extractItemImageToResource = function (tenantId, body) {
|
|
7785
|
+
var _this = this;
|
|
7786
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/extract-image/to-resource?";
|
|
7787
|
+
if (tenantId === null)
|
|
7788
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
7789
|
+
else if (tenantId !== undefined)
|
|
7790
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
7791
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
7792
|
+
var content_ = JSON.stringify(body);
|
|
7793
|
+
var options_ = {
|
|
7794
|
+
body: content_,
|
|
7795
|
+
observe: "response",
|
|
7796
|
+
responseType: "blob",
|
|
7797
|
+
headers: new i1.HttpHeaders({
|
|
7798
|
+
"Content-Type": "application/json",
|
|
7799
|
+
"Accept": "application/octet-stream"
|
|
7800
|
+
})
|
|
7801
|
+
};
|
|
7802
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
7803
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
7804
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
7805
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processExtractItemImageToResource(r); });
|
|
7806
|
+
})).pipe(operators.catchError(function (response_) {
|
|
7807
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
7808
|
+
try {
|
|
7809
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processExtractItemImageToResource(r); });
|
|
7810
|
+
}
|
|
7811
|
+
catch (e) {
|
|
7812
|
+
return rxjs.throwError(e);
|
|
7813
|
+
}
|
|
7814
|
+
}
|
|
7815
|
+
else
|
|
7816
|
+
return rxjs.throwError(response_);
|
|
7817
|
+
}));
|
|
7818
|
+
};
|
|
7819
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImageToResource = function (response) {
|
|
7820
|
+
var e_73, _a;
|
|
7821
|
+
var _this = this;
|
|
7822
|
+
var status = response.status;
|
|
7823
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
7824
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
7825
|
+
var _headers = {};
|
|
7826
|
+
if (response.headers) {
|
|
7827
|
+
try {
|
|
7828
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
7829
|
+
var key = _c.value;
|
|
7830
|
+
_headers[key] = response.headers.get(key);
|
|
7831
|
+
}
|
|
7832
|
+
}
|
|
7833
|
+
catch (e_73_1) { e_73 = { error: e_73_1 }; }
|
|
7834
|
+
finally {
|
|
7835
|
+
try {
|
|
7836
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7837
|
+
}
|
|
7838
|
+
finally { if (e_73) throw e_73.error; }
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
if (status === 200) {
|
|
7842
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7843
|
+
var result200 = null;
|
|
7844
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7845
|
+
return rxjs.of(result200);
|
|
7846
|
+
}));
|
|
7847
|
+
}
|
|
7848
|
+
else if (status === 400) {
|
|
7849
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7850
|
+
var result400 = null;
|
|
7851
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7852
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
7853
|
+
}));
|
|
7854
|
+
}
|
|
7696
7855
|
else if (status === 401) {
|
|
7697
7856
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7698
7857
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -7755,7 +7914,7 @@
|
|
|
7755
7914
|
}));
|
|
7756
7915
|
};
|
|
7757
7916
|
DesignAtomsPrintProductItemsApiClient.prototype.processFlattenItems = function (response) {
|
|
7758
|
-
var
|
|
7917
|
+
var e_74, _a;
|
|
7759
7918
|
var _this = this;
|
|
7760
7919
|
var status = response.status;
|
|
7761
7920
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7768,12 +7927,12 @@
|
|
|
7768
7927
|
_headers[key] = response.headers.get(key);
|
|
7769
7928
|
}
|
|
7770
7929
|
}
|
|
7771
|
-
catch (
|
|
7930
|
+
catch (e_74_1) { e_74 = { error: e_74_1 }; }
|
|
7772
7931
|
finally {
|
|
7773
7932
|
try {
|
|
7774
7933
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7775
7934
|
}
|
|
7776
|
-
finally { if (
|
|
7935
|
+
finally { if (e_74) throw e_74.error; }
|
|
7777
7936
|
}
|
|
7778
7937
|
}
|
|
7779
7938
|
if (status === 200) {
|
|
@@ -7783,6 +7942,20 @@
|
|
|
7783
7942
|
return rxjs.of(result200);
|
|
7784
7943
|
}));
|
|
7785
7944
|
}
|
|
7945
|
+
else if (status === 400) {
|
|
7946
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7947
|
+
var result400 = null;
|
|
7948
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7949
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
7950
|
+
}));
|
|
7951
|
+
}
|
|
7952
|
+
else if (status === 409) {
|
|
7953
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7954
|
+
var result409 = null;
|
|
7955
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7956
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
7957
|
+
}));
|
|
7958
|
+
}
|
|
7786
7959
|
else if (status === 401) {
|
|
7787
7960
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7788
7961
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -7806,10 +7979,11 @@
|
|
|
7806
7979
|
* @param tenantId (optional) Tenant ID.
|
|
7807
7980
|
* @param sourceFile (optional)
|
|
7808
7981
|
* @param paletteUID (optional)
|
|
7982
|
+
* @param pageIndex (optional)
|
|
7809
7983
|
* @param preserveOriginalFile (optional)
|
|
7810
7984
|
* @return Success
|
|
7811
7985
|
*/
|
|
7812
|
-
DesignAtomsPrintProductItemsApiClient.prototype.createItemFromFile = function (itemType, tenantId, sourceFile, paletteUID, preserveOriginalFile) {
|
|
7986
|
+
DesignAtomsPrintProductItemsApiClient.prototype.createItemFromFile = function (itemType, tenantId, sourceFile, paletteUID, pageIndex, preserveOriginalFile) {
|
|
7813
7987
|
var _this = this;
|
|
7814
7988
|
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/from-file?";
|
|
7815
7989
|
if (itemType !== undefined && itemType !== null)
|
|
@@ -7824,6 +7998,8 @@
|
|
|
7824
7998
|
content_.append("sourceFile", sourceFile.data, sourceFile.fileName ? sourceFile.fileName : "sourceFile");
|
|
7825
7999
|
if (paletteUID !== null && paletteUID !== undefined)
|
|
7826
8000
|
content_.append("paletteUID", paletteUID.toString());
|
|
8001
|
+
if (pageIndex !== null && pageIndex !== undefined)
|
|
8002
|
+
content_.append("pageIndex", pageIndex.toString());
|
|
7827
8003
|
if (preserveOriginalFile !== null && preserveOriginalFile !== undefined)
|
|
7828
8004
|
content_.append("preserveOriginalFile", preserveOriginalFile.toString());
|
|
7829
8005
|
var options_ = {
|
|
@@ -7852,7 +8028,7 @@
|
|
|
7852
8028
|
}));
|
|
7853
8029
|
};
|
|
7854
8030
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromFile = function (response) {
|
|
7855
|
-
var
|
|
8031
|
+
var e_75, _a;
|
|
7856
8032
|
var _this = this;
|
|
7857
8033
|
var status = response.status;
|
|
7858
8034
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7865,12 +8041,12 @@
|
|
|
7865
8041
|
_headers[key] = response.headers.get(key);
|
|
7866
8042
|
}
|
|
7867
8043
|
}
|
|
7868
|
-
catch (
|
|
8044
|
+
catch (e_75_1) { e_75 = { error: e_75_1 }; }
|
|
7869
8045
|
finally {
|
|
7870
8046
|
try {
|
|
7871
8047
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7872
8048
|
}
|
|
7873
|
-
finally { if (
|
|
8049
|
+
finally { if (e_75) throw e_75.error; }
|
|
7874
8050
|
}
|
|
7875
8051
|
}
|
|
7876
8052
|
if (status === 200) {
|
|
@@ -7880,6 +8056,13 @@
|
|
|
7880
8056
|
return rxjs.of(result200);
|
|
7881
8057
|
}));
|
|
7882
8058
|
}
|
|
8059
|
+
else if (status === 400) {
|
|
8060
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8061
|
+
var result400 = null;
|
|
8062
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8063
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
8064
|
+
}));
|
|
8065
|
+
}
|
|
7883
8066
|
else if (status === 404) {
|
|
7884
8067
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7885
8068
|
var result404 = null;
|
|
@@ -7963,7 +8146,7 @@
|
|
|
7963
8146
|
}));
|
|
7964
8147
|
};
|
|
7965
8148
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromFile = function (response) {
|
|
7966
|
-
var
|
|
8149
|
+
var e_76, _a;
|
|
7967
8150
|
var _this = this;
|
|
7968
8151
|
var status = response.status;
|
|
7969
8152
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7976,12 +8159,12 @@
|
|
|
7976
8159
|
_headers[key] = response.headers.get(key);
|
|
7977
8160
|
}
|
|
7978
8161
|
}
|
|
7979
|
-
catch (
|
|
8162
|
+
catch (e_76_1) { e_76 = { error: e_76_1 }; }
|
|
7980
8163
|
finally {
|
|
7981
8164
|
try {
|
|
7982
8165
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7983
8166
|
}
|
|
7984
|
-
finally { if (
|
|
8167
|
+
finally { if (e_76) throw e_76.error; }
|
|
7985
8168
|
}
|
|
7986
8169
|
}
|
|
7987
8170
|
if (status === 200) {
|
|
@@ -7991,6 +8174,13 @@
|
|
|
7991
8174
|
return rxjs.of(result200);
|
|
7992
8175
|
}));
|
|
7993
8176
|
}
|
|
8177
|
+
else if (status === 400) {
|
|
8178
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8179
|
+
var result400 = null;
|
|
8180
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8181
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
8182
|
+
}));
|
|
8183
|
+
}
|
|
7994
8184
|
else if (status === 404) {
|
|
7995
8185
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7996
8186
|
var result404 = null;
|
|
@@ -8067,7 +8257,7 @@
|
|
|
8067
8257
|
}));
|
|
8068
8258
|
};
|
|
8069
8259
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromStorage = function (response) {
|
|
8070
|
-
var
|
|
8260
|
+
var e_77, _a;
|
|
8071
8261
|
var _this = this;
|
|
8072
8262
|
var status = response.status;
|
|
8073
8263
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8080,12 +8270,12 @@
|
|
|
8080
8270
|
_headers[key] = response.headers.get(key);
|
|
8081
8271
|
}
|
|
8082
8272
|
}
|
|
8083
|
-
catch (
|
|
8273
|
+
catch (e_77_1) { e_77 = { error: e_77_1 }; }
|
|
8084
8274
|
finally {
|
|
8085
8275
|
try {
|
|
8086
8276
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8087
8277
|
}
|
|
8088
|
-
finally { if (
|
|
8278
|
+
finally { if (e_77) throw e_77.error; }
|
|
8089
8279
|
}
|
|
8090
8280
|
}
|
|
8091
8281
|
if (status === 200) {
|
|
@@ -8095,6 +8285,13 @@
|
|
|
8095
8285
|
return rxjs.of(result200);
|
|
8096
8286
|
}));
|
|
8097
8287
|
}
|
|
8288
|
+
else if (status === 400) {
|
|
8289
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8290
|
+
var result400 = null;
|
|
8291
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8292
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
8293
|
+
}));
|
|
8294
|
+
}
|
|
8098
8295
|
else if (status === 404) {
|
|
8099
8296
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8100
8297
|
var result404 = null;
|
|
@@ -8171,7 +8368,7 @@
|
|
|
8171
8368
|
}));
|
|
8172
8369
|
};
|
|
8173
8370
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromStorage = function (response) {
|
|
8174
|
-
var
|
|
8371
|
+
var e_78, _a;
|
|
8175
8372
|
var _this = this;
|
|
8176
8373
|
var status = response.status;
|
|
8177
8374
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8184,12 +8381,12 @@
|
|
|
8184
8381
|
_headers[key] = response.headers.get(key);
|
|
8185
8382
|
}
|
|
8186
8383
|
}
|
|
8187
|
-
catch (
|
|
8384
|
+
catch (e_78_1) { e_78 = { error: e_78_1 }; }
|
|
8188
8385
|
finally {
|
|
8189
8386
|
try {
|
|
8190
8387
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8191
8388
|
}
|
|
8192
|
-
finally { if (
|
|
8389
|
+
finally { if (e_78) throw e_78.error; }
|
|
8193
8390
|
}
|
|
8194
8391
|
}
|
|
8195
8392
|
if (status === 200) {
|
|
@@ -8199,6 +8396,13 @@
|
|
|
8199
8396
|
return rxjs.of(result200);
|
|
8200
8397
|
}));
|
|
8201
8398
|
}
|
|
8399
|
+
else if (status === 400) {
|
|
8400
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8401
|
+
var result400 = null;
|
|
8402
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8403
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
8404
|
+
}));
|
|
8405
|
+
}
|
|
8202
8406
|
else if (status === 404) {
|
|
8203
8407
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8204
8408
|
var result404 = null;
|
|
@@ -8275,7 +8479,7 @@
|
|
|
8275
8479
|
}));
|
|
8276
8480
|
};
|
|
8277
8481
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromUrl = function (response) {
|
|
8278
|
-
var
|
|
8482
|
+
var e_79, _a;
|
|
8279
8483
|
var _this = this;
|
|
8280
8484
|
var status = response.status;
|
|
8281
8485
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8288,12 +8492,12 @@
|
|
|
8288
8492
|
_headers[key] = response.headers.get(key);
|
|
8289
8493
|
}
|
|
8290
8494
|
}
|
|
8291
|
-
catch (
|
|
8495
|
+
catch (e_79_1) { e_79 = { error: e_79_1 }; }
|
|
8292
8496
|
finally {
|
|
8293
8497
|
try {
|
|
8294
8498
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8295
8499
|
}
|
|
8296
|
-
finally { if (
|
|
8500
|
+
finally { if (e_79) throw e_79.error; }
|
|
8297
8501
|
}
|
|
8298
8502
|
}
|
|
8299
8503
|
if (status === 200) {
|
|
@@ -8379,7 +8583,7 @@
|
|
|
8379
8583
|
}));
|
|
8380
8584
|
};
|
|
8381
8585
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromUrl = function (response) {
|
|
8382
|
-
var
|
|
8586
|
+
var e_80, _a;
|
|
8383
8587
|
var _this = this;
|
|
8384
8588
|
var status = response.status;
|
|
8385
8589
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8392,12 +8596,12 @@
|
|
|
8392
8596
|
_headers[key] = response.headers.get(key);
|
|
8393
8597
|
}
|
|
8394
8598
|
}
|
|
8395
|
-
catch (
|
|
8599
|
+
catch (e_80_1) { e_80 = { error: e_80_1 }; }
|
|
8396
8600
|
finally {
|
|
8397
8601
|
try {
|
|
8398
8602
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8399
8603
|
}
|
|
8400
|
-
finally { if (
|
|
8604
|
+
finally { if (e_80) throw e_80.error; }
|
|
8401
8605
|
}
|
|
8402
8606
|
}
|
|
8403
8607
|
if (status === 200) {
|
|
@@ -8505,7 +8709,7 @@
|
|
|
8505
8709
|
}));
|
|
8506
8710
|
};
|
|
8507
8711
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
8508
|
-
var
|
|
8712
|
+
var e_81, _a;
|
|
8509
8713
|
var _this = this;
|
|
8510
8714
|
var status = response.status;
|
|
8511
8715
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8518,12 +8722,12 @@
|
|
|
8518
8722
|
_headers[key] = response.headers.get(key);
|
|
8519
8723
|
}
|
|
8520
8724
|
}
|
|
8521
|
-
catch (
|
|
8725
|
+
catch (e_81_1) { e_81 = { error: e_81_1 }; }
|
|
8522
8726
|
finally {
|
|
8523
8727
|
try {
|
|
8524
8728
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8525
8729
|
}
|
|
8526
|
-
finally { if (
|
|
8730
|
+
finally { if (e_81) throw e_81.error; }
|
|
8527
8731
|
}
|
|
8528
8732
|
}
|
|
8529
8733
|
if (status === 201) {
|
|
@@ -8605,7 +8809,7 @@
|
|
|
8605
8809
|
}));
|
|
8606
8810
|
};
|
|
8607
8811
|
DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
|
|
8608
|
-
var
|
|
8812
|
+
var e_82, _a;
|
|
8609
8813
|
var _this = this;
|
|
8610
8814
|
var status = response.status;
|
|
8611
8815
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8618,12 +8822,12 @@
|
|
|
8618
8822
|
_headers[key] = response.headers.get(key);
|
|
8619
8823
|
}
|
|
8620
8824
|
}
|
|
8621
|
-
catch (
|
|
8825
|
+
catch (e_82_1) { e_82 = { error: e_82_1 }; }
|
|
8622
8826
|
finally {
|
|
8623
8827
|
try {
|
|
8624
8828
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8625
8829
|
}
|
|
8626
|
-
finally { if (
|
|
8830
|
+
finally { if (e_82) throw e_82.error; }
|
|
8627
8831
|
}
|
|
8628
8832
|
}
|
|
8629
8833
|
if (status === 200) {
|
|
@@ -8710,7 +8914,7 @@
|
|
|
8710
8914
|
}));
|
|
8711
8915
|
};
|
|
8712
8916
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
8713
|
-
var
|
|
8917
|
+
var e_83, _a;
|
|
8714
8918
|
var _this = this;
|
|
8715
8919
|
var status = response.status;
|
|
8716
8920
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8723,12 +8927,12 @@
|
|
|
8723
8927
|
_headers[key] = response.headers.get(key);
|
|
8724
8928
|
}
|
|
8725
8929
|
}
|
|
8726
|
-
catch (
|
|
8930
|
+
catch (e_83_1) { e_83 = { error: e_83_1 }; }
|
|
8727
8931
|
finally {
|
|
8728
8932
|
try {
|
|
8729
8933
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8730
8934
|
}
|
|
8731
|
-
finally { if (
|
|
8935
|
+
finally { if (e_83) throw e_83.error; }
|
|
8732
8936
|
}
|
|
8733
8937
|
}
|
|
8734
8938
|
if (status === 200 || status === 206) {
|
|
@@ -8816,7 +9020,7 @@
|
|
|
8816
9020
|
}));
|
|
8817
9021
|
};
|
|
8818
9022
|
DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
|
|
8819
|
-
var
|
|
9023
|
+
var e_84, _a;
|
|
8820
9024
|
var _this = this;
|
|
8821
9025
|
var status = response.status;
|
|
8822
9026
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8829,12 +9033,12 @@
|
|
|
8829
9033
|
_headers[key] = response.headers.get(key);
|
|
8830
9034
|
}
|
|
8831
9035
|
}
|
|
8832
|
-
catch (
|
|
9036
|
+
catch (e_84_1) { e_84 = { error: e_84_1 }; }
|
|
8833
9037
|
finally {
|
|
8834
9038
|
try {
|
|
8835
9039
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8836
9040
|
}
|
|
8837
|
-
finally { if (
|
|
9041
|
+
finally { if (e_84) throw e_84.error; }
|
|
8838
9042
|
}
|
|
8839
9043
|
}
|
|
8840
9044
|
if (status === 204) {
|
|
@@ -8918,7 +9122,7 @@
|
|
|
8918
9122
|
}));
|
|
8919
9123
|
};
|
|
8920
9124
|
DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
|
|
8921
|
-
var
|
|
9125
|
+
var e_85, _a;
|
|
8922
9126
|
var _this = this;
|
|
8923
9127
|
var status = response.status;
|
|
8924
9128
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8931,12 +9135,12 @@
|
|
|
8931
9135
|
_headers[key] = response.headers.get(key);
|
|
8932
9136
|
}
|
|
8933
9137
|
}
|
|
8934
|
-
catch (
|
|
9138
|
+
catch (e_85_1) { e_85 = { error: e_85_1 }; }
|
|
8935
9139
|
finally {
|
|
8936
9140
|
try {
|
|
8937
9141
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8938
9142
|
}
|
|
8939
|
-
finally { if (
|
|
9143
|
+
finally { if (e_85) throw e_85.error; }
|
|
8940
9144
|
}
|
|
8941
9145
|
}
|
|
8942
9146
|
if (status === 200) {
|
|
@@ -9015,7 +9219,7 @@
|
|
|
9015
9219
|
}));
|
|
9016
9220
|
};
|
|
9017
9221
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
9018
|
-
var
|
|
9222
|
+
var e_86, _a;
|
|
9019
9223
|
var _this = this;
|
|
9020
9224
|
var status = response.status;
|
|
9021
9225
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9028,12 +9232,12 @@
|
|
|
9028
9232
|
_headers[key] = response.headers.get(key);
|
|
9029
9233
|
}
|
|
9030
9234
|
}
|
|
9031
|
-
catch (
|
|
9235
|
+
catch (e_86_1) { e_86 = { error: e_86_1 }; }
|
|
9032
9236
|
finally {
|
|
9033
9237
|
try {
|
|
9034
9238
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9035
9239
|
}
|
|
9036
|
-
finally { if (
|
|
9240
|
+
finally { if (e_86) throw e_86.error; }
|
|
9037
9241
|
}
|
|
9038
9242
|
}
|
|
9039
9243
|
if (status === 200 || status === 206) {
|
|
@@ -9118,7 +9322,7 @@
|
|
|
9118
9322
|
}));
|
|
9119
9323
|
};
|
|
9120
9324
|
DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
|
|
9121
|
-
var
|
|
9325
|
+
var e_87, _a;
|
|
9122
9326
|
var _this = this;
|
|
9123
9327
|
var status = response.status;
|
|
9124
9328
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9131,12 +9335,12 @@
|
|
|
9131
9335
|
_headers[key] = response.headers.get(key);
|
|
9132
9336
|
}
|
|
9133
9337
|
}
|
|
9134
|
-
catch (
|
|
9338
|
+
catch (e_87_1) { e_87 = { error: e_87_1 }; }
|
|
9135
9339
|
finally {
|
|
9136
9340
|
try {
|
|
9137
9341
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9138
9342
|
}
|
|
9139
|
-
finally { if (
|
|
9343
|
+
finally { if (e_87) throw e_87.error; }
|
|
9140
9344
|
}
|
|
9141
9345
|
}
|
|
9142
9346
|
if (status === 200 || status === 206) {
|
|
@@ -9221,7 +9425,7 @@
|
|
|
9221
9425
|
}));
|
|
9222
9426
|
};
|
|
9223
9427
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
9224
|
-
var
|
|
9428
|
+
var e_88, _a;
|
|
9225
9429
|
var _this = this;
|
|
9226
9430
|
var status = response.status;
|
|
9227
9431
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9234,12 +9438,12 @@
|
|
|
9234
9438
|
_headers[key] = response.headers.get(key);
|
|
9235
9439
|
}
|
|
9236
9440
|
}
|
|
9237
|
-
catch (
|
|
9441
|
+
catch (e_88_1) { e_88 = { error: e_88_1 }; }
|
|
9238
9442
|
finally {
|
|
9239
9443
|
try {
|
|
9240
9444
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9241
9445
|
}
|
|
9242
|
-
finally { if (
|
|
9446
|
+
finally { if (e_88) throw e_88.error; }
|
|
9243
9447
|
}
|
|
9244
9448
|
}
|
|
9245
9449
|
if (status === 200) {
|
|
@@ -9321,7 +9525,7 @@
|
|
|
9321
9525
|
}));
|
|
9322
9526
|
};
|
|
9323
9527
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
9324
|
-
var
|
|
9528
|
+
var e_89, _a;
|
|
9325
9529
|
var _this = this;
|
|
9326
9530
|
var status = response.status;
|
|
9327
9531
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9334,12 +9538,12 @@
|
|
|
9334
9538
|
_headers[key] = response.headers.get(key);
|
|
9335
9539
|
}
|
|
9336
9540
|
}
|
|
9337
|
-
catch (
|
|
9541
|
+
catch (e_89_1) { e_89 = { error: e_89_1 }; }
|
|
9338
9542
|
finally {
|
|
9339
9543
|
try {
|
|
9340
9544
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9341
9545
|
}
|
|
9342
|
-
finally { if (
|
|
9546
|
+
finally { if (e_89) throw e_89.error; }
|
|
9343
9547
|
}
|
|
9344
9548
|
}
|
|
9345
9549
|
if (status === 200) {
|
|
@@ -9423,7 +9627,7 @@
|
|
|
9423
9627
|
}));
|
|
9424
9628
|
};
|
|
9425
9629
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
9426
|
-
var
|
|
9630
|
+
var e_90, _a;
|
|
9427
9631
|
var _this = this;
|
|
9428
9632
|
var status = response.status;
|
|
9429
9633
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9436,12 +9640,12 @@
|
|
|
9436
9640
|
_headers[key] = response.headers.get(key);
|
|
9437
9641
|
}
|
|
9438
9642
|
}
|
|
9439
|
-
catch (
|
|
9643
|
+
catch (e_90_1) { e_90 = { error: e_90_1 }; }
|
|
9440
9644
|
finally {
|
|
9441
9645
|
try {
|
|
9442
9646
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9443
9647
|
}
|
|
9444
|
-
finally { if (
|
|
9648
|
+
finally { if (e_90) throw e_90.error; }
|
|
9445
9649
|
}
|
|
9446
9650
|
}
|
|
9447
9651
|
if (status === 200) {
|
|
@@ -9530,7 +9734,7 @@
|
|
|
9530
9734
|
}));
|
|
9531
9735
|
};
|
|
9532
9736
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
9533
|
-
var
|
|
9737
|
+
var e_91, _a;
|
|
9534
9738
|
var _this = this;
|
|
9535
9739
|
var status = response.status;
|
|
9536
9740
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9543,12 +9747,12 @@
|
|
|
9543
9747
|
_headers[key] = response.headers.get(key);
|
|
9544
9748
|
}
|
|
9545
9749
|
}
|
|
9546
|
-
catch (
|
|
9750
|
+
catch (e_91_1) { e_91 = { error: e_91_1 }; }
|
|
9547
9751
|
finally {
|
|
9548
9752
|
try {
|
|
9549
9753
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9550
9754
|
}
|
|
9551
|
-
finally { if (
|
|
9755
|
+
finally { if (e_91) throw e_91.error; }
|
|
9552
9756
|
}
|
|
9553
9757
|
}
|
|
9554
9758
|
if (status === 200) {
|
|
@@ -9623,7 +9827,7 @@
|
|
|
9623
9827
|
}));
|
|
9624
9828
|
};
|
|
9625
9829
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
9626
|
-
var
|
|
9830
|
+
var e_92, _a;
|
|
9627
9831
|
var _this = this;
|
|
9628
9832
|
var status = response.status;
|
|
9629
9833
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9636,12 +9840,12 @@
|
|
|
9636
9840
|
_headers[key] = response.headers.get(key);
|
|
9637
9841
|
}
|
|
9638
9842
|
}
|
|
9639
|
-
catch (
|
|
9843
|
+
catch (e_92_1) { e_92 = { error: e_92_1 }; }
|
|
9640
9844
|
finally {
|
|
9641
9845
|
try {
|
|
9642
9846
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9643
9847
|
}
|
|
9644
|
-
finally { if (
|
|
9848
|
+
finally { if (e_92) throw e_92.error; }
|
|
9645
9849
|
}
|
|
9646
9850
|
}
|
|
9647
9851
|
if (status === 200) {
|
|
@@ -9715,7 +9919,7 @@
|
|
|
9715
9919
|
}));
|
|
9716
9920
|
};
|
|
9717
9921
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
9718
|
-
var
|
|
9922
|
+
var e_93, _a;
|
|
9719
9923
|
var _this = this;
|
|
9720
9924
|
var status = response.status;
|
|
9721
9925
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9728,12 +9932,12 @@
|
|
|
9728
9932
|
_headers[key] = response.headers.get(key);
|
|
9729
9933
|
}
|
|
9730
9934
|
}
|
|
9731
|
-
catch (
|
|
9935
|
+
catch (e_93_1) { e_93 = { error: e_93_1 }; }
|
|
9732
9936
|
finally {
|
|
9733
9937
|
try {
|
|
9734
9938
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9735
9939
|
}
|
|
9736
|
-
finally { if (
|
|
9940
|
+
finally { if (e_93) throw e_93.error; }
|
|
9737
9941
|
}
|
|
9738
9942
|
}
|
|
9739
9943
|
if (status === 200) {
|
|
@@ -9811,7 +10015,7 @@
|
|
|
9811
10015
|
}));
|
|
9812
10016
|
};
|
|
9813
10017
|
DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
|
|
9814
|
-
var
|
|
10018
|
+
var e_94, _a;
|
|
9815
10019
|
var _this = this;
|
|
9816
10020
|
var status = response.status;
|
|
9817
10021
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9824,12 +10028,12 @@
|
|
|
9824
10028
|
_headers[key] = response.headers.get(key);
|
|
9825
10029
|
}
|
|
9826
10030
|
}
|
|
9827
|
-
catch (
|
|
10031
|
+
catch (e_94_1) { e_94 = { error: e_94_1 }; }
|
|
9828
10032
|
finally {
|
|
9829
10033
|
try {
|
|
9830
10034
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9831
10035
|
}
|
|
9832
|
-
finally { if (
|
|
10036
|
+
finally { if (e_94) throw e_94.error; }
|
|
9833
10037
|
}
|
|
9834
10038
|
}
|
|
9835
10039
|
if (status === 200) {
|
|
@@ -9916,7 +10120,7 @@
|
|
|
9916
10120
|
}));
|
|
9917
10121
|
};
|
|
9918
10122
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
9919
|
-
var
|
|
10123
|
+
var e_95, _a;
|
|
9920
10124
|
var status = response.status;
|
|
9921
10125
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
9922
10126
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -9928,12 +10132,12 @@
|
|
|
9928
10132
|
_headers[key] = response.headers.get(key);
|
|
9929
10133
|
}
|
|
9930
10134
|
}
|
|
9931
|
-
catch (
|
|
10135
|
+
catch (e_95_1) { e_95 = { error: e_95_1 }; }
|
|
9932
10136
|
finally {
|
|
9933
10137
|
try {
|
|
9934
10138
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9935
10139
|
}
|
|
9936
|
-
finally { if (
|
|
10140
|
+
finally { if (e_95) throw e_95.error; }
|
|
9937
10141
|
}
|
|
9938
10142
|
}
|
|
9939
10143
|
if (status === 200 || status === 206) {
|
|
@@ -10005,7 +10209,7 @@
|
|
|
10005
10209
|
}));
|
|
10006
10210
|
};
|
|
10007
10211
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
10008
|
-
var
|
|
10212
|
+
var e_96, _a;
|
|
10009
10213
|
var status = response.status;
|
|
10010
10214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10011
10215
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10017,12 +10221,12 @@
|
|
|
10017
10221
|
_headers[key] = response.headers.get(key);
|
|
10018
10222
|
}
|
|
10019
10223
|
}
|
|
10020
|
-
catch (
|
|
10224
|
+
catch (e_96_1) { e_96 = { error: e_96_1 }; }
|
|
10021
10225
|
finally {
|
|
10022
10226
|
try {
|
|
10023
10227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10024
10228
|
}
|
|
10025
|
-
finally { if (
|
|
10229
|
+
finally { if (e_96) throw e_96.error; }
|
|
10026
10230
|
}
|
|
10027
10231
|
}
|
|
10028
10232
|
if (status === 200 || status === 206) {
|
|
@@ -10090,7 +10294,7 @@
|
|
|
10090
10294
|
}));
|
|
10091
10295
|
};
|
|
10092
10296
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
|
|
10093
|
-
var
|
|
10297
|
+
var e_97, _a;
|
|
10094
10298
|
var _this = this;
|
|
10095
10299
|
var status = response.status;
|
|
10096
10300
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10103,12 +10307,12 @@
|
|
|
10103
10307
|
_headers[key] = response.headers.get(key);
|
|
10104
10308
|
}
|
|
10105
10309
|
}
|
|
10106
|
-
catch (
|
|
10310
|
+
catch (e_97_1) { e_97 = { error: e_97_1 }; }
|
|
10107
10311
|
finally {
|
|
10108
10312
|
try {
|
|
10109
10313
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10110
10314
|
}
|
|
10111
|
-
finally { if (
|
|
10315
|
+
finally { if (e_97) throw e_97.error; }
|
|
10112
10316
|
}
|
|
10113
10317
|
}
|
|
10114
10318
|
if (status === 200) {
|
|
@@ -10195,7 +10399,7 @@
|
|
|
10195
10399
|
}));
|
|
10196
10400
|
};
|
|
10197
10401
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
10198
|
-
var
|
|
10402
|
+
var e_98, _a;
|
|
10199
10403
|
var _this = this;
|
|
10200
10404
|
var status = response.status;
|
|
10201
10405
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10208,12 +10412,12 @@
|
|
|
10208
10412
|
_headers[key] = response.headers.get(key);
|
|
10209
10413
|
}
|
|
10210
10414
|
}
|
|
10211
|
-
catch (
|
|
10415
|
+
catch (e_98_1) { e_98 = { error: e_98_1 }; }
|
|
10212
10416
|
finally {
|
|
10213
10417
|
try {
|
|
10214
10418
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10215
10419
|
}
|
|
10216
|
-
finally { if (
|
|
10420
|
+
finally { if (e_98) throw e_98.error; }
|
|
10217
10421
|
}
|
|
10218
10422
|
}
|
|
10219
10423
|
if (status === 200 || status === 206) {
|
|
@@ -10288,7 +10492,7 @@
|
|
|
10288
10492
|
}));
|
|
10289
10493
|
};
|
|
10290
10494
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
|
|
10291
|
-
var
|
|
10495
|
+
var e_99, _a;
|
|
10292
10496
|
var _this = this;
|
|
10293
10497
|
var status = response.status;
|
|
10294
10498
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10301,12 +10505,12 @@
|
|
|
10301
10505
|
_headers[key] = response.headers.get(key);
|
|
10302
10506
|
}
|
|
10303
10507
|
}
|
|
10304
|
-
catch (
|
|
10508
|
+
catch (e_99_1) { e_99 = { error: e_99_1 }; }
|
|
10305
10509
|
finally {
|
|
10306
10510
|
try {
|
|
10307
10511
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10308
10512
|
}
|
|
10309
|
-
finally { if (
|
|
10513
|
+
finally { if (e_99) throw e_99.error; }
|
|
10310
10514
|
}
|
|
10311
10515
|
}
|
|
10312
10516
|
if (status === 200) {
|
|
@@ -10386,7 +10590,7 @@
|
|
|
10386
10590
|
}));
|
|
10387
10591
|
};
|
|
10388
10592
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
10389
|
-
var
|
|
10593
|
+
var e_100, _a;
|
|
10390
10594
|
var _this = this;
|
|
10391
10595
|
var status = response.status;
|
|
10392
10596
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10399,12 +10603,12 @@
|
|
|
10399
10603
|
_headers[key] = response.headers.get(key);
|
|
10400
10604
|
}
|
|
10401
10605
|
}
|
|
10402
|
-
catch (
|
|
10606
|
+
catch (e_100_1) { e_100 = { error: e_100_1 }; }
|
|
10403
10607
|
finally {
|
|
10404
10608
|
try {
|
|
10405
10609
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10406
10610
|
}
|
|
10407
|
-
finally { if (
|
|
10611
|
+
finally { if (e_100) throw e_100.error; }
|
|
10408
10612
|
}
|
|
10409
10613
|
}
|
|
10410
10614
|
if (status === 200) {
|
|
@@ -10487,7 +10691,7 @@
|
|
|
10487
10691
|
}));
|
|
10488
10692
|
};
|
|
10489
10693
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
10490
|
-
var
|
|
10694
|
+
var e_101, _a;
|
|
10491
10695
|
var _this = this;
|
|
10492
10696
|
var status = response.status;
|
|
10493
10697
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10500,12 +10704,12 @@
|
|
|
10500
10704
|
_headers[key] = response.headers.get(key);
|
|
10501
10705
|
}
|
|
10502
10706
|
}
|
|
10503
|
-
catch (
|
|
10707
|
+
catch (e_101_1) { e_101 = { error: e_101_1 }; }
|
|
10504
10708
|
finally {
|
|
10505
10709
|
try {
|
|
10506
10710
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10507
10711
|
}
|
|
10508
|
-
finally { if (
|
|
10712
|
+
finally { if (e_101) throw e_101.error; }
|
|
10509
10713
|
}
|
|
10510
10714
|
}
|
|
10511
10715
|
if (status === 200) {
|
|
@@ -10601,7 +10805,7 @@
|
|
|
10601
10805
|
}));
|
|
10602
10806
|
};
|
|
10603
10807
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
10604
|
-
var
|
|
10808
|
+
var e_102, _a;
|
|
10605
10809
|
var _this = this;
|
|
10606
10810
|
var status = response.status;
|
|
10607
10811
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10614,12 +10818,12 @@
|
|
|
10614
10818
|
_headers[key] = response.headers.get(key);
|
|
10615
10819
|
}
|
|
10616
10820
|
}
|
|
10617
|
-
catch (
|
|
10821
|
+
catch (e_102_1) { e_102 = { error: e_102_1 }; }
|
|
10618
10822
|
finally {
|
|
10619
10823
|
try {
|
|
10620
10824
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10621
10825
|
}
|
|
10622
|
-
finally { if (
|
|
10826
|
+
finally { if (e_102) throw e_102.error; }
|
|
10623
10827
|
}
|
|
10624
10828
|
}
|
|
10625
10829
|
if (status === 200) {
|
|
@@ -10710,7 +10914,7 @@
|
|
|
10710
10914
|
}));
|
|
10711
10915
|
};
|
|
10712
10916
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
10713
|
-
var
|
|
10917
|
+
var e_103, _a;
|
|
10714
10918
|
var _this = this;
|
|
10715
10919
|
var status = response.status;
|
|
10716
10920
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10723,12 +10927,12 @@
|
|
|
10723
10927
|
_headers[key] = response.headers.get(key);
|
|
10724
10928
|
}
|
|
10725
10929
|
}
|
|
10726
|
-
catch (
|
|
10930
|
+
catch (e_103_1) { e_103 = { error: e_103_1 }; }
|
|
10727
10931
|
finally {
|
|
10728
10932
|
try {
|
|
10729
10933
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10730
10934
|
}
|
|
10731
|
-
finally { if (
|
|
10935
|
+
finally { if (e_103) throw e_103.error; }
|
|
10732
10936
|
}
|
|
10733
10937
|
}
|
|
10734
10938
|
if (status === 200) {
|
|
@@ -10805,7 +11009,7 @@
|
|
|
10805
11009
|
}));
|
|
10806
11010
|
};
|
|
10807
11011
|
DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
|
|
10808
|
-
var
|
|
11012
|
+
var e_104, _a;
|
|
10809
11013
|
var status = response.status;
|
|
10810
11014
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10811
11015
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10817,12 +11021,12 @@
|
|
|
10817
11021
|
_headers[key] = response.headers.get(key);
|
|
10818
11022
|
}
|
|
10819
11023
|
}
|
|
10820
|
-
catch (
|
|
11024
|
+
catch (e_104_1) { e_104 = { error: e_104_1 }; }
|
|
10821
11025
|
finally {
|
|
10822
11026
|
try {
|
|
10823
11027
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10824
11028
|
}
|
|
10825
|
-
finally { if (
|
|
11029
|
+
finally { if (e_104) throw e_104.error; }
|
|
10826
11030
|
}
|
|
10827
11031
|
}
|
|
10828
11032
|
if (status === 200 || status === 206) {
|
|
@@ -10891,7 +11095,7 @@
|
|
|
10891
11095
|
}));
|
|
10892
11096
|
};
|
|
10893
11097
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
10894
|
-
var
|
|
11098
|
+
var e_105, _a;
|
|
10895
11099
|
var _this = this;
|
|
10896
11100
|
var status = response.status;
|
|
10897
11101
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10904,12 +11108,12 @@
|
|
|
10904
11108
|
_headers[key] = response.headers.get(key);
|
|
10905
11109
|
}
|
|
10906
11110
|
}
|
|
10907
|
-
catch (
|
|
11111
|
+
catch (e_105_1) { e_105 = { error: e_105_1 }; }
|
|
10908
11112
|
finally {
|
|
10909
11113
|
try {
|
|
10910
11114
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10911
11115
|
}
|
|
10912
|
-
finally { if (
|
|
11116
|
+
finally { if (e_105) throw e_105.error; }
|
|
10913
11117
|
}
|
|
10914
11118
|
}
|
|
10915
11119
|
if (status === 200) {
|
|
@@ -10982,7 +11186,7 @@
|
|
|
10982
11186
|
}));
|
|
10983
11187
|
};
|
|
10984
11188
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
10985
|
-
var
|
|
11189
|
+
var e_106, _a;
|
|
10986
11190
|
var status = response.status;
|
|
10987
11191
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10988
11192
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10994,12 +11198,12 @@
|
|
|
10994
11198
|
_headers[key] = response.headers.get(key);
|
|
10995
11199
|
}
|
|
10996
11200
|
}
|
|
10997
|
-
catch (
|
|
11201
|
+
catch (e_106_1) { e_106 = { error: e_106_1 }; }
|
|
10998
11202
|
finally {
|
|
10999
11203
|
try {
|
|
11000
11204
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11001
11205
|
}
|
|
11002
|
-
finally { if (
|
|
11206
|
+
finally { if (e_106) throw e_106.error; }
|
|
11003
11207
|
}
|
|
11004
11208
|
}
|
|
11005
11209
|
if (status === 201) {
|
|
@@ -11070,7 +11274,7 @@
|
|
|
11070
11274
|
}));
|
|
11071
11275
|
};
|
|
11072
11276
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
11073
|
-
var
|
|
11277
|
+
var e_107, _a;
|
|
11074
11278
|
var status = response.status;
|
|
11075
11279
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11076
11280
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11082,12 +11286,12 @@
|
|
|
11082
11286
|
_headers[key] = response.headers.get(key);
|
|
11083
11287
|
}
|
|
11084
11288
|
}
|
|
11085
|
-
catch (
|
|
11289
|
+
catch (e_107_1) { e_107 = { error: e_107_1 }; }
|
|
11086
11290
|
finally {
|
|
11087
11291
|
try {
|
|
11088
11292
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11089
11293
|
}
|
|
11090
|
-
finally { if (
|
|
11294
|
+
finally { if (e_107) throw e_107.error; }
|
|
11091
11295
|
}
|
|
11092
11296
|
}
|
|
11093
11297
|
if (status === 201) {
|
|
@@ -11175,7 +11379,7 @@
|
|
|
11175
11379
|
}));
|
|
11176
11380
|
};
|
|
11177
11381
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
11178
|
-
var
|
|
11382
|
+
var e_108, _a;
|
|
11179
11383
|
var _this = this;
|
|
11180
11384
|
var status = response.status;
|
|
11181
11385
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11188,12 +11392,12 @@
|
|
|
11188
11392
|
_headers[key] = response.headers.get(key);
|
|
11189
11393
|
}
|
|
11190
11394
|
}
|
|
11191
|
-
catch (
|
|
11395
|
+
catch (e_108_1) { e_108 = { error: e_108_1 }; }
|
|
11192
11396
|
finally {
|
|
11193
11397
|
try {
|
|
11194
11398
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11195
11399
|
}
|
|
11196
|
-
finally { if (
|
|
11400
|
+
finally { if (e_108) throw e_108.error; }
|
|
11197
11401
|
}
|
|
11198
11402
|
}
|
|
11199
11403
|
if (status === 200) {
|
|
@@ -11255,7 +11459,7 @@
|
|
|
11255
11459
|
}));
|
|
11256
11460
|
};
|
|
11257
11461
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
11258
|
-
var
|
|
11462
|
+
var e_109, _a;
|
|
11259
11463
|
var _this = this;
|
|
11260
11464
|
var status = response.status;
|
|
11261
11465
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11268,12 +11472,12 @@
|
|
|
11268
11472
|
_headers[key] = response.headers.get(key);
|
|
11269
11473
|
}
|
|
11270
11474
|
}
|
|
11271
|
-
catch (
|
|
11475
|
+
catch (e_109_1) { e_109 = { error: e_109_1 }; }
|
|
11272
11476
|
finally {
|
|
11273
11477
|
try {
|
|
11274
11478
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11275
11479
|
}
|
|
11276
|
-
finally { if (
|
|
11480
|
+
finally { if (e_109) throw e_109.error; }
|
|
11277
11481
|
}
|
|
11278
11482
|
}
|
|
11279
11483
|
if (status === 200 || status === 206) {
|
|
@@ -11342,7 +11546,7 @@
|
|
|
11342
11546
|
}));
|
|
11343
11547
|
};
|
|
11344
11548
|
DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
|
|
11345
|
-
var
|
|
11549
|
+
var e_110, _a;
|
|
11346
11550
|
var _this = this;
|
|
11347
11551
|
var status = response.status;
|
|
11348
11552
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11355,12 +11559,12 @@
|
|
|
11355
11559
|
_headers[key] = response.headers.get(key);
|
|
11356
11560
|
}
|
|
11357
11561
|
}
|
|
11358
|
-
catch (
|
|
11562
|
+
catch (e_110_1) { e_110 = { error: e_110_1 }; }
|
|
11359
11563
|
finally {
|
|
11360
11564
|
try {
|
|
11361
11565
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11362
11566
|
}
|
|
11363
|
-
finally { if (
|
|
11567
|
+
finally { if (e_110) throw e_110.error; }
|
|
11364
11568
|
}
|
|
11365
11569
|
}
|
|
11366
11570
|
if (status === 200) {
|
|
@@ -11430,7 +11634,7 @@
|
|
|
11430
11634
|
}));
|
|
11431
11635
|
};
|
|
11432
11636
|
DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
|
|
11433
|
-
var
|
|
11637
|
+
var e_111, _a;
|
|
11434
11638
|
var _this = this;
|
|
11435
11639
|
var status = response.status;
|
|
11436
11640
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11443,12 +11647,12 @@
|
|
|
11443
11647
|
_headers[key] = response.headers.get(key);
|
|
11444
11648
|
}
|
|
11445
11649
|
}
|
|
11446
|
-
catch (
|
|
11650
|
+
catch (e_111_1) { e_111 = { error: e_111_1 }; }
|
|
11447
11651
|
finally {
|
|
11448
11652
|
try {
|
|
11449
11653
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11450
11654
|
}
|
|
11451
|
-
finally { if (
|
|
11655
|
+
finally { if (e_111) throw e_111.error; }
|
|
11452
11656
|
}
|
|
11453
11657
|
}
|
|
11454
11658
|
if (status === 200) {
|
|
@@ -11517,7 +11721,7 @@
|
|
|
11517
11721
|
}));
|
|
11518
11722
|
};
|
|
11519
11723
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
11520
|
-
var
|
|
11724
|
+
var e_112, _a;
|
|
11521
11725
|
var _this = this;
|
|
11522
11726
|
var status = response.status;
|
|
11523
11727
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11530,12 +11734,12 @@
|
|
|
11530
11734
|
_headers[key] = response.headers.get(key);
|
|
11531
11735
|
}
|
|
11532
11736
|
}
|
|
11533
|
-
catch (
|
|
11737
|
+
catch (e_112_1) { e_112 = { error: e_112_1 }; }
|
|
11534
11738
|
finally {
|
|
11535
11739
|
try {
|
|
11536
11740
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11537
11741
|
}
|
|
11538
|
-
finally { if (
|
|
11742
|
+
finally { if (e_112) throw e_112.error; }
|
|
11539
11743
|
}
|
|
11540
11744
|
}
|
|
11541
11745
|
if (status === 200 || status === 206) {
|
|
@@ -11600,7 +11804,7 @@
|
|
|
11600
11804
|
}));
|
|
11601
11805
|
};
|
|
11602
11806
|
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
11603
|
-
var
|
|
11807
|
+
var e_113, _a;
|
|
11604
11808
|
var _this = this;
|
|
11605
11809
|
var status = response.status;
|
|
11606
11810
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11613,12 +11817,12 @@
|
|
|
11613
11817
|
_headers[key] = response.headers.get(key);
|
|
11614
11818
|
}
|
|
11615
11819
|
}
|
|
11616
|
-
catch (
|
|
11820
|
+
catch (e_113_1) { e_113 = { error: e_113_1 }; }
|
|
11617
11821
|
finally {
|
|
11618
11822
|
try {
|
|
11619
11823
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11620
11824
|
}
|
|
11621
|
-
finally { if (
|
|
11825
|
+
finally { if (e_113) throw e_113.error; }
|
|
11622
11826
|
}
|
|
11623
11827
|
}
|
|
11624
11828
|
if (status === 200) {
|
|
@@ -11681,7 +11885,7 @@
|
|
|
11681
11885
|
}));
|
|
11682
11886
|
};
|
|
11683
11887
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
11684
|
-
var
|
|
11888
|
+
var e_114, _a;
|
|
11685
11889
|
var _this = this;
|
|
11686
11890
|
var status = response.status;
|
|
11687
11891
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11694,12 +11898,12 @@
|
|
|
11694
11898
|
_headers[key] = response.headers.get(key);
|
|
11695
11899
|
}
|
|
11696
11900
|
}
|
|
11697
|
-
catch (
|
|
11901
|
+
catch (e_114_1) { e_114 = { error: e_114_1 }; }
|
|
11698
11902
|
finally {
|
|
11699
11903
|
try {
|
|
11700
11904
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11701
11905
|
}
|
|
11702
|
-
finally { if (
|
|
11906
|
+
finally { if (e_114) throw e_114.error; }
|
|
11703
11907
|
}
|
|
11704
11908
|
}
|
|
11705
11909
|
if (status === 200) {
|
|
@@ -11762,7 +11966,7 @@
|
|
|
11762
11966
|
}));
|
|
11763
11967
|
};
|
|
11764
11968
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
11765
|
-
var
|
|
11969
|
+
var e_115, _a;
|
|
11766
11970
|
var _this = this;
|
|
11767
11971
|
var status = response.status;
|
|
11768
11972
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11775,12 +11979,12 @@
|
|
|
11775
11979
|
_headers[key] = response.headers.get(key);
|
|
11776
11980
|
}
|
|
11777
11981
|
}
|
|
11778
|
-
catch (
|
|
11982
|
+
catch (e_115_1) { e_115 = { error: e_115_1 }; }
|
|
11779
11983
|
finally {
|
|
11780
11984
|
try {
|
|
11781
11985
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11782
11986
|
}
|
|
11783
|
-
finally { if (
|
|
11987
|
+
finally { if (e_115) throw e_115.error; }
|
|
11784
11988
|
}
|
|
11785
11989
|
}
|
|
11786
11990
|
if (status === 200) {
|
|
@@ -11843,7 +12047,7 @@
|
|
|
11843
12047
|
}));
|
|
11844
12048
|
};
|
|
11845
12049
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
11846
|
-
var
|
|
12050
|
+
var e_116, _a;
|
|
11847
12051
|
var _this = this;
|
|
11848
12052
|
var status = response.status;
|
|
11849
12053
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11856,12 +12060,12 @@
|
|
|
11856
12060
|
_headers[key] = response.headers.get(key);
|
|
11857
12061
|
}
|
|
11858
12062
|
}
|
|
11859
|
-
catch (
|
|
12063
|
+
catch (e_116_1) { e_116 = { error: e_116_1 }; }
|
|
11860
12064
|
finally {
|
|
11861
12065
|
try {
|
|
11862
12066
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11863
12067
|
}
|
|
11864
|
-
finally { if (
|
|
12068
|
+
finally { if (e_116) throw e_116.error; }
|
|
11865
12069
|
}
|
|
11866
12070
|
}
|
|
11867
12071
|
if (status === 200) {
|
|
@@ -11885,27 +12089,38 @@
|
|
|
11885
12089
|
};
|
|
11886
12090
|
/**
|
|
11887
12091
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
11888
|
-
This method accepts query parameters that control the output of the image.
|
|
11889
12092
|
* @param f (optional) The identifier of the original image file.
|
|
11890
12093
|
* @param w (optional) Target width of the resulting image.
|
|
11891
12094
|
* @param h (optional) Target height of the resulting image.
|
|
11892
12095
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
11893
12096
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
11894
12097
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
11895
|
-
* @param target (optional) Target color space, one of
|
|
11896
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
* @param
|
|
11902
|
-
|
|
11903
|
-
* @param
|
|
11904
|
-
|
|
11905
|
-
* @param
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
12098
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
12099
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
12100
|
+
The default value is "false".
|
|
12101
|
+
* @param effect (optional) Effect applied to the image.
|
|
12102
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
12103
|
+
The default value is "None".
|
|
12104
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
12105
|
+
The default value is "false".
|
|
12106
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
12107
|
+
By default, it's an empty string.
|
|
12108
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
12109
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
12110
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
12111
|
+
By default, it's an empty string.
|
|
12112
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
12113
|
+
The default value is "null".
|
|
12114
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
12115
|
+
The default value is "false".
|
|
12116
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
12117
|
+
The default value is "0".
|
|
12118
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
12119
|
+
By default, it's an empty string.
|
|
12120
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
12121
|
+
The default value is "0".
|
|
12122
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
12123
|
+
The default value is "0".
|
|
11909
12124
|
* @param tenantId (optional) Tenant ID.
|
|
11910
12125
|
* @return Success
|
|
11911
12126
|
*/
|
|
@@ -11978,7 +12193,7 @@
|
|
|
11978
12193
|
}));
|
|
11979
12194
|
};
|
|
11980
12195
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
11981
|
-
var
|
|
12196
|
+
var e_117, _a;
|
|
11982
12197
|
var _this = this;
|
|
11983
12198
|
var status = response.status;
|
|
11984
12199
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11991,12 +12206,12 @@
|
|
|
11991
12206
|
_headers[key] = response.headers.get(key);
|
|
11992
12207
|
}
|
|
11993
12208
|
}
|
|
11994
|
-
catch (
|
|
12209
|
+
catch (e_117_1) { e_117 = { error: e_117_1 }; }
|
|
11995
12210
|
finally {
|
|
11996
12211
|
try {
|
|
11997
12212
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11998
12213
|
}
|
|
11999
|
-
finally { if (
|
|
12214
|
+
finally { if (e_117) throw e_117.error; }
|
|
12000
12215
|
}
|
|
12001
12216
|
}
|
|
12002
12217
|
if (status === 200 || status === 206) {
|
|
@@ -12066,7 +12281,7 @@
|
|
|
12066
12281
|
}));
|
|
12067
12282
|
};
|
|
12068
12283
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
12069
|
-
var
|
|
12284
|
+
var e_118, _a;
|
|
12070
12285
|
var _this = this;
|
|
12071
12286
|
var status = response.status;
|
|
12072
12287
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12079,12 +12294,12 @@
|
|
|
12079
12294
|
_headers[key] = response.headers.get(key);
|
|
12080
12295
|
}
|
|
12081
12296
|
}
|
|
12082
|
-
catch (
|
|
12297
|
+
catch (e_118_1) { e_118 = { error: e_118_1 }; }
|
|
12083
12298
|
finally {
|
|
12084
12299
|
try {
|
|
12085
12300
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12086
12301
|
}
|
|
12087
|
-
finally { if (
|
|
12302
|
+
finally { if (e_118) throw e_118.error; }
|
|
12088
12303
|
}
|
|
12089
12304
|
}
|
|
12090
12305
|
if (status === 200) {
|
|
@@ -12146,7 +12361,7 @@
|
|
|
12146
12361
|
}));
|
|
12147
12362
|
};
|
|
12148
12363
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
12149
|
-
var
|
|
12364
|
+
var e_119, _a;
|
|
12150
12365
|
var _this = this;
|
|
12151
12366
|
var status = response.status;
|
|
12152
12367
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12159,12 +12374,12 @@
|
|
|
12159
12374
|
_headers[key] = response.headers.get(key);
|
|
12160
12375
|
}
|
|
12161
12376
|
}
|
|
12162
|
-
catch (
|
|
12377
|
+
catch (e_119_1) { e_119 = { error: e_119_1 }; }
|
|
12163
12378
|
finally {
|
|
12164
12379
|
try {
|
|
12165
12380
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12166
12381
|
}
|
|
12167
|
-
finally { if (
|
|
12382
|
+
finally { if (e_119) throw e_119.error; }
|
|
12168
12383
|
}
|
|
12169
12384
|
}
|
|
12170
12385
|
if (status === 200 || status === 206) {
|
|
@@ -12237,7 +12452,7 @@
|
|
|
12237
12452
|
}));
|
|
12238
12453
|
};
|
|
12239
12454
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
12240
|
-
var
|
|
12455
|
+
var e_120, _a;
|
|
12241
12456
|
var _this = this;
|
|
12242
12457
|
var status = response.status;
|
|
12243
12458
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12250,12 +12465,12 @@
|
|
|
12250
12465
|
_headers[key] = response.headers.get(key);
|
|
12251
12466
|
}
|
|
12252
12467
|
}
|
|
12253
|
-
catch (
|
|
12468
|
+
catch (e_120_1) { e_120 = { error: e_120_1 }; }
|
|
12254
12469
|
finally {
|
|
12255
12470
|
try {
|
|
12256
12471
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12257
12472
|
}
|
|
12258
|
-
finally { if (
|
|
12473
|
+
finally { if (e_120) throw e_120.error; }
|
|
12259
12474
|
}
|
|
12260
12475
|
}
|
|
12261
12476
|
if (status === 200 || status === 206) {
|
|
@@ -12290,20 +12505,32 @@
|
|
|
12290
12505
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
12291
12506
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
12292
12507
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
12293
|
-
* @param target (optional) Target color space, one of
|
|
12294
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
12295
|
-
|
|
12296
|
-
|
|
12297
|
-
|
|
12298
|
-
|
|
12299
|
-
* @param
|
|
12300
|
-
|
|
12301
|
-
* @param
|
|
12302
|
-
|
|
12303
|
-
* @param
|
|
12304
|
-
|
|
12305
|
-
|
|
12306
|
-
|
|
12508
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
12509
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
12510
|
+
The default value is "false".
|
|
12511
|
+
* @param effect (optional) Effect applied to the image.
|
|
12512
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
12513
|
+
The default value is "None".
|
|
12514
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
12515
|
+
The default value is "false".
|
|
12516
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
12517
|
+
By default, it's an empty string.
|
|
12518
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
12519
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
12520
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
12521
|
+
By default, it's an empty string.
|
|
12522
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
12523
|
+
The default value is "null".
|
|
12524
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
12525
|
+
The default value is "false".
|
|
12526
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
12527
|
+
The default value is "0".
|
|
12528
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
12529
|
+
By default, it's an empty string.
|
|
12530
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
12531
|
+
The default value is "0".
|
|
12532
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
12533
|
+
The default value is "0".
|
|
12307
12534
|
* @param tenantId (optional) Tenant ID.
|
|
12308
12535
|
* @return Success
|
|
12309
12536
|
*/
|
|
@@ -12376,7 +12603,7 @@
|
|
|
12376
12603
|
}));
|
|
12377
12604
|
};
|
|
12378
12605
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
12379
|
-
var
|
|
12606
|
+
var e_121, _a;
|
|
12380
12607
|
var _this = this;
|
|
12381
12608
|
var status = response.status;
|
|
12382
12609
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12389,12 +12616,12 @@
|
|
|
12389
12616
|
_headers[key] = response.headers.get(key);
|
|
12390
12617
|
}
|
|
12391
12618
|
}
|
|
12392
|
-
catch (
|
|
12619
|
+
catch (e_121_1) { e_121 = { error: e_121_1 }; }
|
|
12393
12620
|
finally {
|
|
12394
12621
|
try {
|
|
12395
12622
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12396
12623
|
}
|
|
12397
|
-
finally { if (
|
|
12624
|
+
finally { if (e_121) throw e_121.error; }
|
|
12398
12625
|
}
|
|
12399
12626
|
}
|
|
12400
12627
|
if (status === 200 || status === 206) {
|
|
@@ -12467,7 +12694,7 @@
|
|
|
12467
12694
|
}));
|
|
12468
12695
|
};
|
|
12469
12696
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
12470
|
-
var
|
|
12697
|
+
var e_122, _a;
|
|
12471
12698
|
var _this = this;
|
|
12472
12699
|
var status = response.status;
|
|
12473
12700
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12480,12 +12707,12 @@
|
|
|
12480
12707
|
_headers[key] = response.headers.get(key);
|
|
12481
12708
|
}
|
|
12482
12709
|
}
|
|
12483
|
-
catch (
|
|
12710
|
+
catch (e_122_1) { e_122 = { error: e_122_1 }; }
|
|
12484
12711
|
finally {
|
|
12485
12712
|
try {
|
|
12486
12713
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12487
12714
|
}
|
|
12488
|
-
finally { if (
|
|
12715
|
+
finally { if (e_122) throw e_122.error; }
|
|
12489
12716
|
}
|
|
12490
12717
|
}
|
|
12491
12718
|
if (status === 200 || status === 206) {
|
|
@@ -12559,7 +12786,7 @@
|
|
|
12559
12786
|
}));
|
|
12560
12787
|
};
|
|
12561
12788
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
12562
|
-
var
|
|
12789
|
+
var e_123, _a;
|
|
12563
12790
|
var _this = this;
|
|
12564
12791
|
var status = response.status;
|
|
12565
12792
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12572,12 +12799,12 @@
|
|
|
12572
12799
|
_headers[key] = response.headers.get(key);
|
|
12573
12800
|
}
|
|
12574
12801
|
}
|
|
12575
|
-
catch (
|
|
12802
|
+
catch (e_123_1) { e_123 = { error: e_123_1 }; }
|
|
12576
12803
|
finally {
|
|
12577
12804
|
try {
|
|
12578
12805
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12579
12806
|
}
|
|
12580
|
-
finally { if (
|
|
12807
|
+
finally { if (e_123) throw e_123.error; }
|
|
12581
12808
|
}
|
|
12582
12809
|
}
|
|
12583
12810
|
if (status === 200) {
|
|
@@ -12640,7 +12867,7 @@
|
|
|
12640
12867
|
}));
|
|
12641
12868
|
};
|
|
12642
12869
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
12643
|
-
var
|
|
12870
|
+
var e_124, _a;
|
|
12644
12871
|
var _this = this;
|
|
12645
12872
|
var status = response.status;
|
|
12646
12873
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12653,12 +12880,12 @@
|
|
|
12653
12880
|
_headers[key] = response.headers.get(key);
|
|
12654
12881
|
}
|
|
12655
12882
|
}
|
|
12656
|
-
catch (
|
|
12883
|
+
catch (e_124_1) { e_124 = { error: e_124_1 }; }
|
|
12657
12884
|
finally {
|
|
12658
12885
|
try {
|
|
12659
12886
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12660
12887
|
}
|
|
12661
|
-
finally { if (
|
|
12888
|
+
finally { if (e_124) throw e_124.error; }
|
|
12662
12889
|
}
|
|
12663
12890
|
}
|
|
12664
12891
|
if (status === 200) {
|
|
@@ -12721,7 +12948,7 @@
|
|
|
12721
12948
|
}));
|
|
12722
12949
|
};
|
|
12723
12950
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
12724
|
-
var
|
|
12951
|
+
var e_125, _a;
|
|
12725
12952
|
var _this = this;
|
|
12726
12953
|
var status = response.status;
|
|
12727
12954
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12734,12 +12961,12 @@
|
|
|
12734
12961
|
_headers[key] = response.headers.get(key);
|
|
12735
12962
|
}
|
|
12736
12963
|
}
|
|
12737
|
-
catch (
|
|
12964
|
+
catch (e_125_1) { e_125 = { error: e_125_1 }; }
|
|
12738
12965
|
finally {
|
|
12739
12966
|
try {
|
|
12740
12967
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12741
12968
|
}
|
|
12742
|
-
finally { if (
|
|
12969
|
+
finally { if (e_125) throw e_125.error; }
|
|
12743
12970
|
}
|
|
12744
12971
|
}
|
|
12745
12972
|
if (status === 200) {
|
|
@@ -12802,7 +13029,7 @@
|
|
|
12802
13029
|
}));
|
|
12803
13030
|
};
|
|
12804
13031
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
12805
|
-
var
|
|
13032
|
+
var e_126, _a;
|
|
12806
13033
|
var _this = this;
|
|
12807
13034
|
var status = response.status;
|
|
12808
13035
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12815,12 +13042,12 @@
|
|
|
12815
13042
|
_headers[key] = response.headers.get(key);
|
|
12816
13043
|
}
|
|
12817
13044
|
}
|
|
12818
|
-
catch (
|
|
13045
|
+
catch (e_126_1) { e_126 = { error: e_126_1 }; }
|
|
12819
13046
|
finally {
|
|
12820
13047
|
try {
|
|
12821
13048
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12822
13049
|
}
|
|
12823
|
-
finally { if (
|
|
13050
|
+
finally { if (e_126) throw e_126.error; }
|
|
12824
13051
|
}
|
|
12825
13052
|
}
|
|
12826
13053
|
if (status === 200) {
|
|
@@ -12883,7 +13110,7 @@
|
|
|
12883
13110
|
}));
|
|
12884
13111
|
};
|
|
12885
13112
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
12886
|
-
var
|
|
13113
|
+
var e_127, _a;
|
|
12887
13114
|
var _this = this;
|
|
12888
13115
|
var status = response.status;
|
|
12889
13116
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12896,12 +13123,12 @@
|
|
|
12896
13123
|
_headers[key] = response.headers.get(key);
|
|
12897
13124
|
}
|
|
12898
13125
|
}
|
|
12899
|
-
catch (
|
|
13126
|
+
catch (e_127_1) { e_127 = { error: e_127_1 }; }
|
|
12900
13127
|
finally {
|
|
12901
13128
|
try {
|
|
12902
13129
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12903
13130
|
}
|
|
12904
|
-
finally { if (
|
|
13131
|
+
finally { if (e_127) throw e_127.error; }
|
|
12905
13132
|
}
|
|
12906
13133
|
}
|
|
12907
13134
|
if (status === 200) {
|
|
@@ -12964,7 +13191,7 @@
|
|
|
12964
13191
|
}));
|
|
12965
13192
|
};
|
|
12966
13193
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
12967
|
-
var
|
|
13194
|
+
var e_128, _a;
|
|
12968
13195
|
var _this = this;
|
|
12969
13196
|
var status = response.status;
|
|
12970
13197
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12977,12 +13204,12 @@
|
|
|
12977
13204
|
_headers[key] = response.headers.get(key);
|
|
12978
13205
|
}
|
|
12979
13206
|
}
|
|
12980
|
-
catch (
|
|
13207
|
+
catch (e_128_1) { e_128 = { error: e_128_1 }; }
|
|
12981
13208
|
finally {
|
|
12982
13209
|
try {
|
|
12983
13210
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12984
13211
|
}
|
|
12985
|
-
finally { if (
|
|
13212
|
+
finally { if (e_128) throw e_128.error; }
|
|
12986
13213
|
}
|
|
12987
13214
|
}
|
|
12988
13215
|
if (status === 200) {
|
|
@@ -13045,7 +13272,7 @@
|
|
|
13045
13272
|
}));
|
|
13046
13273
|
};
|
|
13047
13274
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
13048
|
-
var
|
|
13275
|
+
var e_129, _a;
|
|
13049
13276
|
var _this = this;
|
|
13050
13277
|
var status = response.status;
|
|
13051
13278
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13058,12 +13285,12 @@
|
|
|
13058
13285
|
_headers[key] = response.headers.get(key);
|
|
13059
13286
|
}
|
|
13060
13287
|
}
|
|
13061
|
-
catch (
|
|
13288
|
+
catch (e_129_1) { e_129 = { error: e_129_1 }; }
|
|
13062
13289
|
finally {
|
|
13063
13290
|
try {
|
|
13064
13291
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13065
13292
|
}
|
|
13066
|
-
finally { if (
|
|
13293
|
+
finally { if (e_129) throw e_129.error; }
|
|
13067
13294
|
}
|
|
13068
13295
|
}
|
|
13069
13296
|
if (status === 200) {
|
|
@@ -13126,7 +13353,7 @@
|
|
|
13126
13353
|
}));
|
|
13127
13354
|
};
|
|
13128
13355
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
13129
|
-
var
|
|
13356
|
+
var e_130, _a;
|
|
13130
13357
|
var _this = this;
|
|
13131
13358
|
var status = response.status;
|
|
13132
13359
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13139,12 +13366,12 @@
|
|
|
13139
13366
|
_headers[key] = response.headers.get(key);
|
|
13140
13367
|
}
|
|
13141
13368
|
}
|
|
13142
|
-
catch (
|
|
13369
|
+
catch (e_130_1) { e_130 = { error: e_130_1 }; }
|
|
13143
13370
|
finally {
|
|
13144
13371
|
try {
|
|
13145
13372
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13146
13373
|
}
|
|
13147
|
-
finally { if (
|
|
13374
|
+
finally { if (e_130) throw e_130.error; }
|
|
13148
13375
|
}
|
|
13149
13376
|
}
|
|
13150
13377
|
if (status === 200) {
|
|
@@ -13207,7 +13434,7 @@
|
|
|
13207
13434
|
}));
|
|
13208
13435
|
};
|
|
13209
13436
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
13210
|
-
var
|
|
13437
|
+
var e_131, _a;
|
|
13211
13438
|
var _this = this;
|
|
13212
13439
|
var status = response.status;
|
|
13213
13440
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13220,12 +13447,12 @@
|
|
|
13220
13447
|
_headers[key] = response.headers.get(key);
|
|
13221
13448
|
}
|
|
13222
13449
|
}
|
|
13223
|
-
catch (
|
|
13450
|
+
catch (e_131_1) { e_131 = { error: e_131_1 }; }
|
|
13224
13451
|
finally {
|
|
13225
13452
|
try {
|
|
13226
13453
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13227
13454
|
}
|
|
13228
|
-
finally { if (
|
|
13455
|
+
finally { if (e_131) throw e_131.error; }
|
|
13229
13456
|
}
|
|
13230
13457
|
}
|
|
13231
13458
|
if (status === 200) {
|
|
@@ -13288,7 +13515,7 @@
|
|
|
13288
13515
|
}));
|
|
13289
13516
|
};
|
|
13290
13517
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
13291
|
-
var
|
|
13518
|
+
var e_132, _a;
|
|
13292
13519
|
var _this = this;
|
|
13293
13520
|
var status = response.status;
|
|
13294
13521
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13301,12 +13528,12 @@
|
|
|
13301
13528
|
_headers[key] = response.headers.get(key);
|
|
13302
13529
|
}
|
|
13303
13530
|
}
|
|
13304
|
-
catch (
|
|
13531
|
+
catch (e_132_1) { e_132 = { error: e_132_1 }; }
|
|
13305
13532
|
finally {
|
|
13306
13533
|
try {
|
|
13307
13534
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13308
13535
|
}
|
|
13309
|
-
finally { if (
|
|
13536
|
+
finally { if (e_132) throw e_132.error; }
|
|
13310
13537
|
}
|
|
13311
13538
|
}
|
|
13312
13539
|
if (status === 200) {
|
|
@@ -13369,7 +13596,7 @@
|
|
|
13369
13596
|
}));
|
|
13370
13597
|
};
|
|
13371
13598
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
13372
|
-
var
|
|
13599
|
+
var e_133, _a;
|
|
13373
13600
|
var _this = this;
|
|
13374
13601
|
var status = response.status;
|
|
13375
13602
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13382,12 +13609,12 @@
|
|
|
13382
13609
|
_headers[key] = response.headers.get(key);
|
|
13383
13610
|
}
|
|
13384
13611
|
}
|
|
13385
|
-
catch (
|
|
13612
|
+
catch (e_133_1) { e_133 = { error: e_133_1 }; }
|
|
13386
13613
|
finally {
|
|
13387
13614
|
try {
|
|
13388
13615
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13389
13616
|
}
|
|
13390
|
-
finally { if (
|
|
13617
|
+
finally { if (e_133) throw e_133.error; }
|
|
13391
13618
|
}
|
|
13392
13619
|
}
|
|
13393
13620
|
if (status === 200) {
|
|
@@ -13436,6 +13663,10 @@
|
|
|
13436
13663
|
DesignElementType["PrintArea"] = "PrintArea";
|
|
13437
13664
|
DesignElementType["Item"] = "Item";
|
|
13438
13665
|
})(exports.DesignElementType || (exports.DesignElementType = {}));
|
|
13666
|
+
(function (ImageExtractionFormat) {
|
|
13667
|
+
ImageExtractionFormat["Jpeg"] = "Jpeg";
|
|
13668
|
+
ImageExtractionFormat["Png"] = "Png";
|
|
13669
|
+
})(exports.ImageExtractionFormat || (exports.ImageExtractionFormat = {}));
|
|
13439
13670
|
(function (ImagePreviewFitMode) {
|
|
13440
13671
|
ImagePreviewFitMode["Fit"] = "Fit";
|
|
13441
13672
|
ImagePreviewFitMode["Shrink"] = "Shrink";
|