@aurigma/ng-design-atoms-api-client 2.77.4 → 2.79.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 +378 -186
- 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 +168 -1
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +168 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +64 -0
- package/package.json +1 -1
|
@@ -8156,6 +8156,100 @@
|
|
|
8156
8156
|
}
|
|
8157
8157
|
return rxjs.of(null);
|
|
8158
8158
|
};
|
|
8159
|
+
/**
|
|
8160
|
+
* Creates ellipse print-product item and returns its serialized model.
|
|
8161
|
+
* @param tenantId (optional) Tenant ID.
|
|
8162
|
+
* @param body (optional) Operation parameters.
|
|
8163
|
+
* @return Success
|
|
8164
|
+
*/
|
|
8165
|
+
DesignAtomsPrintProductItemsApiClient.prototype.createEllipseItem = function (tenantId, body) {
|
|
8166
|
+
var _this = this;
|
|
8167
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/ellipse?";
|
|
8168
|
+
if (tenantId === null)
|
|
8169
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
8170
|
+
else if (tenantId !== undefined)
|
|
8171
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
8172
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
8173
|
+
var content_ = JSON.stringify(body);
|
|
8174
|
+
var options_ = {
|
|
8175
|
+
body: content_,
|
|
8176
|
+
observe: "response",
|
|
8177
|
+
responseType: "blob",
|
|
8178
|
+
headers: new i1.HttpHeaders({
|
|
8179
|
+
"Content-Type": "application/json",
|
|
8180
|
+
"Accept": "application/json"
|
|
8181
|
+
})
|
|
8182
|
+
};
|
|
8183
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
8184
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
8185
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
8186
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateEllipseItem(r); });
|
|
8187
|
+
})).pipe(operators.catchError(function (response_) {
|
|
8188
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
8189
|
+
try {
|
|
8190
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateEllipseItem(r); });
|
|
8191
|
+
}
|
|
8192
|
+
catch (e) {
|
|
8193
|
+
return rxjs.throwError(e);
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
else
|
|
8197
|
+
return rxjs.throwError(response_);
|
|
8198
|
+
}));
|
|
8199
|
+
};
|
|
8200
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processCreateEllipseItem = function (response) {
|
|
8201
|
+
var e_76, _a;
|
|
8202
|
+
var _this = this;
|
|
8203
|
+
var status = response.status;
|
|
8204
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
8205
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
8206
|
+
var _headers = {};
|
|
8207
|
+
if (response.headers) {
|
|
8208
|
+
try {
|
|
8209
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
8210
|
+
var key = _c.value;
|
|
8211
|
+
_headers[key] = response.headers.get(key);
|
|
8212
|
+
}
|
|
8213
|
+
}
|
|
8214
|
+
catch (e_76_1) { e_76 = { error: e_76_1 }; }
|
|
8215
|
+
finally {
|
|
8216
|
+
try {
|
|
8217
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8218
|
+
}
|
|
8219
|
+
finally { if (e_76) throw e_76.error; }
|
|
8220
|
+
}
|
|
8221
|
+
}
|
|
8222
|
+
if (status === 200) {
|
|
8223
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8224
|
+
var result200 = null;
|
|
8225
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8226
|
+
return rxjs.of(result200);
|
|
8227
|
+
}));
|
|
8228
|
+
}
|
|
8229
|
+
else if (status === 404) {
|
|
8230
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8231
|
+
var result404 = null;
|
|
8232
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8233
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
8234
|
+
}));
|
|
8235
|
+
}
|
|
8236
|
+
else if (status === 401) {
|
|
8237
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8238
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8239
|
+
}));
|
|
8240
|
+
}
|
|
8241
|
+
else if (status === 403) {
|
|
8242
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8243
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
8244
|
+
}));
|
|
8245
|
+
}
|
|
8246
|
+
else if (status !== 200 && status !== 204) {
|
|
8247
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8248
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8249
|
+
}));
|
|
8250
|
+
}
|
|
8251
|
+
return rxjs.of(null);
|
|
8252
|
+
};
|
|
8159
8253
|
/**
|
|
8160
8254
|
* Extracts print-product item image.
|
|
8161
8255
|
* @param tenantId (optional) Tenant ID.
|
|
@@ -8198,7 +8292,7 @@
|
|
|
8198
8292
|
}));
|
|
8199
8293
|
};
|
|
8200
8294
|
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImage = function (response) {
|
|
8201
|
-
var
|
|
8295
|
+
var e_77, _a;
|
|
8202
8296
|
var _this = this;
|
|
8203
8297
|
var status = response.status;
|
|
8204
8298
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8211,12 +8305,12 @@
|
|
|
8211
8305
|
_headers[key] = response.headers.get(key);
|
|
8212
8306
|
}
|
|
8213
8307
|
}
|
|
8214
|
-
catch (
|
|
8308
|
+
catch (e_77_1) { e_77 = { error: e_77_1 }; }
|
|
8215
8309
|
finally {
|
|
8216
8310
|
try {
|
|
8217
8311
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8218
8312
|
}
|
|
8219
|
-
finally { if (
|
|
8313
|
+
finally { if (e_77) throw e_77.error; }
|
|
8220
8314
|
}
|
|
8221
8315
|
}
|
|
8222
8316
|
if (status === 200 || status === 206) {
|
|
@@ -8291,7 +8385,7 @@
|
|
|
8291
8385
|
}));
|
|
8292
8386
|
};
|
|
8293
8387
|
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImageToResource = function (response) {
|
|
8294
|
-
var
|
|
8388
|
+
var e_78, _a;
|
|
8295
8389
|
var _this = this;
|
|
8296
8390
|
var status = response.status;
|
|
8297
8391
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8304,12 +8398,12 @@
|
|
|
8304
8398
|
_headers[key] = response.headers.get(key);
|
|
8305
8399
|
}
|
|
8306
8400
|
}
|
|
8307
|
-
catch (
|
|
8401
|
+
catch (e_78_1) { e_78 = { error: e_78_1 }; }
|
|
8308
8402
|
finally {
|
|
8309
8403
|
try {
|
|
8310
8404
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8311
8405
|
}
|
|
8312
|
-
finally { if (
|
|
8406
|
+
finally { if (e_78) throw e_78.error; }
|
|
8313
8407
|
}
|
|
8314
8408
|
}
|
|
8315
8409
|
if (status === 200) {
|
|
@@ -8388,7 +8482,7 @@
|
|
|
8388
8482
|
}));
|
|
8389
8483
|
};
|
|
8390
8484
|
DesignAtomsPrintProductItemsApiClient.prototype.processFlattenItems = function (response) {
|
|
8391
|
-
var
|
|
8485
|
+
var e_79, _a;
|
|
8392
8486
|
var _this = this;
|
|
8393
8487
|
var status = response.status;
|
|
8394
8488
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8401,12 +8495,12 @@
|
|
|
8401
8495
|
_headers[key] = response.headers.get(key);
|
|
8402
8496
|
}
|
|
8403
8497
|
}
|
|
8404
|
-
catch (
|
|
8498
|
+
catch (e_79_1) { e_79 = { error: e_79_1 }; }
|
|
8405
8499
|
finally {
|
|
8406
8500
|
try {
|
|
8407
8501
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8408
8502
|
}
|
|
8409
|
-
finally { if (
|
|
8503
|
+
finally { if (e_79) throw e_79.error; }
|
|
8410
8504
|
}
|
|
8411
8505
|
}
|
|
8412
8506
|
if (status === 200) {
|
|
@@ -8502,7 +8596,7 @@
|
|
|
8502
8596
|
}));
|
|
8503
8597
|
};
|
|
8504
8598
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromFile = function (response) {
|
|
8505
|
-
var
|
|
8599
|
+
var e_80, _a;
|
|
8506
8600
|
var _this = this;
|
|
8507
8601
|
var status = response.status;
|
|
8508
8602
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8515,12 +8609,12 @@
|
|
|
8515
8609
|
_headers[key] = response.headers.get(key);
|
|
8516
8610
|
}
|
|
8517
8611
|
}
|
|
8518
|
-
catch (
|
|
8612
|
+
catch (e_80_1) { e_80 = { error: e_80_1 }; }
|
|
8519
8613
|
finally {
|
|
8520
8614
|
try {
|
|
8521
8615
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8522
8616
|
}
|
|
8523
|
-
finally { if (
|
|
8617
|
+
finally { if (e_80) throw e_80.error; }
|
|
8524
8618
|
}
|
|
8525
8619
|
}
|
|
8526
8620
|
if (status === 200) {
|
|
@@ -8620,7 +8714,7 @@
|
|
|
8620
8714
|
}));
|
|
8621
8715
|
};
|
|
8622
8716
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromFile = function (response) {
|
|
8623
|
-
var
|
|
8717
|
+
var e_81, _a;
|
|
8624
8718
|
var _this = this;
|
|
8625
8719
|
var status = response.status;
|
|
8626
8720
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8633,12 +8727,12 @@
|
|
|
8633
8727
|
_headers[key] = response.headers.get(key);
|
|
8634
8728
|
}
|
|
8635
8729
|
}
|
|
8636
|
-
catch (
|
|
8730
|
+
catch (e_81_1) { e_81 = { error: e_81_1 }; }
|
|
8637
8731
|
finally {
|
|
8638
8732
|
try {
|
|
8639
8733
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8640
8734
|
}
|
|
8641
|
-
finally { if (
|
|
8735
|
+
finally { if (e_81) throw e_81.error; }
|
|
8642
8736
|
}
|
|
8643
8737
|
}
|
|
8644
8738
|
if (status === 200) {
|
|
@@ -8731,7 +8825,7 @@
|
|
|
8731
8825
|
}));
|
|
8732
8826
|
};
|
|
8733
8827
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromStorage = function (response) {
|
|
8734
|
-
var
|
|
8828
|
+
var e_82, _a;
|
|
8735
8829
|
var _this = this;
|
|
8736
8830
|
var status = response.status;
|
|
8737
8831
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8744,12 +8838,12 @@
|
|
|
8744
8838
|
_headers[key] = response.headers.get(key);
|
|
8745
8839
|
}
|
|
8746
8840
|
}
|
|
8747
|
-
catch (
|
|
8841
|
+
catch (e_82_1) { e_82 = { error: e_82_1 }; }
|
|
8748
8842
|
finally {
|
|
8749
8843
|
try {
|
|
8750
8844
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8751
8845
|
}
|
|
8752
|
-
finally { if (
|
|
8846
|
+
finally { if (e_82) throw e_82.error; }
|
|
8753
8847
|
}
|
|
8754
8848
|
}
|
|
8755
8849
|
if (status === 200) {
|
|
@@ -8842,7 +8936,7 @@
|
|
|
8842
8936
|
}));
|
|
8843
8937
|
};
|
|
8844
8938
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromStorage = function (response) {
|
|
8845
|
-
var
|
|
8939
|
+
var e_83, _a;
|
|
8846
8940
|
var _this = this;
|
|
8847
8941
|
var status = response.status;
|
|
8848
8942
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8855,12 +8949,12 @@
|
|
|
8855
8949
|
_headers[key] = response.headers.get(key);
|
|
8856
8950
|
}
|
|
8857
8951
|
}
|
|
8858
|
-
catch (
|
|
8952
|
+
catch (e_83_1) { e_83 = { error: e_83_1 }; }
|
|
8859
8953
|
finally {
|
|
8860
8954
|
try {
|
|
8861
8955
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8862
8956
|
}
|
|
8863
|
-
finally { if (
|
|
8957
|
+
finally { if (e_83) throw e_83.error; }
|
|
8864
8958
|
}
|
|
8865
8959
|
}
|
|
8866
8960
|
if (status === 200) {
|
|
@@ -8953,7 +9047,7 @@
|
|
|
8953
9047
|
}));
|
|
8954
9048
|
};
|
|
8955
9049
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromUrl = function (response) {
|
|
8956
|
-
var
|
|
9050
|
+
var e_84, _a;
|
|
8957
9051
|
var _this = this;
|
|
8958
9052
|
var status = response.status;
|
|
8959
9053
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8966,12 +9060,12 @@
|
|
|
8966
9060
|
_headers[key] = response.headers.get(key);
|
|
8967
9061
|
}
|
|
8968
9062
|
}
|
|
8969
|
-
catch (
|
|
9063
|
+
catch (e_84_1) { e_84 = { error: e_84_1 }; }
|
|
8970
9064
|
finally {
|
|
8971
9065
|
try {
|
|
8972
9066
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8973
9067
|
}
|
|
8974
|
-
finally { if (
|
|
9068
|
+
finally { if (e_84) throw e_84.error; }
|
|
8975
9069
|
}
|
|
8976
9070
|
}
|
|
8977
9071
|
if (status === 200) {
|
|
@@ -9057,7 +9151,7 @@
|
|
|
9057
9151
|
}));
|
|
9058
9152
|
};
|
|
9059
9153
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromUrl = function (response) {
|
|
9060
|
-
var
|
|
9154
|
+
var e_85, _a;
|
|
9061
9155
|
var _this = this;
|
|
9062
9156
|
var status = response.status;
|
|
9063
9157
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9070,12 +9164,12 @@
|
|
|
9070
9164
|
_headers[key] = response.headers.get(key);
|
|
9071
9165
|
}
|
|
9072
9166
|
}
|
|
9073
|
-
catch (
|
|
9167
|
+
catch (e_85_1) { e_85 = { error: e_85_1 }; }
|
|
9074
9168
|
finally {
|
|
9075
9169
|
try {
|
|
9076
9170
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9077
9171
|
}
|
|
9078
|
-
finally { if (
|
|
9172
|
+
finally { if (e_85) throw e_85.error; }
|
|
9079
9173
|
}
|
|
9080
9174
|
}
|
|
9081
9175
|
if (status === 200) {
|
|
@@ -9116,6 +9210,100 @@
|
|
|
9116
9210
|
}
|
|
9117
9211
|
return rxjs.of(null);
|
|
9118
9212
|
};
|
|
9213
|
+
/**
|
|
9214
|
+
* Creates rectangle print-product item and returns its serialized model.
|
|
9215
|
+
* @param tenantId (optional) Tenant ID.
|
|
9216
|
+
* @param body (optional) Operation parameters.
|
|
9217
|
+
* @return Success
|
|
9218
|
+
*/
|
|
9219
|
+
DesignAtomsPrintProductItemsApiClient.prototype.createRectangleItem = function (tenantId, body) {
|
|
9220
|
+
var _this = this;
|
|
9221
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/rectangle?";
|
|
9222
|
+
if (tenantId === null)
|
|
9223
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
9224
|
+
else if (tenantId !== undefined)
|
|
9225
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
9226
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
9227
|
+
var content_ = JSON.stringify(body);
|
|
9228
|
+
var options_ = {
|
|
9229
|
+
body: content_,
|
|
9230
|
+
observe: "response",
|
|
9231
|
+
responseType: "blob",
|
|
9232
|
+
headers: new i1.HttpHeaders({
|
|
9233
|
+
"Content-Type": "application/json",
|
|
9234
|
+
"Accept": "application/json"
|
|
9235
|
+
})
|
|
9236
|
+
};
|
|
9237
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
9238
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
9239
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
9240
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateRectangleItem(r); });
|
|
9241
|
+
})).pipe(operators.catchError(function (response_) {
|
|
9242
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
9243
|
+
try {
|
|
9244
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateRectangleItem(r); });
|
|
9245
|
+
}
|
|
9246
|
+
catch (e) {
|
|
9247
|
+
return rxjs.throwError(e);
|
|
9248
|
+
}
|
|
9249
|
+
}
|
|
9250
|
+
else
|
|
9251
|
+
return rxjs.throwError(response_);
|
|
9252
|
+
}));
|
|
9253
|
+
};
|
|
9254
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processCreateRectangleItem = function (response) {
|
|
9255
|
+
var e_86, _a;
|
|
9256
|
+
var _this = this;
|
|
9257
|
+
var status = response.status;
|
|
9258
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
9259
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
9260
|
+
var _headers = {};
|
|
9261
|
+
if (response.headers) {
|
|
9262
|
+
try {
|
|
9263
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
9264
|
+
var key = _c.value;
|
|
9265
|
+
_headers[key] = response.headers.get(key);
|
|
9266
|
+
}
|
|
9267
|
+
}
|
|
9268
|
+
catch (e_86_1) { e_86 = { error: e_86_1 }; }
|
|
9269
|
+
finally {
|
|
9270
|
+
try {
|
|
9271
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9272
|
+
}
|
|
9273
|
+
finally { if (e_86) throw e_86.error; }
|
|
9274
|
+
}
|
|
9275
|
+
}
|
|
9276
|
+
if (status === 200) {
|
|
9277
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9278
|
+
var result200 = null;
|
|
9279
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
9280
|
+
return rxjs.of(result200);
|
|
9281
|
+
}));
|
|
9282
|
+
}
|
|
9283
|
+
else if (status === 404) {
|
|
9284
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9285
|
+
var result404 = null;
|
|
9286
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
9287
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
9288
|
+
}));
|
|
9289
|
+
}
|
|
9290
|
+
else if (status === 401) {
|
|
9291
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9292
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9293
|
+
}));
|
|
9294
|
+
}
|
|
9295
|
+
else if (status === 403) {
|
|
9296
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9297
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
9298
|
+
}));
|
|
9299
|
+
}
|
|
9300
|
+
else if (status !== 200 && status !== 204) {
|
|
9301
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9302
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
9303
|
+
}));
|
|
9304
|
+
}
|
|
9305
|
+
return rxjs.of(null);
|
|
9306
|
+
};
|
|
9119
9307
|
return DesignAtomsPrintProductItemsApiClient;
|
|
9120
9308
|
}(ApiClientBase));
|
|
9121
9309
|
DesignAtomsPrintProductItemsApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsPrintProductItemsApiClient_Factory() { return new DesignAtomsPrintProductItemsApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsPrintProductItemsApiClient, providedIn: "root" });
|
|
@@ -9183,7 +9371,7 @@
|
|
|
9183
9371
|
}));
|
|
9184
9372
|
};
|
|
9185
9373
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
9186
|
-
var
|
|
9374
|
+
var e_87, _a;
|
|
9187
9375
|
var _this = this;
|
|
9188
9376
|
var status = response.status;
|
|
9189
9377
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9196,12 +9384,12 @@
|
|
|
9196
9384
|
_headers[key] = response.headers.get(key);
|
|
9197
9385
|
}
|
|
9198
9386
|
}
|
|
9199
|
-
catch (
|
|
9387
|
+
catch (e_87_1) { e_87 = { error: e_87_1 }; }
|
|
9200
9388
|
finally {
|
|
9201
9389
|
try {
|
|
9202
9390
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9203
9391
|
}
|
|
9204
|
-
finally { if (
|
|
9392
|
+
finally { if (e_87) throw e_87.error; }
|
|
9205
9393
|
}
|
|
9206
9394
|
}
|
|
9207
9395
|
if (status === 201) {
|
|
@@ -9283,7 +9471,7 @@
|
|
|
9283
9471
|
}));
|
|
9284
9472
|
};
|
|
9285
9473
|
DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
|
|
9286
|
-
var
|
|
9474
|
+
var e_88, _a;
|
|
9287
9475
|
var _this = this;
|
|
9288
9476
|
var status = response.status;
|
|
9289
9477
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9296,12 +9484,12 @@
|
|
|
9296
9484
|
_headers[key] = response.headers.get(key);
|
|
9297
9485
|
}
|
|
9298
9486
|
}
|
|
9299
|
-
catch (
|
|
9487
|
+
catch (e_88_1) { e_88 = { error: e_88_1 }; }
|
|
9300
9488
|
finally {
|
|
9301
9489
|
try {
|
|
9302
9490
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9303
9491
|
}
|
|
9304
|
-
finally { if (
|
|
9492
|
+
finally { if (e_88) throw e_88.error; }
|
|
9305
9493
|
}
|
|
9306
9494
|
}
|
|
9307
9495
|
if (status === 200) {
|
|
@@ -9388,7 +9576,7 @@
|
|
|
9388
9576
|
}));
|
|
9389
9577
|
};
|
|
9390
9578
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
9391
|
-
var
|
|
9579
|
+
var e_89, _a;
|
|
9392
9580
|
var _this = this;
|
|
9393
9581
|
var status = response.status;
|
|
9394
9582
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9401,12 +9589,12 @@
|
|
|
9401
9589
|
_headers[key] = response.headers.get(key);
|
|
9402
9590
|
}
|
|
9403
9591
|
}
|
|
9404
|
-
catch (
|
|
9592
|
+
catch (e_89_1) { e_89 = { error: e_89_1 }; }
|
|
9405
9593
|
finally {
|
|
9406
9594
|
try {
|
|
9407
9595
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9408
9596
|
}
|
|
9409
|
-
finally { if (
|
|
9597
|
+
finally { if (e_89) throw e_89.error; }
|
|
9410
9598
|
}
|
|
9411
9599
|
}
|
|
9412
9600
|
if (status === 200 || status === 206) {
|
|
@@ -9494,7 +9682,7 @@
|
|
|
9494
9682
|
}));
|
|
9495
9683
|
};
|
|
9496
9684
|
DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
|
|
9497
|
-
var
|
|
9685
|
+
var e_90, _a;
|
|
9498
9686
|
var _this = this;
|
|
9499
9687
|
var status = response.status;
|
|
9500
9688
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9507,12 +9695,12 @@
|
|
|
9507
9695
|
_headers[key] = response.headers.get(key);
|
|
9508
9696
|
}
|
|
9509
9697
|
}
|
|
9510
|
-
catch (
|
|
9698
|
+
catch (e_90_1) { e_90 = { error: e_90_1 }; }
|
|
9511
9699
|
finally {
|
|
9512
9700
|
try {
|
|
9513
9701
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9514
9702
|
}
|
|
9515
|
-
finally { if (
|
|
9703
|
+
finally { if (e_90) throw e_90.error; }
|
|
9516
9704
|
}
|
|
9517
9705
|
}
|
|
9518
9706
|
if (status === 204) {
|
|
@@ -9596,7 +9784,7 @@
|
|
|
9596
9784
|
}));
|
|
9597
9785
|
};
|
|
9598
9786
|
DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
|
|
9599
|
-
var
|
|
9787
|
+
var e_91, _a;
|
|
9600
9788
|
var _this = this;
|
|
9601
9789
|
var status = response.status;
|
|
9602
9790
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9609,12 +9797,12 @@
|
|
|
9609
9797
|
_headers[key] = response.headers.get(key);
|
|
9610
9798
|
}
|
|
9611
9799
|
}
|
|
9612
|
-
catch (
|
|
9800
|
+
catch (e_91_1) { e_91 = { error: e_91_1 }; }
|
|
9613
9801
|
finally {
|
|
9614
9802
|
try {
|
|
9615
9803
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9616
9804
|
}
|
|
9617
|
-
finally { if (
|
|
9805
|
+
finally { if (e_91) throw e_91.error; }
|
|
9618
9806
|
}
|
|
9619
9807
|
}
|
|
9620
9808
|
if (status === 200) {
|
|
@@ -9693,7 +9881,7 @@
|
|
|
9693
9881
|
}));
|
|
9694
9882
|
};
|
|
9695
9883
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
9696
|
-
var
|
|
9884
|
+
var e_92, _a;
|
|
9697
9885
|
var _this = this;
|
|
9698
9886
|
var status = response.status;
|
|
9699
9887
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9706,12 +9894,12 @@
|
|
|
9706
9894
|
_headers[key] = response.headers.get(key);
|
|
9707
9895
|
}
|
|
9708
9896
|
}
|
|
9709
|
-
catch (
|
|
9897
|
+
catch (e_92_1) { e_92 = { error: e_92_1 }; }
|
|
9710
9898
|
finally {
|
|
9711
9899
|
try {
|
|
9712
9900
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9713
9901
|
}
|
|
9714
|
-
finally { if (
|
|
9902
|
+
finally { if (e_92) throw e_92.error; }
|
|
9715
9903
|
}
|
|
9716
9904
|
}
|
|
9717
9905
|
if (status === 200 || status === 206) {
|
|
@@ -9796,7 +9984,7 @@
|
|
|
9796
9984
|
}));
|
|
9797
9985
|
};
|
|
9798
9986
|
DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
|
|
9799
|
-
var
|
|
9987
|
+
var e_93, _a;
|
|
9800
9988
|
var _this = this;
|
|
9801
9989
|
var status = response.status;
|
|
9802
9990
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9809,12 +9997,12 @@
|
|
|
9809
9997
|
_headers[key] = response.headers.get(key);
|
|
9810
9998
|
}
|
|
9811
9999
|
}
|
|
9812
|
-
catch (
|
|
10000
|
+
catch (e_93_1) { e_93 = { error: e_93_1 }; }
|
|
9813
10001
|
finally {
|
|
9814
10002
|
try {
|
|
9815
10003
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9816
10004
|
}
|
|
9817
|
-
finally { if (
|
|
10005
|
+
finally { if (e_93) throw e_93.error; }
|
|
9818
10006
|
}
|
|
9819
10007
|
}
|
|
9820
10008
|
if (status === 200 || status === 206) {
|
|
@@ -9899,7 +10087,7 @@
|
|
|
9899
10087
|
}));
|
|
9900
10088
|
};
|
|
9901
10089
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
9902
|
-
var
|
|
10090
|
+
var e_94, _a;
|
|
9903
10091
|
var _this = this;
|
|
9904
10092
|
var status = response.status;
|
|
9905
10093
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9912,12 +10100,12 @@
|
|
|
9912
10100
|
_headers[key] = response.headers.get(key);
|
|
9913
10101
|
}
|
|
9914
10102
|
}
|
|
9915
|
-
catch (
|
|
10103
|
+
catch (e_94_1) { e_94 = { error: e_94_1 }; }
|
|
9916
10104
|
finally {
|
|
9917
10105
|
try {
|
|
9918
10106
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9919
10107
|
}
|
|
9920
|
-
finally { if (
|
|
10108
|
+
finally { if (e_94) throw e_94.error; }
|
|
9921
10109
|
}
|
|
9922
10110
|
}
|
|
9923
10111
|
if (status === 200) {
|
|
@@ -9999,7 +10187,7 @@
|
|
|
9999
10187
|
}));
|
|
10000
10188
|
};
|
|
10001
10189
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
10002
|
-
var
|
|
10190
|
+
var e_95, _a;
|
|
10003
10191
|
var _this = this;
|
|
10004
10192
|
var status = response.status;
|
|
10005
10193
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10012,12 +10200,12 @@
|
|
|
10012
10200
|
_headers[key] = response.headers.get(key);
|
|
10013
10201
|
}
|
|
10014
10202
|
}
|
|
10015
|
-
catch (
|
|
10203
|
+
catch (e_95_1) { e_95 = { error: e_95_1 }; }
|
|
10016
10204
|
finally {
|
|
10017
10205
|
try {
|
|
10018
10206
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10019
10207
|
}
|
|
10020
|
-
finally { if (
|
|
10208
|
+
finally { if (e_95) throw e_95.error; }
|
|
10021
10209
|
}
|
|
10022
10210
|
}
|
|
10023
10211
|
if (status === 200) {
|
|
@@ -10101,7 +10289,7 @@
|
|
|
10101
10289
|
}));
|
|
10102
10290
|
};
|
|
10103
10291
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
10104
|
-
var
|
|
10292
|
+
var e_96, _a;
|
|
10105
10293
|
var _this = this;
|
|
10106
10294
|
var status = response.status;
|
|
10107
10295
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10114,12 +10302,12 @@
|
|
|
10114
10302
|
_headers[key] = response.headers.get(key);
|
|
10115
10303
|
}
|
|
10116
10304
|
}
|
|
10117
|
-
catch (
|
|
10305
|
+
catch (e_96_1) { e_96 = { error: e_96_1 }; }
|
|
10118
10306
|
finally {
|
|
10119
10307
|
try {
|
|
10120
10308
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10121
10309
|
}
|
|
10122
|
-
finally { if (
|
|
10310
|
+
finally { if (e_96) throw e_96.error; }
|
|
10123
10311
|
}
|
|
10124
10312
|
}
|
|
10125
10313
|
if (status === 200) {
|
|
@@ -10208,7 +10396,7 @@
|
|
|
10208
10396
|
}));
|
|
10209
10397
|
};
|
|
10210
10398
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
10211
|
-
var
|
|
10399
|
+
var e_97, _a;
|
|
10212
10400
|
var _this = this;
|
|
10213
10401
|
var status = response.status;
|
|
10214
10402
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10221,12 +10409,12 @@
|
|
|
10221
10409
|
_headers[key] = response.headers.get(key);
|
|
10222
10410
|
}
|
|
10223
10411
|
}
|
|
10224
|
-
catch (
|
|
10412
|
+
catch (e_97_1) { e_97 = { error: e_97_1 }; }
|
|
10225
10413
|
finally {
|
|
10226
10414
|
try {
|
|
10227
10415
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10228
10416
|
}
|
|
10229
|
-
finally { if (
|
|
10417
|
+
finally { if (e_97) throw e_97.error; }
|
|
10230
10418
|
}
|
|
10231
10419
|
}
|
|
10232
10420
|
if (status === 200) {
|
|
@@ -10301,7 +10489,7 @@
|
|
|
10301
10489
|
}));
|
|
10302
10490
|
};
|
|
10303
10491
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
10304
|
-
var
|
|
10492
|
+
var e_98, _a;
|
|
10305
10493
|
var _this = this;
|
|
10306
10494
|
var status = response.status;
|
|
10307
10495
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10314,12 +10502,12 @@
|
|
|
10314
10502
|
_headers[key] = response.headers.get(key);
|
|
10315
10503
|
}
|
|
10316
10504
|
}
|
|
10317
|
-
catch (
|
|
10505
|
+
catch (e_98_1) { e_98 = { error: e_98_1 }; }
|
|
10318
10506
|
finally {
|
|
10319
10507
|
try {
|
|
10320
10508
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10321
10509
|
}
|
|
10322
|
-
finally { if (
|
|
10510
|
+
finally { if (e_98) throw e_98.error; }
|
|
10323
10511
|
}
|
|
10324
10512
|
}
|
|
10325
10513
|
if (status === 200) {
|
|
@@ -10393,7 +10581,7 @@
|
|
|
10393
10581
|
}));
|
|
10394
10582
|
};
|
|
10395
10583
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
10396
|
-
var
|
|
10584
|
+
var e_99, _a;
|
|
10397
10585
|
var _this = this;
|
|
10398
10586
|
var status = response.status;
|
|
10399
10587
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10406,12 +10594,12 @@
|
|
|
10406
10594
|
_headers[key] = response.headers.get(key);
|
|
10407
10595
|
}
|
|
10408
10596
|
}
|
|
10409
|
-
catch (
|
|
10597
|
+
catch (e_99_1) { e_99 = { error: e_99_1 }; }
|
|
10410
10598
|
finally {
|
|
10411
10599
|
try {
|
|
10412
10600
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10413
10601
|
}
|
|
10414
|
-
finally { if (
|
|
10602
|
+
finally { if (e_99) throw e_99.error; }
|
|
10415
10603
|
}
|
|
10416
10604
|
}
|
|
10417
10605
|
if (status === 200) {
|
|
@@ -10489,7 +10677,7 @@
|
|
|
10489
10677
|
}));
|
|
10490
10678
|
};
|
|
10491
10679
|
DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
|
|
10492
|
-
var
|
|
10680
|
+
var e_100, _a;
|
|
10493
10681
|
var _this = this;
|
|
10494
10682
|
var status = response.status;
|
|
10495
10683
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10502,12 +10690,12 @@
|
|
|
10502
10690
|
_headers[key] = response.headers.get(key);
|
|
10503
10691
|
}
|
|
10504
10692
|
}
|
|
10505
|
-
catch (
|
|
10693
|
+
catch (e_100_1) { e_100 = { error: e_100_1 }; }
|
|
10506
10694
|
finally {
|
|
10507
10695
|
try {
|
|
10508
10696
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10509
10697
|
}
|
|
10510
|
-
finally { if (
|
|
10698
|
+
finally { if (e_100) throw e_100.error; }
|
|
10511
10699
|
}
|
|
10512
10700
|
}
|
|
10513
10701
|
if (status === 200) {
|
|
@@ -10594,7 +10782,7 @@
|
|
|
10594
10782
|
}));
|
|
10595
10783
|
};
|
|
10596
10784
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
10597
|
-
var
|
|
10785
|
+
var e_101, _a;
|
|
10598
10786
|
var status = response.status;
|
|
10599
10787
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10600
10788
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10606,12 +10794,12 @@
|
|
|
10606
10794
|
_headers[key] = response.headers.get(key);
|
|
10607
10795
|
}
|
|
10608
10796
|
}
|
|
10609
|
-
catch (
|
|
10797
|
+
catch (e_101_1) { e_101 = { error: e_101_1 }; }
|
|
10610
10798
|
finally {
|
|
10611
10799
|
try {
|
|
10612
10800
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10613
10801
|
}
|
|
10614
|
-
finally { if (
|
|
10802
|
+
finally { if (e_101) throw e_101.error; }
|
|
10615
10803
|
}
|
|
10616
10804
|
}
|
|
10617
10805
|
if (status === 200 || status === 206) {
|
|
@@ -10683,7 +10871,7 @@
|
|
|
10683
10871
|
}));
|
|
10684
10872
|
};
|
|
10685
10873
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
10686
|
-
var
|
|
10874
|
+
var e_102, _a;
|
|
10687
10875
|
var status = response.status;
|
|
10688
10876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10689
10877
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10695,12 +10883,12 @@
|
|
|
10695
10883
|
_headers[key] = response.headers.get(key);
|
|
10696
10884
|
}
|
|
10697
10885
|
}
|
|
10698
|
-
catch (
|
|
10886
|
+
catch (e_102_1) { e_102 = { error: e_102_1 }; }
|
|
10699
10887
|
finally {
|
|
10700
10888
|
try {
|
|
10701
10889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10702
10890
|
}
|
|
10703
|
-
finally { if (
|
|
10891
|
+
finally { if (e_102) throw e_102.error; }
|
|
10704
10892
|
}
|
|
10705
10893
|
}
|
|
10706
10894
|
if (status === 200 || status === 206) {
|
|
@@ -10768,7 +10956,7 @@
|
|
|
10768
10956
|
}));
|
|
10769
10957
|
};
|
|
10770
10958
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
|
|
10771
|
-
var
|
|
10959
|
+
var e_103, _a;
|
|
10772
10960
|
var _this = this;
|
|
10773
10961
|
var status = response.status;
|
|
10774
10962
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10781,12 +10969,12 @@
|
|
|
10781
10969
|
_headers[key] = response.headers.get(key);
|
|
10782
10970
|
}
|
|
10783
10971
|
}
|
|
10784
|
-
catch (
|
|
10972
|
+
catch (e_103_1) { e_103 = { error: e_103_1 }; }
|
|
10785
10973
|
finally {
|
|
10786
10974
|
try {
|
|
10787
10975
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10788
10976
|
}
|
|
10789
|
-
finally { if (
|
|
10977
|
+
finally { if (e_103) throw e_103.error; }
|
|
10790
10978
|
}
|
|
10791
10979
|
}
|
|
10792
10980
|
if (status === 200) {
|
|
@@ -10873,7 +11061,7 @@
|
|
|
10873
11061
|
}));
|
|
10874
11062
|
};
|
|
10875
11063
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
10876
|
-
var
|
|
11064
|
+
var e_104, _a;
|
|
10877
11065
|
var _this = this;
|
|
10878
11066
|
var status = response.status;
|
|
10879
11067
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10886,12 +11074,12 @@
|
|
|
10886
11074
|
_headers[key] = response.headers.get(key);
|
|
10887
11075
|
}
|
|
10888
11076
|
}
|
|
10889
|
-
catch (
|
|
11077
|
+
catch (e_104_1) { e_104 = { error: e_104_1 }; }
|
|
10890
11078
|
finally {
|
|
10891
11079
|
try {
|
|
10892
11080
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10893
11081
|
}
|
|
10894
|
-
finally { if (
|
|
11082
|
+
finally { if (e_104) throw e_104.error; }
|
|
10895
11083
|
}
|
|
10896
11084
|
}
|
|
10897
11085
|
if (status === 200 || status === 206) {
|
|
@@ -10966,7 +11154,7 @@
|
|
|
10966
11154
|
}));
|
|
10967
11155
|
};
|
|
10968
11156
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
|
|
10969
|
-
var
|
|
11157
|
+
var e_105, _a;
|
|
10970
11158
|
var _this = this;
|
|
10971
11159
|
var status = response.status;
|
|
10972
11160
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10979,12 +11167,12 @@
|
|
|
10979
11167
|
_headers[key] = response.headers.get(key);
|
|
10980
11168
|
}
|
|
10981
11169
|
}
|
|
10982
|
-
catch (
|
|
11170
|
+
catch (e_105_1) { e_105 = { error: e_105_1 }; }
|
|
10983
11171
|
finally {
|
|
10984
11172
|
try {
|
|
10985
11173
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10986
11174
|
}
|
|
10987
|
-
finally { if (
|
|
11175
|
+
finally { if (e_105) throw e_105.error; }
|
|
10988
11176
|
}
|
|
10989
11177
|
}
|
|
10990
11178
|
if (status === 200) {
|
|
@@ -11064,7 +11252,7 @@
|
|
|
11064
11252
|
}));
|
|
11065
11253
|
};
|
|
11066
11254
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
11067
|
-
var
|
|
11255
|
+
var e_106, _a;
|
|
11068
11256
|
var _this = this;
|
|
11069
11257
|
var status = response.status;
|
|
11070
11258
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11077,12 +11265,12 @@
|
|
|
11077
11265
|
_headers[key] = response.headers.get(key);
|
|
11078
11266
|
}
|
|
11079
11267
|
}
|
|
11080
|
-
catch (
|
|
11268
|
+
catch (e_106_1) { e_106 = { error: e_106_1 }; }
|
|
11081
11269
|
finally {
|
|
11082
11270
|
try {
|
|
11083
11271
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11084
11272
|
}
|
|
11085
|
-
finally { if (
|
|
11273
|
+
finally { if (e_106) throw e_106.error; }
|
|
11086
11274
|
}
|
|
11087
11275
|
}
|
|
11088
11276
|
if (status === 200) {
|
|
@@ -11165,7 +11353,7 @@
|
|
|
11165
11353
|
}));
|
|
11166
11354
|
};
|
|
11167
11355
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
11168
|
-
var
|
|
11356
|
+
var e_107, _a;
|
|
11169
11357
|
var _this = this;
|
|
11170
11358
|
var status = response.status;
|
|
11171
11359
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11178,12 +11366,12 @@
|
|
|
11178
11366
|
_headers[key] = response.headers.get(key);
|
|
11179
11367
|
}
|
|
11180
11368
|
}
|
|
11181
|
-
catch (
|
|
11369
|
+
catch (e_107_1) { e_107 = { error: e_107_1 }; }
|
|
11182
11370
|
finally {
|
|
11183
11371
|
try {
|
|
11184
11372
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11185
11373
|
}
|
|
11186
|
-
finally { if (
|
|
11374
|
+
finally { if (e_107) throw e_107.error; }
|
|
11187
11375
|
}
|
|
11188
11376
|
}
|
|
11189
11377
|
if (status === 200) {
|
|
@@ -11279,7 +11467,7 @@
|
|
|
11279
11467
|
}));
|
|
11280
11468
|
};
|
|
11281
11469
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
11282
|
-
var
|
|
11470
|
+
var e_108, _a;
|
|
11283
11471
|
var _this = this;
|
|
11284
11472
|
var status = response.status;
|
|
11285
11473
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11292,12 +11480,12 @@
|
|
|
11292
11480
|
_headers[key] = response.headers.get(key);
|
|
11293
11481
|
}
|
|
11294
11482
|
}
|
|
11295
|
-
catch (
|
|
11483
|
+
catch (e_108_1) { e_108 = { error: e_108_1 }; }
|
|
11296
11484
|
finally {
|
|
11297
11485
|
try {
|
|
11298
11486
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11299
11487
|
}
|
|
11300
|
-
finally { if (
|
|
11488
|
+
finally { if (e_108) throw e_108.error; }
|
|
11301
11489
|
}
|
|
11302
11490
|
}
|
|
11303
11491
|
if (status === 200) {
|
|
@@ -11388,7 +11576,7 @@
|
|
|
11388
11576
|
}));
|
|
11389
11577
|
};
|
|
11390
11578
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
11391
|
-
var
|
|
11579
|
+
var e_109, _a;
|
|
11392
11580
|
var _this = this;
|
|
11393
11581
|
var status = response.status;
|
|
11394
11582
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11401,12 +11589,12 @@
|
|
|
11401
11589
|
_headers[key] = response.headers.get(key);
|
|
11402
11590
|
}
|
|
11403
11591
|
}
|
|
11404
|
-
catch (
|
|
11592
|
+
catch (e_109_1) { e_109 = { error: e_109_1 }; }
|
|
11405
11593
|
finally {
|
|
11406
11594
|
try {
|
|
11407
11595
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11408
11596
|
}
|
|
11409
|
-
finally { if (
|
|
11597
|
+
finally { if (e_109) throw e_109.error; }
|
|
11410
11598
|
}
|
|
11411
11599
|
}
|
|
11412
11600
|
if (status === 200) {
|
|
@@ -11483,7 +11671,7 @@
|
|
|
11483
11671
|
}));
|
|
11484
11672
|
};
|
|
11485
11673
|
DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
|
|
11486
|
-
var
|
|
11674
|
+
var e_110, _a;
|
|
11487
11675
|
var status = response.status;
|
|
11488
11676
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11489
11677
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11495,12 +11683,12 @@
|
|
|
11495
11683
|
_headers[key] = response.headers.get(key);
|
|
11496
11684
|
}
|
|
11497
11685
|
}
|
|
11498
|
-
catch (
|
|
11686
|
+
catch (e_110_1) { e_110 = { error: e_110_1 }; }
|
|
11499
11687
|
finally {
|
|
11500
11688
|
try {
|
|
11501
11689
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11502
11690
|
}
|
|
11503
|
-
finally { if (
|
|
11691
|
+
finally { if (e_110) throw e_110.error; }
|
|
11504
11692
|
}
|
|
11505
11693
|
}
|
|
11506
11694
|
if (status === 200 || status === 206) {
|
|
@@ -11569,7 +11757,7 @@
|
|
|
11569
11757
|
}));
|
|
11570
11758
|
};
|
|
11571
11759
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
11572
|
-
var
|
|
11760
|
+
var e_111, _a;
|
|
11573
11761
|
var _this = this;
|
|
11574
11762
|
var status = response.status;
|
|
11575
11763
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11582,12 +11770,12 @@
|
|
|
11582
11770
|
_headers[key] = response.headers.get(key);
|
|
11583
11771
|
}
|
|
11584
11772
|
}
|
|
11585
|
-
catch (
|
|
11773
|
+
catch (e_111_1) { e_111 = { error: e_111_1 }; }
|
|
11586
11774
|
finally {
|
|
11587
11775
|
try {
|
|
11588
11776
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11589
11777
|
}
|
|
11590
|
-
finally { if (
|
|
11778
|
+
finally { if (e_111) throw e_111.error; }
|
|
11591
11779
|
}
|
|
11592
11780
|
}
|
|
11593
11781
|
if (status === 200) {
|
|
@@ -11660,7 +11848,7 @@
|
|
|
11660
11848
|
}));
|
|
11661
11849
|
};
|
|
11662
11850
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
11663
|
-
var
|
|
11851
|
+
var e_112, _a;
|
|
11664
11852
|
var status = response.status;
|
|
11665
11853
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11666
11854
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11672,12 +11860,12 @@
|
|
|
11672
11860
|
_headers[key] = response.headers.get(key);
|
|
11673
11861
|
}
|
|
11674
11862
|
}
|
|
11675
|
-
catch (
|
|
11863
|
+
catch (e_112_1) { e_112 = { error: e_112_1 }; }
|
|
11676
11864
|
finally {
|
|
11677
11865
|
try {
|
|
11678
11866
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11679
11867
|
}
|
|
11680
|
-
finally { if (
|
|
11868
|
+
finally { if (e_112) throw e_112.error; }
|
|
11681
11869
|
}
|
|
11682
11870
|
}
|
|
11683
11871
|
if (status === 201) {
|
|
@@ -11748,7 +11936,7 @@
|
|
|
11748
11936
|
}));
|
|
11749
11937
|
};
|
|
11750
11938
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
11751
|
-
var
|
|
11939
|
+
var e_113, _a;
|
|
11752
11940
|
var status = response.status;
|
|
11753
11941
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11754
11942
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11760,12 +11948,12 @@
|
|
|
11760
11948
|
_headers[key] = response.headers.get(key);
|
|
11761
11949
|
}
|
|
11762
11950
|
}
|
|
11763
|
-
catch (
|
|
11951
|
+
catch (e_113_1) { e_113 = { error: e_113_1 }; }
|
|
11764
11952
|
finally {
|
|
11765
11953
|
try {
|
|
11766
11954
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11767
11955
|
}
|
|
11768
|
-
finally { if (
|
|
11956
|
+
finally { if (e_113) throw e_113.error; }
|
|
11769
11957
|
}
|
|
11770
11958
|
}
|
|
11771
11959
|
if (status === 201) {
|
|
@@ -11853,7 +12041,7 @@
|
|
|
11853
12041
|
}));
|
|
11854
12042
|
};
|
|
11855
12043
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
11856
|
-
var
|
|
12044
|
+
var e_114, _a;
|
|
11857
12045
|
var _this = this;
|
|
11858
12046
|
var status = response.status;
|
|
11859
12047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11866,12 +12054,12 @@
|
|
|
11866
12054
|
_headers[key] = response.headers.get(key);
|
|
11867
12055
|
}
|
|
11868
12056
|
}
|
|
11869
|
-
catch (
|
|
12057
|
+
catch (e_114_1) { e_114 = { error: e_114_1 }; }
|
|
11870
12058
|
finally {
|
|
11871
12059
|
try {
|
|
11872
12060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11873
12061
|
}
|
|
11874
|
-
finally { if (
|
|
12062
|
+
finally { if (e_114) throw e_114.error; }
|
|
11875
12063
|
}
|
|
11876
12064
|
}
|
|
11877
12065
|
if (status === 200) {
|
|
@@ -11933,7 +12121,7 @@
|
|
|
11933
12121
|
}));
|
|
11934
12122
|
};
|
|
11935
12123
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
11936
|
-
var
|
|
12124
|
+
var e_115, _a;
|
|
11937
12125
|
var _this = this;
|
|
11938
12126
|
var status = response.status;
|
|
11939
12127
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11946,12 +12134,12 @@
|
|
|
11946
12134
|
_headers[key] = response.headers.get(key);
|
|
11947
12135
|
}
|
|
11948
12136
|
}
|
|
11949
|
-
catch (
|
|
12137
|
+
catch (e_115_1) { e_115 = { error: e_115_1 }; }
|
|
11950
12138
|
finally {
|
|
11951
12139
|
try {
|
|
11952
12140
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11953
12141
|
}
|
|
11954
|
-
finally { if (
|
|
12142
|
+
finally { if (e_115) throw e_115.error; }
|
|
11955
12143
|
}
|
|
11956
12144
|
}
|
|
11957
12145
|
if (status === 200 || status === 206) {
|
|
@@ -12020,7 +12208,7 @@
|
|
|
12020
12208
|
}));
|
|
12021
12209
|
};
|
|
12022
12210
|
DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
|
|
12023
|
-
var
|
|
12211
|
+
var e_116, _a;
|
|
12024
12212
|
var _this = this;
|
|
12025
12213
|
var status = response.status;
|
|
12026
12214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12033,12 +12221,12 @@
|
|
|
12033
12221
|
_headers[key] = response.headers.get(key);
|
|
12034
12222
|
}
|
|
12035
12223
|
}
|
|
12036
|
-
catch (
|
|
12224
|
+
catch (e_116_1) { e_116 = { error: e_116_1 }; }
|
|
12037
12225
|
finally {
|
|
12038
12226
|
try {
|
|
12039
12227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12040
12228
|
}
|
|
12041
|
-
finally { if (
|
|
12229
|
+
finally { if (e_116) throw e_116.error; }
|
|
12042
12230
|
}
|
|
12043
12231
|
}
|
|
12044
12232
|
if (status === 200) {
|
|
@@ -12108,7 +12296,7 @@
|
|
|
12108
12296
|
}));
|
|
12109
12297
|
};
|
|
12110
12298
|
DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
|
|
12111
|
-
var
|
|
12299
|
+
var e_117, _a;
|
|
12112
12300
|
var _this = this;
|
|
12113
12301
|
var status = response.status;
|
|
12114
12302
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12121,12 +12309,12 @@
|
|
|
12121
12309
|
_headers[key] = response.headers.get(key);
|
|
12122
12310
|
}
|
|
12123
12311
|
}
|
|
12124
|
-
catch (
|
|
12312
|
+
catch (e_117_1) { e_117 = { error: e_117_1 }; }
|
|
12125
12313
|
finally {
|
|
12126
12314
|
try {
|
|
12127
12315
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12128
12316
|
}
|
|
12129
|
-
finally { if (
|
|
12317
|
+
finally { if (e_117) throw e_117.error; }
|
|
12130
12318
|
}
|
|
12131
12319
|
}
|
|
12132
12320
|
if (status === 200) {
|
|
@@ -12195,7 +12383,7 @@
|
|
|
12195
12383
|
}));
|
|
12196
12384
|
};
|
|
12197
12385
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
12198
|
-
var
|
|
12386
|
+
var e_118, _a;
|
|
12199
12387
|
var _this = this;
|
|
12200
12388
|
var status = response.status;
|
|
12201
12389
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12208,12 +12396,12 @@
|
|
|
12208
12396
|
_headers[key] = response.headers.get(key);
|
|
12209
12397
|
}
|
|
12210
12398
|
}
|
|
12211
|
-
catch (
|
|
12399
|
+
catch (e_118_1) { e_118 = { error: e_118_1 }; }
|
|
12212
12400
|
finally {
|
|
12213
12401
|
try {
|
|
12214
12402
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12215
12403
|
}
|
|
12216
|
-
finally { if (
|
|
12404
|
+
finally { if (e_118) throw e_118.error; }
|
|
12217
12405
|
}
|
|
12218
12406
|
}
|
|
12219
12407
|
if (status === 200 || status === 206) {
|
|
@@ -12278,7 +12466,7 @@
|
|
|
12278
12466
|
}));
|
|
12279
12467
|
};
|
|
12280
12468
|
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
12281
|
-
var
|
|
12469
|
+
var e_119, _a;
|
|
12282
12470
|
var _this = this;
|
|
12283
12471
|
var status = response.status;
|
|
12284
12472
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12291,12 +12479,12 @@
|
|
|
12291
12479
|
_headers[key] = response.headers.get(key);
|
|
12292
12480
|
}
|
|
12293
12481
|
}
|
|
12294
|
-
catch (
|
|
12482
|
+
catch (e_119_1) { e_119 = { error: e_119_1 }; }
|
|
12295
12483
|
finally {
|
|
12296
12484
|
try {
|
|
12297
12485
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12298
12486
|
}
|
|
12299
|
-
finally { if (
|
|
12487
|
+
finally { if (e_119) throw e_119.error; }
|
|
12300
12488
|
}
|
|
12301
12489
|
}
|
|
12302
12490
|
if (status === 200) {
|
|
@@ -12359,7 +12547,7 @@
|
|
|
12359
12547
|
}));
|
|
12360
12548
|
};
|
|
12361
12549
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
12362
|
-
var
|
|
12550
|
+
var e_120, _a;
|
|
12363
12551
|
var _this = this;
|
|
12364
12552
|
var status = response.status;
|
|
12365
12553
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12372,12 +12560,12 @@
|
|
|
12372
12560
|
_headers[key] = response.headers.get(key);
|
|
12373
12561
|
}
|
|
12374
12562
|
}
|
|
12375
|
-
catch (
|
|
12563
|
+
catch (e_120_1) { e_120 = { error: e_120_1 }; }
|
|
12376
12564
|
finally {
|
|
12377
12565
|
try {
|
|
12378
12566
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12379
12567
|
}
|
|
12380
|
-
finally { if (
|
|
12568
|
+
finally { if (e_120) throw e_120.error; }
|
|
12381
12569
|
}
|
|
12382
12570
|
}
|
|
12383
12571
|
if (status === 200) {
|
|
@@ -12440,7 +12628,7 @@
|
|
|
12440
12628
|
}));
|
|
12441
12629
|
};
|
|
12442
12630
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
12443
|
-
var
|
|
12631
|
+
var e_121, _a;
|
|
12444
12632
|
var _this = this;
|
|
12445
12633
|
var status = response.status;
|
|
12446
12634
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12453,12 +12641,12 @@
|
|
|
12453
12641
|
_headers[key] = response.headers.get(key);
|
|
12454
12642
|
}
|
|
12455
12643
|
}
|
|
12456
|
-
catch (
|
|
12644
|
+
catch (e_121_1) { e_121 = { error: e_121_1 }; }
|
|
12457
12645
|
finally {
|
|
12458
12646
|
try {
|
|
12459
12647
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12460
12648
|
}
|
|
12461
|
-
finally { if (
|
|
12649
|
+
finally { if (e_121) throw e_121.error; }
|
|
12462
12650
|
}
|
|
12463
12651
|
}
|
|
12464
12652
|
if (status === 200) {
|
|
@@ -12521,7 +12709,7 @@
|
|
|
12521
12709
|
}));
|
|
12522
12710
|
};
|
|
12523
12711
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
12524
|
-
var
|
|
12712
|
+
var e_122, _a;
|
|
12525
12713
|
var _this = this;
|
|
12526
12714
|
var status = response.status;
|
|
12527
12715
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12534,12 +12722,12 @@
|
|
|
12534
12722
|
_headers[key] = response.headers.get(key);
|
|
12535
12723
|
}
|
|
12536
12724
|
}
|
|
12537
|
-
catch (
|
|
12725
|
+
catch (e_122_1) { e_122 = { error: e_122_1 }; }
|
|
12538
12726
|
finally {
|
|
12539
12727
|
try {
|
|
12540
12728
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12541
12729
|
}
|
|
12542
|
-
finally { if (
|
|
12730
|
+
finally { if (e_122) throw e_122.error; }
|
|
12543
12731
|
}
|
|
12544
12732
|
}
|
|
12545
12733
|
if (status === 200) {
|
|
@@ -12673,7 +12861,7 @@
|
|
|
12673
12861
|
}));
|
|
12674
12862
|
};
|
|
12675
12863
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
12676
|
-
var
|
|
12864
|
+
var e_123, _a;
|
|
12677
12865
|
var _this = this;
|
|
12678
12866
|
var status = response.status;
|
|
12679
12867
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12686,12 +12874,12 @@
|
|
|
12686
12874
|
_headers[key] = response.headers.get(key);
|
|
12687
12875
|
}
|
|
12688
12876
|
}
|
|
12689
|
-
catch (
|
|
12877
|
+
catch (e_123_1) { e_123 = { error: e_123_1 }; }
|
|
12690
12878
|
finally {
|
|
12691
12879
|
try {
|
|
12692
12880
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12693
12881
|
}
|
|
12694
|
-
finally { if (
|
|
12882
|
+
finally { if (e_123) throw e_123.error; }
|
|
12695
12883
|
}
|
|
12696
12884
|
}
|
|
12697
12885
|
if (status === 200 || status === 206) {
|
|
@@ -12761,7 +12949,7 @@
|
|
|
12761
12949
|
}));
|
|
12762
12950
|
};
|
|
12763
12951
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
12764
|
-
var
|
|
12952
|
+
var e_124, _a;
|
|
12765
12953
|
var _this = this;
|
|
12766
12954
|
var status = response.status;
|
|
12767
12955
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12774,12 +12962,12 @@
|
|
|
12774
12962
|
_headers[key] = response.headers.get(key);
|
|
12775
12963
|
}
|
|
12776
12964
|
}
|
|
12777
|
-
catch (
|
|
12965
|
+
catch (e_124_1) { e_124 = { error: e_124_1 }; }
|
|
12778
12966
|
finally {
|
|
12779
12967
|
try {
|
|
12780
12968
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12781
12969
|
}
|
|
12782
|
-
finally { if (
|
|
12970
|
+
finally { if (e_124) throw e_124.error; }
|
|
12783
12971
|
}
|
|
12784
12972
|
}
|
|
12785
12973
|
if (status === 200) {
|
|
@@ -12841,7 +13029,7 @@
|
|
|
12841
13029
|
}));
|
|
12842
13030
|
};
|
|
12843
13031
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
12844
|
-
var
|
|
13032
|
+
var e_125, _a;
|
|
12845
13033
|
var _this = this;
|
|
12846
13034
|
var status = response.status;
|
|
12847
13035
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12854,12 +13042,12 @@
|
|
|
12854
13042
|
_headers[key] = response.headers.get(key);
|
|
12855
13043
|
}
|
|
12856
13044
|
}
|
|
12857
|
-
catch (
|
|
13045
|
+
catch (e_125_1) { e_125 = { error: e_125_1 }; }
|
|
12858
13046
|
finally {
|
|
12859
13047
|
try {
|
|
12860
13048
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12861
13049
|
}
|
|
12862
|
-
finally { if (
|
|
13050
|
+
finally { if (e_125) throw e_125.error; }
|
|
12863
13051
|
}
|
|
12864
13052
|
}
|
|
12865
13053
|
if (status === 200 || status === 206) {
|
|
@@ -12932,7 +13120,7 @@
|
|
|
12932
13120
|
}));
|
|
12933
13121
|
};
|
|
12934
13122
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
12935
|
-
var
|
|
13123
|
+
var e_126, _a;
|
|
12936
13124
|
var _this = this;
|
|
12937
13125
|
var status = response.status;
|
|
12938
13126
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12945,12 +13133,12 @@
|
|
|
12945
13133
|
_headers[key] = response.headers.get(key);
|
|
12946
13134
|
}
|
|
12947
13135
|
}
|
|
12948
|
-
catch (
|
|
13136
|
+
catch (e_126_1) { e_126 = { error: e_126_1 }; }
|
|
12949
13137
|
finally {
|
|
12950
13138
|
try {
|
|
12951
13139
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12952
13140
|
}
|
|
12953
|
-
finally { if (
|
|
13141
|
+
finally { if (e_126) throw e_126.error; }
|
|
12954
13142
|
}
|
|
12955
13143
|
}
|
|
12956
13144
|
if (status === 200 || status === 206) {
|
|
@@ -13089,7 +13277,7 @@
|
|
|
13089
13277
|
}));
|
|
13090
13278
|
};
|
|
13091
13279
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
13092
|
-
var
|
|
13280
|
+
var e_127, _a;
|
|
13093
13281
|
var _this = this;
|
|
13094
13282
|
var status = response.status;
|
|
13095
13283
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13102,12 +13290,12 @@
|
|
|
13102
13290
|
_headers[key] = response.headers.get(key);
|
|
13103
13291
|
}
|
|
13104
13292
|
}
|
|
13105
|
-
catch (
|
|
13293
|
+
catch (e_127_1) { e_127 = { error: e_127_1 }; }
|
|
13106
13294
|
finally {
|
|
13107
13295
|
try {
|
|
13108
13296
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13109
13297
|
}
|
|
13110
|
-
finally { if (
|
|
13298
|
+
finally { if (e_127) throw e_127.error; }
|
|
13111
13299
|
}
|
|
13112
13300
|
}
|
|
13113
13301
|
if (status === 200 || status === 206) {
|
|
@@ -13180,7 +13368,7 @@
|
|
|
13180
13368
|
}));
|
|
13181
13369
|
};
|
|
13182
13370
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
13183
|
-
var
|
|
13371
|
+
var e_128, _a;
|
|
13184
13372
|
var _this = this;
|
|
13185
13373
|
var status = response.status;
|
|
13186
13374
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13193,12 +13381,12 @@
|
|
|
13193
13381
|
_headers[key] = response.headers.get(key);
|
|
13194
13382
|
}
|
|
13195
13383
|
}
|
|
13196
|
-
catch (
|
|
13384
|
+
catch (e_128_1) { e_128 = { error: e_128_1 }; }
|
|
13197
13385
|
finally {
|
|
13198
13386
|
try {
|
|
13199
13387
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13200
13388
|
}
|
|
13201
|
-
finally { if (
|
|
13389
|
+
finally { if (e_128) throw e_128.error; }
|
|
13202
13390
|
}
|
|
13203
13391
|
}
|
|
13204
13392
|
if (status === 200 || status === 206) {
|
|
@@ -13272,7 +13460,7 @@
|
|
|
13272
13460
|
}));
|
|
13273
13461
|
};
|
|
13274
13462
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
13275
|
-
var
|
|
13463
|
+
var e_129, _a;
|
|
13276
13464
|
var _this = this;
|
|
13277
13465
|
var status = response.status;
|
|
13278
13466
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13285,12 +13473,12 @@
|
|
|
13285
13473
|
_headers[key] = response.headers.get(key);
|
|
13286
13474
|
}
|
|
13287
13475
|
}
|
|
13288
|
-
catch (
|
|
13476
|
+
catch (e_129_1) { e_129 = { error: e_129_1 }; }
|
|
13289
13477
|
finally {
|
|
13290
13478
|
try {
|
|
13291
13479
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13292
13480
|
}
|
|
13293
|
-
finally { if (
|
|
13481
|
+
finally { if (e_129) throw e_129.error; }
|
|
13294
13482
|
}
|
|
13295
13483
|
}
|
|
13296
13484
|
if (status === 200) {
|
|
@@ -13353,7 +13541,7 @@
|
|
|
13353
13541
|
}));
|
|
13354
13542
|
};
|
|
13355
13543
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
13356
|
-
var
|
|
13544
|
+
var e_130, _a;
|
|
13357
13545
|
var _this = this;
|
|
13358
13546
|
var status = response.status;
|
|
13359
13547
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13366,12 +13554,12 @@
|
|
|
13366
13554
|
_headers[key] = response.headers.get(key);
|
|
13367
13555
|
}
|
|
13368
13556
|
}
|
|
13369
|
-
catch (
|
|
13557
|
+
catch (e_130_1) { e_130 = { error: e_130_1 }; }
|
|
13370
13558
|
finally {
|
|
13371
13559
|
try {
|
|
13372
13560
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13373
13561
|
}
|
|
13374
|
-
finally { if (
|
|
13562
|
+
finally { if (e_130) throw e_130.error; }
|
|
13375
13563
|
}
|
|
13376
13564
|
}
|
|
13377
13565
|
if (status === 200) {
|
|
@@ -13434,7 +13622,7 @@
|
|
|
13434
13622
|
}));
|
|
13435
13623
|
};
|
|
13436
13624
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
13437
|
-
var
|
|
13625
|
+
var e_131, _a;
|
|
13438
13626
|
var _this = this;
|
|
13439
13627
|
var status = response.status;
|
|
13440
13628
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13447,12 +13635,12 @@
|
|
|
13447
13635
|
_headers[key] = response.headers.get(key);
|
|
13448
13636
|
}
|
|
13449
13637
|
}
|
|
13450
|
-
catch (
|
|
13638
|
+
catch (e_131_1) { e_131 = { error: e_131_1 }; }
|
|
13451
13639
|
finally {
|
|
13452
13640
|
try {
|
|
13453
13641
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13454
13642
|
}
|
|
13455
|
-
finally { if (
|
|
13643
|
+
finally { if (e_131) throw e_131.error; }
|
|
13456
13644
|
}
|
|
13457
13645
|
}
|
|
13458
13646
|
if (status === 200) {
|
|
@@ -13515,7 +13703,7 @@
|
|
|
13515
13703
|
}));
|
|
13516
13704
|
};
|
|
13517
13705
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
13518
|
-
var
|
|
13706
|
+
var e_132, _a;
|
|
13519
13707
|
var _this = this;
|
|
13520
13708
|
var status = response.status;
|
|
13521
13709
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13528,12 +13716,12 @@
|
|
|
13528
13716
|
_headers[key] = response.headers.get(key);
|
|
13529
13717
|
}
|
|
13530
13718
|
}
|
|
13531
|
-
catch (
|
|
13719
|
+
catch (e_132_1) { e_132 = { error: e_132_1 }; }
|
|
13532
13720
|
finally {
|
|
13533
13721
|
try {
|
|
13534
13722
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13535
13723
|
}
|
|
13536
|
-
finally { if (
|
|
13724
|
+
finally { if (e_132) throw e_132.error; }
|
|
13537
13725
|
}
|
|
13538
13726
|
}
|
|
13539
13727
|
if (status === 200) {
|
|
@@ -13596,7 +13784,7 @@
|
|
|
13596
13784
|
}));
|
|
13597
13785
|
};
|
|
13598
13786
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
13599
|
-
var
|
|
13787
|
+
var e_133, _a;
|
|
13600
13788
|
var _this = this;
|
|
13601
13789
|
var status = response.status;
|
|
13602
13790
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13609,12 +13797,12 @@
|
|
|
13609
13797
|
_headers[key] = response.headers.get(key);
|
|
13610
13798
|
}
|
|
13611
13799
|
}
|
|
13612
|
-
catch (
|
|
13800
|
+
catch (e_133_1) { e_133 = { error: e_133_1 }; }
|
|
13613
13801
|
finally {
|
|
13614
13802
|
try {
|
|
13615
13803
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13616
13804
|
}
|
|
13617
|
-
finally { if (
|
|
13805
|
+
finally { if (e_133) throw e_133.error; }
|
|
13618
13806
|
}
|
|
13619
13807
|
}
|
|
13620
13808
|
if (status === 200) {
|
|
@@ -13677,7 +13865,7 @@
|
|
|
13677
13865
|
}));
|
|
13678
13866
|
};
|
|
13679
13867
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
13680
|
-
var
|
|
13868
|
+
var e_134, _a;
|
|
13681
13869
|
var _this = this;
|
|
13682
13870
|
var status = response.status;
|
|
13683
13871
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13690,12 +13878,12 @@
|
|
|
13690
13878
|
_headers[key] = response.headers.get(key);
|
|
13691
13879
|
}
|
|
13692
13880
|
}
|
|
13693
|
-
catch (
|
|
13881
|
+
catch (e_134_1) { e_134 = { error: e_134_1 }; }
|
|
13694
13882
|
finally {
|
|
13695
13883
|
try {
|
|
13696
13884
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13697
13885
|
}
|
|
13698
|
-
finally { if (
|
|
13886
|
+
finally { if (e_134) throw e_134.error; }
|
|
13699
13887
|
}
|
|
13700
13888
|
}
|
|
13701
13889
|
if (status === 200) {
|
|
@@ -13758,7 +13946,7 @@
|
|
|
13758
13946
|
}));
|
|
13759
13947
|
};
|
|
13760
13948
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
13761
|
-
var
|
|
13949
|
+
var e_135, _a;
|
|
13762
13950
|
var _this = this;
|
|
13763
13951
|
var status = response.status;
|
|
13764
13952
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13771,12 +13959,12 @@
|
|
|
13771
13959
|
_headers[key] = response.headers.get(key);
|
|
13772
13960
|
}
|
|
13773
13961
|
}
|
|
13774
|
-
catch (
|
|
13962
|
+
catch (e_135_1) { e_135 = { error: e_135_1 }; }
|
|
13775
13963
|
finally {
|
|
13776
13964
|
try {
|
|
13777
13965
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13778
13966
|
}
|
|
13779
|
-
finally { if (
|
|
13967
|
+
finally { if (e_135) throw e_135.error; }
|
|
13780
13968
|
}
|
|
13781
13969
|
}
|
|
13782
13970
|
if (status === 200) {
|
|
@@ -13839,7 +14027,7 @@
|
|
|
13839
14027
|
}));
|
|
13840
14028
|
};
|
|
13841
14029
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
13842
|
-
var
|
|
14030
|
+
var e_136, _a;
|
|
13843
14031
|
var _this = this;
|
|
13844
14032
|
var status = response.status;
|
|
13845
14033
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13852,12 +14040,12 @@
|
|
|
13852
14040
|
_headers[key] = response.headers.get(key);
|
|
13853
14041
|
}
|
|
13854
14042
|
}
|
|
13855
|
-
catch (
|
|
14043
|
+
catch (e_136_1) { e_136 = { error: e_136_1 }; }
|
|
13856
14044
|
finally {
|
|
13857
14045
|
try {
|
|
13858
14046
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13859
14047
|
}
|
|
13860
|
-
finally { if (
|
|
14048
|
+
finally { if (e_136) throw e_136.error; }
|
|
13861
14049
|
}
|
|
13862
14050
|
}
|
|
13863
14051
|
if (status === 200) {
|
|
@@ -13920,7 +14108,7 @@
|
|
|
13920
14108
|
}));
|
|
13921
14109
|
};
|
|
13922
14110
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
13923
|
-
var
|
|
14111
|
+
var e_137, _a;
|
|
13924
14112
|
var _this = this;
|
|
13925
14113
|
var status = response.status;
|
|
13926
14114
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13933,12 +14121,12 @@
|
|
|
13933
14121
|
_headers[key] = response.headers.get(key);
|
|
13934
14122
|
}
|
|
13935
14123
|
}
|
|
13936
|
-
catch (
|
|
14124
|
+
catch (e_137_1) { e_137 = { error: e_137_1 }; }
|
|
13937
14125
|
finally {
|
|
13938
14126
|
try {
|
|
13939
14127
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13940
14128
|
}
|
|
13941
|
-
finally { if (
|
|
14129
|
+
finally { if (e_137) throw e_137.error; }
|
|
13942
14130
|
}
|
|
13943
14131
|
}
|
|
13944
14132
|
if (status === 200) {
|
|
@@ -14001,7 +14189,7 @@
|
|
|
14001
14189
|
}));
|
|
14002
14190
|
};
|
|
14003
14191
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
14004
|
-
var
|
|
14192
|
+
var e_138, _a;
|
|
14005
14193
|
var _this = this;
|
|
14006
14194
|
var status = response.status;
|
|
14007
14195
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -14014,12 +14202,12 @@
|
|
|
14014
14202
|
_headers[key] = response.headers.get(key);
|
|
14015
14203
|
}
|
|
14016
14204
|
}
|
|
14017
|
-
catch (
|
|
14205
|
+
catch (e_138_1) { e_138 = { error: e_138_1 }; }
|
|
14018
14206
|
finally {
|
|
14019
14207
|
try {
|
|
14020
14208
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
14021
14209
|
}
|
|
14022
|
-
finally { if (
|
|
14210
|
+
finally { if (e_138) throw e_138.error; }
|
|
14023
14211
|
}
|
|
14024
14212
|
}
|
|
14025
14213
|
if (status === 200) {
|
|
@@ -14082,7 +14270,7 @@
|
|
|
14082
14270
|
}));
|
|
14083
14271
|
};
|
|
14084
14272
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
14085
|
-
var
|
|
14273
|
+
var e_139, _a;
|
|
14086
14274
|
var _this = this;
|
|
14087
14275
|
var status = response.status;
|
|
14088
14276
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -14095,12 +14283,12 @@
|
|
|
14095
14283
|
_headers[key] = response.headers.get(key);
|
|
14096
14284
|
}
|
|
14097
14285
|
}
|
|
14098
|
-
catch (
|
|
14286
|
+
catch (e_139_1) { e_139 = { error: e_139_1 }; }
|
|
14099
14287
|
finally {
|
|
14100
14288
|
try {
|
|
14101
14289
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
14102
14290
|
}
|
|
14103
|
-
finally { if (
|
|
14291
|
+
finally { if (e_139) throw e_139.error; }
|
|
14104
14292
|
}
|
|
14105
14293
|
}
|
|
14106
14294
|
if (status === 200) {
|
|
@@ -14194,6 +14382,10 @@
|
|
|
14194
14382
|
ImagePreviewFormat["Jpeg"] = "Jpeg";
|
|
14195
14383
|
ImagePreviewFormat["Png"] = "Png";
|
|
14196
14384
|
})(exports.ImagePreviewFormat || (exports.ImagePreviewFormat = {}));
|
|
14385
|
+
(function (ItemBorderStyle) {
|
|
14386
|
+
ItemBorderStyle["Solid"] = "Solid";
|
|
14387
|
+
ItemBorderStyle["Dashed"] = "Dashed";
|
|
14388
|
+
})(exports.ItemBorderStyle || (exports.ItemBorderStyle = {}));
|
|
14197
14389
|
(function (ItemSourceType) {
|
|
14198
14390
|
ItemSourceType["File"] = "File";
|
|
14199
14391
|
ItemSourceType["ImageStorage"] = "ImageStorage";
|