@aurigma/ng-design-atoms-api-client 2.67.1 → 2.68.7

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.
@@ -8650,6 +8650,111 @@
8650
8650
  }
8651
8651
  return rxjs.of(null);
8652
8652
  };
8653
+ /**
8654
+ * Applies item data for a specified design file taken from storage.
8655
+ * @param id Design identifier.
8656
+ * @param privateStorageOwner (optional) Private storage owner identifier.
8657
+ * @param tenantId (optional) Tenant identifier
8658
+ * @param body (optional) Design items data.
8659
+ * @return Success
8660
+ */
8661
+ DesignAtomsServiceApiClient.prototype.applyItemsData = function (id, privateStorageOwner, tenantId, body) {
8662
+ var _this = this;
8663
+ var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/apply-items-data?";
8664
+ if (id === undefined || id === null)
8665
+ throw new Error("The parameter 'id' must be defined.");
8666
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
8667
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
8668
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
8669
+ if (tenantId === null)
8670
+ throw new Error("The parameter 'tenantId' cannot be null.");
8671
+ else if (tenantId !== undefined)
8672
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8673
+ url_ = url_.replace(/[?&]$/, "");
8674
+ var content_ = JSON.stringify(body);
8675
+ var options_ = {
8676
+ body: content_,
8677
+ observe: "response",
8678
+ responseType: "blob",
8679
+ headers: new i1.HttpHeaders({
8680
+ "Content-Type": "application/json",
8681
+ })
8682
+ };
8683
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
8684
+ return _this.http.request("post", url_, transformedOptions_);
8685
+ })).pipe(operators.mergeMap(function (response_) {
8686
+ return _this.transformResult(url_, response_, function (r) { return _this.processApplyItemsData(r); });
8687
+ })).pipe(operators.catchError(function (response_) {
8688
+ if (response_ instanceof i1.HttpResponseBase) {
8689
+ try {
8690
+ return _this.transformResult(url_, response_, function (r) { return _this.processApplyItemsData(r); });
8691
+ }
8692
+ catch (e) {
8693
+ return rxjs.throwError(e);
8694
+ }
8695
+ }
8696
+ else
8697
+ return rxjs.throwError(response_);
8698
+ }));
8699
+ };
8700
+ DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
8701
+ var e_81, _a;
8702
+ var _this = this;
8703
+ var status = response.status;
8704
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
8705
+ response.error instanceof Blob ? response.error : undefined;
8706
+ var _headers = {};
8707
+ if (response.headers) {
8708
+ try {
8709
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
8710
+ var key = _c.value;
8711
+ _headers[key] = response.headers.get(key);
8712
+ }
8713
+ }
8714
+ catch (e_81_1) { e_81 = { error: e_81_1 }; }
8715
+ finally {
8716
+ try {
8717
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8718
+ }
8719
+ finally { if (e_81) throw e_81.error; }
8720
+ }
8721
+ }
8722
+ if (status === 200) {
8723
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8724
+ return rxjs.of(null);
8725
+ }));
8726
+ }
8727
+ else if (status === 404) {
8728
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8729
+ var result404 = null;
8730
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
8731
+ return throwException("Not Found", status, _responseText, _headers, result404);
8732
+ }));
8733
+ }
8734
+ else if (status === 409) {
8735
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8736
+ var result409 = null;
8737
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
8738
+ return throwException("Conflict", status, _responseText, _headers, result409);
8739
+ }));
8740
+ }
8741
+ else if (status === 401) {
8742
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8743
+ return throwException("Unauthorized", status, _responseText, _headers);
8744
+ }));
8745
+ }
8746
+ else if (status === 403) {
8747
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8748
+ return throwException("Forbidden", status, _responseText, _headers);
8749
+ }));
8750
+ }
8751
+ else if (status !== 200 && status !== 204) {
8752
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
8753
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
8754
+ }));
8755
+ }
8756
+ return rxjs.of(null);
8757
+ };
8653
8758
  /**
8654
8759
  * Returns image content of the background.
8655
8760
  * @param id Design identifier.
@@ -8698,7 +8803,7 @@
8698
8803
  }));
8699
8804
  };
8700
8805
  DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
8701
- var e_81, _a;
8806
+ var e_82, _a;
8702
8807
  var _this = this;
8703
8808
  var status = response.status;
8704
8809
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8711,12 +8816,12 @@
8711
8816
  _headers[key] = response.headers.get(key);
8712
8817
  }
8713
8818
  }
8714
- catch (e_81_1) { e_81 = { error: e_81_1 }; }
8819
+ catch (e_82_1) { e_82 = { error: e_82_1 }; }
8715
8820
  finally {
8716
8821
  try {
8717
8822
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8718
8823
  }
8719
- finally { if (e_81) throw e_81.error; }
8824
+ finally { if (e_82) throw e_82.error; }
8720
8825
  }
8721
8826
  }
8722
8827
  if (status === 200 || status === 206) {
@@ -8804,7 +8909,7 @@
8804
8909
  }));
8805
8910
  };
8806
8911
  DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
8807
- var e_82, _a;
8912
+ var e_83, _a;
8808
8913
  var _this = this;
8809
8914
  var status = response.status;
8810
8915
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8817,12 +8922,12 @@
8817
8922
  _headers[key] = response.headers.get(key);
8818
8923
  }
8819
8924
  }
8820
- catch (e_82_1) { e_82 = { error: e_82_1 }; }
8925
+ catch (e_83_1) { e_83 = { error: e_83_1 }; }
8821
8926
  finally {
8822
8927
  try {
8823
8928
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8824
8929
  }
8825
- finally { if (e_82) throw e_82.error; }
8930
+ finally { if (e_83) throw e_83.error; }
8826
8931
  }
8827
8932
  }
8828
8933
  if (status === 204) {
@@ -8906,7 +9011,7 @@
8906
9011
  }));
8907
9012
  };
8908
9013
  DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
8909
- var e_83, _a;
9014
+ var e_84, _a;
8910
9015
  var _this = this;
8911
9016
  var status = response.status;
8912
9017
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8919,12 +9024,12 @@
8919
9024
  _headers[key] = response.headers.get(key);
8920
9025
  }
8921
9026
  }
8922
- catch (e_83_1) { e_83 = { error: e_83_1 }; }
9027
+ catch (e_84_1) { e_84 = { error: e_84_1 }; }
8923
9028
  finally {
8924
9029
  try {
8925
9030
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8926
9031
  }
8927
- finally { if (e_83) throw e_83.error; }
9032
+ finally { if (e_84) throw e_84.error; }
8928
9033
  }
8929
9034
  }
8930
9035
  if (status === 200) {
@@ -9003,7 +9108,7 @@
9003
9108
  }));
9004
9109
  };
9005
9110
  DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
9006
- var e_84, _a;
9111
+ var e_85, _a;
9007
9112
  var _this = this;
9008
9113
  var status = response.status;
9009
9114
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9016,12 +9121,12 @@
9016
9121
  _headers[key] = response.headers.get(key);
9017
9122
  }
9018
9123
  }
9019
- catch (e_84_1) { e_84 = { error: e_84_1 }; }
9124
+ catch (e_85_1) { e_85 = { error: e_85_1 }; }
9020
9125
  finally {
9021
9126
  try {
9022
9127
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9023
9128
  }
9024
- finally { if (e_84) throw e_84.error; }
9129
+ finally { if (e_85) throw e_85.error; }
9025
9130
  }
9026
9131
  }
9027
9132
  if (status === 200 || status === 206) {
@@ -9106,7 +9211,7 @@
9106
9211
  }));
9107
9212
  };
9108
9213
  DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
9109
- var e_85, _a;
9214
+ var e_86, _a;
9110
9215
  var _this = this;
9111
9216
  var status = response.status;
9112
9217
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9119,12 +9224,12 @@
9119
9224
  _headers[key] = response.headers.get(key);
9120
9225
  }
9121
9226
  }
9122
- catch (e_85_1) { e_85 = { error: e_85_1 }; }
9227
+ catch (e_86_1) { e_86 = { error: e_86_1 }; }
9123
9228
  finally {
9124
9229
  try {
9125
9230
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9126
9231
  }
9127
- finally { if (e_85) throw e_85.error; }
9232
+ finally { if (e_86) throw e_86.error; }
9128
9233
  }
9129
9234
  }
9130
9235
  if (status === 200 || status === 206) {
@@ -9209,7 +9314,7 @@
9209
9314
  }));
9210
9315
  };
9211
9316
  DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
9212
- var e_86, _a;
9317
+ var e_87, _a;
9213
9318
  var _this = this;
9214
9319
  var status = response.status;
9215
9320
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9222,12 +9327,12 @@
9222
9327
  _headers[key] = response.headers.get(key);
9223
9328
  }
9224
9329
  }
9225
- catch (e_86_1) { e_86 = { error: e_86_1 }; }
9330
+ catch (e_87_1) { e_87 = { error: e_87_1 }; }
9226
9331
  finally {
9227
9332
  try {
9228
9333
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9229
9334
  }
9230
- finally { if (e_86) throw e_86.error; }
9335
+ finally { if (e_87) throw e_87.error; }
9231
9336
  }
9232
9337
  }
9233
9338
  if (status === 200) {
@@ -9309,7 +9414,7 @@
9309
9414
  }));
9310
9415
  };
9311
9416
  DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
9312
- var e_87, _a;
9417
+ var e_88, _a;
9313
9418
  var _this = this;
9314
9419
  var status = response.status;
9315
9420
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9322,12 +9427,12 @@
9322
9427
  _headers[key] = response.headers.get(key);
9323
9428
  }
9324
9429
  }
9325
- catch (e_87_1) { e_87 = { error: e_87_1 }; }
9430
+ catch (e_88_1) { e_88 = { error: e_88_1 }; }
9326
9431
  finally {
9327
9432
  try {
9328
9433
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9329
9434
  }
9330
- finally { if (e_87) throw e_87.error; }
9435
+ finally { if (e_88) throw e_88.error; }
9331
9436
  }
9332
9437
  }
9333
9438
  if (status === 200) {
@@ -9411,7 +9516,7 @@
9411
9516
  }));
9412
9517
  };
9413
9518
  DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
9414
- var e_88, _a;
9519
+ var e_89, _a;
9415
9520
  var _this = this;
9416
9521
  var status = response.status;
9417
9522
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9424,12 +9529,12 @@
9424
9529
  _headers[key] = response.headers.get(key);
9425
9530
  }
9426
9531
  }
9427
- catch (e_88_1) { e_88 = { error: e_88_1 }; }
9532
+ catch (e_89_1) { e_89 = { error: e_89_1 }; }
9428
9533
  finally {
9429
9534
  try {
9430
9535
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9431
9536
  }
9432
- finally { if (e_88) throw e_88.error; }
9537
+ finally { if (e_89) throw e_89.error; }
9433
9538
  }
9434
9539
  }
9435
9540
  if (status === 200) {
@@ -9518,7 +9623,7 @@
9518
9623
  }));
9519
9624
  };
9520
9625
  DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
9521
- var e_89, _a;
9626
+ var e_90, _a;
9522
9627
  var _this = this;
9523
9628
  var status = response.status;
9524
9629
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9531,12 +9636,12 @@
9531
9636
  _headers[key] = response.headers.get(key);
9532
9637
  }
9533
9638
  }
9534
- catch (e_89_1) { e_89 = { error: e_89_1 }; }
9639
+ catch (e_90_1) { e_90 = { error: e_90_1 }; }
9535
9640
  finally {
9536
9641
  try {
9537
9642
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9538
9643
  }
9539
- finally { if (e_89) throw e_89.error; }
9644
+ finally { if (e_90) throw e_90.error; }
9540
9645
  }
9541
9646
  }
9542
9647
  if (status === 200) {
@@ -9611,7 +9716,7 @@
9611
9716
  }));
9612
9717
  };
9613
9718
  DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
9614
- var e_90, _a;
9719
+ var e_91, _a;
9615
9720
  var _this = this;
9616
9721
  var status = response.status;
9617
9722
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9624,12 +9729,12 @@
9624
9729
  _headers[key] = response.headers.get(key);
9625
9730
  }
9626
9731
  }
9627
- catch (e_90_1) { e_90 = { error: e_90_1 }; }
9732
+ catch (e_91_1) { e_91 = { error: e_91_1 }; }
9628
9733
  finally {
9629
9734
  try {
9630
9735
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9631
9736
  }
9632
- finally { if (e_90) throw e_90.error; }
9737
+ finally { if (e_91) throw e_91.error; }
9633
9738
  }
9634
9739
  }
9635
9740
  if (status === 200) {
@@ -9703,7 +9808,7 @@
9703
9808
  }));
9704
9809
  };
9705
9810
  DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
9706
- var e_91, _a;
9811
+ var e_92, _a;
9707
9812
  var _this = this;
9708
9813
  var status = response.status;
9709
9814
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9716,12 +9821,12 @@
9716
9821
  _headers[key] = response.headers.get(key);
9717
9822
  }
9718
9823
  }
9719
- catch (e_91_1) { e_91 = { error: e_91_1 }; }
9824
+ catch (e_92_1) { e_92 = { error: e_92_1 }; }
9720
9825
  finally {
9721
9826
  try {
9722
9827
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9723
9828
  }
9724
- finally { if (e_91) throw e_91.error; }
9829
+ finally { if (e_92) throw e_92.error; }
9725
9830
  }
9726
9831
  }
9727
9832
  if (status === 200) {
@@ -9799,7 +9904,7 @@
9799
9904
  }));
9800
9905
  };
9801
9906
  DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
9802
- var e_92, _a;
9907
+ var e_93, _a;
9803
9908
  var _this = this;
9804
9909
  var status = response.status;
9805
9910
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9812,12 +9917,12 @@
9812
9917
  _headers[key] = response.headers.get(key);
9813
9918
  }
9814
9919
  }
9815
- catch (e_92_1) { e_92 = { error: e_92_1 }; }
9920
+ catch (e_93_1) { e_93 = { error: e_93_1 }; }
9816
9921
  finally {
9817
9922
  try {
9818
9923
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9819
9924
  }
9820
- finally { if (e_92) throw e_92.error; }
9925
+ finally { if (e_93) throw e_93.error; }
9821
9926
  }
9822
9927
  }
9823
9928
  if (status === 200) {
@@ -9904,7 +10009,7 @@
9904
10009
  }));
9905
10010
  };
9906
10011
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
9907
- var e_93, _a;
10012
+ var e_94, _a;
9908
10013
  var status = response.status;
9909
10014
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
9910
10015
  response.error instanceof Blob ? response.error : undefined;
@@ -9916,12 +10021,12 @@
9916
10021
  _headers[key] = response.headers.get(key);
9917
10022
  }
9918
10023
  }
9919
- catch (e_93_1) { e_93 = { error: e_93_1 }; }
10024
+ catch (e_94_1) { e_94 = { error: e_94_1 }; }
9920
10025
  finally {
9921
10026
  try {
9922
10027
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9923
10028
  }
9924
- finally { if (e_93) throw e_93.error; }
10029
+ finally { if (e_94) throw e_94.error; }
9925
10030
  }
9926
10031
  }
9927
10032
  if (status === 200 || status === 206) {
@@ -9993,7 +10098,7 @@
9993
10098
  }));
9994
10099
  };
9995
10100
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
9996
- var e_94, _a;
10101
+ var e_95, _a;
9997
10102
  var status = response.status;
9998
10103
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
9999
10104
  response.error instanceof Blob ? response.error : undefined;
@@ -10005,12 +10110,12 @@
10005
10110
  _headers[key] = response.headers.get(key);
10006
10111
  }
10007
10112
  }
10008
- catch (e_94_1) { e_94 = { error: e_94_1 }; }
10113
+ catch (e_95_1) { e_95 = { error: e_95_1 }; }
10009
10114
  finally {
10010
10115
  try {
10011
10116
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10012
10117
  }
10013
- finally { if (e_94) throw e_94.error; }
10118
+ finally { if (e_95) throw e_95.error; }
10014
10119
  }
10015
10120
  }
10016
10121
  if (status === 200 || status === 206) {
@@ -10078,7 +10183,7 @@
10078
10183
  }));
10079
10184
  };
10080
10185
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
10081
- var e_95, _a;
10186
+ var e_96, _a;
10082
10187
  var _this = this;
10083
10188
  var status = response.status;
10084
10189
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10091,12 +10196,12 @@
10091
10196
  _headers[key] = response.headers.get(key);
10092
10197
  }
10093
10198
  }
10094
- catch (e_95_1) { e_95 = { error: e_95_1 }; }
10199
+ catch (e_96_1) { e_96 = { error: e_96_1 }; }
10095
10200
  finally {
10096
10201
  try {
10097
10202
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10098
10203
  }
10099
- finally { if (e_95) throw e_95.error; }
10204
+ finally { if (e_96) throw e_96.error; }
10100
10205
  }
10101
10206
  }
10102
10207
  if (status === 200) {
@@ -10183,7 +10288,7 @@
10183
10288
  }));
10184
10289
  };
10185
10290
  DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
10186
- var e_96, _a;
10291
+ var e_97, _a;
10187
10292
  var _this = this;
10188
10293
  var status = response.status;
10189
10294
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10196,12 +10301,12 @@
10196
10301
  _headers[key] = response.headers.get(key);
10197
10302
  }
10198
10303
  }
10199
- catch (e_96_1) { e_96 = { error: e_96_1 }; }
10304
+ catch (e_97_1) { e_97 = { error: e_97_1 }; }
10200
10305
  finally {
10201
10306
  try {
10202
10307
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10203
10308
  }
10204
- finally { if (e_96) throw e_96.error; }
10309
+ finally { if (e_97) throw e_97.error; }
10205
10310
  }
10206
10311
  }
10207
10312
  if (status === 200 || status === 206) {
@@ -10276,7 +10381,7 @@
10276
10381
  }));
10277
10382
  };
10278
10383
  DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
10279
- var e_97, _a;
10384
+ var e_98, _a;
10280
10385
  var _this = this;
10281
10386
  var status = response.status;
10282
10387
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10289,12 +10394,12 @@
10289
10394
  _headers[key] = response.headers.get(key);
10290
10395
  }
10291
10396
  }
10292
- catch (e_97_1) { e_97 = { error: e_97_1 }; }
10397
+ catch (e_98_1) { e_98 = { error: e_98_1 }; }
10293
10398
  finally {
10294
10399
  try {
10295
10400
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10296
10401
  }
10297
- finally { if (e_97) throw e_97.error; }
10402
+ finally { if (e_98) throw e_98.error; }
10298
10403
  }
10299
10404
  }
10300
10405
  if (status === 200) {
@@ -10374,7 +10479,7 @@
10374
10479
  }));
10375
10480
  };
10376
10481
  DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
10377
- var e_98, _a;
10482
+ var e_99, _a;
10378
10483
  var _this = this;
10379
10484
  var status = response.status;
10380
10485
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10387,12 +10492,12 @@
10387
10492
  _headers[key] = response.headers.get(key);
10388
10493
  }
10389
10494
  }
10390
- catch (e_98_1) { e_98 = { error: e_98_1 }; }
10495
+ catch (e_99_1) { e_99 = { error: e_99_1 }; }
10391
10496
  finally {
10392
10497
  try {
10393
10498
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10394
10499
  }
10395
- finally { if (e_98) throw e_98.error; }
10500
+ finally { if (e_99) throw e_99.error; }
10396
10501
  }
10397
10502
  }
10398
10503
  if (status === 200) {
@@ -10475,7 +10580,7 @@
10475
10580
  }));
10476
10581
  };
10477
10582
  DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
10478
- var e_99, _a;
10583
+ var e_100, _a;
10479
10584
  var _this = this;
10480
10585
  var status = response.status;
10481
10586
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10488,12 +10593,12 @@
10488
10593
  _headers[key] = response.headers.get(key);
10489
10594
  }
10490
10595
  }
10491
- catch (e_99_1) { e_99 = { error: e_99_1 }; }
10596
+ catch (e_100_1) { e_100 = { error: e_100_1 }; }
10492
10597
  finally {
10493
10598
  try {
10494
10599
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10495
10600
  }
10496
- finally { if (e_99) throw e_99.error; }
10601
+ finally { if (e_100) throw e_100.error; }
10497
10602
  }
10498
10603
  }
10499
10604
  if (status === 200) {
@@ -10593,7 +10698,7 @@
10593
10698
  }));
10594
10699
  };
10595
10700
  DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
10596
- var e_100, _a;
10701
+ var e_101, _a;
10597
10702
  var _this = this;
10598
10703
  var status = response.status;
10599
10704
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10606,12 +10711,12 @@
10606
10711
  _headers[key] = response.headers.get(key);
10607
10712
  }
10608
10713
  }
10609
- catch (e_100_1) { e_100 = { error: e_100_1 }; }
10714
+ catch (e_101_1) { e_101 = { error: e_101_1 }; }
10610
10715
  finally {
10611
10716
  try {
10612
10717
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10613
10718
  }
10614
- finally { if (e_100) throw e_100.error; }
10719
+ finally { if (e_101) throw e_101.error; }
10615
10720
  }
10616
10721
  }
10617
10722
  if (status === 200) {
@@ -10702,7 +10807,7 @@
10702
10807
  }));
10703
10808
  };
10704
10809
  DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
10705
- var e_101, _a;
10810
+ var e_102, _a;
10706
10811
  var _this = this;
10707
10812
  var status = response.status;
10708
10813
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10715,12 +10820,12 @@
10715
10820
  _headers[key] = response.headers.get(key);
10716
10821
  }
10717
10822
  }
10718
- catch (e_101_1) { e_101 = { error: e_101_1 }; }
10823
+ catch (e_102_1) { e_102 = { error: e_102_1 }; }
10719
10824
  finally {
10720
10825
  try {
10721
10826
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10722
10827
  }
10723
- finally { if (e_101) throw e_101.error; }
10828
+ finally { if (e_102) throw e_102.error; }
10724
10829
  }
10725
10830
  }
10726
10831
  if (status === 200) {
@@ -10797,7 +10902,7 @@
10797
10902
  }));
10798
10903
  };
10799
10904
  DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
10800
- var e_102, _a;
10905
+ var e_103, _a;
10801
10906
  var status = response.status;
10802
10907
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10803
10908
  response.error instanceof Blob ? response.error : undefined;
@@ -10809,12 +10914,12 @@
10809
10914
  _headers[key] = response.headers.get(key);
10810
10915
  }
10811
10916
  }
10812
- catch (e_102_1) { e_102 = { error: e_102_1 }; }
10917
+ catch (e_103_1) { e_103 = { error: e_103_1 }; }
10813
10918
  finally {
10814
10919
  try {
10815
10920
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10816
10921
  }
10817
- finally { if (e_102) throw e_102.error; }
10922
+ finally { if (e_103) throw e_103.error; }
10818
10923
  }
10819
10924
  }
10820
10925
  if (status === 200 || status === 206) {
@@ -10883,7 +10988,7 @@
10883
10988
  }));
10884
10989
  };
10885
10990
  DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
10886
- var e_103, _a;
10991
+ var e_104, _a;
10887
10992
  var _this = this;
10888
10993
  var status = response.status;
10889
10994
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10896,12 +11001,12 @@
10896
11001
  _headers[key] = response.headers.get(key);
10897
11002
  }
10898
11003
  }
10899
- catch (e_103_1) { e_103 = { error: e_103_1 }; }
11004
+ catch (e_104_1) { e_104 = { error: e_104_1 }; }
10900
11005
  finally {
10901
11006
  try {
10902
11007
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10903
11008
  }
10904
- finally { if (e_103) throw e_103.error; }
11009
+ finally { if (e_104) throw e_104.error; }
10905
11010
  }
10906
11011
  }
10907
11012
  if (status === 200) {
@@ -10974,7 +11079,7 @@
10974
11079
  }));
10975
11080
  };
10976
11081
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
10977
- var e_104, _a;
11082
+ var e_105, _a;
10978
11083
  var status = response.status;
10979
11084
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10980
11085
  response.error instanceof Blob ? response.error : undefined;
@@ -10986,12 +11091,12 @@
10986
11091
  _headers[key] = response.headers.get(key);
10987
11092
  }
10988
11093
  }
10989
- catch (e_104_1) { e_104 = { error: e_104_1 }; }
11094
+ catch (e_105_1) { e_105 = { error: e_105_1 }; }
10990
11095
  finally {
10991
11096
  try {
10992
11097
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10993
11098
  }
10994
- finally { if (e_104) throw e_104.error; }
11099
+ finally { if (e_105) throw e_105.error; }
10995
11100
  }
10996
11101
  }
10997
11102
  if (status === 201) {
@@ -11062,7 +11167,7 @@
11062
11167
  }));
11063
11168
  };
11064
11169
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
11065
- var e_105, _a;
11170
+ var e_106, _a;
11066
11171
  var status = response.status;
11067
11172
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11068
11173
  response.error instanceof Blob ? response.error : undefined;
@@ -11074,12 +11179,12 @@
11074
11179
  _headers[key] = response.headers.get(key);
11075
11180
  }
11076
11181
  }
11077
- catch (e_105_1) { e_105 = { error: e_105_1 }; }
11182
+ catch (e_106_1) { e_106 = { error: e_106_1 }; }
11078
11183
  finally {
11079
11184
  try {
11080
11185
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11081
11186
  }
11082
- finally { if (e_105) throw e_105.error; }
11187
+ finally { if (e_106) throw e_106.error; }
11083
11188
  }
11084
11189
  }
11085
11190
  if (status === 201) {
@@ -11167,7 +11272,7 @@
11167
11272
  }));
11168
11273
  };
11169
11274
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
11170
- var e_106, _a;
11275
+ var e_107, _a;
11171
11276
  var _this = this;
11172
11277
  var status = response.status;
11173
11278
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11180,12 +11285,12 @@
11180
11285
  _headers[key] = response.headers.get(key);
11181
11286
  }
11182
11287
  }
11183
- catch (e_106_1) { e_106 = { error: e_106_1 }; }
11288
+ catch (e_107_1) { e_107 = { error: e_107_1 }; }
11184
11289
  finally {
11185
11290
  try {
11186
11291
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11187
11292
  }
11188
- finally { if (e_106) throw e_106.error; }
11293
+ finally { if (e_107) throw e_107.error; }
11189
11294
  }
11190
11295
  }
11191
11296
  if (status === 200) {
@@ -11252,7 +11357,7 @@
11252
11357
  }));
11253
11358
  };
11254
11359
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
11255
- var e_107, _a;
11360
+ var e_108, _a;
11256
11361
  var _this = this;
11257
11362
  var status = response.status;
11258
11363
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11265,12 +11370,12 @@
11265
11370
  _headers[key] = response.headers.get(key);
11266
11371
  }
11267
11372
  }
11268
- catch (e_107_1) { e_107 = { error: e_107_1 }; }
11373
+ catch (e_108_1) { e_108 = { error: e_108_1 }; }
11269
11374
  finally {
11270
11375
  try {
11271
11376
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11272
11377
  }
11273
- finally { if (e_107) throw e_107.error; }
11378
+ finally { if (e_108) throw e_108.error; }
11274
11379
  }
11275
11380
  }
11276
11381
  if (status === 200 || status === 206) {
@@ -11344,7 +11449,7 @@
11344
11449
  }));
11345
11450
  };
11346
11451
  DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
11347
- var e_108, _a;
11452
+ var e_109, _a;
11348
11453
  var _this = this;
11349
11454
  var status = response.status;
11350
11455
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11357,12 +11462,12 @@
11357
11462
  _headers[key] = response.headers.get(key);
11358
11463
  }
11359
11464
  }
11360
- catch (e_108_1) { e_108 = { error: e_108_1 }; }
11465
+ catch (e_109_1) { e_109 = { error: e_109_1 }; }
11361
11466
  finally {
11362
11467
  try {
11363
11468
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11364
11469
  }
11365
- finally { if (e_108) throw e_108.error; }
11470
+ finally { if (e_109) throw e_109.error; }
11366
11471
  }
11367
11472
  }
11368
11473
  if (status === 200) {
@@ -11437,7 +11542,7 @@
11437
11542
  }));
11438
11543
  };
11439
11544
  DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
11440
- var e_109, _a;
11545
+ var e_110, _a;
11441
11546
  var _this = this;
11442
11547
  var status = response.status;
11443
11548
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11450,12 +11555,12 @@
11450
11555
  _headers[key] = response.headers.get(key);
11451
11556
  }
11452
11557
  }
11453
- catch (e_109_1) { e_109 = { error: e_109_1 }; }
11558
+ catch (e_110_1) { e_110 = { error: e_110_1 }; }
11454
11559
  finally {
11455
11560
  try {
11456
11561
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11457
11562
  }
11458
- finally { if (e_109) throw e_109.error; }
11563
+ finally { if (e_110) throw e_110.error; }
11459
11564
  }
11460
11565
  }
11461
11566
  if (status === 200) {
@@ -11529,7 +11634,7 @@
11529
11634
  }));
11530
11635
  };
11531
11636
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
11532
- var e_110, _a;
11637
+ var e_111, _a;
11533
11638
  var _this = this;
11534
11639
  var status = response.status;
11535
11640
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11542,12 +11647,12 @@
11542
11647
  _headers[key] = response.headers.get(key);
11543
11648
  }
11544
11649
  }
11545
- catch (e_110_1) { e_110 = { error: e_110_1 }; }
11650
+ catch (e_111_1) { e_111 = { error: e_111_1 }; }
11546
11651
  finally {
11547
11652
  try {
11548
11653
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11549
11654
  }
11550
- finally { if (e_110) throw e_110.error; }
11655
+ finally { if (e_111) throw e_111.error; }
11551
11656
  }
11552
11657
  }
11553
11658
  if (status === 200 || status === 206) {
@@ -11617,7 +11722,7 @@
11617
11722
  }));
11618
11723
  };
11619
11724
  DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
11620
- var e_111, _a;
11725
+ var e_112, _a;
11621
11726
  var _this = this;
11622
11727
  var status = response.status;
11623
11728
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11630,12 +11735,12 @@
11630
11735
  _headers[key] = response.headers.get(key);
11631
11736
  }
11632
11737
  }
11633
- catch (e_111_1) { e_111 = { error: e_111_1 }; }
11738
+ catch (e_112_1) { e_112 = { error: e_112_1 }; }
11634
11739
  finally {
11635
11740
  try {
11636
11741
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11637
11742
  }
11638
- finally { if (e_111) throw e_111.error; }
11743
+ finally { if (e_112) throw e_112.error; }
11639
11744
  }
11640
11745
  }
11641
11746
  if (status === 200) {
@@ -11703,7 +11808,7 @@
11703
11808
  }));
11704
11809
  };
11705
11810
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
11706
- var e_112, _a;
11811
+ var e_113, _a;
11707
11812
  var _this = this;
11708
11813
  var status = response.status;
11709
11814
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11716,12 +11821,12 @@
11716
11821
  _headers[key] = response.headers.get(key);
11717
11822
  }
11718
11823
  }
11719
- catch (e_112_1) { e_112 = { error: e_112_1 }; }
11824
+ catch (e_113_1) { e_113 = { error: e_113_1 }; }
11720
11825
  finally {
11721
11826
  try {
11722
11827
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11723
11828
  }
11724
- finally { if (e_112) throw e_112.error; }
11829
+ finally { if (e_113) throw e_113.error; }
11725
11830
  }
11726
11831
  }
11727
11832
  if (status === 200) {
@@ -11789,7 +11894,7 @@
11789
11894
  }));
11790
11895
  };
11791
11896
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
11792
- var e_113, _a;
11897
+ var e_114, _a;
11793
11898
  var _this = this;
11794
11899
  var status = response.status;
11795
11900
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11802,12 +11907,12 @@
11802
11907
  _headers[key] = response.headers.get(key);
11803
11908
  }
11804
11909
  }
11805
- catch (e_113_1) { e_113 = { error: e_113_1 }; }
11910
+ catch (e_114_1) { e_114 = { error: e_114_1 }; }
11806
11911
  finally {
11807
11912
  try {
11808
11913
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11809
11914
  }
11810
- finally { if (e_113) throw e_113.error; }
11915
+ finally { if (e_114) throw e_114.error; }
11811
11916
  }
11812
11917
  }
11813
11918
  if (status === 200) {
@@ -11875,7 +11980,7 @@
11875
11980
  }));
11876
11981
  };
11877
11982
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
11878
- var e_114, _a;
11983
+ var e_115, _a;
11879
11984
  var _this = this;
11880
11985
  var status = response.status;
11881
11986
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11888,12 +11993,12 @@
11888
11993
  _headers[key] = response.headers.get(key);
11889
11994
  }
11890
11995
  }
11891
- catch (e_114_1) { e_114 = { error: e_114_1 }; }
11996
+ catch (e_115_1) { e_115 = { error: e_115_1 }; }
11892
11997
  finally {
11893
11998
  try {
11894
11999
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11895
12000
  }
11896
- finally { if (e_114) throw e_114.error; }
12001
+ finally { if (e_115) throw e_115.error; }
11897
12002
  }
11898
12003
  }
11899
12004
  if (status === 200) {
@@ -12011,7 +12116,7 @@
12011
12116
  }));
12012
12117
  };
12013
12118
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
12014
- var e_115, _a;
12119
+ var e_116, _a;
12015
12120
  var _this = this;
12016
12121
  var status = response.status;
12017
12122
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12024,12 +12129,12 @@
12024
12129
  _headers[key] = response.headers.get(key);
12025
12130
  }
12026
12131
  }
12027
- catch (e_115_1) { e_115 = { error: e_115_1 }; }
12132
+ catch (e_116_1) { e_116 = { error: e_116_1 }; }
12028
12133
  finally {
12029
12134
  try {
12030
12135
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12031
12136
  }
12032
- finally { if (e_115) throw e_115.error; }
12137
+ finally { if (e_116) throw e_116.error; }
12033
12138
  }
12034
12139
  }
12035
12140
  if (status === 200 || status === 206) {
@@ -12104,7 +12209,7 @@
12104
12209
  }));
12105
12210
  };
12106
12211
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
12107
- var e_116, _a;
12212
+ var e_117, _a;
12108
12213
  var _this = this;
12109
12214
  var status = response.status;
12110
12215
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12117,12 +12222,12 @@
12117
12222
  _headers[key] = response.headers.get(key);
12118
12223
  }
12119
12224
  }
12120
- catch (e_116_1) { e_116 = { error: e_116_1 }; }
12225
+ catch (e_117_1) { e_117 = { error: e_117_1 }; }
12121
12226
  finally {
12122
12227
  try {
12123
12228
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12124
12229
  }
12125
- finally { if (e_116) throw e_116.error; }
12230
+ finally { if (e_117) throw e_117.error; }
12126
12231
  }
12127
12232
  }
12128
12233
  if (status === 200) {
@@ -12189,7 +12294,7 @@
12189
12294
  }));
12190
12295
  };
12191
12296
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
12192
- var e_117, _a;
12297
+ var e_118, _a;
12193
12298
  var _this = this;
12194
12299
  var status = response.status;
12195
12300
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12202,12 +12307,12 @@
12202
12307
  _headers[key] = response.headers.get(key);
12203
12308
  }
12204
12309
  }
12205
- catch (e_117_1) { e_117 = { error: e_117_1 }; }
12310
+ catch (e_118_1) { e_118 = { error: e_118_1 }; }
12206
12311
  finally {
12207
12312
  try {
12208
12313
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12209
12314
  }
12210
- finally { if (e_117) throw e_117.error; }
12315
+ finally { if (e_118) throw e_118.error; }
12211
12316
  }
12212
12317
  }
12213
12318
  if (status === 200 || status === 206) {
@@ -12285,7 +12390,7 @@
12285
12390
  }));
12286
12391
  };
12287
12392
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
12288
- var e_118, _a;
12393
+ var e_119, _a;
12289
12394
  var _this = this;
12290
12395
  var status = response.status;
12291
12396
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12298,12 +12403,12 @@
12298
12403
  _headers[key] = response.headers.get(key);
12299
12404
  }
12300
12405
  }
12301
- catch (e_118_1) { e_118 = { error: e_118_1 }; }
12406
+ catch (e_119_1) { e_119 = { error: e_119_1 }; }
12302
12407
  finally {
12303
12408
  try {
12304
12409
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12305
12410
  }
12306
- finally { if (e_118) throw e_118.error; }
12411
+ finally { if (e_119) throw e_119.error; }
12307
12412
  }
12308
12413
  }
12309
12414
  if (status === 200 || status === 206) {
@@ -12427,7 +12532,7 @@
12427
12532
  }));
12428
12533
  };
12429
12534
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
12430
- var e_119, _a;
12535
+ var e_120, _a;
12431
12536
  var _this = this;
12432
12537
  var status = response.status;
12433
12538
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12440,12 +12545,12 @@
12440
12545
  _headers[key] = response.headers.get(key);
12441
12546
  }
12442
12547
  }
12443
- catch (e_119_1) { e_119 = { error: e_119_1 }; }
12548
+ catch (e_120_1) { e_120 = { error: e_120_1 }; }
12444
12549
  finally {
12445
12550
  try {
12446
12551
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12447
12552
  }
12448
- finally { if (e_119) throw e_119.error; }
12553
+ finally { if (e_120) throw e_120.error; }
12449
12554
  }
12450
12555
  }
12451
12556
  if (status === 200 || status === 206) {
@@ -12523,7 +12628,7 @@
12523
12628
  }));
12524
12629
  };
12525
12630
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
12526
- var e_120, _a;
12631
+ var e_121, _a;
12527
12632
  var _this = this;
12528
12633
  var status = response.status;
12529
12634
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12536,12 +12641,12 @@
12536
12641
  _headers[key] = response.headers.get(key);
12537
12642
  }
12538
12643
  }
12539
- catch (e_120_1) { e_120 = { error: e_120_1 }; }
12644
+ catch (e_121_1) { e_121 = { error: e_121_1 }; }
12540
12645
  finally {
12541
12646
  try {
12542
12647
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12543
12648
  }
12544
- finally { if (e_120) throw e_120.error; }
12649
+ finally { if (e_121) throw e_121.error; }
12545
12650
  }
12546
12651
  }
12547
12652
  if (status === 200 || status === 206) {
@@ -12620,7 +12725,7 @@
12620
12725
  }));
12621
12726
  };
12622
12727
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
12623
- var e_121, _a;
12728
+ var e_122, _a;
12624
12729
  var _this = this;
12625
12730
  var status = response.status;
12626
12731
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12633,12 +12738,12 @@
12633
12738
  _headers[key] = response.headers.get(key);
12634
12739
  }
12635
12740
  }
12636
- catch (e_121_1) { e_121 = { error: e_121_1 }; }
12741
+ catch (e_122_1) { e_122 = { error: e_122_1 }; }
12637
12742
  finally {
12638
12743
  try {
12639
12744
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12640
12745
  }
12641
- finally { if (e_121) throw e_121.error; }
12746
+ finally { if (e_122) throw e_122.error; }
12642
12747
  }
12643
12748
  }
12644
12749
  if (status === 200) {
@@ -12706,7 +12811,7 @@
12706
12811
  }));
12707
12812
  };
12708
12813
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
12709
- var e_122, _a;
12814
+ var e_123, _a;
12710
12815
  var _this = this;
12711
12816
  var status = response.status;
12712
12817
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12719,12 +12824,12 @@
12719
12824
  _headers[key] = response.headers.get(key);
12720
12825
  }
12721
12826
  }
12722
- catch (e_122_1) { e_122 = { error: e_122_1 }; }
12827
+ catch (e_123_1) { e_123 = { error: e_123_1 }; }
12723
12828
  finally {
12724
12829
  try {
12725
12830
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12726
12831
  }
12727
- finally { if (e_122) throw e_122.error; }
12832
+ finally { if (e_123) throw e_123.error; }
12728
12833
  }
12729
12834
  }
12730
12835
  if (status === 200) {
@@ -12792,7 +12897,7 @@
12792
12897
  }));
12793
12898
  };
12794
12899
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
12795
- var e_123, _a;
12900
+ var e_124, _a;
12796
12901
  var _this = this;
12797
12902
  var status = response.status;
12798
12903
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12805,12 +12910,12 @@
12805
12910
  _headers[key] = response.headers.get(key);
12806
12911
  }
12807
12912
  }
12808
- catch (e_123_1) { e_123 = { error: e_123_1 }; }
12913
+ catch (e_124_1) { e_124 = { error: e_124_1 }; }
12809
12914
  finally {
12810
12915
  try {
12811
12916
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12812
12917
  }
12813
- finally { if (e_123) throw e_123.error; }
12918
+ finally { if (e_124) throw e_124.error; }
12814
12919
  }
12815
12920
  }
12816
12921
  if (status === 200) {
@@ -12878,7 +12983,7 @@
12878
12983
  }));
12879
12984
  };
12880
12985
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
12881
- var e_124, _a;
12986
+ var e_125, _a;
12882
12987
  var _this = this;
12883
12988
  var status = response.status;
12884
12989
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12891,12 +12996,12 @@
12891
12996
  _headers[key] = response.headers.get(key);
12892
12997
  }
12893
12998
  }
12894
- catch (e_124_1) { e_124 = { error: e_124_1 }; }
12999
+ catch (e_125_1) { e_125 = { error: e_125_1 }; }
12895
13000
  finally {
12896
13001
  try {
12897
13002
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12898
13003
  }
12899
- finally { if (e_124) throw e_124.error; }
13004
+ finally { if (e_125) throw e_125.error; }
12900
13005
  }
12901
13006
  }
12902
13007
  if (status === 200) {
@@ -12964,7 +13069,7 @@
12964
13069
  }));
12965
13070
  };
12966
13071
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
12967
- var e_125, _a;
13072
+ var e_126, _a;
12968
13073
  var _this = this;
12969
13074
  var status = response.status;
12970
13075
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12977,12 +13082,12 @@
12977
13082
  _headers[key] = response.headers.get(key);
12978
13083
  }
12979
13084
  }
12980
- catch (e_125_1) { e_125 = { error: e_125_1 }; }
13085
+ catch (e_126_1) { e_126 = { error: e_126_1 }; }
12981
13086
  finally {
12982
13087
  try {
12983
13088
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12984
13089
  }
12985
- finally { if (e_125) throw e_125.error; }
13090
+ finally { if (e_126) throw e_126.error; }
12986
13091
  }
12987
13092
  }
12988
13093
  if (status === 200) {
@@ -13050,7 +13155,7 @@
13050
13155
  }));
13051
13156
  };
13052
13157
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
13053
- var e_126, _a;
13158
+ var e_127, _a;
13054
13159
  var _this = this;
13055
13160
  var status = response.status;
13056
13161
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13063,12 +13168,12 @@
13063
13168
  _headers[key] = response.headers.get(key);
13064
13169
  }
13065
13170
  }
13066
- catch (e_126_1) { e_126 = { error: e_126_1 }; }
13171
+ catch (e_127_1) { e_127 = { error: e_127_1 }; }
13067
13172
  finally {
13068
13173
  try {
13069
13174
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13070
13175
  }
13071
- finally { if (e_126) throw e_126.error; }
13176
+ finally { if (e_127) throw e_127.error; }
13072
13177
  }
13073
13178
  }
13074
13179
  if (status === 200) {
@@ -13136,7 +13241,7 @@
13136
13241
  }));
13137
13242
  };
13138
13243
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
13139
- var e_127, _a;
13244
+ var e_128, _a;
13140
13245
  var _this = this;
13141
13246
  var status = response.status;
13142
13247
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13149,12 +13254,12 @@
13149
13254
  _headers[key] = response.headers.get(key);
13150
13255
  }
13151
13256
  }
13152
- catch (e_127_1) { e_127 = { error: e_127_1 }; }
13257
+ catch (e_128_1) { e_128 = { error: e_128_1 }; }
13153
13258
  finally {
13154
13259
  try {
13155
13260
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13156
13261
  }
13157
- finally { if (e_127) throw e_127.error; }
13262
+ finally { if (e_128) throw e_128.error; }
13158
13263
  }
13159
13264
  }
13160
13265
  if (status === 200) {
@@ -13222,7 +13327,7 @@
13222
13327
  }));
13223
13328
  };
13224
13329
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
13225
- var e_128, _a;
13330
+ var e_129, _a;
13226
13331
  var _this = this;
13227
13332
  var status = response.status;
13228
13333
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13235,12 +13340,12 @@
13235
13340
  _headers[key] = response.headers.get(key);
13236
13341
  }
13237
13342
  }
13238
- catch (e_128_1) { e_128 = { error: e_128_1 }; }
13343
+ catch (e_129_1) { e_129 = { error: e_129_1 }; }
13239
13344
  finally {
13240
13345
  try {
13241
13346
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13242
13347
  }
13243
- finally { if (e_128) throw e_128.error; }
13348
+ finally { if (e_129) throw e_129.error; }
13244
13349
  }
13245
13350
  }
13246
13351
  if (status === 200) {
@@ -13308,7 +13413,7 @@
13308
13413
  }));
13309
13414
  };
13310
13415
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
13311
- var e_129, _a;
13416
+ var e_130, _a;
13312
13417
  var _this = this;
13313
13418
  var status = response.status;
13314
13419
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13321,12 +13426,12 @@
13321
13426
  _headers[key] = response.headers.get(key);
13322
13427
  }
13323
13428
  }
13324
- catch (e_129_1) { e_129 = { error: e_129_1 }; }
13429
+ catch (e_130_1) { e_130 = { error: e_130_1 }; }
13325
13430
  finally {
13326
13431
  try {
13327
13432
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13328
13433
  }
13329
- finally { if (e_129) throw e_129.error; }
13434
+ finally { if (e_130) throw e_130.error; }
13330
13435
  }
13331
13436
  }
13332
13437
  if (status === 200) {
@@ -13394,7 +13499,7 @@
13394
13499
  }));
13395
13500
  };
13396
13501
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
13397
- var e_130, _a;
13502
+ var e_131, _a;
13398
13503
  var _this = this;
13399
13504
  var status = response.status;
13400
13505
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13407,12 +13512,12 @@
13407
13512
  _headers[key] = response.headers.get(key);
13408
13513
  }
13409
13514
  }
13410
- catch (e_130_1) { e_130 = { error: e_130_1 }; }
13515
+ catch (e_131_1) { e_131 = { error: e_131_1 }; }
13411
13516
  finally {
13412
13517
  try {
13413
13518
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13414
13519
  }
13415
- finally { if (e_130) throw e_130.error; }
13520
+ finally { if (e_131) throw e_131.error; }
13416
13521
  }
13417
13522
  }
13418
13523
  if (status === 200) {
@@ -13480,7 +13585,7 @@
13480
13585
  }));
13481
13586
  };
13482
13587
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
13483
- var e_131, _a;
13588
+ var e_132, _a;
13484
13589
  var _this = this;
13485
13590
  var status = response.status;
13486
13591
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13493,12 +13598,12 @@
13493
13598
  _headers[key] = response.headers.get(key);
13494
13599
  }
13495
13600
  }
13496
- catch (e_131_1) { e_131 = { error: e_131_1 }; }
13601
+ catch (e_132_1) { e_132 = { error: e_132_1 }; }
13497
13602
  finally {
13498
13603
  try {
13499
13604
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13500
13605
  }
13501
- finally { if (e_131) throw e_131.error; }
13606
+ finally { if (e_132) throw e_132.error; }
13502
13607
  }
13503
13608
  }
13504
13609
  if (status === 200) {
@@ -13538,13 +13643,6 @@
13538
13643
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
13539
13644
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
13540
13645
  ]; };
13541
- (function (ColorSpace) {
13542
- ColorSpace["Rgb"] = "Rgb";
13543
- ColorSpace["Cmyk"] = "Cmyk";
13544
- ColorSpace["Grayscale"] = "Grayscale";
13545
- ColorSpace["Lab"] = "Lab";
13546
- ColorSpace["Spot"] = "Spot";
13547
- })(exports.ColorSpace || (exports.ColorSpace = {}));
13548
13646
  (function (ConflictType) {
13549
13647
  ConflictType["NameConflict"] = "NameConflict";
13550
13648
  ConflictType["FolderOverwriteConflict"] = "FolderOverwriteConflict";
@@ -13612,6 +13710,20 @@
13612
13710
  ProductProofInterpolationMode["Anisotropic9"] = "Anisotropic9";
13613
13711
  ProductProofInterpolationMode["Lanczos3"] = "Lanczos3";
13614
13712
  })(exports.ProductProofInterpolationMode || (exports.ProductProofInterpolationMode = {}));
13713
+ (function (TextAlignment) {
13714
+ TextAlignment["Left"] = "Left";
13715
+ TextAlignment["Center"] = "Center";
13716
+ TextAlignment["Right"] = "Right";
13717
+ TextAlignment["All"] = "All";
13718
+ TextAlignment["LastLeft"] = "LastLeft";
13719
+ TextAlignment["LastRight"] = "LastRight";
13720
+ TextAlignment["LastCenter"] = "LastCenter";
13721
+ })(exports.TextAlignment || (exports.TextAlignment = {}));
13722
+ (function (TextVerticalAlignment) {
13723
+ TextVerticalAlignment["Top"] = "Top";
13724
+ TextVerticalAlignment["Center"] = "Center";
13725
+ TextVerticalAlignment["Bottom"] = "Bottom";
13726
+ })(exports.TextVerticalAlignment || (exports.TextVerticalAlignment = {}));
13615
13727
  var ApiException = /** @class */ (function (_super) {
13616
13728
  __extends(ApiException, _super);
13617
13729
  function ApiException(message, status, response, headers, result) {