@aurigma/ng-design-atoms-api-client 2.12.1 → 2.14.3

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.
@@ -3320,6 +3320,93 @@
3320
3320
  }
3321
3321
  return rxjs.of(null);
3322
3322
  };
3323
+ /**
3324
+ * Flatten items
3325
+ * @param tenantId (optional) Tenant identifier
3326
+ * @param body (optional) Items to flatten
3327
+ * @return Success
3328
+ */
3329
+ DesignAtomsServiceApiClient.prototype.flattenItems = function (tenantId, body) {
3330
+ var _this = this;
3331
+ var url_ = this.baseUrl + "/api/atoms/v1/flatten?";
3332
+ if (tenantId === null)
3333
+ throw new Error("The parameter 'tenantId' cannot be null.");
3334
+ else if (tenantId !== undefined)
3335
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3336
+ url_ = url_.replace(/[?&]$/, "");
3337
+ var content_ = JSON.stringify(body);
3338
+ var options_ = {
3339
+ body: content_,
3340
+ observe: "response",
3341
+ responseType: "blob",
3342
+ headers: new i1.HttpHeaders({
3343
+ "Content-Type": "application/json",
3344
+ "Accept": "application/json"
3345
+ })
3346
+ };
3347
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3348
+ return _this.http.request("post", url_, transformedOptions_);
3349
+ })).pipe(operators.mergeMap(function (response_) {
3350
+ return _this.transformResult(url_, response_, function (r) { return _this.processFlattenItems(r); });
3351
+ })).pipe(operators.catchError(function (response_) {
3352
+ if (response_ instanceof i1.HttpResponseBase) {
3353
+ try {
3354
+ return _this.transformResult(url_, response_, function (r) { return _this.processFlattenItems(r); });
3355
+ }
3356
+ catch (e) {
3357
+ return rxjs.throwError(e);
3358
+ }
3359
+ }
3360
+ else
3361
+ return rxjs.throwError(response_);
3362
+ }));
3363
+ };
3364
+ DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
3365
+ var e_36, _a;
3366
+ var _this = this;
3367
+ var status = response.status;
3368
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
3369
+ response.error instanceof Blob ? response.error : undefined;
3370
+ var _headers = {};
3371
+ if (response.headers) {
3372
+ try {
3373
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
3374
+ var key = _c.value;
3375
+ _headers[key] = response.headers.get(key);
3376
+ }
3377
+ }
3378
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3379
+ finally {
3380
+ try {
3381
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3382
+ }
3383
+ finally { if (e_36) throw e_36.error; }
3384
+ }
3385
+ }
3386
+ if (status === 200) {
3387
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3388
+ var result200 = null;
3389
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3390
+ return rxjs.of(result200);
3391
+ }));
3392
+ }
3393
+ else if (status === 401) {
3394
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3395
+ return throwException("Unauthorized", status, _responseText, _headers);
3396
+ }));
3397
+ }
3398
+ else if (status === 403) {
3399
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3400
+ return throwException("Forbidden", status, _responseText, _headers);
3401
+ }));
3402
+ }
3403
+ else if (status !== 200 && status !== 204) {
3404
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3405
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3406
+ }));
3407
+ }
3408
+ return rxjs.of(null);
3409
+ };
3323
3410
  /**
3324
3411
  * Creates product item
3325
3412
  * @param itemType (optional) Desired item type
@@ -3375,7 +3462,7 @@
3375
3462
  }));
3376
3463
  };
3377
3464
  DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
3378
- var e_36, _a;
3465
+ var e_37, _a;
3379
3466
  var _this = this;
3380
3467
  var status = response.status;
3381
3468
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3388,12 +3475,12 @@
3388
3475
  _headers[key] = response.headers.get(key);
3389
3476
  }
3390
3477
  }
3391
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
3478
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
3392
3479
  finally {
3393
3480
  try {
3394
3481
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3395
3482
  }
3396
- finally { if (e_36) throw e_36.error; }
3483
+ finally { if (e_37) throw e_37.error; }
3397
3484
  }
3398
3485
  }
3399
3486
  if (status === 200) {
@@ -3472,7 +3559,7 @@
3472
3559
  }));
3473
3560
  };
3474
3561
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
3475
- var e_37, _a;
3562
+ var e_38, _a;
3476
3563
  var status = response.status;
3477
3564
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
3478
3565
  response.error instanceof Blob ? response.error : undefined;
@@ -3484,12 +3571,12 @@
3484
3571
  _headers[key] = response.headers.get(key);
3485
3572
  }
3486
3573
  }
3487
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
3574
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
3488
3575
  finally {
3489
3576
  try {
3490
3577
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3491
3578
  }
3492
- finally { if (e_37) throw e_37.error; }
3579
+ finally { if (e_38) throw e_38.error; }
3493
3580
  }
3494
3581
  }
3495
3582
  if (status === 200 || status === 206) {
@@ -3578,7 +3665,7 @@
3578
3665
  }));
3579
3666
  };
3580
3667
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
3581
- var e_38, _a;
3668
+ var e_39, _a;
3582
3669
  var _this = this;
3583
3670
  var status = response.status;
3584
3671
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3591,12 +3678,12 @@
3591
3678
  _headers[key] = response.headers.get(key);
3592
3679
  }
3593
3680
  }
3594
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
3681
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
3595
3682
  finally {
3596
3683
  try {
3597
3684
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3598
3685
  }
3599
- finally { if (e_38) throw e_38.error; }
3686
+ finally { if (e_39) throw e_39.error; }
3600
3687
  }
3601
3688
  }
3602
3689
  if (status === 200) {
@@ -3654,7 +3741,7 @@
3654
3741
  }));
3655
3742
  };
3656
3743
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
3657
- var e_39, _a;
3744
+ var e_40, _a;
3658
3745
  var _this = this;
3659
3746
  var status = response.status;
3660
3747
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3667,12 +3754,12 @@
3667
3754
  _headers[key] = response.headers.get(key);
3668
3755
  }
3669
3756
  }
3670
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
3757
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
3671
3758
  finally {
3672
3759
  try {
3673
3760
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3674
3761
  }
3675
- finally { if (e_39) throw e_39.error; }
3762
+ finally { if (e_40) throw e_40.error; }
3676
3763
  }
3677
3764
  }
3678
3765
  if (status === 200) {
@@ -3729,7 +3816,7 @@
3729
3816
  }));
3730
3817
  };
3731
3818
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
3732
- var e_40, _a;
3819
+ var e_41, _a;
3733
3820
  var _this = this;
3734
3821
  var status = response.status;
3735
3822
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3742,12 +3829,12 @@
3742
3829
  _headers[key] = response.headers.get(key);
3743
3830
  }
3744
3831
  }
3745
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
3832
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
3746
3833
  finally {
3747
3834
  try {
3748
3835
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3749
3836
  }
3750
- finally { if (e_40) throw e_40.error; }
3837
+ finally { if (e_41) throw e_41.error; }
3751
3838
  }
3752
3839
  }
3753
3840
  if (status === 200 || status === 206) {
@@ -3810,7 +3897,7 @@
3810
3897
  }));
3811
3898
  };
3812
3899
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
3813
- var e_41, _a;
3900
+ var e_42, _a;
3814
3901
  var _this = this;
3815
3902
  var status = response.status;
3816
3903
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3823,12 +3910,12 @@
3823
3910
  _headers[key] = response.headers.get(key);
3824
3911
  }
3825
3912
  }
3826
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
3913
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
3827
3914
  finally {
3828
3915
  try {
3829
3916
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3830
3917
  }
3831
- finally { if (e_41) throw e_41.error; }
3918
+ finally { if (e_42) throw e_42.error; }
3832
3919
  }
3833
3920
  }
3834
3921
  if (status === 200 || status === 206) {
@@ -3892,7 +3979,7 @@
3892
3979
  }));
3893
3980
  };
3894
3981
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
3895
- var e_42, _a;
3982
+ var e_43, _a;
3896
3983
  var _this = this;
3897
3984
  var status = response.status;
3898
3985
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3905,12 +3992,12 @@
3905
3992
  _headers[key] = response.headers.get(key);
3906
3993
  }
3907
3994
  }
3908
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
3995
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
3909
3996
  finally {
3910
3997
  try {
3911
3998
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3912
3999
  }
3913
- finally { if (e_42) throw e_42.error; }
4000
+ finally { if (e_43) throw e_43.error; }
3914
4001
  }
3915
4002
  }
3916
4003
  if (status === 200) {
@@ -3968,7 +4055,7 @@
3968
4055
  }));
3969
4056
  };
3970
4057
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
3971
- var e_43, _a;
4058
+ var e_44, _a;
3972
4059
  var _this = this;
3973
4060
  var status = response.status;
3974
4061
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3981,12 +4068,12 @@
3981
4068
  _headers[key] = response.headers.get(key);
3982
4069
  }
3983
4070
  }
3984
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4071
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
3985
4072
  finally {
3986
4073
  try {
3987
4074
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3988
4075
  }
3989
- finally { if (e_43) throw e_43.error; }
4076
+ finally { if (e_44) throw e_44.error; }
3990
4077
  }
3991
4078
  }
3992
4079
  if (status === 200) {
@@ -4044,7 +4131,7 @@
4044
4131
  }));
4045
4132
  };
4046
4133
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
4047
- var e_44, _a;
4134
+ var e_45, _a;
4048
4135
  var _this = this;
4049
4136
  var status = response.status;
4050
4137
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4057,12 +4144,12 @@
4057
4144
  _headers[key] = response.headers.get(key);
4058
4145
  }
4059
4146
  }
4060
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
4147
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4061
4148
  finally {
4062
4149
  try {
4063
4150
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4064
4151
  }
4065
- finally { if (e_44) throw e_44.error; }
4152
+ finally { if (e_45) throw e_45.error; }
4066
4153
  }
4067
4154
  }
4068
4155
  if (status === 200) {
@@ -4164,7 +4251,7 @@
4164
4251
  }));
4165
4252
  };
4166
4253
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
4167
- var e_45, _a;
4254
+ var e_46, _a;
4168
4255
  var _this = this;
4169
4256
  var status = response.status;
4170
4257
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4177,12 +4264,12 @@
4177
4264
  _headers[key] = response.headers.get(key);
4178
4265
  }
4179
4266
  }
4180
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
4267
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4181
4268
  finally {
4182
4269
  try {
4183
4270
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4184
4271
  }
4185
- finally { if (e_45) throw e_45.error; }
4272
+ finally { if (e_46) throw e_46.error; }
4186
4273
  }
4187
4274
  }
4188
4275
  if (status === 200 || status === 206) {
@@ -4247,7 +4334,7 @@
4247
4334
  }));
4248
4335
  };
4249
4336
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
4250
- var e_46, _a;
4337
+ var e_47, _a;
4251
4338
  var _this = this;
4252
4339
  var status = response.status;
4253
4340
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4260,12 +4347,12 @@
4260
4347
  _headers[key] = response.headers.get(key);
4261
4348
  }
4262
4349
  }
4263
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
4350
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4264
4351
  finally {
4265
4352
  try {
4266
4353
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4267
4354
  }
4268
- finally { if (e_46) throw e_46.error; }
4355
+ finally { if (e_47) throw e_47.error; }
4269
4356
  }
4270
4357
  }
4271
4358
  if (status === 200) {
@@ -4322,7 +4409,7 @@
4322
4409
  }));
4323
4410
  };
4324
4411
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
4325
- var e_47, _a;
4412
+ var e_48, _a;
4326
4413
  var _this = this;
4327
4414
  var status = response.status;
4328
4415
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4335,12 +4422,12 @@
4335
4422
  _headers[key] = response.headers.get(key);
4336
4423
  }
4337
4424
  }
4338
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
4425
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4339
4426
  finally {
4340
4427
  try {
4341
4428
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4342
4429
  }
4343
- finally { if (e_47) throw e_47.error; }
4430
+ finally { if (e_48) throw e_48.error; }
4344
4431
  }
4345
4432
  }
4346
4433
  if (status === 200 || status === 206) {
@@ -4408,7 +4495,7 @@
4408
4495
  }));
4409
4496
  };
4410
4497
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
4411
- var e_48, _a;
4498
+ var e_49, _a;
4412
4499
  var _this = this;
4413
4500
  var status = response.status;
4414
4501
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4421,12 +4508,12 @@
4421
4508
  _headers[key] = response.headers.get(key);
4422
4509
  }
4423
4510
  }
4424
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
4511
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
4425
4512
  finally {
4426
4513
  try {
4427
4514
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4428
4515
  }
4429
- finally { if (e_48) throw e_48.error; }
4516
+ finally { if (e_49) throw e_49.error; }
4430
4517
  }
4431
4518
  }
4432
4519
  if (status === 200 || status === 206) {
@@ -4489,7 +4576,7 @@
4489
4576
  }));
4490
4577
  };
4491
4578
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
4492
- var e_49, _a;
4579
+ var e_50, _a;
4493
4580
  var _this = this;
4494
4581
  var status = response.status;
4495
4582
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4502,12 +4589,12 @@
4502
4589
  _headers[key] = response.headers.get(key);
4503
4590
  }
4504
4591
  }
4505
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
4592
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
4506
4593
  finally {
4507
4594
  try {
4508
4595
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4509
4596
  }
4510
- finally { if (e_49) throw e_49.error; }
4597
+ finally { if (e_50) throw e_50.error; }
4511
4598
  }
4512
4599
  }
4513
4600
  if (status === 200 || status === 206) {
@@ -4575,7 +4662,7 @@
4575
4662
  }));
4576
4663
  };
4577
4664
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
4578
- var e_50, _a;
4665
+ var e_51, _a;
4579
4666
  var _this = this;
4580
4667
  var status = response.status;
4581
4668
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4588,12 +4675,12 @@
4588
4675
  _headers[key] = response.headers.get(key);
4589
4676
  }
4590
4677
  }
4591
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
4678
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
4592
4679
  finally {
4593
4680
  try {
4594
4681
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4595
4682
  }
4596
- finally { if (e_50) throw e_50.error; }
4683
+ finally { if (e_51) throw e_51.error; }
4597
4684
  }
4598
4685
  }
4599
4686
  if (status === 200 || status === 206) {
@@ -4662,7 +4749,7 @@
4662
4749
  }));
4663
4750
  };
4664
4751
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
4665
- var e_51, _a;
4752
+ var e_52, _a;
4666
4753
  var _this = this;
4667
4754
  var status = response.status;
4668
4755
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4675,12 +4762,12 @@
4675
4762
  _headers[key] = response.headers.get(key);
4676
4763
  }
4677
4764
  }
4678
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
4765
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
4679
4766
  finally {
4680
4767
  try {
4681
4768
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4682
4769
  }
4683
- finally { if (e_51) throw e_51.error; }
4770
+ finally { if (e_52) throw e_52.error; }
4684
4771
  }
4685
4772
  }
4686
4773
  if (status === 200) {
@@ -4738,7 +4825,7 @@
4738
4825
  }));
4739
4826
  };
4740
4827
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
4741
- var e_52, _a;
4828
+ var e_53, _a;
4742
4829
  var _this = this;
4743
4830
  var status = response.status;
4744
4831
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4751,12 +4838,12 @@
4751
4838
  _headers[key] = response.headers.get(key);
4752
4839
  }
4753
4840
  }
4754
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
4841
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
4755
4842
  finally {
4756
4843
  try {
4757
4844
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4758
4845
  }
4759
- finally { if (e_52) throw e_52.error; }
4846
+ finally { if (e_53) throw e_53.error; }
4760
4847
  }
4761
4848
  }
4762
4849
  if (status === 200) {
@@ -4814,7 +4901,7 @@
4814
4901
  }));
4815
4902
  };
4816
4903
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
4817
- var e_53, _a;
4904
+ var e_54, _a;
4818
4905
  var _this = this;
4819
4906
  var status = response.status;
4820
4907
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4827,12 +4914,12 @@
4827
4914
  _headers[key] = response.headers.get(key);
4828
4915
  }
4829
4916
  }
4830
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
4917
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
4831
4918
  finally {
4832
4919
  try {
4833
4920
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4834
4921
  }
4835
- finally { if (e_53) throw e_53.error; }
4922
+ finally { if (e_54) throw e_54.error; }
4836
4923
  }
4837
4924
  }
4838
4925
  if (status === 200) {
@@ -4890,7 +4977,7 @@
4890
4977
  }));
4891
4978
  };
4892
4979
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
4893
- var e_54, _a;
4980
+ var e_55, _a;
4894
4981
  var _this = this;
4895
4982
  var status = response.status;
4896
4983
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4903,12 +4990,12 @@
4903
4990
  _headers[key] = response.headers.get(key);
4904
4991
  }
4905
4992
  }
4906
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
4993
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
4907
4994
  finally {
4908
4995
  try {
4909
4996
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4910
4997
  }
4911
- finally { if (e_54) throw e_54.error; }
4998
+ finally { if (e_55) throw e_55.error; }
4912
4999
  }
4913
5000
  }
4914
5001
  if (status === 200) {
@@ -4966,7 +5053,7 @@
4966
5053
  }));
4967
5054
  };
4968
5055
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
4969
- var e_55, _a;
5056
+ var e_56, _a;
4970
5057
  var _this = this;
4971
5058
  var status = response.status;
4972
5059
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4979,12 +5066,12 @@
4979
5066
  _headers[key] = response.headers.get(key);
4980
5067
  }
4981
5068
  }
4982
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
5069
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
4983
5070
  finally {
4984
5071
  try {
4985
5072
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4986
5073
  }
4987
- finally { if (e_55) throw e_55.error; }
5074
+ finally { if (e_56) throw e_56.error; }
4988
5075
  }
4989
5076
  }
4990
5077
  if (status === 200) {
@@ -5042,7 +5129,7 @@
5042
5129
  }));
5043
5130
  };
5044
5131
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
5045
- var e_56, _a;
5132
+ var e_57, _a;
5046
5133
  var _this = this;
5047
5134
  var status = response.status;
5048
5135
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5055,12 +5142,12 @@
5055
5142
  _headers[key] = response.headers.get(key);
5056
5143
  }
5057
5144
  }
5058
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
5145
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5059
5146
  finally {
5060
5147
  try {
5061
5148
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5062
5149
  }
5063
- finally { if (e_56) throw e_56.error; }
5150
+ finally { if (e_57) throw e_57.error; }
5064
5151
  }
5065
5152
  }
5066
5153
  if (status === 200) {
@@ -5118,7 +5205,7 @@
5118
5205
  }));
5119
5206
  };
5120
5207
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
5121
- var e_57, _a;
5208
+ var e_58, _a;
5122
5209
  var _this = this;
5123
5210
  var status = response.status;
5124
5211
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5131,12 +5218,12 @@
5131
5218
  _headers[key] = response.headers.get(key);
5132
5219
  }
5133
5220
  }
5134
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
5221
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
5135
5222
  finally {
5136
5223
  try {
5137
5224
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5138
5225
  }
5139
- finally { if (e_57) throw e_57.error; }
5226
+ finally { if (e_58) throw e_58.error; }
5140
5227
  }
5141
5228
  }
5142
5229
  if (status === 200) {
@@ -5194,7 +5281,7 @@
5194
5281
  }));
5195
5282
  };
5196
5283
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
5197
- var e_58, _a;
5284
+ var e_59, _a;
5198
5285
  var _this = this;
5199
5286
  var status = response.status;
5200
5287
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5207,12 +5294,12 @@
5207
5294
  _headers[key] = response.headers.get(key);
5208
5295
  }
5209
5296
  }
5210
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
5297
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
5211
5298
  finally {
5212
5299
  try {
5213
5300
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5214
5301
  }
5215
- finally { if (e_58) throw e_58.error; }
5302
+ finally { if (e_59) throw e_59.error; }
5216
5303
  }
5217
5304
  }
5218
5305
  if (status === 200) {
@@ -5270,7 +5357,7 @@
5270
5357
  }));
5271
5358
  };
5272
5359
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
5273
- var e_59, _a;
5360
+ var e_60, _a;
5274
5361
  var _this = this;
5275
5362
  var status = response.status;
5276
5363
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5283,12 +5370,12 @@
5283
5370
  _headers[key] = response.headers.get(key);
5284
5371
  }
5285
5372
  }
5286
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
5373
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
5287
5374
  finally {
5288
5375
  try {
5289
5376
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5290
5377
  }
5291
- finally { if (e_59) throw e_59.error; }
5378
+ finally { if (e_60) throw e_60.error; }
5292
5379
  }
5293
5380
  }
5294
5381
  if (status === 200) {
@@ -5346,7 +5433,7 @@
5346
5433
  }));
5347
5434
  };
5348
5435
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
5349
- var e_60, _a;
5436
+ var e_61, _a;
5350
5437
  var _this = this;
5351
5438
  var status = response.status;
5352
5439
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5359,12 +5446,12 @@
5359
5446
  _headers[key] = response.headers.get(key);
5360
5447
  }
5361
5448
  }
5362
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
5449
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
5363
5450
  finally {
5364
5451
  try {
5365
5452
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5366
5453
  }
5367
- finally { if (e_60) throw e_60.error; }
5454
+ finally { if (e_61) throw e_61.error; }
5368
5455
  }
5369
5456
  }
5370
5457
  if (status === 200) {