@aurigma/ng-design-atoms-api-client 2.28.1 → 2.30.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.
@@ -4227,13 +4227,14 @@
4227
4227
  return rxjs.of(null);
4228
4228
  };
4229
4229
  /**
4230
- * Renders a design with the specified parameters.
4231
- * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
4230
+ * Renders a design preview with the specified parameters.
4231
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
4232
+ (default value is 'false').
4232
4233
  * @param tenantId (optional) Tenant identifier
4233
4234
  * @param body (optional) Render model with preview parameters.
4234
4235
  * @return Success
4235
4236
  */
4236
- DesignAtomsServiceApiClient.prototype.renderDesign = function (attachment, tenantId, body) {
4237
+ DesignAtomsServiceApiClient.prototype.renderDesignPreview = function (attachment, tenantId, body) {
4237
4238
  var _this = this;
4238
4239
  var url_ = this.baseUrl + "/api/atoms/v1/render-design-preview?";
4239
4240
  if (attachment !== undefined && attachment !== null)
@@ -4256,11 +4257,11 @@
4256
4257
  return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
4257
4258
  return _this.http.request("post", url_, transformedOptions_);
4258
4259
  })).pipe(operators.mergeMap(function (response_) {
4259
- return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesign(r); });
4260
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesignPreview(r); });
4260
4261
  })).pipe(operators.catchError(function (response_) {
4261
4262
  if (response_ instanceof i1.HttpResponseBase) {
4262
4263
  try {
4263
- return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesign(r); });
4264
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesignPreview(r); });
4264
4265
  }
4265
4266
  catch (e) {
4266
4267
  return rxjs.throwError(e);
@@ -4270,7 +4271,7 @@
4270
4271
  return rxjs.throwError(response_);
4271
4272
  }));
4272
4273
  };
4273
- DesignAtomsServiceApiClient.prototype.processRenderDesign = function (response) {
4274
+ DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
4274
4275
  var e_42, _a;
4275
4276
  var _this = this;
4276
4277
  var status = response.status;
@@ -4322,6 +4323,103 @@
4322
4323
  }
4323
4324
  return rxjs.of(null);
4324
4325
  };
4326
+ /**
4327
+ * Renders a design proof with the specified parameters.
4328
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
4329
+ (default value is 'false').
4330
+ * @param tenantId (optional) Tenant identifier
4331
+ * @param body (optional) Render model with proof parameters.
4332
+ * @return Success
4333
+ */
4334
+ DesignAtomsServiceApiClient.prototype.renderDesignProof = function (attachment, tenantId, body) {
4335
+ var _this = this;
4336
+ var url_ = this.baseUrl + "/api/atoms/v1/render-design-proof?";
4337
+ if (attachment !== undefined && attachment !== null)
4338
+ url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
4339
+ if (tenantId === null)
4340
+ throw new Error("The parameter 'tenantId' cannot be null.");
4341
+ else if (tenantId !== undefined)
4342
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
4343
+ url_ = url_.replace(/[?&]$/, "");
4344
+ var content_ = JSON.stringify(body);
4345
+ var options_ = {
4346
+ body: content_,
4347
+ observe: "response",
4348
+ responseType: "blob",
4349
+ headers: new i1.HttpHeaders({
4350
+ "Content-Type": "application/json",
4351
+ "Accept": "application/octet-stream"
4352
+ })
4353
+ };
4354
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
4355
+ return _this.http.request("post", url_, transformedOptions_);
4356
+ })).pipe(operators.mergeMap(function (response_) {
4357
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesignProof(r); });
4358
+ })).pipe(operators.catchError(function (response_) {
4359
+ if (response_ instanceof i1.HttpResponseBase) {
4360
+ try {
4361
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderDesignProof(r); });
4362
+ }
4363
+ catch (e) {
4364
+ return rxjs.throwError(e);
4365
+ }
4366
+ }
4367
+ else
4368
+ return rxjs.throwError(response_);
4369
+ }));
4370
+ };
4371
+ DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
4372
+ var e_43, _a;
4373
+ var _this = this;
4374
+ var status = response.status;
4375
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
4376
+ response.error instanceof Blob ? response.error : undefined;
4377
+ var _headers = {};
4378
+ if (response.headers) {
4379
+ try {
4380
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
4381
+ var key = _c.value;
4382
+ _headers[key] = response.headers.get(key);
4383
+ }
4384
+ }
4385
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4386
+ finally {
4387
+ try {
4388
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4389
+ }
4390
+ finally { if (e_43) throw e_43.error; }
4391
+ }
4392
+ }
4393
+ if (status === 200 || status === 206) {
4394
+ var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
4395
+ var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
4396
+ var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
4397
+ return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
4398
+ }
4399
+ else if (status === 401) {
4400
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4401
+ return throwException("Unauthorized", status, _responseText, _headers);
4402
+ }));
4403
+ }
4404
+ else if (status === 403) {
4405
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4406
+ return throwException("Forbidden", status, _responseText, _headers);
4407
+ }));
4408
+ }
4409
+ else if (status === 500) {
4410
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4411
+ var result500 = null;
4412
+ result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4413
+ return throwException("Internal server error", status, _responseText, _headers, result500);
4414
+ }));
4415
+ }
4416
+ else if (status !== 200 && status !== 204) {
4417
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4418
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4419
+ }));
4420
+ }
4421
+ return rxjs.of(null);
4422
+ };
4325
4423
  /**
4326
4424
  * Render product proof image with specified parameters.
4327
4425
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
@@ -4367,7 +4465,7 @@
4367
4465
  }));
4368
4466
  };
4369
4467
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
4370
- var e_43, _a;
4468
+ var e_44, _a;
4371
4469
  var _this = this;
4372
4470
  var status = response.status;
4373
4471
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4380,12 +4478,12 @@
4380
4478
  _headers[key] = response.headers.get(key);
4381
4479
  }
4382
4480
  }
4383
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4481
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4384
4482
  finally {
4385
4483
  try {
4386
4484
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4387
4485
  }
4388
- finally { if (e_43) throw e_43.error; }
4486
+ finally { if (e_44) throw e_44.error; }
4389
4487
  }
4390
4488
  }
4391
4489
  if (status === 200 || status === 206) {
@@ -4481,7 +4579,7 @@
4481
4579
  }));
4482
4580
  };
4483
4581
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
4484
- var e_44, _a;
4582
+ var e_45, _a;
4485
4583
  var _this = this;
4486
4584
  var status = response.status;
4487
4585
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4494,12 +4592,12 @@
4494
4592
  _headers[key] = response.headers.get(key);
4495
4593
  }
4496
4594
  }
4497
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
4595
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4498
4596
  finally {
4499
4597
  try {
4500
4598
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4501
4599
  }
4502
- finally { if (e_44) throw e_44.error; }
4600
+ finally { if (e_45) throw e_45.error; }
4503
4601
  }
4504
4602
  }
4505
4603
  if (status === 200) {
@@ -4563,7 +4661,7 @@
4563
4661
  }));
4564
4662
  };
4565
4663
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
4566
- var e_45, _a;
4664
+ var e_46, _a;
4567
4665
  var _this = this;
4568
4666
  var status = response.status;
4569
4667
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4576,12 +4674,12 @@
4576
4674
  _headers[key] = response.headers.get(key);
4577
4675
  }
4578
4676
  }
4579
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
4677
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4580
4678
  finally {
4581
4679
  try {
4582
4680
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4583
4681
  }
4584
- finally { if (e_45) throw e_45.error; }
4682
+ finally { if (e_46) throw e_46.error; }
4585
4683
  }
4586
4684
  }
4587
4685
  if (status === 200 || status === 206) {
@@ -4651,7 +4749,7 @@
4651
4749
  }));
4652
4750
  };
4653
4751
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
4654
- var e_46, _a;
4752
+ var e_47, _a;
4655
4753
  var _this = this;
4656
4754
  var status = response.status;
4657
4755
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4664,12 +4762,12 @@
4664
4762
  _headers[key] = response.headers.get(key);
4665
4763
  }
4666
4764
  }
4667
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
4765
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4668
4766
  finally {
4669
4767
  try {
4670
4768
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4671
4769
  }
4672
- finally { if (e_46) throw e_46.error; }
4770
+ finally { if (e_47) throw e_47.error; }
4673
4771
  }
4674
4772
  }
4675
4773
  if (status === 200 || status === 206) {
@@ -4740,7 +4838,7 @@
4740
4838
  }));
4741
4839
  };
4742
4840
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
4743
- var e_47, _a;
4841
+ var e_48, _a;
4744
4842
  var _this = this;
4745
4843
  var status = response.status;
4746
4844
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4753,12 +4851,12 @@
4753
4851
  _headers[key] = response.headers.get(key);
4754
4852
  }
4755
4853
  }
4756
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
4854
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4757
4855
  finally {
4758
4856
  try {
4759
4857
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4760
4858
  }
4761
- finally { if (e_47) throw e_47.error; }
4859
+ finally { if (e_48) throw e_48.error; }
4762
4860
  }
4763
4861
  }
4764
4862
  if (status === 200) {
@@ -4823,7 +4921,7 @@
4823
4921
  }));
4824
4922
  };
4825
4923
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
4826
- var e_48, _a;
4924
+ var e_49, _a;
4827
4925
  var _this = this;
4828
4926
  var status = response.status;
4829
4927
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4836,12 +4934,12 @@
4836
4934
  _headers[key] = response.headers.get(key);
4837
4935
  }
4838
4936
  }
4839
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
4937
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
4840
4938
  finally {
4841
4939
  try {
4842
4940
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4843
4941
  }
4844
- finally { if (e_48) throw e_48.error; }
4942
+ finally { if (e_49) throw e_49.error; }
4845
4943
  }
4846
4944
  }
4847
4945
  if (status === 200) {
@@ -4906,7 +5004,7 @@
4906
5004
  }));
4907
5005
  };
4908
5006
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
4909
- var e_49, _a;
5007
+ var e_50, _a;
4910
5008
  var _this = this;
4911
5009
  var status = response.status;
4912
5010
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4919,12 +5017,12 @@
4919
5017
  _headers[key] = response.headers.get(key);
4920
5018
  }
4921
5019
  }
4922
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5020
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
4923
5021
  finally {
4924
5022
  try {
4925
5023
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4926
5024
  }
4927
- finally { if (e_49) throw e_49.error; }
5025
+ finally { if (e_50) throw e_50.error; }
4928
5026
  }
4929
5027
  }
4930
5028
  if (status === 200) {
@@ -5033,7 +5131,7 @@
5033
5131
  }));
5034
5132
  };
5035
5133
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
5036
- var e_50, _a;
5134
+ var e_51, _a;
5037
5135
  var _this = this;
5038
5136
  var status = response.status;
5039
5137
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5046,12 +5144,12 @@
5046
5144
  _headers[key] = response.headers.get(key);
5047
5145
  }
5048
5146
  }
5049
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5147
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5050
5148
  finally {
5051
5149
  try {
5052
5150
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5053
5151
  }
5054
- finally { if (e_50) throw e_50.error; }
5152
+ finally { if (e_51) throw e_51.error; }
5055
5153
  }
5056
5154
  }
5057
5155
  if (status === 200 || status === 206) {
@@ -5123,7 +5221,7 @@
5123
5221
  }));
5124
5222
  };
5125
5223
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
5126
- var e_51, _a;
5224
+ var e_52, _a;
5127
5225
  var _this = this;
5128
5226
  var status = response.status;
5129
5227
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5136,12 +5234,12 @@
5136
5234
  _headers[key] = response.headers.get(key);
5137
5235
  }
5138
5236
  }
5139
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
5237
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5140
5238
  finally {
5141
5239
  try {
5142
5240
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5143
5241
  }
5144
- finally { if (e_51) throw e_51.error; }
5242
+ finally { if (e_52) throw e_52.error; }
5145
5243
  }
5146
5244
  }
5147
5245
  if (status === 200) {
@@ -5205,7 +5303,7 @@
5205
5303
  }));
5206
5304
  };
5207
5305
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
5208
- var e_52, _a;
5306
+ var e_53, _a;
5209
5307
  var _this = this;
5210
5308
  var status = response.status;
5211
5309
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5218,12 +5316,12 @@
5218
5316
  _headers[key] = response.headers.get(key);
5219
5317
  }
5220
5318
  }
5221
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
5319
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5222
5320
  finally {
5223
5321
  try {
5224
5322
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5225
5323
  }
5226
- finally { if (e_52) throw e_52.error; }
5324
+ finally { if (e_53) throw e_53.error; }
5227
5325
  }
5228
5326
  }
5229
5327
  if (status === 200 || status === 206) {
@@ -5298,7 +5396,7 @@
5298
5396
  }));
5299
5397
  };
5300
5398
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
5301
- var e_53, _a;
5399
+ var e_54, _a;
5302
5400
  var _this = this;
5303
5401
  var status = response.status;
5304
5402
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5311,12 +5409,12 @@
5311
5409
  _headers[key] = response.headers.get(key);
5312
5410
  }
5313
5411
  }
5314
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
5412
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5315
5413
  finally {
5316
5414
  try {
5317
5415
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5318
5416
  }
5319
- finally { if (e_53) throw e_53.error; }
5417
+ finally { if (e_54) throw e_54.error; }
5320
5418
  }
5321
5419
  }
5322
5420
  if (status === 200 || status === 206) {
@@ -5386,7 +5484,7 @@
5386
5484
  }));
5387
5485
  };
5388
5486
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
5389
- var e_54, _a;
5487
+ var e_55, _a;
5390
5488
  var _this = this;
5391
5489
  var status = response.status;
5392
5490
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5399,12 +5497,12 @@
5399
5497
  _headers[key] = response.headers.get(key);
5400
5498
  }
5401
5499
  }
5402
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
5500
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5403
5501
  finally {
5404
5502
  try {
5405
5503
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5406
5504
  }
5407
- finally { if (e_54) throw e_54.error; }
5505
+ finally { if (e_55) throw e_55.error; }
5408
5506
  }
5409
5507
  }
5410
5508
  if (status === 200 || status === 206) {
@@ -5479,7 +5577,7 @@
5479
5577
  }));
5480
5578
  };
5481
5579
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
5482
- var e_55, _a;
5580
+ var e_56, _a;
5483
5581
  var _this = this;
5484
5582
  var status = response.status;
5485
5583
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5492,12 +5590,12 @@
5492
5590
  _headers[key] = response.headers.get(key);
5493
5591
  }
5494
5592
  }
5495
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
5593
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5496
5594
  finally {
5497
5595
  try {
5498
5596
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5499
5597
  }
5500
- finally { if (e_55) throw e_55.error; }
5598
+ finally { if (e_56) throw e_56.error; }
5501
5599
  }
5502
5600
  }
5503
5601
  if (status === 200 || status === 206) {
@@ -5573,7 +5671,7 @@
5573
5671
  }));
5574
5672
  };
5575
5673
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
5576
- var e_56, _a;
5674
+ var e_57, _a;
5577
5675
  var _this = this;
5578
5676
  var status = response.status;
5579
5677
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5586,12 +5684,12 @@
5586
5684
  _headers[key] = response.headers.get(key);
5587
5685
  }
5588
5686
  }
5589
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
5687
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5590
5688
  finally {
5591
5689
  try {
5592
5690
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5593
5691
  }
5594
- finally { if (e_56) throw e_56.error; }
5692
+ finally { if (e_57) throw e_57.error; }
5595
5693
  }
5596
5694
  }
5597
5695
  if (status === 200) {
@@ -5656,7 +5754,7 @@
5656
5754
  }));
5657
5755
  };
5658
5756
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
5659
- var e_57, _a;
5757
+ var e_58, _a;
5660
5758
  var _this = this;
5661
5759
  var status = response.status;
5662
5760
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5669,12 +5767,12 @@
5669
5767
  _headers[key] = response.headers.get(key);
5670
5768
  }
5671
5769
  }
5672
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
5770
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
5673
5771
  finally {
5674
5772
  try {
5675
5773
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5676
5774
  }
5677
- finally { if (e_57) throw e_57.error; }
5775
+ finally { if (e_58) throw e_58.error; }
5678
5776
  }
5679
5777
  }
5680
5778
  if (status === 200) {
@@ -5739,7 +5837,7 @@
5739
5837
  }));
5740
5838
  };
5741
5839
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
5742
- var e_58, _a;
5840
+ var e_59, _a;
5743
5841
  var _this = this;
5744
5842
  var status = response.status;
5745
5843
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5752,12 +5850,12 @@
5752
5850
  _headers[key] = response.headers.get(key);
5753
5851
  }
5754
5852
  }
5755
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
5853
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
5756
5854
  finally {
5757
5855
  try {
5758
5856
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5759
5857
  }
5760
- finally { if (e_58) throw e_58.error; }
5858
+ finally { if (e_59) throw e_59.error; }
5761
5859
  }
5762
5860
  }
5763
5861
  if (status === 200) {
@@ -5822,7 +5920,7 @@
5822
5920
  }));
5823
5921
  };
5824
5922
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
5825
- var e_59, _a;
5923
+ var e_60, _a;
5826
5924
  var _this = this;
5827
5925
  var status = response.status;
5828
5926
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5835,12 +5933,12 @@
5835
5933
  _headers[key] = response.headers.get(key);
5836
5934
  }
5837
5935
  }
5838
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
5936
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
5839
5937
  finally {
5840
5938
  try {
5841
5939
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5842
5940
  }
5843
- finally { if (e_59) throw e_59.error; }
5941
+ finally { if (e_60) throw e_60.error; }
5844
5942
  }
5845
5943
  }
5846
5944
  if (status === 200) {
@@ -5905,7 +6003,7 @@
5905
6003
  }));
5906
6004
  };
5907
6005
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
5908
- var e_60, _a;
6006
+ var e_61, _a;
5909
6007
  var _this = this;
5910
6008
  var status = response.status;
5911
6009
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5918,12 +6016,12 @@
5918
6016
  _headers[key] = response.headers.get(key);
5919
6017
  }
5920
6018
  }
5921
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6019
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
5922
6020
  finally {
5923
6021
  try {
5924
6022
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5925
6023
  }
5926
- finally { if (e_60) throw e_60.error; }
6024
+ finally { if (e_61) throw e_61.error; }
5927
6025
  }
5928
6026
  }
5929
6027
  if (status === 200) {
@@ -5988,7 +6086,7 @@
5988
6086
  }));
5989
6087
  };
5990
6088
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
5991
- var e_61, _a;
6089
+ var e_62, _a;
5992
6090
  var _this = this;
5993
6091
  var status = response.status;
5994
6092
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6001,12 +6099,12 @@
6001
6099
  _headers[key] = response.headers.get(key);
6002
6100
  }
6003
6101
  }
6004
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6102
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6005
6103
  finally {
6006
6104
  try {
6007
6105
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6008
6106
  }
6009
- finally { if (e_61) throw e_61.error; }
6107
+ finally { if (e_62) throw e_62.error; }
6010
6108
  }
6011
6109
  }
6012
6110
  if (status === 200) {
@@ -6071,7 +6169,7 @@
6071
6169
  }));
6072
6170
  };
6073
6171
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
6074
- var e_62, _a;
6172
+ var e_63, _a;
6075
6173
  var _this = this;
6076
6174
  var status = response.status;
6077
6175
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6084,12 +6182,12 @@
6084
6182
  _headers[key] = response.headers.get(key);
6085
6183
  }
6086
6184
  }
6087
- catch (e_62_1) { e_62 = { error: e_62_1 }; }
6185
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6088
6186
  finally {
6089
6187
  try {
6090
6188
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6091
6189
  }
6092
- finally { if (e_62) throw e_62.error; }
6190
+ finally { if (e_63) throw e_63.error; }
6093
6191
  }
6094
6192
  }
6095
6193
  if (status === 200) {
@@ -6154,7 +6252,7 @@
6154
6252
  }));
6155
6253
  };
6156
6254
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
6157
- var e_63, _a;
6255
+ var e_64, _a;
6158
6256
  var _this = this;
6159
6257
  var status = response.status;
6160
6258
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6167,12 +6265,12 @@
6167
6265
  _headers[key] = response.headers.get(key);
6168
6266
  }
6169
6267
  }
6170
- catch (e_63_1) { e_63 = { error: e_63_1 }; }
6268
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6171
6269
  finally {
6172
6270
  try {
6173
6271
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6174
6272
  }
6175
- finally { if (e_63) throw e_63.error; }
6273
+ finally { if (e_64) throw e_64.error; }
6176
6274
  }
6177
6275
  }
6178
6276
  if (status === 200) {
@@ -6237,7 +6335,7 @@
6237
6335
  }));
6238
6336
  };
6239
6337
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
6240
- var e_64, _a;
6338
+ var e_65, _a;
6241
6339
  var _this = this;
6242
6340
  var status = response.status;
6243
6341
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6250,12 +6348,12 @@
6250
6348
  _headers[key] = response.headers.get(key);
6251
6349
  }
6252
6350
  }
6253
- catch (e_64_1) { e_64 = { error: e_64_1 }; }
6351
+ catch (e_65_1) { e_65 = { error: e_65_1 }; }
6254
6352
  finally {
6255
6353
  try {
6256
6354
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6257
6355
  }
6258
- finally { if (e_64) throw e_64.error; }
6356
+ finally { if (e_65) throw e_65.error; }
6259
6357
  }
6260
6358
  }
6261
6359
  if (status === 200) {
@@ -6320,7 +6418,7 @@
6320
6418
  }));
6321
6419
  };
6322
6420
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
6323
- var e_65, _a;
6421
+ var e_66, _a;
6324
6422
  var _this = this;
6325
6423
  var status = response.status;
6326
6424
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6333,12 +6431,12 @@
6333
6431
  _headers[key] = response.headers.get(key);
6334
6432
  }
6335
6433
  }
6336
- catch (e_65_1) { e_65 = { error: e_65_1 }; }
6434
+ catch (e_66_1) { e_66 = { error: e_66_1 }; }
6337
6435
  finally {
6338
6436
  try {
6339
6437
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6340
6438
  }
6341
- finally { if (e_65) throw e_65.error; }
6439
+ finally { if (e_66) throw e_66.error; }
6342
6440
  }
6343
6441
  }
6344
6442
  if (status === 200) {
@@ -6403,7 +6501,7 @@
6403
6501
  }));
6404
6502
  };
6405
6503
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
6406
- var e_66, _a;
6504
+ var e_67, _a;
6407
6505
  var _this = this;
6408
6506
  var status = response.status;
6409
6507
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6416,12 +6514,12 @@
6416
6514
  _headers[key] = response.headers.get(key);
6417
6515
  }
6418
6516
  }
6419
- catch (e_66_1) { e_66 = { error: e_66_1 }; }
6517
+ catch (e_67_1) { e_67 = { error: e_67_1 }; }
6420
6518
  finally {
6421
6519
  try {
6422
6520
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6423
6521
  }
6424
- finally { if (e_66) throw e_66.error; }
6522
+ finally { if (e_67) throw e_67.error; }
6425
6523
  }
6426
6524
  }
6427
6525
  if (status === 200) {