@aurigma/ng-design-atoms-api-client 2.29.1 → 2.31.5
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 +272 -137
- 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 +135 -15
- 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 +135 -15
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +70 -22
- package/package.json +1 -1
|
@@ -2514,6 +2514,125 @@
|
|
|
2514
2514
|
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
2515
2515
|
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
2516
2516
|
]; };
|
|
2517
|
+
var DesignAtomsImagesApiClient = /** @class */ (function (_super) {
|
|
2518
|
+
__extends(DesignAtomsImagesApiClient, _super);
|
|
2519
|
+
function DesignAtomsImagesApiClient(configuration, http, baseUrl) {
|
|
2520
|
+
var _this = _super.call(this, configuration) || this;
|
|
2521
|
+
_this.jsonParseReviver = undefined;
|
|
2522
|
+
_this.http = http;
|
|
2523
|
+
_this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
|
|
2524
|
+
return _this;
|
|
2525
|
+
}
|
|
2526
|
+
/**
|
|
2527
|
+
* Renders a web image preview with the specified parameters.
|
|
2528
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2529
|
+
(default value is 'false').
|
|
2530
|
+
* @param tenantId (optional) Tenant identifier
|
|
2531
|
+
* @param body (optional) Render model with preview parameters.
|
|
2532
|
+
* @return Success
|
|
2533
|
+
*/
|
|
2534
|
+
DesignAtomsImagesApiClient.prototype.renderImagePreview = function (attachment, tenantId, body) {
|
|
2535
|
+
var _this = this;
|
|
2536
|
+
var url_ = this.baseUrl + "/api/atoms/v1/images/render-image-preview?";
|
|
2537
|
+
if (attachment !== undefined && attachment !== null)
|
|
2538
|
+
url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
|
|
2539
|
+
if (tenantId === null)
|
|
2540
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
2541
|
+
else if (tenantId !== undefined)
|
|
2542
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
2543
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
2544
|
+
var content_ = JSON.stringify(body);
|
|
2545
|
+
var options_ = {
|
|
2546
|
+
body: content_,
|
|
2547
|
+
observe: "response",
|
|
2548
|
+
responseType: "blob",
|
|
2549
|
+
headers: new i1.HttpHeaders({
|
|
2550
|
+
"Content-Type": "application/json",
|
|
2551
|
+
"Accept": "application/octet-stream"
|
|
2552
|
+
})
|
|
2553
|
+
};
|
|
2554
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
2555
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
2556
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
2557
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processRenderImagePreview(r); });
|
|
2558
|
+
})).pipe(operators.catchError(function (response_) {
|
|
2559
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
2560
|
+
try {
|
|
2561
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processRenderImagePreview(r); });
|
|
2562
|
+
}
|
|
2563
|
+
catch (e) {
|
|
2564
|
+
return rxjs.throwError(e);
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
else
|
|
2568
|
+
return rxjs.throwError(response_);
|
|
2569
|
+
}));
|
|
2570
|
+
};
|
|
2571
|
+
DesignAtomsImagesApiClient.prototype.processRenderImagePreview = function (response) {
|
|
2572
|
+
var e_26, _a;
|
|
2573
|
+
var _this = this;
|
|
2574
|
+
var status = response.status;
|
|
2575
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
2576
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
2577
|
+
var _headers = {};
|
|
2578
|
+
if (response.headers) {
|
|
2579
|
+
try {
|
|
2580
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2581
|
+
var key = _c.value;
|
|
2582
|
+
_headers[key] = response.headers.get(key);
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
2586
|
+
finally {
|
|
2587
|
+
try {
|
|
2588
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2589
|
+
}
|
|
2590
|
+
finally { if (e_26) throw e_26.error; }
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
if (status === 200 || status === 206) {
|
|
2594
|
+
var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
2595
|
+
var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
2596
|
+
var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
2597
|
+
return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
|
|
2598
|
+
}
|
|
2599
|
+
else if (status === 401) {
|
|
2600
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2601
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2602
|
+
}));
|
|
2603
|
+
}
|
|
2604
|
+
else if (status === 403) {
|
|
2605
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2606
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
2607
|
+
}));
|
|
2608
|
+
}
|
|
2609
|
+
else if (status === 500) {
|
|
2610
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2611
|
+
var result500 = null;
|
|
2612
|
+
result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
2613
|
+
return throwException("Internal server error", status, _responseText, _headers, result500);
|
|
2614
|
+
}));
|
|
2615
|
+
}
|
|
2616
|
+
else if (status !== 200 && status !== 204) {
|
|
2617
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
2618
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
2619
|
+
}));
|
|
2620
|
+
}
|
|
2621
|
+
return rxjs.of(null);
|
|
2622
|
+
};
|
|
2623
|
+
return DesignAtomsImagesApiClient;
|
|
2624
|
+
}(ApiClientBase));
|
|
2625
|
+
DesignAtomsImagesApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsImagesApiClient_Factory() { return new DesignAtomsImagesApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsImagesApiClient, providedIn: "root" });
|
|
2626
|
+
DesignAtomsImagesApiClient.decorators = [
|
|
2627
|
+
{ type: i0.Injectable, args: [{
|
|
2628
|
+
providedIn: 'root'
|
|
2629
|
+
},] }
|
|
2630
|
+
];
|
|
2631
|
+
DesignAtomsImagesApiClient.ctorParameters = function () { return [
|
|
2632
|
+
{ type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
|
|
2633
|
+
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
2634
|
+
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
2635
|
+
]; };
|
|
2517
2636
|
var DesignAtomsServiceApiClient = /** @class */ (function (_super) {
|
|
2518
2637
|
__extends(DesignAtomsServiceApiClient, _super);
|
|
2519
2638
|
function DesignAtomsServiceApiClient(configuration, http, baseUrl) {
|
|
@@ -2565,7 +2684,7 @@
|
|
|
2565
2684
|
}));
|
|
2566
2685
|
};
|
|
2567
2686
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
2568
|
-
var
|
|
2687
|
+
var e_27, _a;
|
|
2569
2688
|
var _this = this;
|
|
2570
2689
|
var status = response.status;
|
|
2571
2690
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2578,12 +2697,12 @@
|
|
|
2578
2697
|
_headers[key] = response.headers.get(key);
|
|
2579
2698
|
}
|
|
2580
2699
|
}
|
|
2581
|
-
catch (
|
|
2700
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
2582
2701
|
finally {
|
|
2583
2702
|
try {
|
|
2584
2703
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2585
2704
|
}
|
|
2586
|
-
finally { if (
|
|
2705
|
+
finally { if (e_27) throw e_27.error; }
|
|
2587
2706
|
}
|
|
2588
2707
|
}
|
|
2589
2708
|
if (status === 200) {
|
|
@@ -2672,7 +2791,7 @@
|
|
|
2672
2791
|
}));
|
|
2673
2792
|
};
|
|
2674
2793
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
2675
|
-
var
|
|
2794
|
+
var e_28, _a;
|
|
2676
2795
|
var _this = this;
|
|
2677
2796
|
var status = response.status;
|
|
2678
2797
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2685,12 +2804,12 @@
|
|
|
2685
2804
|
_headers[key] = response.headers.get(key);
|
|
2686
2805
|
}
|
|
2687
2806
|
}
|
|
2688
|
-
catch (
|
|
2807
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
2689
2808
|
finally {
|
|
2690
2809
|
try {
|
|
2691
2810
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2692
2811
|
}
|
|
2693
|
-
finally { if (
|
|
2812
|
+
finally { if (e_28) throw e_28.error; }
|
|
2694
2813
|
}
|
|
2695
2814
|
}
|
|
2696
2815
|
if (status === 201) {
|
|
@@ -2772,7 +2891,7 @@
|
|
|
2772
2891
|
}));
|
|
2773
2892
|
};
|
|
2774
2893
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
2775
|
-
var
|
|
2894
|
+
var e_29, _a;
|
|
2776
2895
|
var _this = this;
|
|
2777
2896
|
var status = response.status;
|
|
2778
2897
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2785,12 +2904,12 @@
|
|
|
2785
2904
|
_headers[key] = response.headers.get(key);
|
|
2786
2905
|
}
|
|
2787
2906
|
}
|
|
2788
|
-
catch (
|
|
2907
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
2789
2908
|
finally {
|
|
2790
2909
|
try {
|
|
2791
2910
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2792
2911
|
}
|
|
2793
|
-
finally { if (
|
|
2912
|
+
finally { if (e_29) throw e_29.error; }
|
|
2794
2913
|
}
|
|
2795
2914
|
}
|
|
2796
2915
|
if (status === 200 || status === 206) {
|
|
@@ -2885,7 +3004,7 @@
|
|
|
2885
3004
|
}));
|
|
2886
3005
|
};
|
|
2887
3006
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
2888
|
-
var
|
|
3007
|
+
var e_30, _a;
|
|
2889
3008
|
var _this = this;
|
|
2890
3009
|
var status = response.status;
|
|
2891
3010
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -2898,12 +3017,12 @@
|
|
|
2898
3017
|
_headers[key] = response.headers.get(key);
|
|
2899
3018
|
}
|
|
2900
3019
|
}
|
|
2901
|
-
catch (
|
|
3020
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
2902
3021
|
finally {
|
|
2903
3022
|
try {
|
|
2904
3023
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
2905
3024
|
}
|
|
2906
|
-
finally { if (
|
|
3025
|
+
finally { if (e_30) throw e_30.error; }
|
|
2907
3026
|
}
|
|
2908
3027
|
}
|
|
2909
3028
|
if (status === 200) {
|
|
@@ -2995,7 +3114,7 @@
|
|
|
2995
3114
|
}));
|
|
2996
3115
|
};
|
|
2997
3116
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
2998
|
-
var
|
|
3117
|
+
var e_31, _a;
|
|
2999
3118
|
var _this = this;
|
|
3000
3119
|
var status = response.status;
|
|
3001
3120
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3008,12 +3127,12 @@
|
|
|
3008
3127
|
_headers[key] = response.headers.get(key);
|
|
3009
3128
|
}
|
|
3010
3129
|
}
|
|
3011
|
-
catch (
|
|
3130
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
3012
3131
|
finally {
|
|
3013
3132
|
try {
|
|
3014
3133
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3015
3134
|
}
|
|
3016
|
-
finally { if (
|
|
3135
|
+
finally { if (e_31) throw e_31.error; }
|
|
3017
3136
|
}
|
|
3018
3137
|
}
|
|
3019
3138
|
if (status === 200) {
|
|
@@ -3053,17 +3172,20 @@
|
|
|
3053
3172
|
return rxjs.of(null);
|
|
3054
3173
|
};
|
|
3055
3174
|
/**
|
|
3056
|
-
* Patches product (design model) in design file
|
|
3057
|
-
* @param id Design identifier
|
|
3058
|
-
* @param privateStorage (optional) If set to 'true' design will be taken from private storage
|
|
3059
|
-
* @param privateStorageOwner (optional) Private storage owner identifier
|
|
3175
|
+
* Patches product (design model) in design file.
|
|
3176
|
+
* @param id Design identifier.
|
|
3177
|
+
* @param privateStorage (optional) If set to 'true' design will be taken from private storage.
|
|
3178
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3060
3179
|
* @param tenantId (optional) Tenant identifier
|
|
3061
3180
|
* @param patchType (optional)
|
|
3062
3181
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
3063
3182
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
3183
|
+
* @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
|
|
3184
|
+
* @param replacePlaceholderItemContentInfo_newContentType (optional)
|
|
3185
|
+
* @param replacePlaceholderItemContentInfo_sourceFile (optional)
|
|
3064
3186
|
* @return Success
|
|
3065
3187
|
*/
|
|
3066
|
-
DesignAtomsServiceApiClient.prototype.patchProduct = function (id, privateStorage, privateStorageOwner, tenantId, patchType, replaceImageItemFileInfo_itemName, replaceImageItemFileInfo_sourceFile) {
|
|
3188
|
+
DesignAtomsServiceApiClient.prototype.patchProduct = function (id, privateStorage, privateStorageOwner, tenantId, patchType, replaceImageItemFileInfo_itemName, replaceImageItemFileInfo_sourceFile, replacePlaceholderItemContentInfo_placeholderItemName, replacePlaceholderItemContentInfo_newContentType, replacePlaceholderItemContentInfo_sourceFile) {
|
|
3067
3189
|
var _this = this;
|
|
3068
3190
|
var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/model?";
|
|
3069
3191
|
if (id === undefined || id === null)
|
|
@@ -3087,6 +3209,14 @@
|
|
|
3087
3209
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
3088
3210
|
if (replaceImageItemFileInfo_sourceFile !== null && replaceImageItemFileInfo_sourceFile !== undefined)
|
|
3089
3211
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
3212
|
+
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
3213
|
+
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
3214
|
+
if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
|
|
3215
|
+
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
3216
|
+
else
|
|
3217
|
+
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
3218
|
+
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
3219
|
+
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
3090
3220
|
var options_ = {
|
|
3091
3221
|
body: content_,
|
|
3092
3222
|
observe: "response",
|
|
@@ -3111,7 +3241,7 @@
|
|
|
3111
3241
|
}));
|
|
3112
3242
|
};
|
|
3113
3243
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
3114
|
-
var
|
|
3244
|
+
var e_32, _a;
|
|
3115
3245
|
var _this = this;
|
|
3116
3246
|
var status = response.status;
|
|
3117
3247
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3124,12 +3254,12 @@
|
|
|
3124
3254
|
_headers[key] = response.headers.get(key);
|
|
3125
3255
|
}
|
|
3126
3256
|
}
|
|
3127
|
-
catch (
|
|
3257
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
3128
3258
|
finally {
|
|
3129
3259
|
try {
|
|
3130
3260
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3131
3261
|
}
|
|
3132
|
-
finally { if (
|
|
3262
|
+
finally { if (e_32) throw e_32.error; }
|
|
3133
3263
|
}
|
|
3134
3264
|
}
|
|
3135
3265
|
if (status === 200) {
|
|
@@ -3216,7 +3346,7 @@
|
|
|
3216
3346
|
}));
|
|
3217
3347
|
};
|
|
3218
3348
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
3219
|
-
var
|
|
3349
|
+
var e_33, _a;
|
|
3220
3350
|
var _this = this;
|
|
3221
3351
|
var status = response.status;
|
|
3222
3352
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3229,12 +3359,12 @@
|
|
|
3229
3359
|
_headers[key] = response.headers.get(key);
|
|
3230
3360
|
}
|
|
3231
3361
|
}
|
|
3232
|
-
catch (
|
|
3362
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
3233
3363
|
finally {
|
|
3234
3364
|
try {
|
|
3235
3365
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3236
3366
|
}
|
|
3237
|
-
finally { if (
|
|
3367
|
+
finally { if (e_33) throw e_33.error; }
|
|
3238
3368
|
}
|
|
3239
3369
|
}
|
|
3240
3370
|
if (status === 200 || status === 206) {
|
|
@@ -3329,7 +3459,7 @@
|
|
|
3329
3459
|
}));
|
|
3330
3460
|
};
|
|
3331
3461
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
3332
|
-
var
|
|
3462
|
+
var e_34, _a;
|
|
3333
3463
|
var _this = this;
|
|
3334
3464
|
var status = response.status;
|
|
3335
3465
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3342,12 +3472,12 @@
|
|
|
3342
3472
|
_headers[key] = response.headers.get(key);
|
|
3343
3473
|
}
|
|
3344
3474
|
}
|
|
3345
|
-
catch (
|
|
3475
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
3346
3476
|
finally {
|
|
3347
3477
|
try {
|
|
3348
3478
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3349
3479
|
}
|
|
3350
|
-
finally { if (
|
|
3480
|
+
finally { if (e_34) throw e_34.error; }
|
|
3351
3481
|
}
|
|
3352
3482
|
}
|
|
3353
3483
|
if (status === 200) {
|
|
@@ -3439,7 +3569,7 @@
|
|
|
3439
3569
|
}));
|
|
3440
3570
|
};
|
|
3441
3571
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
3442
|
-
var
|
|
3572
|
+
var e_35, _a;
|
|
3443
3573
|
var _this = this;
|
|
3444
3574
|
var status = response.status;
|
|
3445
3575
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3452,12 +3582,12 @@
|
|
|
3452
3582
|
_headers[key] = response.headers.get(key);
|
|
3453
3583
|
}
|
|
3454
3584
|
}
|
|
3455
|
-
catch (
|
|
3585
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
3456
3586
|
finally {
|
|
3457
3587
|
try {
|
|
3458
3588
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3459
3589
|
}
|
|
3460
|
-
finally { if (
|
|
3590
|
+
finally { if (e_35) throw e_35.error; }
|
|
3461
3591
|
}
|
|
3462
3592
|
}
|
|
3463
3593
|
if (status === 200) {
|
|
@@ -3551,7 +3681,7 @@
|
|
|
3551
3681
|
}));
|
|
3552
3682
|
};
|
|
3553
3683
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
3554
|
-
var
|
|
3684
|
+
var e_36, _a;
|
|
3555
3685
|
var _this = this;
|
|
3556
3686
|
var status = response.status;
|
|
3557
3687
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3564,12 +3694,12 @@
|
|
|
3564
3694
|
_headers[key] = response.headers.get(key);
|
|
3565
3695
|
}
|
|
3566
3696
|
}
|
|
3567
|
-
catch (
|
|
3697
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
3568
3698
|
finally {
|
|
3569
3699
|
try {
|
|
3570
3700
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3571
3701
|
}
|
|
3572
|
-
finally { if (
|
|
3702
|
+
finally { if (e_36) throw e_36.error; }
|
|
3573
3703
|
}
|
|
3574
3704
|
}
|
|
3575
3705
|
if (status === 200) {
|
|
@@ -3668,7 +3798,7 @@
|
|
|
3668
3798
|
}));
|
|
3669
3799
|
};
|
|
3670
3800
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
3671
|
-
var
|
|
3801
|
+
var e_37, _a;
|
|
3672
3802
|
var _this = this;
|
|
3673
3803
|
var status = response.status;
|
|
3674
3804
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3681,12 +3811,12 @@
|
|
|
3681
3811
|
_headers[key] = response.headers.get(key);
|
|
3682
3812
|
}
|
|
3683
3813
|
}
|
|
3684
|
-
catch (
|
|
3814
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
3685
3815
|
finally {
|
|
3686
3816
|
try {
|
|
3687
3817
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3688
3818
|
}
|
|
3689
|
-
finally { if (
|
|
3819
|
+
finally { if (e_37) throw e_37.error; }
|
|
3690
3820
|
}
|
|
3691
3821
|
}
|
|
3692
3822
|
if (status === 200) {
|
|
@@ -3771,7 +3901,7 @@
|
|
|
3771
3901
|
}));
|
|
3772
3902
|
};
|
|
3773
3903
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
3774
|
-
var
|
|
3904
|
+
var e_38, _a;
|
|
3775
3905
|
var _this = this;
|
|
3776
3906
|
var status = response.status;
|
|
3777
3907
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3784,12 +3914,12 @@
|
|
|
3784
3914
|
_headers[key] = response.headers.get(key);
|
|
3785
3915
|
}
|
|
3786
3916
|
}
|
|
3787
|
-
catch (
|
|
3917
|
+
catch (e_38_1) { e_38 = { error: e_38_1 }; }
|
|
3788
3918
|
finally {
|
|
3789
3919
|
try {
|
|
3790
3920
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3791
3921
|
}
|
|
3792
|
-
finally { if (
|
|
3922
|
+
finally { if (e_38) throw e_38.error; }
|
|
3793
3923
|
}
|
|
3794
3924
|
}
|
|
3795
3925
|
if (status === 200) {
|
|
@@ -3870,7 +4000,7 @@
|
|
|
3870
4000
|
}));
|
|
3871
4001
|
};
|
|
3872
4002
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
3873
|
-
var
|
|
4003
|
+
var e_39, _a;
|
|
3874
4004
|
var _this = this;
|
|
3875
4005
|
var status = response.status;
|
|
3876
4006
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3883,12 +4013,12 @@
|
|
|
3883
4013
|
_headers[key] = response.headers.get(key);
|
|
3884
4014
|
}
|
|
3885
4015
|
}
|
|
3886
|
-
catch (
|
|
4016
|
+
catch (e_39_1) { e_39 = { error: e_39_1 }; }
|
|
3887
4017
|
finally {
|
|
3888
4018
|
try {
|
|
3889
4019
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3890
4020
|
}
|
|
3891
|
-
finally { if (
|
|
4021
|
+
finally { if (e_39) throw e_39.error; }
|
|
3892
4022
|
}
|
|
3893
4023
|
}
|
|
3894
4024
|
if (status === 200) {
|
|
@@ -3977,7 +4107,7 @@
|
|
|
3977
4107
|
}));
|
|
3978
4108
|
};
|
|
3979
4109
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
3980
|
-
var
|
|
4110
|
+
var e_40, _a;
|
|
3981
4111
|
var _this = this;
|
|
3982
4112
|
var status = response.status;
|
|
3983
4113
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -3990,12 +4120,12 @@
|
|
|
3990
4120
|
_headers[key] = response.headers.get(key);
|
|
3991
4121
|
}
|
|
3992
4122
|
}
|
|
3993
|
-
catch (
|
|
4123
|
+
catch (e_40_1) { e_40 = { error: e_40_1 }; }
|
|
3994
4124
|
finally {
|
|
3995
4125
|
try {
|
|
3996
4126
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3997
4127
|
}
|
|
3998
|
-
finally { if (
|
|
4128
|
+
finally { if (e_40) throw e_40.error; }
|
|
3999
4129
|
}
|
|
4000
4130
|
}
|
|
4001
4131
|
if (status === 200) {
|
|
@@ -4081,7 +4211,7 @@
|
|
|
4081
4211
|
}));
|
|
4082
4212
|
};
|
|
4083
4213
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
4084
|
-
var
|
|
4214
|
+
var e_41, _a;
|
|
4085
4215
|
var _this = this;
|
|
4086
4216
|
var status = response.status;
|
|
4087
4217
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4094,12 +4224,12 @@
|
|
|
4094
4224
|
_headers[key] = response.headers.get(key);
|
|
4095
4225
|
}
|
|
4096
4226
|
}
|
|
4097
|
-
catch (
|
|
4227
|
+
catch (e_41_1) { e_41 = { error: e_41_1 }; }
|
|
4098
4228
|
finally {
|
|
4099
4229
|
try {
|
|
4100
4230
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4101
4231
|
}
|
|
4102
|
-
finally { if (
|
|
4232
|
+
finally { if (e_41) throw e_41.error; }
|
|
4103
4233
|
}
|
|
4104
4234
|
}
|
|
4105
4235
|
if (status === 201) {
|
|
@@ -4176,7 +4306,7 @@
|
|
|
4176
4306
|
}));
|
|
4177
4307
|
};
|
|
4178
4308
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
4179
|
-
var
|
|
4309
|
+
var e_42, _a;
|
|
4180
4310
|
var _this = this;
|
|
4181
4311
|
var status = response.status;
|
|
4182
4312
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4189,12 +4319,12 @@
|
|
|
4189
4319
|
_headers[key] = response.headers.get(key);
|
|
4190
4320
|
}
|
|
4191
4321
|
}
|
|
4192
|
-
catch (
|
|
4322
|
+
catch (e_42_1) { e_42 = { error: e_42_1 }; }
|
|
4193
4323
|
finally {
|
|
4194
4324
|
try {
|
|
4195
4325
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4196
4326
|
}
|
|
4197
|
-
finally { if (
|
|
4327
|
+
finally { if (e_42) throw e_42.error; }
|
|
4198
4328
|
}
|
|
4199
4329
|
}
|
|
4200
4330
|
if (status === 201) {
|
|
@@ -4272,7 +4402,7 @@
|
|
|
4272
4402
|
}));
|
|
4273
4403
|
};
|
|
4274
4404
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
4275
|
-
var
|
|
4405
|
+
var e_43, _a;
|
|
4276
4406
|
var _this = this;
|
|
4277
4407
|
var status = response.status;
|
|
4278
4408
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4285,12 +4415,12 @@
|
|
|
4285
4415
|
_headers[key] = response.headers.get(key);
|
|
4286
4416
|
}
|
|
4287
4417
|
}
|
|
4288
|
-
catch (
|
|
4418
|
+
catch (e_43_1) { e_43 = { error: e_43_1 }; }
|
|
4289
4419
|
finally {
|
|
4290
4420
|
try {
|
|
4291
4421
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4292
4422
|
}
|
|
4293
|
-
finally { if (
|
|
4423
|
+
finally { if (e_43) throw e_43.error; }
|
|
4294
4424
|
}
|
|
4295
4425
|
}
|
|
4296
4426
|
if (status === 200 || status === 206) {
|
|
@@ -4369,7 +4499,7 @@
|
|
|
4369
4499
|
}));
|
|
4370
4500
|
};
|
|
4371
4501
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
4372
|
-
var
|
|
4502
|
+
var e_44, _a;
|
|
4373
4503
|
var _this = this;
|
|
4374
4504
|
var status = response.status;
|
|
4375
4505
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4382,12 +4512,12 @@
|
|
|
4382
4512
|
_headers[key] = response.headers.get(key);
|
|
4383
4513
|
}
|
|
4384
4514
|
}
|
|
4385
|
-
catch (
|
|
4515
|
+
catch (e_44_1) { e_44 = { error: e_44_1 }; }
|
|
4386
4516
|
finally {
|
|
4387
4517
|
try {
|
|
4388
4518
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4389
4519
|
}
|
|
4390
|
-
finally { if (
|
|
4520
|
+
finally { if (e_44) throw e_44.error; }
|
|
4391
4521
|
}
|
|
4392
4522
|
}
|
|
4393
4523
|
if (status === 200 || status === 206) {
|
|
@@ -4465,7 +4595,7 @@
|
|
|
4465
4595
|
}));
|
|
4466
4596
|
};
|
|
4467
4597
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
4468
|
-
var
|
|
4598
|
+
var e_45, _a;
|
|
4469
4599
|
var _this = this;
|
|
4470
4600
|
var status = response.status;
|
|
4471
4601
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4478,12 +4608,12 @@
|
|
|
4478
4608
|
_headers[key] = response.headers.get(key);
|
|
4479
4609
|
}
|
|
4480
4610
|
}
|
|
4481
|
-
catch (
|
|
4611
|
+
catch (e_45_1) { e_45 = { error: e_45_1 }; }
|
|
4482
4612
|
finally {
|
|
4483
4613
|
try {
|
|
4484
4614
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4485
4615
|
}
|
|
4486
|
-
finally { if (
|
|
4616
|
+
finally { if (e_45) throw e_45.error; }
|
|
4487
4617
|
}
|
|
4488
4618
|
}
|
|
4489
4619
|
if (status === 200 || status === 206) {
|
|
@@ -4579,7 +4709,7 @@
|
|
|
4579
4709
|
}));
|
|
4580
4710
|
};
|
|
4581
4711
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
4582
|
-
var
|
|
4712
|
+
var e_46, _a;
|
|
4583
4713
|
var _this = this;
|
|
4584
4714
|
var status = response.status;
|
|
4585
4715
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4592,12 +4722,12 @@
|
|
|
4592
4722
|
_headers[key] = response.headers.get(key);
|
|
4593
4723
|
}
|
|
4594
4724
|
}
|
|
4595
|
-
catch (
|
|
4725
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4596
4726
|
finally {
|
|
4597
4727
|
try {
|
|
4598
4728
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4599
4729
|
}
|
|
4600
|
-
finally { if (
|
|
4730
|
+
finally { if (e_46) throw e_46.error; }
|
|
4601
4731
|
}
|
|
4602
4732
|
}
|
|
4603
4733
|
if (status === 200) {
|
|
@@ -4661,7 +4791,7 @@
|
|
|
4661
4791
|
}));
|
|
4662
4792
|
};
|
|
4663
4793
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
4664
|
-
var
|
|
4794
|
+
var e_47, _a;
|
|
4665
4795
|
var _this = this;
|
|
4666
4796
|
var status = response.status;
|
|
4667
4797
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4674,12 +4804,12 @@
|
|
|
4674
4804
|
_headers[key] = response.headers.get(key);
|
|
4675
4805
|
}
|
|
4676
4806
|
}
|
|
4677
|
-
catch (
|
|
4807
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4678
4808
|
finally {
|
|
4679
4809
|
try {
|
|
4680
4810
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4681
4811
|
}
|
|
4682
|
-
finally { if (
|
|
4812
|
+
finally { if (e_47) throw e_47.error; }
|
|
4683
4813
|
}
|
|
4684
4814
|
}
|
|
4685
4815
|
if (status === 200 || status === 206) {
|
|
@@ -4749,7 +4879,7 @@
|
|
|
4749
4879
|
}));
|
|
4750
4880
|
};
|
|
4751
4881
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
4752
|
-
var
|
|
4882
|
+
var e_48, _a;
|
|
4753
4883
|
var _this = this;
|
|
4754
4884
|
var status = response.status;
|
|
4755
4885
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4762,12 +4892,12 @@
|
|
|
4762
4892
|
_headers[key] = response.headers.get(key);
|
|
4763
4893
|
}
|
|
4764
4894
|
}
|
|
4765
|
-
catch (
|
|
4895
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4766
4896
|
finally {
|
|
4767
4897
|
try {
|
|
4768
4898
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4769
4899
|
}
|
|
4770
|
-
finally { if (
|
|
4900
|
+
finally { if (e_48) throw e_48.error; }
|
|
4771
4901
|
}
|
|
4772
4902
|
}
|
|
4773
4903
|
if (status === 200 || status === 206) {
|
|
@@ -4838,7 +4968,7 @@
|
|
|
4838
4968
|
}));
|
|
4839
4969
|
};
|
|
4840
4970
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
4841
|
-
var
|
|
4971
|
+
var e_49, _a;
|
|
4842
4972
|
var _this = this;
|
|
4843
4973
|
var status = response.status;
|
|
4844
4974
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4851,12 +4981,12 @@
|
|
|
4851
4981
|
_headers[key] = response.headers.get(key);
|
|
4852
4982
|
}
|
|
4853
4983
|
}
|
|
4854
|
-
catch (
|
|
4984
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
4855
4985
|
finally {
|
|
4856
4986
|
try {
|
|
4857
4987
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4858
4988
|
}
|
|
4859
|
-
finally { if (
|
|
4989
|
+
finally { if (e_49) throw e_49.error; }
|
|
4860
4990
|
}
|
|
4861
4991
|
}
|
|
4862
4992
|
if (status === 200) {
|
|
@@ -4921,7 +5051,7 @@
|
|
|
4921
5051
|
}));
|
|
4922
5052
|
};
|
|
4923
5053
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
4924
|
-
var
|
|
5054
|
+
var e_50, _a;
|
|
4925
5055
|
var _this = this;
|
|
4926
5056
|
var status = response.status;
|
|
4927
5057
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4934,12 +5064,12 @@
|
|
|
4934
5064
|
_headers[key] = response.headers.get(key);
|
|
4935
5065
|
}
|
|
4936
5066
|
}
|
|
4937
|
-
catch (
|
|
5067
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
4938
5068
|
finally {
|
|
4939
5069
|
try {
|
|
4940
5070
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4941
5071
|
}
|
|
4942
|
-
finally { if (
|
|
5072
|
+
finally { if (e_50) throw e_50.error; }
|
|
4943
5073
|
}
|
|
4944
5074
|
}
|
|
4945
5075
|
if (status === 200) {
|
|
@@ -5004,7 +5134,7 @@
|
|
|
5004
5134
|
}));
|
|
5005
5135
|
};
|
|
5006
5136
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
5007
|
-
var
|
|
5137
|
+
var e_51, _a;
|
|
5008
5138
|
var _this = this;
|
|
5009
5139
|
var status = response.status;
|
|
5010
5140
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5017,12 +5147,12 @@
|
|
|
5017
5147
|
_headers[key] = response.headers.get(key);
|
|
5018
5148
|
}
|
|
5019
5149
|
}
|
|
5020
|
-
catch (
|
|
5150
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
5021
5151
|
finally {
|
|
5022
5152
|
try {
|
|
5023
5153
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5024
5154
|
}
|
|
5025
|
-
finally { if (
|
|
5155
|
+
finally { if (e_51) throw e_51.error; }
|
|
5026
5156
|
}
|
|
5027
5157
|
}
|
|
5028
5158
|
if (status === 200) {
|
|
@@ -5131,7 +5261,7 @@
|
|
|
5131
5261
|
}));
|
|
5132
5262
|
};
|
|
5133
5263
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
5134
|
-
var
|
|
5264
|
+
var e_52, _a;
|
|
5135
5265
|
var _this = this;
|
|
5136
5266
|
var status = response.status;
|
|
5137
5267
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5144,12 +5274,12 @@
|
|
|
5144
5274
|
_headers[key] = response.headers.get(key);
|
|
5145
5275
|
}
|
|
5146
5276
|
}
|
|
5147
|
-
catch (
|
|
5277
|
+
catch (e_52_1) { e_52 = { error: e_52_1 }; }
|
|
5148
5278
|
finally {
|
|
5149
5279
|
try {
|
|
5150
5280
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5151
5281
|
}
|
|
5152
|
-
finally { if (
|
|
5282
|
+
finally { if (e_52) throw e_52.error; }
|
|
5153
5283
|
}
|
|
5154
5284
|
}
|
|
5155
5285
|
if (status === 200 || status === 206) {
|
|
@@ -5221,7 +5351,7 @@
|
|
|
5221
5351
|
}));
|
|
5222
5352
|
};
|
|
5223
5353
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
5224
|
-
var
|
|
5354
|
+
var e_53, _a;
|
|
5225
5355
|
var _this = this;
|
|
5226
5356
|
var status = response.status;
|
|
5227
5357
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5234,12 +5364,12 @@
|
|
|
5234
5364
|
_headers[key] = response.headers.get(key);
|
|
5235
5365
|
}
|
|
5236
5366
|
}
|
|
5237
|
-
catch (
|
|
5367
|
+
catch (e_53_1) { e_53 = { error: e_53_1 }; }
|
|
5238
5368
|
finally {
|
|
5239
5369
|
try {
|
|
5240
5370
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5241
5371
|
}
|
|
5242
|
-
finally { if (
|
|
5372
|
+
finally { if (e_53) throw e_53.error; }
|
|
5243
5373
|
}
|
|
5244
5374
|
}
|
|
5245
5375
|
if (status === 200) {
|
|
@@ -5303,7 +5433,7 @@
|
|
|
5303
5433
|
}));
|
|
5304
5434
|
};
|
|
5305
5435
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
5306
|
-
var
|
|
5436
|
+
var e_54, _a;
|
|
5307
5437
|
var _this = this;
|
|
5308
5438
|
var status = response.status;
|
|
5309
5439
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5316,12 +5446,12 @@
|
|
|
5316
5446
|
_headers[key] = response.headers.get(key);
|
|
5317
5447
|
}
|
|
5318
5448
|
}
|
|
5319
|
-
catch (
|
|
5449
|
+
catch (e_54_1) { e_54 = { error: e_54_1 }; }
|
|
5320
5450
|
finally {
|
|
5321
5451
|
try {
|
|
5322
5452
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5323
5453
|
}
|
|
5324
|
-
finally { if (
|
|
5454
|
+
finally { if (e_54) throw e_54.error; }
|
|
5325
5455
|
}
|
|
5326
5456
|
}
|
|
5327
5457
|
if (status === 200 || status === 206) {
|
|
@@ -5396,7 +5526,7 @@
|
|
|
5396
5526
|
}));
|
|
5397
5527
|
};
|
|
5398
5528
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
5399
|
-
var
|
|
5529
|
+
var e_55, _a;
|
|
5400
5530
|
var _this = this;
|
|
5401
5531
|
var status = response.status;
|
|
5402
5532
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5409,12 +5539,12 @@
|
|
|
5409
5539
|
_headers[key] = response.headers.get(key);
|
|
5410
5540
|
}
|
|
5411
5541
|
}
|
|
5412
|
-
catch (
|
|
5542
|
+
catch (e_55_1) { e_55 = { error: e_55_1 }; }
|
|
5413
5543
|
finally {
|
|
5414
5544
|
try {
|
|
5415
5545
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5416
5546
|
}
|
|
5417
|
-
finally { if (
|
|
5547
|
+
finally { if (e_55) throw e_55.error; }
|
|
5418
5548
|
}
|
|
5419
5549
|
}
|
|
5420
5550
|
if (status === 200 || status === 206) {
|
|
@@ -5484,7 +5614,7 @@
|
|
|
5484
5614
|
}));
|
|
5485
5615
|
};
|
|
5486
5616
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
5487
|
-
var
|
|
5617
|
+
var e_56, _a;
|
|
5488
5618
|
var _this = this;
|
|
5489
5619
|
var status = response.status;
|
|
5490
5620
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5497,12 +5627,12 @@
|
|
|
5497
5627
|
_headers[key] = response.headers.get(key);
|
|
5498
5628
|
}
|
|
5499
5629
|
}
|
|
5500
|
-
catch (
|
|
5630
|
+
catch (e_56_1) { e_56 = { error: e_56_1 }; }
|
|
5501
5631
|
finally {
|
|
5502
5632
|
try {
|
|
5503
5633
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5504
5634
|
}
|
|
5505
|
-
finally { if (
|
|
5635
|
+
finally { if (e_56) throw e_56.error; }
|
|
5506
5636
|
}
|
|
5507
5637
|
}
|
|
5508
5638
|
if (status === 200 || status === 206) {
|
|
@@ -5577,7 +5707,7 @@
|
|
|
5577
5707
|
}));
|
|
5578
5708
|
};
|
|
5579
5709
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
5580
|
-
var
|
|
5710
|
+
var e_57, _a;
|
|
5581
5711
|
var _this = this;
|
|
5582
5712
|
var status = response.status;
|
|
5583
5713
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5590,12 +5720,12 @@
|
|
|
5590
5720
|
_headers[key] = response.headers.get(key);
|
|
5591
5721
|
}
|
|
5592
5722
|
}
|
|
5593
|
-
catch (
|
|
5723
|
+
catch (e_57_1) { e_57 = { error: e_57_1 }; }
|
|
5594
5724
|
finally {
|
|
5595
5725
|
try {
|
|
5596
5726
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5597
5727
|
}
|
|
5598
|
-
finally { if (
|
|
5728
|
+
finally { if (e_57) throw e_57.error; }
|
|
5599
5729
|
}
|
|
5600
5730
|
}
|
|
5601
5731
|
if (status === 200 || status === 206) {
|
|
@@ -5671,7 +5801,7 @@
|
|
|
5671
5801
|
}));
|
|
5672
5802
|
};
|
|
5673
5803
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
5674
|
-
var
|
|
5804
|
+
var e_58, _a;
|
|
5675
5805
|
var _this = this;
|
|
5676
5806
|
var status = response.status;
|
|
5677
5807
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5684,12 +5814,12 @@
|
|
|
5684
5814
|
_headers[key] = response.headers.get(key);
|
|
5685
5815
|
}
|
|
5686
5816
|
}
|
|
5687
|
-
catch (
|
|
5817
|
+
catch (e_58_1) { e_58 = { error: e_58_1 }; }
|
|
5688
5818
|
finally {
|
|
5689
5819
|
try {
|
|
5690
5820
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5691
5821
|
}
|
|
5692
|
-
finally { if (
|
|
5822
|
+
finally { if (e_58) throw e_58.error; }
|
|
5693
5823
|
}
|
|
5694
5824
|
}
|
|
5695
5825
|
if (status === 200) {
|
|
@@ -5754,7 +5884,7 @@
|
|
|
5754
5884
|
}));
|
|
5755
5885
|
};
|
|
5756
5886
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
5757
|
-
var
|
|
5887
|
+
var e_59, _a;
|
|
5758
5888
|
var _this = this;
|
|
5759
5889
|
var status = response.status;
|
|
5760
5890
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5767,12 +5897,12 @@
|
|
|
5767
5897
|
_headers[key] = response.headers.get(key);
|
|
5768
5898
|
}
|
|
5769
5899
|
}
|
|
5770
|
-
catch (
|
|
5900
|
+
catch (e_59_1) { e_59 = { error: e_59_1 }; }
|
|
5771
5901
|
finally {
|
|
5772
5902
|
try {
|
|
5773
5903
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5774
5904
|
}
|
|
5775
|
-
finally { if (
|
|
5905
|
+
finally { if (e_59) throw e_59.error; }
|
|
5776
5906
|
}
|
|
5777
5907
|
}
|
|
5778
5908
|
if (status === 200) {
|
|
@@ -5837,7 +5967,7 @@
|
|
|
5837
5967
|
}));
|
|
5838
5968
|
};
|
|
5839
5969
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
5840
|
-
var
|
|
5970
|
+
var e_60, _a;
|
|
5841
5971
|
var _this = this;
|
|
5842
5972
|
var status = response.status;
|
|
5843
5973
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5850,12 +5980,12 @@
|
|
|
5850
5980
|
_headers[key] = response.headers.get(key);
|
|
5851
5981
|
}
|
|
5852
5982
|
}
|
|
5853
|
-
catch (
|
|
5983
|
+
catch (e_60_1) { e_60 = { error: e_60_1 }; }
|
|
5854
5984
|
finally {
|
|
5855
5985
|
try {
|
|
5856
5986
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5857
5987
|
}
|
|
5858
|
-
finally { if (
|
|
5988
|
+
finally { if (e_60) throw e_60.error; }
|
|
5859
5989
|
}
|
|
5860
5990
|
}
|
|
5861
5991
|
if (status === 200) {
|
|
@@ -5920,7 +6050,7 @@
|
|
|
5920
6050
|
}));
|
|
5921
6051
|
};
|
|
5922
6052
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
5923
|
-
var
|
|
6053
|
+
var e_61, _a;
|
|
5924
6054
|
var _this = this;
|
|
5925
6055
|
var status = response.status;
|
|
5926
6056
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5933,12 +6063,12 @@
|
|
|
5933
6063
|
_headers[key] = response.headers.get(key);
|
|
5934
6064
|
}
|
|
5935
6065
|
}
|
|
5936
|
-
catch (
|
|
6066
|
+
catch (e_61_1) { e_61 = { error: e_61_1 }; }
|
|
5937
6067
|
finally {
|
|
5938
6068
|
try {
|
|
5939
6069
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5940
6070
|
}
|
|
5941
|
-
finally { if (
|
|
6071
|
+
finally { if (e_61) throw e_61.error; }
|
|
5942
6072
|
}
|
|
5943
6073
|
}
|
|
5944
6074
|
if (status === 200) {
|
|
@@ -6003,7 +6133,7 @@
|
|
|
6003
6133
|
}));
|
|
6004
6134
|
};
|
|
6005
6135
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
6006
|
-
var
|
|
6136
|
+
var e_62, _a;
|
|
6007
6137
|
var _this = this;
|
|
6008
6138
|
var status = response.status;
|
|
6009
6139
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6016,12 +6146,12 @@
|
|
|
6016
6146
|
_headers[key] = response.headers.get(key);
|
|
6017
6147
|
}
|
|
6018
6148
|
}
|
|
6019
|
-
catch (
|
|
6149
|
+
catch (e_62_1) { e_62 = { error: e_62_1 }; }
|
|
6020
6150
|
finally {
|
|
6021
6151
|
try {
|
|
6022
6152
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6023
6153
|
}
|
|
6024
|
-
finally { if (
|
|
6154
|
+
finally { if (e_62) throw e_62.error; }
|
|
6025
6155
|
}
|
|
6026
6156
|
}
|
|
6027
6157
|
if (status === 200) {
|
|
@@ -6086,7 +6216,7 @@
|
|
|
6086
6216
|
}));
|
|
6087
6217
|
};
|
|
6088
6218
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
6089
|
-
var
|
|
6219
|
+
var e_63, _a;
|
|
6090
6220
|
var _this = this;
|
|
6091
6221
|
var status = response.status;
|
|
6092
6222
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6099,12 +6229,12 @@
|
|
|
6099
6229
|
_headers[key] = response.headers.get(key);
|
|
6100
6230
|
}
|
|
6101
6231
|
}
|
|
6102
|
-
catch (
|
|
6232
|
+
catch (e_63_1) { e_63 = { error: e_63_1 }; }
|
|
6103
6233
|
finally {
|
|
6104
6234
|
try {
|
|
6105
6235
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6106
6236
|
}
|
|
6107
|
-
finally { if (
|
|
6237
|
+
finally { if (e_63) throw e_63.error; }
|
|
6108
6238
|
}
|
|
6109
6239
|
}
|
|
6110
6240
|
if (status === 200) {
|
|
@@ -6169,7 +6299,7 @@
|
|
|
6169
6299
|
}));
|
|
6170
6300
|
};
|
|
6171
6301
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
6172
|
-
var
|
|
6302
|
+
var e_64, _a;
|
|
6173
6303
|
var _this = this;
|
|
6174
6304
|
var status = response.status;
|
|
6175
6305
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6182,12 +6312,12 @@
|
|
|
6182
6312
|
_headers[key] = response.headers.get(key);
|
|
6183
6313
|
}
|
|
6184
6314
|
}
|
|
6185
|
-
catch (
|
|
6315
|
+
catch (e_64_1) { e_64 = { error: e_64_1 }; }
|
|
6186
6316
|
finally {
|
|
6187
6317
|
try {
|
|
6188
6318
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6189
6319
|
}
|
|
6190
|
-
finally { if (
|
|
6320
|
+
finally { if (e_64) throw e_64.error; }
|
|
6191
6321
|
}
|
|
6192
6322
|
}
|
|
6193
6323
|
if (status === 200) {
|
|
@@ -6252,7 +6382,7 @@
|
|
|
6252
6382
|
}));
|
|
6253
6383
|
};
|
|
6254
6384
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
6255
|
-
var
|
|
6385
|
+
var e_65, _a;
|
|
6256
6386
|
var _this = this;
|
|
6257
6387
|
var status = response.status;
|
|
6258
6388
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6265,12 +6395,12 @@
|
|
|
6265
6395
|
_headers[key] = response.headers.get(key);
|
|
6266
6396
|
}
|
|
6267
6397
|
}
|
|
6268
|
-
catch (
|
|
6398
|
+
catch (e_65_1) { e_65 = { error: e_65_1 }; }
|
|
6269
6399
|
finally {
|
|
6270
6400
|
try {
|
|
6271
6401
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6272
6402
|
}
|
|
6273
|
-
finally { if (
|
|
6403
|
+
finally { if (e_65) throw e_65.error; }
|
|
6274
6404
|
}
|
|
6275
6405
|
}
|
|
6276
6406
|
if (status === 200) {
|
|
@@ -6335,7 +6465,7 @@
|
|
|
6335
6465
|
}));
|
|
6336
6466
|
};
|
|
6337
6467
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
6338
|
-
var
|
|
6468
|
+
var e_66, _a;
|
|
6339
6469
|
var _this = this;
|
|
6340
6470
|
var status = response.status;
|
|
6341
6471
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6348,12 +6478,12 @@
|
|
|
6348
6478
|
_headers[key] = response.headers.get(key);
|
|
6349
6479
|
}
|
|
6350
6480
|
}
|
|
6351
|
-
catch (
|
|
6481
|
+
catch (e_66_1) { e_66 = { error: e_66_1 }; }
|
|
6352
6482
|
finally {
|
|
6353
6483
|
try {
|
|
6354
6484
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6355
6485
|
}
|
|
6356
|
-
finally { if (
|
|
6486
|
+
finally { if (e_66) throw e_66.error; }
|
|
6357
6487
|
}
|
|
6358
6488
|
}
|
|
6359
6489
|
if (status === 200) {
|
|
@@ -6418,7 +6548,7 @@
|
|
|
6418
6548
|
}));
|
|
6419
6549
|
};
|
|
6420
6550
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
6421
|
-
var
|
|
6551
|
+
var e_67, _a;
|
|
6422
6552
|
var _this = this;
|
|
6423
6553
|
var status = response.status;
|
|
6424
6554
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6431,12 +6561,12 @@
|
|
|
6431
6561
|
_headers[key] = response.headers.get(key);
|
|
6432
6562
|
}
|
|
6433
6563
|
}
|
|
6434
|
-
catch (
|
|
6564
|
+
catch (e_67_1) { e_67 = { error: e_67_1 }; }
|
|
6435
6565
|
finally {
|
|
6436
6566
|
try {
|
|
6437
6567
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6438
6568
|
}
|
|
6439
|
-
finally { if (
|
|
6569
|
+
finally { if (e_67) throw e_67.error; }
|
|
6440
6570
|
}
|
|
6441
6571
|
}
|
|
6442
6572
|
if (status === 200) {
|
|
@@ -6501,7 +6631,7 @@
|
|
|
6501
6631
|
}));
|
|
6502
6632
|
};
|
|
6503
6633
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
6504
|
-
var
|
|
6634
|
+
var e_68, _a;
|
|
6505
6635
|
var _this = this;
|
|
6506
6636
|
var status = response.status;
|
|
6507
6637
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6514,12 +6644,12 @@
|
|
|
6514
6644
|
_headers[key] = response.headers.get(key);
|
|
6515
6645
|
}
|
|
6516
6646
|
}
|
|
6517
|
-
catch (
|
|
6647
|
+
catch (e_68_1) { e_68 = { error: e_68_1 }; }
|
|
6518
6648
|
finally {
|
|
6519
6649
|
try {
|
|
6520
6650
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6521
6651
|
}
|
|
6522
|
-
finally { if (
|
|
6652
|
+
finally { if (e_68) throw e_68.error; }
|
|
6523
6653
|
}
|
|
6524
6654
|
}
|
|
6525
6655
|
if (status === 200) {
|
|
@@ -6556,6 +6686,12 @@
|
|
|
6556
6686
|
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
6557
6687
|
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
6558
6688
|
]; };
|
|
6689
|
+
(function (ProductPreviewFormat) {
|
|
6690
|
+
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
6691
|
+
ProductPreviewFormat["Png"] = "Png";
|
|
6692
|
+
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
6693
|
+
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
6694
|
+
})(exports.ProductPreviewFormat || (exports.ProductPreviewFormat = {}));
|
|
6559
6695
|
(function (DesignElementType) {
|
|
6560
6696
|
DesignElementType["Product"] = "Product";
|
|
6561
6697
|
DesignElementType["Design"] = "Design";
|
|
@@ -6567,7 +6703,11 @@
|
|
|
6567
6703
|
(function (ProductPatchType) {
|
|
6568
6704
|
ProductPatchType["Undefined"] = "Undefined";
|
|
6569
6705
|
ProductPatchType["ReplaceImageItemFile"] = "ReplaceImageItemFile";
|
|
6706
|
+
ProductPatchType["ReplacePlaceholderItemContent"] = "ReplacePlaceholderItemContent";
|
|
6570
6707
|
})(exports.ProductPatchType || (exports.ProductPatchType = {}));
|
|
6708
|
+
(function (PlaceholderItemContentType) {
|
|
6709
|
+
PlaceholderItemContentType["Image"] = "Image";
|
|
6710
|
+
})(exports.PlaceholderItemContentType || (exports.PlaceholderItemContentType = {}));
|
|
6571
6711
|
(function (ItemType) {
|
|
6572
6712
|
ItemType["Image"] = "Image";
|
|
6573
6713
|
ItemType["Shape"] = "Shape";
|
|
@@ -6579,12 +6719,6 @@
|
|
|
6579
6719
|
ItemSourceType["ImageStorage"] = "ImageStorage";
|
|
6580
6720
|
ItemSourceType["PrivateImageStorage"] = "PrivateImageStorage";
|
|
6581
6721
|
})(exports.ItemSourceType || (exports.ItemSourceType = {}));
|
|
6582
|
-
(function (ProductPreviewFormat) {
|
|
6583
|
-
ProductPreviewFormat["Jpeg"] = "Jpeg";
|
|
6584
|
-
ProductPreviewFormat["Png"] = "Png";
|
|
6585
|
-
ProductPreviewFormat["Tiff"] = "Tiff";
|
|
6586
|
-
ProductPreviewFormat["Pdf"] = "Pdf";
|
|
6587
|
-
})(exports.ProductPreviewFormat || (exports.ProductPreviewFormat = {}));
|
|
6588
6722
|
(function (ProductProofFormat) {
|
|
6589
6723
|
ProductProofFormat["Jpeg"] = "Jpeg";
|
|
6590
6724
|
ProductProofFormat["Png"] = "Png";
|
|
@@ -6698,6 +6832,7 @@
|
|
|
6698
6832
|
exports.CreateApiClientConfiguration = CreateApiClientConfiguration;
|
|
6699
6833
|
exports.DesignAtomsApiModule = DesignAtomsApiModule;
|
|
6700
6834
|
exports.DesignAtomsCompatibilityApiClient = DesignAtomsCompatibilityApiClient;
|
|
6835
|
+
exports.DesignAtomsImagesApiClient = DesignAtomsImagesApiClient;
|
|
6701
6836
|
exports.DesignAtomsServiceApiClient = DesignAtomsServiceApiClient;
|
|
6702
6837
|
exports.DesignAtomsViewerApiClient = DesignAtomsViewerApiClient;
|
|
6703
6838
|
|