@aurigma/ng-design-atoms-api-client 2.74.1 → 2.76.4

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.
@@ -3503,6 +3503,132 @@
3503
3503
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
3504
3504
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
3505
3505
  ]; };
3506
+ var DesignAtomsMockups2dApiClient = /** @class */ (function (_super) {
3507
+ __extends(DesignAtomsMockups2dApiClient, _super);
3508
+ function DesignAtomsMockups2dApiClient(configuration, http, baseUrl) {
3509
+ var _this = _super.call(this, configuration) || this;
3510
+ _this.jsonParseReviver = undefined;
3511
+ _this.http = http;
3512
+ _this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
3513
+ return _this;
3514
+ }
3515
+ /**
3516
+ * Renders a mockup preview with the specified parameters.
3517
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
3518
+ (default value is 'false').
3519
+ * @param tenantId (optional) Tenant ID.
3520
+ * @param body (optional) Render model with preview parameters.
3521
+ * @return Success
3522
+ */
3523
+ DesignAtomsMockups2dApiClient.prototype.renderMockupPreview = function (attachment, tenantId, body) {
3524
+ var _this = this;
3525
+ var url_ = this.baseUrl + "/api/atoms/v1/mockups-2d/render-preview?";
3526
+ if (attachment !== undefined && attachment !== null)
3527
+ url_ += "attachment=" + encodeURIComponent("" + attachment) + "&";
3528
+ if (tenantId === null)
3529
+ throw new Error("The parameter 'tenantId' cannot be null.");
3530
+ else if (tenantId !== undefined)
3531
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3532
+ url_ = url_.replace(/[?&]$/, "");
3533
+ var content_ = JSON.stringify(body);
3534
+ var options_ = {
3535
+ body: content_,
3536
+ observe: "response",
3537
+ responseType: "blob",
3538
+ headers: new i1.HttpHeaders({
3539
+ "Content-Type": "application/json",
3540
+ "Accept": "application/octet-stream"
3541
+ })
3542
+ };
3543
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3544
+ return _this.http.request("post", url_, transformedOptions_);
3545
+ })).pipe(operators.mergeMap(function (response_) {
3546
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderMockupPreview(r); });
3547
+ })).pipe(operators.catchError(function (response_) {
3548
+ if (response_ instanceof i1.HttpResponseBase) {
3549
+ try {
3550
+ return _this.transformResult(url_, response_, function (r) { return _this.processRenderMockupPreview(r); });
3551
+ }
3552
+ catch (e) {
3553
+ return rxjs.throwError(e);
3554
+ }
3555
+ }
3556
+ else
3557
+ return rxjs.throwError(response_);
3558
+ }));
3559
+ };
3560
+ DesignAtomsMockups2dApiClient.prototype.processRenderMockupPreview = function (response) {
3561
+ var e_35, _a;
3562
+ var _this = this;
3563
+ var status = response.status;
3564
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
3565
+ response.error instanceof Blob ? response.error : undefined;
3566
+ var _headers = {};
3567
+ if (response.headers) {
3568
+ try {
3569
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
3570
+ var key = _c.value;
3571
+ _headers[key] = response.headers.get(key);
3572
+ }
3573
+ }
3574
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
3575
+ finally {
3576
+ try {
3577
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3578
+ }
3579
+ finally { if (e_35) throw e_35.error; }
3580
+ }
3581
+ }
3582
+ if (status === 200 || status === 206) {
3583
+ var contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
3584
+ var fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
3585
+ var fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
3586
+ return rxjs.of({ fileName: fileName, data: responseBlob, status: status, headers: _headers });
3587
+ }
3588
+ else if (status === 404) {
3589
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3590
+ var result404 = null;
3591
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3592
+ return throwException("Not Found", status, _responseText, _headers, result404);
3593
+ }));
3594
+ }
3595
+ else if (status === 409) {
3596
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3597
+ var result409 = null;
3598
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
3599
+ return throwException("Conflict", status, _responseText, _headers, result409);
3600
+ }));
3601
+ }
3602
+ else if (status === 401) {
3603
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3604
+ return throwException("Unauthorized", status, _responseText, _headers);
3605
+ }));
3606
+ }
3607
+ else if (status === 403) {
3608
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3609
+ return throwException("Forbidden", status, _responseText, _headers);
3610
+ }));
3611
+ }
3612
+ else if (status !== 200 && status !== 204) {
3613
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
3614
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
3615
+ }));
3616
+ }
3617
+ return rxjs.of(null);
3618
+ };
3619
+ return DesignAtomsMockups2dApiClient;
3620
+ }(ApiClientBase));
3621
+ DesignAtomsMockups2dApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsMockups2dApiClient_Factory() { return new DesignAtomsMockups2dApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsMockups2dApiClient, providedIn: "root" });
3622
+ DesignAtomsMockups2dApiClient.decorators = [
3623
+ { type: i0.Injectable, args: [{
3624
+ providedIn: 'root'
3625
+ },] }
3626
+ ];
3627
+ DesignAtomsMockups2dApiClient.ctorParameters = function () { return [
3628
+ { type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
3629
+ { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
3630
+ { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
3631
+ ]; };
3506
3632
  var DesignAtomsMockups3dApiClient = /** @class */ (function (_super) {
3507
3633
  __extends(DesignAtomsMockups3dApiClient, _super);
3508
3634
  function DesignAtomsMockups3dApiClient(configuration, http, baseUrl) {
@@ -3557,7 +3683,7 @@
3557
3683
  }));
3558
3684
  };
3559
3685
  DesignAtomsMockups3dApiClient.prototype.processGetAttributes = function (response) {
3560
- var e_35, _a;
3686
+ var e_36, _a;
3561
3687
  var _this = this;
3562
3688
  var status = response.status;
3563
3689
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3570,12 +3696,12 @@
3570
3696
  _headers[key] = response.headers.get(key);
3571
3697
  }
3572
3698
  }
3573
- catch (e_35_1) { e_35 = { error: e_35_1 }; }
3699
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
3574
3700
  finally {
3575
3701
  try {
3576
3702
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3577
3703
  }
3578
- finally { if (e_35) throw e_35.error; }
3704
+ finally { if (e_36) throw e_36.error; }
3579
3705
  }
3580
3706
  }
3581
3707
  if (status === 200) {
@@ -3661,7 +3787,7 @@
3661
3787
  }));
3662
3788
  };
3663
3789
  DesignAtomsMockups3dApiClient.prototype.processGetContentAsProtobuf = function (response) {
3664
- var e_36, _a;
3790
+ var e_37, _a;
3665
3791
  var _this = this;
3666
3792
  var status = response.status;
3667
3793
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3674,12 +3800,12 @@
3674
3800
  _headers[key] = response.headers.get(key);
3675
3801
  }
3676
3802
  }
3677
- catch (e_36_1) { e_36 = { error: e_36_1 }; }
3803
+ catch (e_37_1) { e_37 = { error: e_37_1 }; }
3678
3804
  finally {
3679
3805
  try {
3680
3806
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3681
3807
  }
3682
- finally { if (e_36) throw e_36.error; }
3808
+ finally { if (e_37) throw e_37.error; }
3683
3809
  }
3684
3810
  }
3685
3811
  if (status === 200 || status === 206) {
@@ -3764,7 +3890,7 @@
3764
3890
  }));
3765
3891
  };
3766
3892
  DesignAtomsMockups3dApiClient.prototype.processGetGeometryFile = function (response) {
3767
- var e_37, _a;
3893
+ var e_38, _a;
3768
3894
  var _this = this;
3769
3895
  var status = response.status;
3770
3896
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3777,12 +3903,12 @@
3777
3903
  _headers[key] = response.headers.get(key);
3778
3904
  }
3779
3905
  }
3780
- catch (e_37_1) { e_37 = { error: e_37_1 }; }
3906
+ catch (e_38_1) { e_38 = { error: e_38_1 }; }
3781
3907
  finally {
3782
3908
  try {
3783
3909
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3784
3910
  }
3785
- finally { if (e_37) throw e_37.error; }
3911
+ finally { if (e_38) throw e_38.error; }
3786
3912
  }
3787
3913
  }
3788
3914
  if (status === 200 || status === 206) {
@@ -3889,7 +4015,7 @@
3889
4015
  }));
3890
4016
  };
3891
4017
  DesignAtomsPalettesApiClient.prototype.processFindPaletteColor = function (response) {
3892
- var e_38, _a;
4018
+ var e_39, _a;
3893
4019
  var _this = this;
3894
4020
  var status = response.status;
3895
4021
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -3902,12 +4028,12 @@
3902
4028
  _headers[key] = response.headers.get(key);
3903
4029
  }
3904
4030
  }
3905
- catch (e_38_1) { e_38 = { error: e_38_1 }; }
4031
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
3906
4032
  finally {
3907
4033
  try {
3908
4034
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
3909
4035
  }
3910
- finally { if (e_38) throw e_38.error; }
4036
+ finally { if (e_39) throw e_39.error; }
3911
4037
  }
3912
4038
  }
3913
4039
  if (status === 200) {
@@ -3999,7 +4125,7 @@
3999
4125
  }));
4000
4126
  };
4001
4127
  DesignAtomsPalettesApiClient.prototype.processGetPaletteModel = function (response) {
4002
- var e_39, _a;
4128
+ var e_40, _a;
4003
4129
  var _this = this;
4004
4130
  var status = response.status;
4005
4131
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4012,12 +4138,12 @@
4012
4138
  _headers[key] = response.headers.get(key);
4013
4139
  }
4014
4140
  }
4015
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
4141
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
4016
4142
  finally {
4017
4143
  try {
4018
4144
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4019
4145
  }
4020
- finally { if (e_39) throw e_39.error; }
4146
+ finally { if (e_40) throw e_40.error; }
4021
4147
  }
4022
4148
  }
4023
4149
  if (status === 200) {
@@ -4150,7 +4276,7 @@
4150
4276
  }));
4151
4277
  };
4152
4278
  DesignAtomsPrintProductApiClient.prototype.processPatchDesignProduct = function (response) {
4153
- var e_40, _a;
4279
+ var e_41, _a;
4154
4280
  var _this = this;
4155
4281
  var status = response.status;
4156
4282
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4163,12 +4289,12 @@
4163
4289
  _headers[key] = response.headers.get(key);
4164
4290
  }
4165
4291
  }
4166
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
4292
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
4167
4293
  finally {
4168
4294
  try {
4169
4295
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4170
4296
  }
4171
- finally { if (e_40) throw e_40.error; }
4297
+ finally { if (e_41) throw e_41.error; }
4172
4298
  }
4173
4299
  }
4174
4300
  if (status === 204) {
@@ -4248,7 +4374,7 @@
4248
4374
  }));
4249
4375
  };
4250
4376
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceContainers = function (response) {
4251
- var e_41, _a;
4377
+ var e_42, _a;
4252
4378
  var _this = this;
4253
4379
  var status = response.status;
4254
4380
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4261,12 +4387,12 @@
4261
4387
  _headers[key] = response.headers.get(key);
4262
4388
  }
4263
4389
  }
4264
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
4390
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4265
4391
  finally {
4266
4392
  try {
4267
4393
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4268
4394
  }
4269
- finally { if (e_41) throw e_41.error; }
4395
+ finally { if (e_42) throw e_42.error; }
4270
4396
  }
4271
4397
  }
4272
4398
  if (status === 200) {
@@ -4354,7 +4480,7 @@
4354
4480
  }));
4355
4481
  };
4356
4482
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceContainer = function (response) {
4357
- var e_42, _a;
4483
+ var e_43, _a;
4358
4484
  var _this = this;
4359
4485
  var status = response.status;
4360
4486
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4367,12 +4493,12 @@
4367
4493
  _headers[key] = response.headers.get(key);
4368
4494
  }
4369
4495
  }
4370
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
4496
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4371
4497
  finally {
4372
4498
  try {
4373
4499
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4374
4500
  }
4375
- finally { if (e_42) throw e_42.error; }
4501
+ finally { if (e_43) throw e_43.error; }
4376
4502
  }
4377
4503
  }
4378
4504
  if (status === 204) {
@@ -4460,7 +4586,7 @@
4460
4586
  }));
4461
4587
  };
4462
4588
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceContainerModel = function (response) {
4463
- var e_43, _a;
4589
+ var e_44, _a;
4464
4590
  var _this = this;
4465
4591
  var status = response.status;
4466
4592
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4473,12 +4599,12 @@
4473
4599
  _headers[key] = response.headers.get(key);
4474
4600
  }
4475
4601
  }
4476
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4602
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4477
4603
  finally {
4478
4604
  try {
4479
4605
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4480
4606
  }
4481
- finally { if (e_43) throw e_43.error; }
4607
+ finally { if (e_44) throw e_44.error; }
4482
4608
  }
4483
4609
  }
4484
4610
  if (status === 200) {
@@ -4572,7 +4698,7 @@
4572
4698
  }));
4573
4699
  };
4574
4700
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceContainerModel = function (response) {
4575
- var e_44, _a;
4701
+ var e_45, _a;
4576
4702
  var _this = this;
4577
4703
  var status = response.status;
4578
4704
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4585,12 +4711,12 @@
4585
4711
  _headers[key] = response.headers.get(key);
4586
4712
  }
4587
4713
  }
4588
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
4714
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4589
4715
  finally {
4590
4716
  try {
4591
4717
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4592
4718
  }
4593
- finally { if (e_44) throw e_44.error; }
4719
+ finally { if (e_45) throw e_45.error; }
4594
4720
  }
4595
4721
  }
4596
4722
  if (status === 200) {
@@ -4704,7 +4830,7 @@
4704
4830
  }));
4705
4831
  };
4706
4832
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceContainerModel = function (response) {
4707
- var e_45, _a;
4833
+ var e_46, _a;
4708
4834
  var _this = this;
4709
4835
  var status = response.status;
4710
4836
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4717,12 +4843,12 @@
4717
4843
  _headers[key] = response.headers.get(key);
4718
4844
  }
4719
4845
  }
4720
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
4846
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4721
4847
  finally {
4722
4848
  try {
4723
4849
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4724
4850
  }
4725
- finally { if (e_45) throw e_45.error; }
4851
+ finally { if (e_46) throw e_46.error; }
4726
4852
  }
4727
4853
  }
4728
4854
  if (status === 200) {
@@ -4824,7 +4950,7 @@
4824
4950
  }));
4825
4951
  };
4826
4952
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItems = function (response) {
4827
- var e_46, _a;
4953
+ var e_47, _a;
4828
4954
  var _this = this;
4829
4955
  var status = response.status;
4830
4956
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4837,12 +4963,12 @@
4837
4963
  _headers[key] = response.headers.get(key);
4838
4964
  }
4839
4965
  }
4840
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
4966
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4841
4967
  finally {
4842
4968
  try {
4843
4969
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4844
4970
  }
4845
- finally { if (e_46) throw e_46.error; }
4971
+ finally { if (e_47) throw e_47.error; }
4846
4972
  }
4847
4973
  }
4848
4974
  if (status === 200) {
@@ -4923,7 +5049,7 @@
4923
5049
  }));
4924
5050
  };
4925
5051
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceItem = function (response) {
4926
- var e_47, _a;
5052
+ var e_48, _a;
4927
5053
  var _this = this;
4928
5054
  var status = response.status;
4929
5055
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4936,12 +5062,12 @@
4936
5062
  _headers[key] = response.headers.get(key);
4937
5063
  }
4938
5064
  }
4939
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
5065
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4940
5066
  finally {
4941
5067
  try {
4942
5068
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4943
5069
  }
4944
- finally { if (e_47) throw e_47.error; }
5070
+ finally { if (e_48) throw e_48.error; }
4945
5071
  }
4946
5072
  }
4947
5073
  if (status === 204) {
@@ -5029,7 +5155,7 @@
5029
5155
  }));
5030
5156
  };
5031
5157
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItemModel = function (response) {
5032
- var e_48, _a;
5158
+ var e_49, _a;
5033
5159
  var _this = this;
5034
5160
  var status = response.status;
5035
5161
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5042,12 +5168,12 @@
5042
5168
  _headers[key] = response.headers.get(key);
5043
5169
  }
5044
5170
  }
5045
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
5171
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
5046
5172
  finally {
5047
5173
  try {
5048
5174
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5049
5175
  }
5050
- finally { if (e_48) throw e_48.error; }
5176
+ finally { if (e_49) throw e_49.error; }
5051
5177
  }
5052
5178
  }
5053
5179
  if (status === 200) {
@@ -5141,7 +5267,7 @@
5141
5267
  }));
5142
5268
  };
5143
5269
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceItemModel = function (response) {
5144
- var e_49, _a;
5270
+ var e_50, _a;
5145
5271
  var _this = this;
5146
5272
  var status = response.status;
5147
5273
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5154,12 +5280,12 @@
5154
5280
  _headers[key] = response.headers.get(key);
5155
5281
  }
5156
5282
  }
5157
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5283
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
5158
5284
  finally {
5159
5285
  try {
5160
5286
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5161
5287
  }
5162
- finally { if (e_49) throw e_49.error; }
5288
+ finally { if (e_50) throw e_50.error; }
5163
5289
  }
5164
5290
  }
5165
5291
  if (status === 200) {
@@ -5273,7 +5399,7 @@
5273
5399
  }));
5274
5400
  };
5275
5401
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceItemModel = function (response) {
5276
- var e_50, _a;
5402
+ var e_51, _a;
5277
5403
  var _this = this;
5278
5404
  var status = response.status;
5279
5405
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5286,12 +5412,12 @@
5286
5412
  _headers[key] = response.headers.get(key);
5287
5413
  }
5288
5414
  }
5289
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5415
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5290
5416
  finally {
5291
5417
  try {
5292
5418
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5293
5419
  }
5294
- finally { if (e_50) throw e_50.error; }
5420
+ finally { if (e_51) throw e_51.error; }
5295
5421
  }
5296
5422
  }
5297
5423
  if (status === 200) {
@@ -5384,7 +5510,7 @@
5384
5510
  }));
5385
5511
  };
5386
5512
  DesignAtomsPrintProductApiClient.prototype.processGetDesignProductModel = function (response) {
5387
- var e_51, _a;
5513
+ var e_52, _a;
5388
5514
  var _this = this;
5389
5515
  var status = response.status;
5390
5516
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5397,12 +5523,12 @@
5397
5523
  _headers[key] = response.headers.get(key);
5398
5524
  }
5399
5525
  }
5400
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
5526
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5401
5527
  finally {
5402
5528
  try {
5403
5529
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5404
5530
  }
5405
- finally { if (e_51) throw e_51.error; }
5531
+ finally { if (e_52) throw e_52.error; }
5406
5532
  }
5407
5533
  }
5408
5534
  if (status === 200) {
@@ -5484,7 +5610,7 @@
5484
5610
  }));
5485
5611
  };
5486
5612
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignProductModel = function (response) {
5487
- var e_52, _a;
5613
+ var e_53, _a;
5488
5614
  var _this = this;
5489
5615
  var status = response.status;
5490
5616
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5497,12 +5623,12 @@
5497
5623
  _headers[key] = response.headers.get(key);
5498
5624
  }
5499
5625
  }
5500
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
5626
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5501
5627
  finally {
5502
5628
  try {
5503
5629
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5504
5630
  }
5505
- finally { if (e_52) throw e_52.error; }
5631
+ finally { if (e_53) throw e_53.error; }
5506
5632
  }
5507
5633
  }
5508
5634
  if (status === 204) {
@@ -5582,7 +5708,7 @@
5582
5708
  }));
5583
5709
  };
5584
5710
  DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreas = function (response) {
5585
- var e_53, _a;
5711
+ var e_54, _a;
5586
5712
  var _this = this;
5587
5713
  var status = response.status;
5588
5714
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5595,12 +5721,12 @@
5595
5721
  _headers[key] = response.headers.get(key);
5596
5722
  }
5597
5723
  }
5598
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
5724
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5599
5725
  finally {
5600
5726
  try {
5601
5727
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5602
5728
  }
5603
- finally { if (e_53) throw e_53.error; }
5729
+ finally { if (e_54) throw e_54.error; }
5604
5730
  }
5605
5731
  }
5606
5732
  if (status === 200) {
@@ -5684,7 +5810,7 @@
5684
5810
  }));
5685
5811
  };
5686
5812
  DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintArea = function (response) {
5687
- var e_54, _a;
5813
+ var e_55, _a;
5688
5814
  var _this = this;
5689
5815
  var status = response.status;
5690
5816
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5697,12 +5823,12 @@
5697
5823
  _headers[key] = response.headers.get(key);
5698
5824
  }
5699
5825
  }
5700
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
5826
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5701
5827
  finally {
5702
5828
  try {
5703
5829
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5704
5830
  }
5705
- finally { if (e_54) throw e_54.error; }
5831
+ finally { if (e_55) throw e_55.error; }
5706
5832
  }
5707
5833
  }
5708
5834
  if (status === 200) {
@@ -5803,7 +5929,7 @@
5803
5929
  }));
5804
5930
  };
5805
5931
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintArea = function (response) {
5806
- var e_55, _a;
5932
+ var e_56, _a;
5807
5933
  var _this = this;
5808
5934
  var status = response.status;
5809
5935
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5816,12 +5942,12 @@
5816
5942
  _headers[key] = response.headers.get(key);
5817
5943
  }
5818
5944
  }
5819
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
5945
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5820
5946
  finally {
5821
5947
  try {
5822
5948
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5823
5949
  }
5824
- finally { if (e_55) throw e_55.error; }
5950
+ finally { if (e_56) throw e_56.error; }
5825
5951
  }
5826
5952
  }
5827
5953
  if (status === 200) {
@@ -5916,7 +6042,7 @@
5916
6042
  }));
5917
6043
  };
5918
6044
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignPrintArea = function (response) {
5919
- var e_56, _a;
6045
+ var e_57, _a;
5920
6046
  var _this = this;
5921
6047
  var status = response.status;
5922
6048
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5929,12 +6055,12 @@
5929
6055
  _headers[key] = response.headers.get(key);
5930
6056
  }
5931
6057
  }
5932
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
6058
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5933
6059
  finally {
5934
6060
  try {
5935
6061
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5936
6062
  }
5937
- finally { if (e_56) throw e_56.error; }
6063
+ finally { if (e_57) throw e_57.error; }
5938
6064
  }
5939
6065
  }
5940
6066
  if (status === 204) {
@@ -6022,7 +6148,7 @@
6022
6148
  }));
6023
6149
  };
6024
6150
  DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreaModel = function (response) {
6025
- var e_57, _a;
6151
+ var e_58, _a;
6026
6152
  var _this = this;
6027
6153
  var status = response.status;
6028
6154
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6035,12 +6161,12 @@
6035
6161
  _headers[key] = response.headers.get(key);
6036
6162
  }
6037
6163
  }
6038
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
6164
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
6039
6165
  finally {
6040
6166
  try {
6041
6167
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6042
6168
  }
6043
- finally { if (e_57) throw e_57.error; }
6169
+ finally { if (e_58) throw e_58.error; }
6044
6170
  }
6045
6171
  }
6046
6172
  if (status === 200) {
@@ -6134,7 +6260,7 @@
6134
6260
  }));
6135
6261
  };
6136
6262
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintAreaModel = function (response) {
6137
- var e_58, _a;
6263
+ var e_59, _a;
6138
6264
  var _this = this;
6139
6265
  var status = response.status;
6140
6266
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6147,12 +6273,12 @@
6147
6273
  _headers[key] = response.headers.get(key);
6148
6274
  }
6149
6275
  }
6150
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
6276
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
6151
6277
  finally {
6152
6278
  try {
6153
6279
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6154
6280
  }
6155
- finally { if (e_58) throw e_58.error; }
6281
+ finally { if (e_59) throw e_59.error; }
6156
6282
  }
6157
6283
  }
6158
6284
  if (status === 200) {
@@ -6253,7 +6379,7 @@
6253
6379
  }));
6254
6380
  };
6255
6381
  DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintAreaModel = function (response) {
6256
- var e_59, _a;
6382
+ var e_60, _a;
6257
6383
  var _this = this;
6258
6384
  var status = response.status;
6259
6385
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6266,12 +6392,12 @@
6266
6392
  _headers[key] = response.headers.get(key);
6267
6393
  }
6268
6394
  }
6269
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
6395
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
6270
6396
  finally {
6271
6397
  try {
6272
6398
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6273
6399
  }
6274
- finally { if (e_59) throw e_59.error; }
6400
+ finally { if (e_60) throw e_60.error; }
6275
6401
  }
6276
6402
  }
6277
6403
  if (status === 200) {
@@ -6364,7 +6490,7 @@
6364
6490
  }));
6365
6491
  };
6366
6492
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaces = function (response) {
6367
- var e_60, _a;
6493
+ var e_61, _a;
6368
6494
  var _this = this;
6369
6495
  var status = response.status;
6370
6496
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6377,12 +6503,12 @@
6377
6503
  _headers[key] = response.headers.get(key);
6378
6504
  }
6379
6505
  }
6380
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6506
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6381
6507
  finally {
6382
6508
  try {
6383
6509
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6384
6510
  }
6385
- finally { if (e_60) throw e_60.error; }
6511
+ finally { if (e_61) throw e_61.error; }
6386
6512
  }
6387
6513
  }
6388
6514
  if (status === 200) {
@@ -6463,7 +6589,7 @@
6463
6589
  }));
6464
6590
  };
6465
6591
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurface = function (response) {
6466
- var e_61, _a;
6592
+ var e_62, _a;
6467
6593
  var _this = this;
6468
6594
  var status = response.status;
6469
6595
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6476,12 +6602,12 @@
6476
6602
  _headers[key] = response.headers.get(key);
6477
6603
  }
6478
6604
  }
6479
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6605
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6480
6606
  finally {
6481
6607
  try {
6482
6608
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6483
6609
  }
6484
- finally { if (e_61) throw e_61.error; }
6610
+ finally { if (e_62) throw e_62.error; }
6485
6611
  }
6486
6612
  }
6487
6613
  if (status === 204) {
@@ -6569,7 +6695,7 @@
6569
6695
  }));
6570
6696
  };
6571
6697
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockup = function (response) {
6572
- var e_62, _a;
6698
+ var e_63, _a;
6573
6699
  var _this = this;
6574
6700
  var status = response.status;
6575
6701
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6582,12 +6708,12 @@
6582
6708
  _headers[key] = response.headers.get(key);
6583
6709
  }
6584
6710
  }
6585
- catch (e_62_1) { e_62 = { error: e_62_1 }; }
6711
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6586
6712
  finally {
6587
6713
  try {
6588
6714
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6589
6715
  }
6590
- finally { if (e_62) throw e_62.error; }
6716
+ finally { if (e_63) throw e_63.error; }
6591
6717
  }
6592
6718
  }
6593
6719
  if (status === 200) {
@@ -6699,7 +6825,7 @@
6699
6825
  }));
6700
6826
  };
6701
6827
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceDownMockup = function (response) {
6702
- var e_63, _a;
6828
+ var e_64, _a;
6703
6829
  var _this = this;
6704
6830
  var status = response.status;
6705
6831
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6712,12 +6838,12 @@
6712
6838
  _headers[key] = response.headers.get(key);
6713
6839
  }
6714
6840
  }
6715
- catch (e_63_1) { e_63 = { error: e_63_1 }; }
6841
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6716
6842
  finally {
6717
6843
  try {
6718
6844
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6719
6845
  }
6720
- finally { if (e_63) throw e_63.error; }
6846
+ finally { if (e_64) throw e_64.error; }
6721
6847
  }
6722
6848
  }
6723
6849
  if (status === 200) {
@@ -6814,7 +6940,7 @@
6814
6940
  }));
6815
6941
  };
6816
6942
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockupContent = function (response) {
6817
- var e_64, _a;
6943
+ var e_65, _a;
6818
6944
  var _this = this;
6819
6945
  var status = response.status;
6820
6946
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6827,12 +6953,12 @@
6827
6953
  _headers[key] = response.headers.get(key);
6828
6954
  }
6829
6955
  }
6830
- catch (e_64_1) { e_64 = { error: e_64_1 }; }
6956
+ catch (e_65_1) { e_65 = { error: e_65_1 }; }
6831
6957
  finally {
6832
6958
  try {
6833
6959
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6834
6960
  }
6835
- finally { if (e_64) throw e_64.error; }
6961
+ finally { if (e_65) throw e_65.error; }
6836
6962
  }
6837
6963
  }
6838
6964
  if (status === 200 || status === 206) {
@@ -6928,7 +7054,7 @@
6928
7054
  }));
6929
7055
  };
6930
7056
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockup = function (response) {
6931
- var e_65, _a;
7057
+ var e_66, _a;
6932
7058
  var _this = this;
6933
7059
  var status = response.status;
6934
7060
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6941,12 +7067,12 @@
6941
7067
  _headers[key] = response.headers.get(key);
6942
7068
  }
6943
7069
  }
6944
- catch (e_65_1) { e_65 = { error: e_65_1 }; }
7070
+ catch (e_66_1) { e_66 = { error: e_66_1 }; }
6945
7071
  finally {
6946
7072
  try {
6947
7073
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6948
7074
  }
6949
- finally { if (e_65) throw e_65.error; }
7075
+ finally { if (e_66) throw e_66.error; }
6950
7076
  }
6951
7077
  }
6952
7078
  if (status === 200) {
@@ -7058,7 +7184,7 @@
7058
7184
  }));
7059
7185
  };
7060
7186
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceUpMockup = function (response) {
7061
- var e_66, _a;
7187
+ var e_67, _a;
7062
7188
  var _this = this;
7063
7189
  var status = response.status;
7064
7190
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7071,12 +7197,12 @@
7071
7197
  _headers[key] = response.headers.get(key);
7072
7198
  }
7073
7199
  }
7074
- catch (e_66_1) { e_66 = { error: e_66_1 }; }
7200
+ catch (e_67_1) { e_67 = { error: e_67_1 }; }
7075
7201
  finally {
7076
7202
  try {
7077
7203
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7078
7204
  }
7079
- finally { if (e_66) throw e_66.error; }
7205
+ finally { if (e_67) throw e_67.error; }
7080
7206
  }
7081
7207
  }
7082
7208
  if (status === 200) {
@@ -7173,7 +7299,7 @@
7173
7299
  }));
7174
7300
  };
7175
7301
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockupContent = function (response) {
7176
- var e_67, _a;
7302
+ var e_68, _a;
7177
7303
  var _this = this;
7178
7304
  var status = response.status;
7179
7305
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7186,12 +7312,12 @@
7186
7312
  _headers[key] = response.headers.get(key);
7187
7313
  }
7188
7314
  }
7189
- catch (e_67_1) { e_67 = { error: e_67_1 }; }
7315
+ catch (e_68_1) { e_68 = { error: e_68_1 }; }
7190
7316
  finally {
7191
7317
  try {
7192
7318
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7193
7319
  }
7194
- finally { if (e_67) throw e_67.error; }
7320
+ finally { if (e_68) throw e_68.error; }
7195
7321
  }
7196
7322
  }
7197
7323
  if (status === 200 || status === 206) {
@@ -7287,7 +7413,7 @@
7287
7413
  }));
7288
7414
  };
7289
7415
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceModel = function (response) {
7290
- var e_68, _a;
7416
+ var e_69, _a;
7291
7417
  var _this = this;
7292
7418
  var status = response.status;
7293
7419
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7300,12 +7426,12 @@
7300
7426
  _headers[key] = response.headers.get(key);
7301
7427
  }
7302
7428
  }
7303
- catch (e_68_1) { e_68 = { error: e_68_1 }; }
7429
+ catch (e_69_1) { e_69 = { error: e_69_1 }; }
7304
7430
  finally {
7305
7431
  try {
7306
7432
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7307
7433
  }
7308
- finally { if (e_68) throw e_68.error; }
7434
+ finally { if (e_69) throw e_69.error; }
7309
7435
  }
7310
7436
  }
7311
7437
  if (status === 200) {
@@ -7400,7 +7526,7 @@
7400
7526
  }));
7401
7527
  };
7402
7528
  DesignAtomsPrintProductApiClient.prototype.processReplaceDesignSurfaceModel = function (response) {
7403
- var e_69, _a;
7529
+ var e_70, _a;
7404
7530
  var _this = this;
7405
7531
  var status = response.status;
7406
7532
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7413,12 +7539,12 @@
7413
7539
  _headers[key] = response.headers.get(key);
7414
7540
  }
7415
7541
  }
7416
- catch (e_69_1) { e_69 = { error: e_69_1 }; }
7542
+ catch (e_70_1) { e_70 = { error: e_70_1 }; }
7417
7543
  finally {
7418
7544
  try {
7419
7545
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7420
7546
  }
7421
- finally { if (e_69) throw e_69.error; }
7547
+ finally { if (e_70) throw e_70.error; }
7422
7548
  }
7423
7549
  }
7424
7550
  if (status === 200) {
@@ -7519,7 +7645,7 @@
7519
7645
  }));
7520
7646
  };
7521
7647
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceModel = function (response) {
7522
- var e_70, _a;
7648
+ var e_71, _a;
7523
7649
  var _this = this;
7524
7650
  var status = response.status;
7525
7651
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7532,12 +7658,12 @@
7532
7658
  _headers[key] = response.headers.get(key);
7533
7659
  }
7534
7660
  }
7535
- catch (e_70_1) { e_70 = { error: e_70_1 }; }
7661
+ catch (e_71_1) { e_71 = { error: e_71_1 }; }
7536
7662
  finally {
7537
7663
  try {
7538
7664
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7539
7665
  }
7540
- finally { if (e_70) throw e_70.error; }
7666
+ finally { if (e_71) throw e_71.error; }
7541
7667
  }
7542
7668
  }
7543
7669
  if (status === 200) {
@@ -7642,7 +7768,7 @@
7642
7768
  }));
7643
7769
  };
7644
7770
  DesignAtomsPrintProductItemsApiClient.prototype.processApplyItemEffects = function (response) {
7645
- var e_71, _a;
7771
+ var e_72, _a;
7646
7772
  var _this = this;
7647
7773
  var status = response.status;
7648
7774
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7655,12 +7781,12 @@
7655
7781
  _headers[key] = response.headers.get(key);
7656
7782
  }
7657
7783
  }
7658
- catch (e_71_1) { e_71 = { error: e_71_1 }; }
7784
+ catch (e_72_1) { e_72 = { error: e_72_1 }; }
7659
7785
  finally {
7660
7786
  try {
7661
7787
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7662
7788
  }
7663
- finally { if (e_71) throw e_71.error; }
7789
+ finally { if (e_72) throw e_72.error; }
7664
7790
  }
7665
7791
  }
7666
7792
  if (status === 200) {
@@ -7736,7 +7862,7 @@
7736
7862
  }));
7737
7863
  };
7738
7864
  DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImage = function (response) {
7739
- var e_72, _a;
7865
+ var e_73, _a;
7740
7866
  var _this = this;
7741
7867
  var status = response.status;
7742
7868
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7749,12 +7875,12 @@
7749
7875
  _headers[key] = response.headers.get(key);
7750
7876
  }
7751
7877
  }
7752
- catch (e_72_1) { e_72 = { error: e_72_1 }; }
7878
+ catch (e_73_1) { e_73 = { error: e_73_1 }; }
7753
7879
  finally {
7754
7880
  try {
7755
7881
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7756
7882
  }
7757
- finally { if (e_72) throw e_72.error; }
7883
+ finally { if (e_73) throw e_73.error; }
7758
7884
  }
7759
7885
  }
7760
7886
  if (status === 200 || status === 206) {
@@ -7829,7 +7955,7 @@
7829
7955
  }));
7830
7956
  };
7831
7957
  DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImageToResource = function (response) {
7832
- var e_73, _a;
7958
+ var e_74, _a;
7833
7959
  var _this = this;
7834
7960
  var status = response.status;
7835
7961
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7842,12 +7968,12 @@
7842
7968
  _headers[key] = response.headers.get(key);
7843
7969
  }
7844
7970
  }
7845
- catch (e_73_1) { e_73 = { error: e_73_1 }; }
7971
+ catch (e_74_1) { e_74 = { error: e_74_1 }; }
7846
7972
  finally {
7847
7973
  try {
7848
7974
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7849
7975
  }
7850
- finally { if (e_73) throw e_73.error; }
7976
+ finally { if (e_74) throw e_74.error; }
7851
7977
  }
7852
7978
  }
7853
7979
  if (status === 200) {
@@ -7926,7 +8052,7 @@
7926
8052
  }));
7927
8053
  };
7928
8054
  DesignAtomsPrintProductItemsApiClient.prototype.processFlattenItems = function (response) {
7929
- var e_74, _a;
8055
+ var e_75, _a;
7930
8056
  var _this = this;
7931
8057
  var status = response.status;
7932
8058
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7939,12 +8065,12 @@
7939
8065
  _headers[key] = response.headers.get(key);
7940
8066
  }
7941
8067
  }
7942
- catch (e_74_1) { e_74 = { error: e_74_1 }; }
8068
+ catch (e_75_1) { e_75 = { error: e_75_1 }; }
7943
8069
  finally {
7944
8070
  try {
7945
8071
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7946
8072
  }
7947
- finally { if (e_74) throw e_74.error; }
8073
+ finally { if (e_75) throw e_75.error; }
7948
8074
  }
7949
8075
  }
7950
8076
  if (status === 200) {
@@ -8040,7 +8166,7 @@
8040
8166
  }));
8041
8167
  };
8042
8168
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromFile = function (response) {
8043
- var e_75, _a;
8169
+ var e_76, _a;
8044
8170
  var _this = this;
8045
8171
  var status = response.status;
8046
8172
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8053,12 +8179,12 @@
8053
8179
  _headers[key] = response.headers.get(key);
8054
8180
  }
8055
8181
  }
8056
- catch (e_75_1) { e_75 = { error: e_75_1 }; }
8182
+ catch (e_76_1) { e_76 = { error: e_76_1 }; }
8057
8183
  finally {
8058
8184
  try {
8059
8185
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8060
8186
  }
8061
- finally { if (e_75) throw e_75.error; }
8187
+ finally { if (e_76) throw e_76.error; }
8062
8188
  }
8063
8189
  }
8064
8190
  if (status === 200) {
@@ -8158,7 +8284,7 @@
8158
8284
  }));
8159
8285
  };
8160
8286
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromFile = function (response) {
8161
- var e_76, _a;
8287
+ var e_77, _a;
8162
8288
  var _this = this;
8163
8289
  var status = response.status;
8164
8290
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8171,12 +8297,12 @@
8171
8297
  _headers[key] = response.headers.get(key);
8172
8298
  }
8173
8299
  }
8174
- catch (e_76_1) { e_76 = { error: e_76_1 }; }
8300
+ catch (e_77_1) { e_77 = { error: e_77_1 }; }
8175
8301
  finally {
8176
8302
  try {
8177
8303
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8178
8304
  }
8179
- finally { if (e_76) throw e_76.error; }
8305
+ finally { if (e_77) throw e_77.error; }
8180
8306
  }
8181
8307
  }
8182
8308
  if (status === 200) {
@@ -8269,7 +8395,7 @@
8269
8395
  }));
8270
8396
  };
8271
8397
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromStorage = function (response) {
8272
- var e_77, _a;
8398
+ var e_78, _a;
8273
8399
  var _this = this;
8274
8400
  var status = response.status;
8275
8401
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8282,12 +8408,12 @@
8282
8408
  _headers[key] = response.headers.get(key);
8283
8409
  }
8284
8410
  }
8285
- catch (e_77_1) { e_77 = { error: e_77_1 }; }
8411
+ catch (e_78_1) { e_78 = { error: e_78_1 }; }
8286
8412
  finally {
8287
8413
  try {
8288
8414
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8289
8415
  }
8290
- finally { if (e_77) throw e_77.error; }
8416
+ finally { if (e_78) throw e_78.error; }
8291
8417
  }
8292
8418
  }
8293
8419
  if (status === 200) {
@@ -8380,7 +8506,7 @@
8380
8506
  }));
8381
8507
  };
8382
8508
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromStorage = function (response) {
8383
- var e_78, _a;
8509
+ var e_79, _a;
8384
8510
  var _this = this;
8385
8511
  var status = response.status;
8386
8512
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8393,12 +8519,12 @@
8393
8519
  _headers[key] = response.headers.get(key);
8394
8520
  }
8395
8521
  }
8396
- catch (e_78_1) { e_78 = { error: e_78_1 }; }
8522
+ catch (e_79_1) { e_79 = { error: e_79_1 }; }
8397
8523
  finally {
8398
8524
  try {
8399
8525
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8400
8526
  }
8401
- finally { if (e_78) throw e_78.error; }
8527
+ finally { if (e_79) throw e_79.error; }
8402
8528
  }
8403
8529
  }
8404
8530
  if (status === 200) {
@@ -8491,7 +8617,7 @@
8491
8617
  }));
8492
8618
  };
8493
8619
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromUrl = function (response) {
8494
- var e_79, _a;
8620
+ var e_80, _a;
8495
8621
  var _this = this;
8496
8622
  var status = response.status;
8497
8623
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8504,12 +8630,12 @@
8504
8630
  _headers[key] = response.headers.get(key);
8505
8631
  }
8506
8632
  }
8507
- catch (e_79_1) { e_79 = { error: e_79_1 }; }
8633
+ catch (e_80_1) { e_80 = { error: e_80_1 }; }
8508
8634
  finally {
8509
8635
  try {
8510
8636
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8511
8637
  }
8512
- finally { if (e_79) throw e_79.error; }
8638
+ finally { if (e_80) throw e_80.error; }
8513
8639
  }
8514
8640
  }
8515
8641
  if (status === 200) {
@@ -8595,7 +8721,7 @@
8595
8721
  }));
8596
8722
  };
8597
8723
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromUrl = function (response) {
8598
- var e_80, _a;
8724
+ var e_81, _a;
8599
8725
  var _this = this;
8600
8726
  var status = response.status;
8601
8727
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8608,12 +8734,12 @@
8608
8734
  _headers[key] = response.headers.get(key);
8609
8735
  }
8610
8736
  }
8611
- catch (e_80_1) { e_80 = { error: e_80_1 }; }
8737
+ catch (e_81_1) { e_81 = { error: e_81_1 }; }
8612
8738
  finally {
8613
8739
  try {
8614
8740
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8615
8741
  }
8616
- finally { if (e_80) throw e_80.error; }
8742
+ finally { if (e_81) throw e_81.error; }
8617
8743
  }
8618
8744
  }
8619
8745
  if (status === 200) {
@@ -8721,7 +8847,7 @@
8721
8847
  }));
8722
8848
  };
8723
8849
  DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
8724
- var e_81, _a;
8850
+ var e_82, _a;
8725
8851
  var _this = this;
8726
8852
  var status = response.status;
8727
8853
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8734,12 +8860,12 @@
8734
8860
  _headers[key] = response.headers.get(key);
8735
8861
  }
8736
8862
  }
8737
- catch (e_81_1) { e_81 = { error: e_81_1 }; }
8863
+ catch (e_82_1) { e_82 = { error: e_82_1 }; }
8738
8864
  finally {
8739
8865
  try {
8740
8866
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8741
8867
  }
8742
- finally { if (e_81) throw e_81.error; }
8868
+ finally { if (e_82) throw e_82.error; }
8743
8869
  }
8744
8870
  }
8745
8871
  if (status === 201) {
@@ -8821,7 +8947,7 @@
8821
8947
  }));
8822
8948
  };
8823
8949
  DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
8824
- var e_82, _a;
8950
+ var e_83, _a;
8825
8951
  var _this = this;
8826
8952
  var status = response.status;
8827
8953
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8834,12 +8960,12 @@
8834
8960
  _headers[key] = response.headers.get(key);
8835
8961
  }
8836
8962
  }
8837
- catch (e_82_1) { e_82 = { error: e_82_1 }; }
8963
+ catch (e_83_1) { e_83 = { error: e_83_1 }; }
8838
8964
  finally {
8839
8965
  try {
8840
8966
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8841
8967
  }
8842
- finally { if (e_82) throw e_82.error; }
8968
+ finally { if (e_83) throw e_83.error; }
8843
8969
  }
8844
8970
  }
8845
8971
  if (status === 200) {
@@ -8926,7 +9052,7 @@
8926
9052
  }));
8927
9053
  };
8928
9054
  DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
8929
- var e_83, _a;
9055
+ var e_84, _a;
8930
9056
  var _this = this;
8931
9057
  var status = response.status;
8932
9058
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8939,12 +9065,12 @@
8939
9065
  _headers[key] = response.headers.get(key);
8940
9066
  }
8941
9067
  }
8942
- catch (e_83_1) { e_83 = { error: e_83_1 }; }
9068
+ catch (e_84_1) { e_84 = { error: e_84_1 }; }
8943
9069
  finally {
8944
9070
  try {
8945
9071
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8946
9072
  }
8947
- finally { if (e_83) throw e_83.error; }
9073
+ finally { if (e_84) throw e_84.error; }
8948
9074
  }
8949
9075
  }
8950
9076
  if (status === 200 || status === 206) {
@@ -9032,7 +9158,7 @@
9032
9158
  }));
9033
9159
  };
9034
9160
  DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
9035
- var e_84, _a;
9161
+ var e_85, _a;
9036
9162
  var _this = this;
9037
9163
  var status = response.status;
9038
9164
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9045,12 +9171,12 @@
9045
9171
  _headers[key] = response.headers.get(key);
9046
9172
  }
9047
9173
  }
9048
- catch (e_84_1) { e_84 = { error: e_84_1 }; }
9174
+ catch (e_85_1) { e_85 = { error: e_85_1 }; }
9049
9175
  finally {
9050
9176
  try {
9051
9177
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9052
9178
  }
9053
- finally { if (e_84) throw e_84.error; }
9179
+ finally { if (e_85) throw e_85.error; }
9054
9180
  }
9055
9181
  }
9056
9182
  if (status === 204) {
@@ -9134,7 +9260,7 @@
9134
9260
  }));
9135
9261
  };
9136
9262
  DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
9137
- var e_85, _a;
9263
+ var e_86, _a;
9138
9264
  var _this = this;
9139
9265
  var status = response.status;
9140
9266
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9147,12 +9273,12 @@
9147
9273
  _headers[key] = response.headers.get(key);
9148
9274
  }
9149
9275
  }
9150
- catch (e_85_1) { e_85 = { error: e_85_1 }; }
9276
+ catch (e_86_1) { e_86 = { error: e_86_1 }; }
9151
9277
  finally {
9152
9278
  try {
9153
9279
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9154
9280
  }
9155
- finally { if (e_85) throw e_85.error; }
9281
+ finally { if (e_86) throw e_86.error; }
9156
9282
  }
9157
9283
  }
9158
9284
  if (status === 200) {
@@ -9231,7 +9357,7 @@
9231
9357
  }));
9232
9358
  };
9233
9359
  DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
9234
- var e_86, _a;
9360
+ var e_87, _a;
9235
9361
  var _this = this;
9236
9362
  var status = response.status;
9237
9363
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9244,12 +9370,12 @@
9244
9370
  _headers[key] = response.headers.get(key);
9245
9371
  }
9246
9372
  }
9247
- catch (e_86_1) { e_86 = { error: e_86_1 }; }
9373
+ catch (e_87_1) { e_87 = { error: e_87_1 }; }
9248
9374
  finally {
9249
9375
  try {
9250
9376
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9251
9377
  }
9252
- finally { if (e_86) throw e_86.error; }
9378
+ finally { if (e_87) throw e_87.error; }
9253
9379
  }
9254
9380
  }
9255
9381
  if (status === 200 || status === 206) {
@@ -9334,7 +9460,7 @@
9334
9460
  }));
9335
9461
  };
9336
9462
  DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
9337
- var e_87, _a;
9463
+ var e_88, _a;
9338
9464
  var _this = this;
9339
9465
  var status = response.status;
9340
9466
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9347,12 +9473,12 @@
9347
9473
  _headers[key] = response.headers.get(key);
9348
9474
  }
9349
9475
  }
9350
- catch (e_87_1) { e_87 = { error: e_87_1 }; }
9476
+ catch (e_88_1) { e_88 = { error: e_88_1 }; }
9351
9477
  finally {
9352
9478
  try {
9353
9479
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9354
9480
  }
9355
- finally { if (e_87) throw e_87.error; }
9481
+ finally { if (e_88) throw e_88.error; }
9356
9482
  }
9357
9483
  }
9358
9484
  if (status === 200 || status === 206) {
@@ -9437,7 +9563,7 @@
9437
9563
  }));
9438
9564
  };
9439
9565
  DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
9440
- var e_88, _a;
9566
+ var e_89, _a;
9441
9567
  var _this = this;
9442
9568
  var status = response.status;
9443
9569
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9450,12 +9576,12 @@
9450
9576
  _headers[key] = response.headers.get(key);
9451
9577
  }
9452
9578
  }
9453
- catch (e_88_1) { e_88 = { error: e_88_1 }; }
9579
+ catch (e_89_1) { e_89 = { error: e_89_1 }; }
9454
9580
  finally {
9455
9581
  try {
9456
9582
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9457
9583
  }
9458
- finally { if (e_88) throw e_88.error; }
9584
+ finally { if (e_89) throw e_89.error; }
9459
9585
  }
9460
9586
  }
9461
9587
  if (status === 200) {
@@ -9537,7 +9663,7 @@
9537
9663
  }));
9538
9664
  };
9539
9665
  DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
9540
- var e_89, _a;
9666
+ var e_90, _a;
9541
9667
  var _this = this;
9542
9668
  var status = response.status;
9543
9669
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9550,12 +9676,12 @@
9550
9676
  _headers[key] = response.headers.get(key);
9551
9677
  }
9552
9678
  }
9553
- catch (e_89_1) { e_89 = { error: e_89_1 }; }
9679
+ catch (e_90_1) { e_90 = { error: e_90_1 }; }
9554
9680
  finally {
9555
9681
  try {
9556
9682
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9557
9683
  }
9558
- finally { if (e_89) throw e_89.error; }
9684
+ finally { if (e_90) throw e_90.error; }
9559
9685
  }
9560
9686
  }
9561
9687
  if (status === 200) {
@@ -9639,7 +9765,7 @@
9639
9765
  }));
9640
9766
  };
9641
9767
  DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
9642
- var e_90, _a;
9768
+ var e_91, _a;
9643
9769
  var _this = this;
9644
9770
  var status = response.status;
9645
9771
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9652,12 +9778,12 @@
9652
9778
  _headers[key] = response.headers.get(key);
9653
9779
  }
9654
9780
  }
9655
- catch (e_90_1) { e_90 = { error: e_90_1 }; }
9781
+ catch (e_91_1) { e_91 = { error: e_91_1 }; }
9656
9782
  finally {
9657
9783
  try {
9658
9784
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9659
9785
  }
9660
- finally { if (e_90) throw e_90.error; }
9786
+ finally { if (e_91) throw e_91.error; }
9661
9787
  }
9662
9788
  }
9663
9789
  if (status === 200) {
@@ -9746,7 +9872,7 @@
9746
9872
  }));
9747
9873
  };
9748
9874
  DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
9749
- var e_91, _a;
9875
+ var e_92, _a;
9750
9876
  var _this = this;
9751
9877
  var status = response.status;
9752
9878
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9759,12 +9885,12 @@
9759
9885
  _headers[key] = response.headers.get(key);
9760
9886
  }
9761
9887
  }
9762
- catch (e_91_1) { e_91 = { error: e_91_1 }; }
9888
+ catch (e_92_1) { e_92 = { error: e_92_1 }; }
9763
9889
  finally {
9764
9890
  try {
9765
9891
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9766
9892
  }
9767
- finally { if (e_91) throw e_91.error; }
9893
+ finally { if (e_92) throw e_92.error; }
9768
9894
  }
9769
9895
  }
9770
9896
  if (status === 200) {
@@ -9839,7 +9965,7 @@
9839
9965
  }));
9840
9966
  };
9841
9967
  DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
9842
- var e_92, _a;
9968
+ var e_93, _a;
9843
9969
  var _this = this;
9844
9970
  var status = response.status;
9845
9971
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9852,12 +9978,12 @@
9852
9978
  _headers[key] = response.headers.get(key);
9853
9979
  }
9854
9980
  }
9855
- catch (e_92_1) { e_92 = { error: e_92_1 }; }
9981
+ catch (e_93_1) { e_93 = { error: e_93_1 }; }
9856
9982
  finally {
9857
9983
  try {
9858
9984
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9859
9985
  }
9860
- finally { if (e_92) throw e_92.error; }
9986
+ finally { if (e_93) throw e_93.error; }
9861
9987
  }
9862
9988
  }
9863
9989
  if (status === 200) {
@@ -9931,7 +10057,7 @@
9931
10057
  }));
9932
10058
  };
9933
10059
  DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
9934
- var e_93, _a;
10060
+ var e_94, _a;
9935
10061
  var _this = this;
9936
10062
  var status = response.status;
9937
10063
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9944,12 +10070,12 @@
9944
10070
  _headers[key] = response.headers.get(key);
9945
10071
  }
9946
10072
  }
9947
- catch (e_93_1) { e_93 = { error: e_93_1 }; }
10073
+ catch (e_94_1) { e_94 = { error: e_94_1 }; }
9948
10074
  finally {
9949
10075
  try {
9950
10076
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9951
10077
  }
9952
- finally { if (e_93) throw e_93.error; }
10078
+ finally { if (e_94) throw e_94.error; }
9953
10079
  }
9954
10080
  }
9955
10081
  if (status === 200) {
@@ -10027,7 +10153,7 @@
10027
10153
  }));
10028
10154
  };
10029
10155
  DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
10030
- var e_94, _a;
10156
+ var e_95, _a;
10031
10157
  var _this = this;
10032
10158
  var status = response.status;
10033
10159
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10040,12 +10166,12 @@
10040
10166
  _headers[key] = response.headers.get(key);
10041
10167
  }
10042
10168
  }
10043
- catch (e_94_1) { e_94 = { error: e_94_1 }; }
10169
+ catch (e_95_1) { e_95 = { error: e_95_1 }; }
10044
10170
  finally {
10045
10171
  try {
10046
10172
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10047
10173
  }
10048
- finally { if (e_94) throw e_94.error; }
10174
+ finally { if (e_95) throw e_95.error; }
10049
10175
  }
10050
10176
  }
10051
10177
  if (status === 200) {
@@ -10132,7 +10258,7 @@
10132
10258
  }));
10133
10259
  };
10134
10260
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
10135
- var e_95, _a;
10261
+ var e_96, _a;
10136
10262
  var status = response.status;
10137
10263
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10138
10264
  response.error instanceof Blob ? response.error : undefined;
@@ -10144,12 +10270,12 @@
10144
10270
  _headers[key] = response.headers.get(key);
10145
10271
  }
10146
10272
  }
10147
- catch (e_95_1) { e_95 = { error: e_95_1 }; }
10273
+ catch (e_96_1) { e_96 = { error: e_96_1 }; }
10148
10274
  finally {
10149
10275
  try {
10150
10276
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10151
10277
  }
10152
- finally { if (e_95) throw e_95.error; }
10278
+ finally { if (e_96) throw e_96.error; }
10153
10279
  }
10154
10280
  }
10155
10281
  if (status === 200 || status === 206) {
@@ -10221,7 +10347,7 @@
10221
10347
  }));
10222
10348
  };
10223
10349
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
10224
- var e_96, _a;
10350
+ var e_97, _a;
10225
10351
  var status = response.status;
10226
10352
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10227
10353
  response.error instanceof Blob ? response.error : undefined;
@@ -10233,12 +10359,12 @@
10233
10359
  _headers[key] = response.headers.get(key);
10234
10360
  }
10235
10361
  }
10236
- catch (e_96_1) { e_96 = { error: e_96_1 }; }
10362
+ catch (e_97_1) { e_97 = { error: e_97_1 }; }
10237
10363
  finally {
10238
10364
  try {
10239
10365
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10240
10366
  }
10241
- finally { if (e_96) throw e_96.error; }
10367
+ finally { if (e_97) throw e_97.error; }
10242
10368
  }
10243
10369
  }
10244
10370
  if (status === 200 || status === 206) {
@@ -10306,7 +10432,7 @@
10306
10432
  }));
10307
10433
  };
10308
10434
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
10309
- var e_97, _a;
10435
+ var e_98, _a;
10310
10436
  var _this = this;
10311
10437
  var status = response.status;
10312
10438
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10319,12 +10445,12 @@
10319
10445
  _headers[key] = response.headers.get(key);
10320
10446
  }
10321
10447
  }
10322
- catch (e_97_1) { e_97 = { error: e_97_1 }; }
10448
+ catch (e_98_1) { e_98 = { error: e_98_1 }; }
10323
10449
  finally {
10324
10450
  try {
10325
10451
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10326
10452
  }
10327
- finally { if (e_97) throw e_97.error; }
10453
+ finally { if (e_98) throw e_98.error; }
10328
10454
  }
10329
10455
  }
10330
10456
  if (status === 200) {
@@ -10411,7 +10537,7 @@
10411
10537
  }));
10412
10538
  };
10413
10539
  DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
10414
- var e_98, _a;
10540
+ var e_99, _a;
10415
10541
  var _this = this;
10416
10542
  var status = response.status;
10417
10543
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10424,12 +10550,12 @@
10424
10550
  _headers[key] = response.headers.get(key);
10425
10551
  }
10426
10552
  }
10427
- catch (e_98_1) { e_98 = { error: e_98_1 }; }
10553
+ catch (e_99_1) { e_99 = { error: e_99_1 }; }
10428
10554
  finally {
10429
10555
  try {
10430
10556
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10431
10557
  }
10432
- finally { if (e_98) throw e_98.error; }
10558
+ finally { if (e_99) throw e_99.error; }
10433
10559
  }
10434
10560
  }
10435
10561
  if (status === 200 || status === 206) {
@@ -10504,7 +10630,7 @@
10504
10630
  }));
10505
10631
  };
10506
10632
  DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
10507
- var e_99, _a;
10633
+ var e_100, _a;
10508
10634
  var _this = this;
10509
10635
  var status = response.status;
10510
10636
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10517,12 +10643,12 @@
10517
10643
  _headers[key] = response.headers.get(key);
10518
10644
  }
10519
10645
  }
10520
- catch (e_99_1) { e_99 = { error: e_99_1 }; }
10646
+ catch (e_100_1) { e_100 = { error: e_100_1 }; }
10521
10647
  finally {
10522
10648
  try {
10523
10649
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10524
10650
  }
10525
- finally { if (e_99) throw e_99.error; }
10651
+ finally { if (e_100) throw e_100.error; }
10526
10652
  }
10527
10653
  }
10528
10654
  if (status === 200) {
@@ -10602,7 +10728,7 @@
10602
10728
  }));
10603
10729
  };
10604
10730
  DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
10605
- var e_100, _a;
10731
+ var e_101, _a;
10606
10732
  var _this = this;
10607
10733
  var status = response.status;
10608
10734
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10615,12 +10741,12 @@
10615
10741
  _headers[key] = response.headers.get(key);
10616
10742
  }
10617
10743
  }
10618
- catch (e_100_1) { e_100 = { error: e_100_1 }; }
10744
+ catch (e_101_1) { e_101 = { error: e_101_1 }; }
10619
10745
  finally {
10620
10746
  try {
10621
10747
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10622
10748
  }
10623
- finally { if (e_100) throw e_100.error; }
10749
+ finally { if (e_101) throw e_101.error; }
10624
10750
  }
10625
10751
  }
10626
10752
  if (status === 200) {
@@ -10703,7 +10829,7 @@
10703
10829
  }));
10704
10830
  };
10705
10831
  DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
10706
- var e_101, _a;
10832
+ var e_102, _a;
10707
10833
  var _this = this;
10708
10834
  var status = response.status;
10709
10835
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10716,12 +10842,12 @@
10716
10842
  _headers[key] = response.headers.get(key);
10717
10843
  }
10718
10844
  }
10719
- catch (e_101_1) { e_101 = { error: e_101_1 }; }
10845
+ catch (e_102_1) { e_102 = { error: e_102_1 }; }
10720
10846
  finally {
10721
10847
  try {
10722
10848
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10723
10849
  }
10724
- finally { if (e_101) throw e_101.error; }
10850
+ finally { if (e_102) throw e_102.error; }
10725
10851
  }
10726
10852
  }
10727
10853
  if (status === 200) {
@@ -10817,7 +10943,7 @@
10817
10943
  }));
10818
10944
  };
10819
10945
  DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
10820
- var e_102, _a;
10946
+ var e_103, _a;
10821
10947
  var _this = this;
10822
10948
  var status = response.status;
10823
10949
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10830,12 +10956,12 @@
10830
10956
  _headers[key] = response.headers.get(key);
10831
10957
  }
10832
10958
  }
10833
- catch (e_102_1) { e_102 = { error: e_102_1 }; }
10959
+ catch (e_103_1) { e_103 = { error: e_103_1 }; }
10834
10960
  finally {
10835
10961
  try {
10836
10962
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10837
10963
  }
10838
- finally { if (e_102) throw e_102.error; }
10964
+ finally { if (e_103) throw e_103.error; }
10839
10965
  }
10840
10966
  }
10841
10967
  if (status === 200) {
@@ -10926,7 +11052,7 @@
10926
11052
  }));
10927
11053
  };
10928
11054
  DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
10929
- var e_103, _a;
11055
+ var e_104, _a;
10930
11056
  var _this = this;
10931
11057
  var status = response.status;
10932
11058
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10939,12 +11065,12 @@
10939
11065
  _headers[key] = response.headers.get(key);
10940
11066
  }
10941
11067
  }
10942
- catch (e_103_1) { e_103 = { error: e_103_1 }; }
11068
+ catch (e_104_1) { e_104 = { error: e_104_1 }; }
10943
11069
  finally {
10944
11070
  try {
10945
11071
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10946
11072
  }
10947
- finally { if (e_103) throw e_103.error; }
11073
+ finally { if (e_104) throw e_104.error; }
10948
11074
  }
10949
11075
  }
10950
11076
  if (status === 200) {
@@ -11021,7 +11147,7 @@
11021
11147
  }));
11022
11148
  };
11023
11149
  DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
11024
- var e_104, _a;
11150
+ var e_105, _a;
11025
11151
  var status = response.status;
11026
11152
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11027
11153
  response.error instanceof Blob ? response.error : undefined;
@@ -11033,12 +11159,12 @@
11033
11159
  _headers[key] = response.headers.get(key);
11034
11160
  }
11035
11161
  }
11036
- catch (e_104_1) { e_104 = { error: e_104_1 }; }
11162
+ catch (e_105_1) { e_105 = { error: e_105_1 }; }
11037
11163
  finally {
11038
11164
  try {
11039
11165
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11040
11166
  }
11041
- finally { if (e_104) throw e_104.error; }
11167
+ finally { if (e_105) throw e_105.error; }
11042
11168
  }
11043
11169
  }
11044
11170
  if (status === 200 || status === 206) {
@@ -11107,7 +11233,7 @@
11107
11233
  }));
11108
11234
  };
11109
11235
  DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
11110
- var e_105, _a;
11236
+ var e_106, _a;
11111
11237
  var _this = this;
11112
11238
  var status = response.status;
11113
11239
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11120,12 +11246,12 @@
11120
11246
  _headers[key] = response.headers.get(key);
11121
11247
  }
11122
11248
  }
11123
- catch (e_105_1) { e_105 = { error: e_105_1 }; }
11249
+ catch (e_106_1) { e_106 = { error: e_106_1 }; }
11124
11250
  finally {
11125
11251
  try {
11126
11252
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11127
11253
  }
11128
- finally { if (e_105) throw e_105.error; }
11254
+ finally { if (e_106) throw e_106.error; }
11129
11255
  }
11130
11256
  }
11131
11257
  if (status === 200) {
@@ -11198,7 +11324,7 @@
11198
11324
  }));
11199
11325
  };
11200
11326
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
11201
- var e_106, _a;
11327
+ var e_107, _a;
11202
11328
  var status = response.status;
11203
11329
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11204
11330
  response.error instanceof Blob ? response.error : undefined;
@@ -11210,12 +11336,12 @@
11210
11336
  _headers[key] = response.headers.get(key);
11211
11337
  }
11212
11338
  }
11213
- catch (e_106_1) { e_106 = { error: e_106_1 }; }
11339
+ catch (e_107_1) { e_107 = { error: e_107_1 }; }
11214
11340
  finally {
11215
11341
  try {
11216
11342
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11217
11343
  }
11218
- finally { if (e_106) throw e_106.error; }
11344
+ finally { if (e_107) throw e_107.error; }
11219
11345
  }
11220
11346
  }
11221
11347
  if (status === 201) {
@@ -11245,11 +11371,11 @@
11245
11371
  * @param resourceId (optional) Resource identifier.
11246
11372
  * @param privateDesignId (optional) Private design identifier.
11247
11373
  * @param privateStorageOwner (optional) Private storage owner identifier.
11248
- * @param tenantIdQuery (optional) Tenant identifier.
11374
+ * @param tenantId (optional) Tenant ID.
11249
11375
  * @return Created
11250
11376
  * @deprecated
11251
11377
  */
11252
- DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantIdQuery) {
11378
+ DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantId) {
11253
11379
  var _this = this;
11254
11380
  var url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
11255
11381
  if (resourceId !== undefined && resourceId !== null)
@@ -11258,10 +11384,10 @@
11258
11384
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
11259
11385
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
11260
11386
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
11261
- if (tenantIdQuery === null)
11262
- throw new Error("The parameter 'tenantIdQuery' cannot be null.");
11263
- else if (tenantIdQuery !== undefined)
11264
- url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
11387
+ if (tenantId === null)
11388
+ throw new Error("The parameter 'tenantId' cannot be null.");
11389
+ else if (tenantId !== undefined)
11390
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
11265
11391
  url_ = url_.replace(/[?&]$/, "");
11266
11392
  var options_ = {
11267
11393
  observe: "response",
@@ -11286,7 +11412,7 @@
11286
11412
  }));
11287
11413
  };
11288
11414
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
11289
- var e_107, _a;
11415
+ var e_108, _a;
11290
11416
  var status = response.status;
11291
11417
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11292
11418
  response.error instanceof Blob ? response.error : undefined;
@@ -11298,12 +11424,12 @@
11298
11424
  _headers[key] = response.headers.get(key);
11299
11425
  }
11300
11426
  }
11301
- catch (e_107_1) { e_107 = { error: e_107_1 }; }
11427
+ catch (e_108_1) { e_108 = { error: e_108_1 }; }
11302
11428
  finally {
11303
11429
  try {
11304
11430
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11305
11431
  }
11306
- finally { if (e_107) throw e_107.error; }
11432
+ finally { if (e_108) throw e_108.error; }
11307
11433
  }
11308
11434
  }
11309
11435
  if (status === 201) {
@@ -11391,7 +11517,7 @@
11391
11517
  }));
11392
11518
  };
11393
11519
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
11394
- var e_108, _a;
11520
+ var e_109, _a;
11395
11521
  var _this = this;
11396
11522
  var status = response.status;
11397
11523
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11404,12 +11530,12 @@
11404
11530
  _headers[key] = response.headers.get(key);
11405
11531
  }
11406
11532
  }
11407
- catch (e_108_1) { e_108 = { error: e_108_1 }; }
11533
+ catch (e_109_1) { e_109 = { error: e_109_1 }; }
11408
11534
  finally {
11409
11535
  try {
11410
11536
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11411
11537
  }
11412
- finally { if (e_108) throw e_108.error; }
11538
+ finally { if (e_109) throw e_109.error; }
11413
11539
  }
11414
11540
  }
11415
11541
  if (status === 200) {
@@ -11471,7 +11597,7 @@
11471
11597
  }));
11472
11598
  };
11473
11599
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
11474
- var e_109, _a;
11600
+ var e_110, _a;
11475
11601
  var _this = this;
11476
11602
  var status = response.status;
11477
11603
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11484,12 +11610,12 @@
11484
11610
  _headers[key] = response.headers.get(key);
11485
11611
  }
11486
11612
  }
11487
- catch (e_109_1) { e_109 = { error: e_109_1 }; }
11613
+ catch (e_110_1) { e_110 = { error: e_110_1 }; }
11488
11614
  finally {
11489
11615
  try {
11490
11616
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11491
11617
  }
11492
- finally { if (e_109) throw e_109.error; }
11618
+ finally { if (e_110) throw e_110.error; }
11493
11619
  }
11494
11620
  }
11495
11621
  if (status === 200 || status === 206) {
@@ -11558,7 +11684,7 @@
11558
11684
  }));
11559
11685
  };
11560
11686
  DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
11561
- var e_110, _a;
11687
+ var e_111, _a;
11562
11688
  var _this = this;
11563
11689
  var status = response.status;
11564
11690
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11571,12 +11697,12 @@
11571
11697
  _headers[key] = response.headers.get(key);
11572
11698
  }
11573
11699
  }
11574
- catch (e_110_1) { e_110 = { error: e_110_1 }; }
11700
+ catch (e_111_1) { e_111 = { error: e_111_1 }; }
11575
11701
  finally {
11576
11702
  try {
11577
11703
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11578
11704
  }
11579
- finally { if (e_110) throw e_110.error; }
11705
+ finally { if (e_111) throw e_111.error; }
11580
11706
  }
11581
11707
  }
11582
11708
  if (status === 200) {
@@ -11646,7 +11772,7 @@
11646
11772
  }));
11647
11773
  };
11648
11774
  DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
11649
- var e_111, _a;
11775
+ var e_112, _a;
11650
11776
  var _this = this;
11651
11777
  var status = response.status;
11652
11778
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11659,12 +11785,12 @@
11659
11785
  _headers[key] = response.headers.get(key);
11660
11786
  }
11661
11787
  }
11662
- catch (e_111_1) { e_111 = { error: e_111_1 }; }
11788
+ catch (e_112_1) { e_112 = { error: e_112_1 }; }
11663
11789
  finally {
11664
11790
  try {
11665
11791
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11666
11792
  }
11667
- finally { if (e_111) throw e_111.error; }
11793
+ finally { if (e_112) throw e_112.error; }
11668
11794
  }
11669
11795
  }
11670
11796
  if (status === 200) {
@@ -11733,7 +11859,7 @@
11733
11859
  }));
11734
11860
  };
11735
11861
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
11736
- var e_112, _a;
11862
+ var e_113, _a;
11737
11863
  var _this = this;
11738
11864
  var status = response.status;
11739
11865
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11746,12 +11872,12 @@
11746
11872
  _headers[key] = response.headers.get(key);
11747
11873
  }
11748
11874
  }
11749
- catch (e_112_1) { e_112 = { error: e_112_1 }; }
11875
+ catch (e_113_1) { e_113 = { error: e_113_1 }; }
11750
11876
  finally {
11751
11877
  try {
11752
11878
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11753
11879
  }
11754
- finally { if (e_112) throw e_112.error; }
11880
+ finally { if (e_113) throw e_113.error; }
11755
11881
  }
11756
11882
  }
11757
11883
  if (status === 200 || status === 206) {
@@ -11816,7 +11942,7 @@
11816
11942
  }));
11817
11943
  };
11818
11944
  DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
11819
- var e_113, _a;
11945
+ var e_114, _a;
11820
11946
  var _this = this;
11821
11947
  var status = response.status;
11822
11948
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11829,12 +11955,12 @@
11829
11955
  _headers[key] = response.headers.get(key);
11830
11956
  }
11831
11957
  }
11832
- catch (e_113_1) { e_113 = { error: e_113_1 }; }
11958
+ catch (e_114_1) { e_114 = { error: e_114_1 }; }
11833
11959
  finally {
11834
11960
  try {
11835
11961
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11836
11962
  }
11837
- finally { if (e_113) throw e_113.error; }
11963
+ finally { if (e_114) throw e_114.error; }
11838
11964
  }
11839
11965
  }
11840
11966
  if (status === 200) {
@@ -11897,7 +12023,7 @@
11897
12023
  }));
11898
12024
  };
11899
12025
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
11900
- var e_114, _a;
12026
+ var e_115, _a;
11901
12027
  var _this = this;
11902
12028
  var status = response.status;
11903
12029
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11910,12 +12036,12 @@
11910
12036
  _headers[key] = response.headers.get(key);
11911
12037
  }
11912
12038
  }
11913
- catch (e_114_1) { e_114 = { error: e_114_1 }; }
12039
+ catch (e_115_1) { e_115 = { error: e_115_1 }; }
11914
12040
  finally {
11915
12041
  try {
11916
12042
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11917
12043
  }
11918
- finally { if (e_114) throw e_114.error; }
12044
+ finally { if (e_115) throw e_115.error; }
11919
12045
  }
11920
12046
  }
11921
12047
  if (status === 200) {
@@ -11978,7 +12104,7 @@
11978
12104
  }));
11979
12105
  };
11980
12106
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
11981
- var e_115, _a;
12107
+ var e_116, _a;
11982
12108
  var _this = this;
11983
12109
  var status = response.status;
11984
12110
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11991,12 +12117,12 @@
11991
12117
  _headers[key] = response.headers.get(key);
11992
12118
  }
11993
12119
  }
11994
- catch (e_115_1) { e_115 = { error: e_115_1 }; }
12120
+ catch (e_116_1) { e_116 = { error: e_116_1 }; }
11995
12121
  finally {
11996
12122
  try {
11997
12123
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11998
12124
  }
11999
- finally { if (e_115) throw e_115.error; }
12125
+ finally { if (e_116) throw e_116.error; }
12000
12126
  }
12001
12127
  }
12002
12128
  if (status === 200) {
@@ -12059,7 +12185,7 @@
12059
12185
  }));
12060
12186
  };
12061
12187
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
12062
- var e_116, _a;
12188
+ var e_117, _a;
12063
12189
  var _this = this;
12064
12190
  var status = response.status;
12065
12191
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12072,12 +12198,12 @@
12072
12198
  _headers[key] = response.headers.get(key);
12073
12199
  }
12074
12200
  }
12075
- catch (e_116_1) { e_116 = { error: e_116_1 }; }
12201
+ catch (e_117_1) { e_117 = { error: e_117_1 }; }
12076
12202
  finally {
12077
12203
  try {
12078
12204
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12079
12205
  }
12080
- finally { if (e_116) throw e_116.error; }
12206
+ finally { if (e_117) throw e_117.error; }
12081
12207
  }
12082
12208
  }
12083
12209
  if (status === 200) {
@@ -12211,7 +12337,7 @@
12211
12337
  }));
12212
12338
  };
12213
12339
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
12214
- var e_117, _a;
12340
+ var e_118, _a;
12215
12341
  var _this = this;
12216
12342
  var status = response.status;
12217
12343
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12224,12 +12350,12 @@
12224
12350
  _headers[key] = response.headers.get(key);
12225
12351
  }
12226
12352
  }
12227
- catch (e_117_1) { e_117 = { error: e_117_1 }; }
12353
+ catch (e_118_1) { e_118 = { error: e_118_1 }; }
12228
12354
  finally {
12229
12355
  try {
12230
12356
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12231
12357
  }
12232
- finally { if (e_117) throw e_117.error; }
12358
+ finally { if (e_118) throw e_118.error; }
12233
12359
  }
12234
12360
  }
12235
12361
  if (status === 200 || status === 206) {
@@ -12299,7 +12425,7 @@
12299
12425
  }));
12300
12426
  };
12301
12427
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
12302
- var e_118, _a;
12428
+ var e_119, _a;
12303
12429
  var _this = this;
12304
12430
  var status = response.status;
12305
12431
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12312,12 +12438,12 @@
12312
12438
  _headers[key] = response.headers.get(key);
12313
12439
  }
12314
12440
  }
12315
- catch (e_118_1) { e_118 = { error: e_118_1 }; }
12441
+ catch (e_119_1) { e_119 = { error: e_119_1 }; }
12316
12442
  finally {
12317
12443
  try {
12318
12444
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12319
12445
  }
12320
- finally { if (e_118) throw e_118.error; }
12446
+ finally { if (e_119) throw e_119.error; }
12321
12447
  }
12322
12448
  }
12323
12449
  if (status === 200) {
@@ -12379,7 +12505,7 @@
12379
12505
  }));
12380
12506
  };
12381
12507
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
12382
- var e_119, _a;
12508
+ var e_120, _a;
12383
12509
  var _this = this;
12384
12510
  var status = response.status;
12385
12511
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12392,12 +12518,12 @@
12392
12518
  _headers[key] = response.headers.get(key);
12393
12519
  }
12394
12520
  }
12395
- catch (e_119_1) { e_119 = { error: e_119_1 }; }
12521
+ catch (e_120_1) { e_120 = { error: e_120_1 }; }
12396
12522
  finally {
12397
12523
  try {
12398
12524
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12399
12525
  }
12400
- finally { if (e_119) throw e_119.error; }
12526
+ finally { if (e_120) throw e_120.error; }
12401
12527
  }
12402
12528
  }
12403
12529
  if (status === 200 || status === 206) {
@@ -12470,7 +12596,7 @@
12470
12596
  }));
12471
12597
  };
12472
12598
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
12473
- var e_120, _a;
12599
+ var e_121, _a;
12474
12600
  var _this = this;
12475
12601
  var status = response.status;
12476
12602
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12483,12 +12609,12 @@
12483
12609
  _headers[key] = response.headers.get(key);
12484
12610
  }
12485
12611
  }
12486
- catch (e_120_1) { e_120 = { error: e_120_1 }; }
12612
+ catch (e_121_1) { e_121 = { error: e_121_1 }; }
12487
12613
  finally {
12488
12614
  try {
12489
12615
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12490
12616
  }
12491
- finally { if (e_120) throw e_120.error; }
12617
+ finally { if (e_121) throw e_121.error; }
12492
12618
  }
12493
12619
  }
12494
12620
  if (status === 200 || status === 206) {
@@ -12627,7 +12753,7 @@
12627
12753
  }));
12628
12754
  };
12629
12755
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
12630
- var e_121, _a;
12756
+ var e_122, _a;
12631
12757
  var _this = this;
12632
12758
  var status = response.status;
12633
12759
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12640,12 +12766,12 @@
12640
12766
  _headers[key] = response.headers.get(key);
12641
12767
  }
12642
12768
  }
12643
- catch (e_121_1) { e_121 = { error: e_121_1 }; }
12769
+ catch (e_122_1) { e_122 = { error: e_122_1 }; }
12644
12770
  finally {
12645
12771
  try {
12646
12772
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12647
12773
  }
12648
- finally { if (e_121) throw e_121.error; }
12774
+ finally { if (e_122) throw e_122.error; }
12649
12775
  }
12650
12776
  }
12651
12777
  if (status === 200 || status === 206) {
@@ -12718,7 +12844,7 @@
12718
12844
  }));
12719
12845
  };
12720
12846
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
12721
- var e_122, _a;
12847
+ var e_123, _a;
12722
12848
  var _this = this;
12723
12849
  var status = response.status;
12724
12850
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12731,12 +12857,12 @@
12731
12857
  _headers[key] = response.headers.get(key);
12732
12858
  }
12733
12859
  }
12734
- catch (e_122_1) { e_122 = { error: e_122_1 }; }
12860
+ catch (e_123_1) { e_123 = { error: e_123_1 }; }
12735
12861
  finally {
12736
12862
  try {
12737
12863
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12738
12864
  }
12739
- finally { if (e_122) throw e_122.error; }
12865
+ finally { if (e_123) throw e_123.error; }
12740
12866
  }
12741
12867
  }
12742
12868
  if (status === 200 || status === 206) {
@@ -12810,7 +12936,7 @@
12810
12936
  }));
12811
12937
  };
12812
12938
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
12813
- var e_123, _a;
12939
+ var e_124, _a;
12814
12940
  var _this = this;
12815
12941
  var status = response.status;
12816
12942
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12823,12 +12949,12 @@
12823
12949
  _headers[key] = response.headers.get(key);
12824
12950
  }
12825
12951
  }
12826
- catch (e_123_1) { e_123 = { error: e_123_1 }; }
12952
+ catch (e_124_1) { e_124 = { error: e_124_1 }; }
12827
12953
  finally {
12828
12954
  try {
12829
12955
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12830
12956
  }
12831
- finally { if (e_123) throw e_123.error; }
12957
+ finally { if (e_124) throw e_124.error; }
12832
12958
  }
12833
12959
  }
12834
12960
  if (status === 200) {
@@ -12891,7 +13017,7 @@
12891
13017
  }));
12892
13018
  };
12893
13019
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
12894
- var e_124, _a;
13020
+ var e_125, _a;
12895
13021
  var _this = this;
12896
13022
  var status = response.status;
12897
13023
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12904,12 +13030,12 @@
12904
13030
  _headers[key] = response.headers.get(key);
12905
13031
  }
12906
13032
  }
12907
- catch (e_124_1) { e_124 = { error: e_124_1 }; }
13033
+ catch (e_125_1) { e_125 = { error: e_125_1 }; }
12908
13034
  finally {
12909
13035
  try {
12910
13036
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12911
13037
  }
12912
- finally { if (e_124) throw e_124.error; }
13038
+ finally { if (e_125) throw e_125.error; }
12913
13039
  }
12914
13040
  }
12915
13041
  if (status === 200) {
@@ -12972,7 +13098,7 @@
12972
13098
  }));
12973
13099
  };
12974
13100
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
12975
- var e_125, _a;
13101
+ var e_126, _a;
12976
13102
  var _this = this;
12977
13103
  var status = response.status;
12978
13104
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12985,12 +13111,12 @@
12985
13111
  _headers[key] = response.headers.get(key);
12986
13112
  }
12987
13113
  }
12988
- catch (e_125_1) { e_125 = { error: e_125_1 }; }
13114
+ catch (e_126_1) { e_126 = { error: e_126_1 }; }
12989
13115
  finally {
12990
13116
  try {
12991
13117
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12992
13118
  }
12993
- finally { if (e_125) throw e_125.error; }
13119
+ finally { if (e_126) throw e_126.error; }
12994
13120
  }
12995
13121
  }
12996
13122
  if (status === 200) {
@@ -13053,7 +13179,7 @@
13053
13179
  }));
13054
13180
  };
13055
13181
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
13056
- var e_126, _a;
13182
+ var e_127, _a;
13057
13183
  var _this = this;
13058
13184
  var status = response.status;
13059
13185
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13066,12 +13192,12 @@
13066
13192
  _headers[key] = response.headers.get(key);
13067
13193
  }
13068
13194
  }
13069
- catch (e_126_1) { e_126 = { error: e_126_1 }; }
13195
+ catch (e_127_1) { e_127 = { error: e_127_1 }; }
13070
13196
  finally {
13071
13197
  try {
13072
13198
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13073
13199
  }
13074
- finally { if (e_126) throw e_126.error; }
13200
+ finally { if (e_127) throw e_127.error; }
13075
13201
  }
13076
13202
  }
13077
13203
  if (status === 200) {
@@ -13134,7 +13260,7 @@
13134
13260
  }));
13135
13261
  };
13136
13262
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
13137
- var e_127, _a;
13263
+ var e_128, _a;
13138
13264
  var _this = this;
13139
13265
  var status = response.status;
13140
13266
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13147,12 +13273,12 @@
13147
13273
  _headers[key] = response.headers.get(key);
13148
13274
  }
13149
13275
  }
13150
- catch (e_127_1) { e_127 = { error: e_127_1 }; }
13276
+ catch (e_128_1) { e_128 = { error: e_128_1 }; }
13151
13277
  finally {
13152
13278
  try {
13153
13279
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13154
13280
  }
13155
- finally { if (e_127) throw e_127.error; }
13281
+ finally { if (e_128) throw e_128.error; }
13156
13282
  }
13157
13283
  }
13158
13284
  if (status === 200) {
@@ -13215,7 +13341,7 @@
13215
13341
  }));
13216
13342
  };
13217
13343
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
13218
- var e_128, _a;
13344
+ var e_129, _a;
13219
13345
  var _this = this;
13220
13346
  var status = response.status;
13221
13347
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13228,12 +13354,12 @@
13228
13354
  _headers[key] = response.headers.get(key);
13229
13355
  }
13230
13356
  }
13231
- catch (e_128_1) { e_128 = { error: e_128_1 }; }
13357
+ catch (e_129_1) { e_129 = { error: e_129_1 }; }
13232
13358
  finally {
13233
13359
  try {
13234
13360
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13235
13361
  }
13236
- finally { if (e_128) throw e_128.error; }
13362
+ finally { if (e_129) throw e_129.error; }
13237
13363
  }
13238
13364
  }
13239
13365
  if (status === 200) {
@@ -13296,7 +13422,7 @@
13296
13422
  }));
13297
13423
  };
13298
13424
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
13299
- var e_129, _a;
13425
+ var e_130, _a;
13300
13426
  var _this = this;
13301
13427
  var status = response.status;
13302
13428
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13309,12 +13435,12 @@
13309
13435
  _headers[key] = response.headers.get(key);
13310
13436
  }
13311
13437
  }
13312
- catch (e_129_1) { e_129 = { error: e_129_1 }; }
13438
+ catch (e_130_1) { e_130 = { error: e_130_1 }; }
13313
13439
  finally {
13314
13440
  try {
13315
13441
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13316
13442
  }
13317
- finally { if (e_129) throw e_129.error; }
13443
+ finally { if (e_130) throw e_130.error; }
13318
13444
  }
13319
13445
  }
13320
13446
  if (status === 200) {
@@ -13377,7 +13503,7 @@
13377
13503
  }));
13378
13504
  };
13379
13505
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
13380
- var e_130, _a;
13506
+ var e_131, _a;
13381
13507
  var _this = this;
13382
13508
  var status = response.status;
13383
13509
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13390,12 +13516,12 @@
13390
13516
  _headers[key] = response.headers.get(key);
13391
13517
  }
13392
13518
  }
13393
- catch (e_130_1) { e_130 = { error: e_130_1 }; }
13519
+ catch (e_131_1) { e_131 = { error: e_131_1 }; }
13394
13520
  finally {
13395
13521
  try {
13396
13522
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13397
13523
  }
13398
- finally { if (e_130) throw e_130.error; }
13524
+ finally { if (e_131) throw e_131.error; }
13399
13525
  }
13400
13526
  }
13401
13527
  if (status === 200) {
@@ -13458,7 +13584,7 @@
13458
13584
  }));
13459
13585
  };
13460
13586
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
13461
- var e_131, _a;
13587
+ var e_132, _a;
13462
13588
  var _this = this;
13463
13589
  var status = response.status;
13464
13590
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13471,12 +13597,12 @@
13471
13597
  _headers[key] = response.headers.get(key);
13472
13598
  }
13473
13599
  }
13474
- catch (e_131_1) { e_131 = { error: e_131_1 }; }
13600
+ catch (e_132_1) { e_132 = { error: e_132_1 }; }
13475
13601
  finally {
13476
13602
  try {
13477
13603
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13478
13604
  }
13479
- finally { if (e_131) throw e_131.error; }
13605
+ finally { if (e_132) throw e_132.error; }
13480
13606
  }
13481
13607
  }
13482
13608
  if (status === 200) {
@@ -13539,7 +13665,7 @@
13539
13665
  }));
13540
13666
  };
13541
13667
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
13542
- var e_132, _a;
13668
+ var e_133, _a;
13543
13669
  var _this = this;
13544
13670
  var status = response.status;
13545
13671
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13552,12 +13678,12 @@
13552
13678
  _headers[key] = response.headers.get(key);
13553
13679
  }
13554
13680
  }
13555
- catch (e_132_1) { e_132 = { error: e_132_1 }; }
13681
+ catch (e_133_1) { e_133 = { error: e_133_1 }; }
13556
13682
  finally {
13557
13683
  try {
13558
13684
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13559
13685
  }
13560
- finally { if (e_132) throw e_132.error; }
13686
+ finally { if (e_133) throw e_133.error; }
13561
13687
  }
13562
13688
  }
13563
13689
  if (status === 200) {
@@ -13620,7 +13746,7 @@
13620
13746
  }));
13621
13747
  };
13622
13748
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
13623
- var e_133, _a;
13749
+ var e_134, _a;
13624
13750
  var _this = this;
13625
13751
  var status = response.status;
13626
13752
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13633,12 +13759,12 @@
13633
13759
  _headers[key] = response.headers.get(key);
13634
13760
  }
13635
13761
  }
13636
- catch (e_133_1) { e_133 = { error: e_133_1 }; }
13762
+ catch (e_134_1) { e_134 = { error: e_134_1 }; }
13637
13763
  finally {
13638
13764
  try {
13639
13765
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13640
13766
  }
13641
- finally { if (e_133) throw e_133.error; }
13767
+ finally { if (e_134) throw e_134.error; }
13642
13768
  }
13643
13769
  }
13644
13770
  if (status === 200) {
@@ -13713,6 +13839,16 @@
13713
13839
  ItemType["Clipart"] = "Clipart";
13714
13840
  ItemType["Group"] = "Group";
13715
13841
  })(exports.ItemType || (exports.ItemType = {}));
13842
+ (function (MockupPreviewFitMode) {
13843
+ MockupPreviewFitMode["Fit"] = "Fit";
13844
+ MockupPreviewFitMode["Shrink"] = "Shrink";
13845
+ MockupPreviewFitMode["Resize"] = "Resize";
13846
+ MockupPreviewFitMode["Fill"] = "Fill";
13847
+ })(exports.MockupPreviewFitMode || (exports.MockupPreviewFitMode = {}));
13848
+ (function (MockupPreviewFormat) {
13849
+ MockupPreviewFormat["Jpeg"] = "Jpeg";
13850
+ MockupPreviewFormat["Png"] = "Png";
13851
+ })(exports.MockupPreviewFormat || (exports.MockupPreviewFormat = {}));
13716
13852
  (function (PlaceholderItemContentType) {
13717
13853
  PlaceholderItemContentType["Image"] = "Image";
13718
13854
  })(exports.PlaceholderItemContentType || (exports.PlaceholderItemContentType = {}));
@@ -13850,6 +13986,7 @@
13850
13986
  exports.DesignAtomsApiModule = DesignAtomsApiModule;
13851
13987
  exports.DesignAtomsCompatibilityApiClient = DesignAtomsCompatibilityApiClient;
13852
13988
  exports.DesignAtomsImagesApiClient = DesignAtomsImagesApiClient;
13989
+ exports.DesignAtomsMockups2dApiClient = DesignAtomsMockups2dApiClient;
13853
13990
  exports.DesignAtomsMockups3dApiClient = DesignAtomsMockups3dApiClient;
13854
13991
  exports.DesignAtomsPalettesApiClient = DesignAtomsPalettesApiClient;
13855
13992
  exports.DesignAtomsPrintProductApiClient = DesignAtomsPrintProductApiClient;