@aurigma/ng-design-atoms-api-client 2.74.1 → 2.77.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,348 @@
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; }
4396
+ }
4397
+ }
4398
+ if (status === 200) {
4399
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4400
+ var result200 = null;
4401
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4402
+ return rxjs.of(result200);
4403
+ }));
4404
+ }
4405
+ else if (status === 404) {
4406
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4407
+ var result404 = null;
4408
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4409
+ return throwException("Not Found", status, _responseText, _headers, result404);
4410
+ }));
4411
+ }
4412
+ else if (status === 409) {
4413
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4414
+ var result409 = null;
4415
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4416
+ return throwException("Conflict", status, _responseText, _headers, result409);
4417
+ }));
4418
+ }
4419
+ else if (status === 401) {
4420
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4421
+ return throwException("Unauthorized", status, _responseText, _headers);
4422
+ }));
4423
+ }
4424
+ else if (status === 403) {
4425
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4426
+ return throwException("Forbidden", status, _responseText, _headers);
4427
+ }));
4428
+ }
4429
+ else if (status !== 200 && status !== 204) {
4430
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4431
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4432
+ }));
4433
+ }
4434
+ return rxjs.of(null);
4435
+ };
4436
+ /**
4437
+ * Returns a list of print-product container descriptions of the specified design file.
4438
+ * @param id Design identifier.
4439
+ * @param index (optional)
4440
+ * @param surfaceId (optional) Print-product surface identifier.
4441
+ * @param privateStorageOwner (optional) Private storage owner identifier.
4442
+ * @param tenantId (optional) Tenant ID.
4443
+ * @param body (optional)
4444
+ * @return Success
4445
+ */
4446
+ DesignAtomsPrintProductApiClient.prototype.addDesignSurfaceContainer = function (id, index, surfaceId, privateStorageOwner, tenantId, body) {
4447
+ var _this = this;
4448
+ var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers?";
4449
+ if (id === undefined || id === null)
4450
+ throw new Error("The parameter 'id' must be defined.");
4451
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
4452
+ if (index !== undefined && index !== null)
4453
+ url_ += "index=" + encodeURIComponent("" + index) + "&";
4454
+ if (surfaceId !== undefined && surfaceId !== null)
4455
+ url_ += "surfaceId=" + encodeURIComponent("" + surfaceId) + "&";
4456
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
4457
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
4458
+ if (tenantId === null)
4459
+ throw new Error("The parameter 'tenantId' cannot be null.");
4460
+ else if (tenantId !== undefined)
4461
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
4462
+ url_ = url_.replace(/[?&]$/, "");
4463
+ var content_ = JSON.stringify(body);
4464
+ var options_ = {
4465
+ body: content_,
4466
+ observe: "response",
4467
+ responseType: "blob",
4468
+ headers: new i1.HttpHeaders({
4469
+ "Content-Type": "application/json",
4470
+ "Accept": "application/json"
4471
+ })
4472
+ };
4473
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
4474
+ return _this.http.request("post", url_, transformedOptions_);
4475
+ })).pipe(operators.mergeMap(function (response_) {
4476
+ return _this.transformResult(url_, response_, function (r) { return _this.processAddDesignSurfaceContainer(r); });
4477
+ })).pipe(operators.catchError(function (response_) {
4478
+ if (response_ instanceof i1.HttpResponseBase) {
4479
+ try {
4480
+ return _this.transformResult(url_, response_, function (r) { return _this.processAddDesignSurfaceContainer(r); });
4481
+ }
4482
+ catch (e) {
4483
+ return rxjs.throwError(e);
4484
+ }
4485
+ }
4486
+ else
4487
+ return rxjs.throwError(response_);
4488
+ }));
4489
+ };
4490
+ DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceContainer = function (response) {
4491
+ var e_43, _a;
4492
+ var _this = this;
4493
+ var status = response.status;
4494
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
4495
+ response.error instanceof Blob ? response.error : undefined;
4496
+ var _headers = {};
4497
+ if (response.headers) {
4498
+ try {
4499
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
4500
+ var key = _c.value;
4501
+ _headers[key] = response.headers.get(key);
4502
+ }
4503
+ }
4504
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4505
+ finally {
4506
+ try {
4507
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4508
+ }
4509
+ finally { if (e_43) throw e_43.error; }
4510
+ }
4511
+ }
4512
+ if (status === 200) {
4513
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4514
+ var result200 = null;
4515
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4516
+ return rxjs.of(result200);
4517
+ }));
4518
+ }
4519
+ else if (status === 404) {
4520
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4521
+ var result404 = null;
4522
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4523
+ return throwException("Not Found", status, _responseText, _headers, result404);
4524
+ }));
4525
+ }
4526
+ else if (status === 409) {
4527
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4528
+ var result409 = null;
4529
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4530
+ return throwException("Conflict", status, _responseText, _headers, result409);
4531
+ }));
4532
+ }
4533
+ else if (status === 401) {
4534
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4535
+ return throwException("Unauthorized", status, _responseText, _headers);
4536
+ }));
4537
+ }
4538
+ else if (status === 403) {
4539
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4540
+ return throwException("Forbidden", status, _responseText, _headers);
4541
+ }));
4542
+ }
4543
+ else if (status !== 200 && status !== 204) {
4544
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4545
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4546
+ }));
4547
+ }
4548
+ return rxjs.of(null);
4549
+ };
4550
+ /**
4551
+ * Returns a print-product container parameters of the specified design file.
4552
+ * @param id Design identifier.
4553
+ * @param containerId Print-product container identifier.
4554
+ * @param privateStorageOwner (optional) Private storage owner identifier.
4555
+ * @param tenantId (optional) Tenant ID.
4556
+ * @return Success
4557
+ */
4558
+ DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceContainer = function (id, containerId, privateStorageOwner, tenantId) {
4559
+ var _this = this;
4560
+ var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers/{containerId}?";
4561
+ if (id === undefined || id === null)
4562
+ throw new Error("The parameter 'id' must be defined.");
4563
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
4564
+ if (containerId === undefined || containerId === null)
4565
+ throw new Error("The parameter 'containerId' must be defined.");
4566
+ url_ = url_.replace("{containerId}", encodeURIComponent("" + containerId));
4567
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
4568
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
4569
+ if (tenantId === null)
4570
+ throw new Error("The parameter 'tenantId' cannot be null.");
4571
+ else if (tenantId !== undefined)
4572
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
4573
+ url_ = url_.replace(/[?&]$/, "");
4574
+ var options_ = {
4575
+ observe: "response",
4576
+ responseType: "blob",
4577
+ headers: new i1.HttpHeaders({
4578
+ "Accept": "application/json"
4579
+ })
4580
+ };
4581
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
4582
+ return _this.http.request("get", url_, transformedOptions_);
4583
+ })).pipe(operators.mergeMap(function (response_) {
4584
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignSurfaceContainer(r); });
4585
+ })).pipe(operators.catchError(function (response_) {
4586
+ if (response_ instanceof i1.HttpResponseBase) {
4587
+ try {
4588
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignSurfaceContainer(r); });
4589
+ }
4590
+ catch (e) {
4591
+ return rxjs.throwError(e);
4592
+ }
4593
+ }
4594
+ else
4595
+ return rxjs.throwError(response_);
4596
+ }));
4597
+ };
4598
+ DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceContainer = function (response) {
4599
+ var e_44, _a;
4600
+ var _this = this;
4601
+ var status = response.status;
4602
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
4603
+ response.error instanceof Blob ? response.error : undefined;
4604
+ var _headers = {};
4605
+ if (response.headers) {
4606
+ try {
4607
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
4608
+ var key = _c.value;
4609
+ _headers[key] = response.headers.get(key);
4610
+ }
4611
+ }
4612
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4613
+ finally {
4614
+ try {
4615
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4616
+ }
4617
+ finally { if (e_44) throw e_44.error; }
4618
+ }
4619
+ }
4620
+ if (status === 200) {
4621
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4622
+ var result200 = null;
4623
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4624
+ return rxjs.of(result200);
4625
+ }));
4626
+ }
4627
+ else if (status === 404) {
4628
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4629
+ var result404 = null;
4630
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4631
+ return throwException("Not Found", status, _responseText, _headers, result404);
4632
+ }));
4633
+ }
4634
+ else if (status === 409) {
4635
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4636
+ var result409 = null;
4637
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4638
+ return throwException("Conflict", status, _responseText, _headers, result409);
4639
+ }));
4640
+ }
4641
+ else if (status === 401) {
4642
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4643
+ return throwException("Unauthorized", status, _responseText, _headers);
4644
+ }));
4645
+ }
4646
+ else if (status === 403) {
4647
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4648
+ return throwException("Forbidden", status, _responseText, _headers);
4649
+ }));
4650
+ }
4651
+ else if (status !== 200 && status !== 204) {
4652
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4653
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4654
+ }));
4655
+ }
4656
+ return rxjs.of(null);
4657
+ };
4658
+ /**
4659
+ * Returns a list of print-product container descriptions of the specified design file.
4660
+ * @param id Design identifier.
4661
+ * @param surfaceId (optional) Print-product surface identifier.
4662
+ * @param privateStorageOwner (optional) Private storage owner identifier.
4663
+ * @param tenantId (optional) Tenant ID.
4664
+ * @param body (optional)
4665
+ * @return Success
4666
+ */
4667
+ DesignAtomsPrintProductApiClient.prototype.updateDesignSurfaceContainer = function (id, containerId, surfaceId, privateStorageOwner, tenantId, body) {
4668
+ var _this = this;
4669
+ var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/print-product/containers/{containerId}?";
4670
+ if (id === undefined || id === null)
4671
+ throw new Error("The parameter 'id' must be defined.");
4672
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
4673
+ if (containerId === undefined || containerId === null)
4674
+ throw new Error("The parameter 'containerId' must be defined.");
4675
+ url_ = url_.replace("{containerId}", encodeURIComponent("" + containerId));
4676
+ if (surfaceId !== undefined && surfaceId !== null)
4677
+ url_ += "surfaceId=" + encodeURIComponent("" + surfaceId) + "&";
4678
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
4679
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
4680
+ if (tenantId === null)
4681
+ throw new Error("The parameter 'tenantId' cannot be null.");
4682
+ else if (tenantId !== undefined)
4683
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
4684
+ url_ = url_.replace(/[?&]$/, "");
4685
+ var content_ = JSON.stringify(body);
4686
+ var options_ = {
4687
+ body: content_,
4688
+ observe: "response",
4689
+ responseType: "blob",
4690
+ headers: new i1.HttpHeaders({
4691
+ "Content-Type": "application/json",
4692
+ "Accept": "application/json"
4693
+ })
4694
+ };
4695
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
4696
+ return _this.http.request("put", url_, transformedOptions_);
4697
+ })).pipe(operators.mergeMap(function (response_) {
4698
+ return _this.transformResult(url_, response_, function (r) { return _this.processUpdateDesignSurfaceContainer(r); });
4699
+ })).pipe(operators.catchError(function (response_) {
4700
+ if (response_ instanceof i1.HttpResponseBase) {
4701
+ try {
4702
+ return _this.transformResult(url_, response_, function (r) { return _this.processUpdateDesignSurfaceContainer(r); });
4703
+ }
4704
+ catch (e) {
4705
+ return rxjs.throwError(e);
4706
+ }
4707
+ }
4708
+ else
4709
+ return rxjs.throwError(response_);
4710
+ }));
4711
+ };
4712
+ DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceContainer = function (response) {
4713
+ var e_45, _a;
4714
+ var _this = this;
4715
+ var status = response.status;
4716
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
4717
+ response.error instanceof Blob ? response.error : undefined;
4718
+ var _headers = {};
4719
+ if (response.headers) {
4720
+ try {
4721
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
4722
+ var key = _c.value;
4723
+ _headers[key] = response.headers.get(key);
4724
+ }
4725
+ }
4726
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4727
+ finally {
4728
+ try {
4729
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4730
+ }
4731
+ finally { if (e_45) throw e_45.error; }
4270
4732
  }
4271
4733
  }
4272
4734
  if (status === 200) {
@@ -4354,7 +4816,7 @@
4354
4816
  }));
4355
4817
  };
4356
4818
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceContainer = function (response) {
4357
- var e_42, _a;
4819
+ var e_46, _a;
4358
4820
  var _this = this;
4359
4821
  var status = response.status;
4360
4822
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4367,12 +4829,12 @@
4367
4829
  _headers[key] = response.headers.get(key);
4368
4830
  }
4369
4831
  }
4370
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
4832
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4371
4833
  finally {
4372
4834
  try {
4373
4835
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4374
4836
  }
4375
- finally { if (e_42) throw e_42.error; }
4837
+ finally { if (e_46) throw e_46.error; }
4376
4838
  }
4377
4839
  }
4378
4840
  if (status === 204) {
@@ -4460,7 +4922,7 @@
4460
4922
  }));
4461
4923
  };
4462
4924
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceContainerModel = function (response) {
4463
- var e_43, _a;
4925
+ var e_47, _a;
4464
4926
  var _this = this;
4465
4927
  var status = response.status;
4466
4928
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4473,12 +4935,12 @@
4473
4935
  _headers[key] = response.headers.get(key);
4474
4936
  }
4475
4937
  }
4476
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4938
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4477
4939
  finally {
4478
4940
  try {
4479
4941
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4480
4942
  }
4481
- finally { if (e_43) throw e_43.error; }
4943
+ finally { if (e_47) throw e_47.error; }
4482
4944
  }
4483
4945
  }
4484
4946
  if (status === 200) {
@@ -4572,7 +5034,7 @@
4572
5034
  }));
4573
5035
  };
4574
5036
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceContainerModel = function (response) {
4575
- var e_44, _a;
5037
+ var e_48, _a;
4576
5038
  var _this = this;
4577
5039
  var status = response.status;
4578
5040
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4585,12 +5047,12 @@
4585
5047
  _headers[key] = response.headers.get(key);
4586
5048
  }
4587
5049
  }
4588
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
5050
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4589
5051
  finally {
4590
5052
  try {
4591
5053
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4592
5054
  }
4593
- finally { if (e_44) throw e_44.error; }
5055
+ finally { if (e_48) throw e_48.error; }
4594
5056
  }
4595
5057
  }
4596
5058
  if (status === 200) {
@@ -4704,7 +5166,7 @@
4704
5166
  }));
4705
5167
  };
4706
5168
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceContainerModel = function (response) {
4707
- var e_45, _a;
5169
+ var e_49, _a;
4708
5170
  var _this = this;
4709
5171
  var status = response.status;
4710
5172
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4717,12 +5179,12 @@
4717
5179
  _headers[key] = response.headers.get(key);
4718
5180
  }
4719
5181
  }
4720
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
5182
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
4721
5183
  finally {
4722
5184
  try {
4723
5185
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4724
5186
  }
4725
- finally { if (e_45) throw e_45.error; }
5187
+ finally { if (e_49) throw e_49.error; }
4726
5188
  }
4727
5189
  }
4728
5190
  if (status === 200) {
@@ -4824,7 +5286,7 @@
4824
5286
  }));
4825
5287
  };
4826
5288
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItems = function (response) {
4827
- var e_46, _a;
5289
+ var e_50, _a;
4828
5290
  var _this = this;
4829
5291
  var status = response.status;
4830
5292
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4837,12 +5299,12 @@
4837
5299
  _headers[key] = response.headers.get(key);
4838
5300
  }
4839
5301
  }
4840
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
5302
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
4841
5303
  finally {
4842
5304
  try {
4843
5305
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4844
5306
  }
4845
- finally { if (e_46) throw e_46.error; }
5307
+ finally { if (e_50) throw e_50.error; }
4846
5308
  }
4847
5309
  }
4848
5310
  if (status === 200) {
@@ -4923,7 +5385,7 @@
4923
5385
  }));
4924
5386
  };
4925
5387
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceItem = function (response) {
4926
- var e_47, _a;
5388
+ var e_51, _a;
4927
5389
  var _this = this;
4928
5390
  var status = response.status;
4929
5391
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4936,12 +5398,12 @@
4936
5398
  _headers[key] = response.headers.get(key);
4937
5399
  }
4938
5400
  }
4939
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
5401
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
4940
5402
  finally {
4941
5403
  try {
4942
5404
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4943
5405
  }
4944
- finally { if (e_47) throw e_47.error; }
5406
+ finally { if (e_51) throw e_51.error; }
4945
5407
  }
4946
5408
  }
4947
5409
  if (status === 204) {
@@ -5029,7 +5491,7 @@
5029
5491
  }));
5030
5492
  };
5031
5493
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItemModel = function (response) {
5032
- var e_48, _a;
5494
+ var e_52, _a;
5033
5495
  var _this = this;
5034
5496
  var status = response.status;
5035
5497
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5042,12 +5504,12 @@
5042
5504
  _headers[key] = response.headers.get(key);
5043
5505
  }
5044
5506
  }
5045
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
5507
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5046
5508
  finally {
5047
5509
  try {
5048
5510
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5049
5511
  }
5050
- finally { if (e_48) throw e_48.error; }
5512
+ finally { if (e_52) throw e_52.error; }
5051
5513
  }
5052
5514
  }
5053
5515
  if (status === 200) {
@@ -5141,7 +5603,7 @@
5141
5603
  }));
5142
5604
  };
5143
5605
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceItemModel = function (response) {
5144
- var e_49, _a;
5606
+ var e_53, _a;
5145
5607
  var _this = this;
5146
5608
  var status = response.status;
5147
5609
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5154,12 +5616,12 @@
5154
5616
  _headers[key] = response.headers.get(key);
5155
5617
  }
5156
5618
  }
5157
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5619
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5158
5620
  finally {
5159
5621
  try {
5160
5622
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5161
5623
  }
5162
- finally { if (e_49) throw e_49.error; }
5624
+ finally { if (e_53) throw e_53.error; }
5163
5625
  }
5164
5626
  }
5165
5627
  if (status === 200) {
@@ -5273,7 +5735,7 @@
5273
5735
  }));
5274
5736
  };
5275
5737
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceItemModel = function (response) {
5276
- var e_50, _a;
5738
+ var e_54, _a;
5277
5739
  var _this = this;
5278
5740
  var status = response.status;
5279
5741
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5286,12 +5748,12 @@
5286
5748
  _headers[key] = response.headers.get(key);
5287
5749
  }
5288
5750
  }
5289
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5751
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5290
5752
  finally {
5291
5753
  try {
5292
5754
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5293
5755
  }
5294
- finally { if (e_50) throw e_50.error; }
5756
+ finally { if (e_54) throw e_54.error; }
5295
5757
  }
5296
5758
  }
5297
5759
  if (status === 200) {
@@ -5384,7 +5846,7 @@
5384
5846
  }));
5385
5847
  };
5386
5848
  DesignAtomsPrintProductApiClient.prototype.processGetDesignProductModel = function (response) {
5387
- var e_51, _a;
5849
+ var e_55, _a;
5388
5850
  var _this = this;
5389
5851
  var status = response.status;
5390
5852
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5397,12 +5859,12 @@
5397
5859
  _headers[key] = response.headers.get(key);
5398
5860
  }
5399
5861
  }
5400
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
5862
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5401
5863
  finally {
5402
5864
  try {
5403
5865
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5404
5866
  }
5405
- finally { if (e_51) throw e_51.error; }
5867
+ finally { if (e_55) throw e_55.error; }
5406
5868
  }
5407
5869
  }
5408
5870
  if (status === 200) {
@@ -5484,7 +5946,7 @@
5484
5946
  }));
5485
5947
  };
5486
5948
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignProductModel = function (response) {
5487
- var e_52, _a;
5949
+ var e_56, _a;
5488
5950
  var _this = this;
5489
5951
  var status = response.status;
5490
5952
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5497,12 +5959,12 @@
5497
5959
  _headers[key] = response.headers.get(key);
5498
5960
  }
5499
5961
  }
5500
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
5962
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5501
5963
  finally {
5502
5964
  try {
5503
5965
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5504
5966
  }
5505
- finally { if (e_52) throw e_52.error; }
5967
+ finally { if (e_56) throw e_56.error; }
5506
5968
  }
5507
5969
  }
5508
5970
  if (status === 204) {
@@ -5582,7 +6044,7 @@
5582
6044
  }));
5583
6045
  };
5584
6046
  DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreas = function (response) {
5585
- var e_53, _a;
6047
+ var e_57, _a;
5586
6048
  var _this = this;
5587
6049
  var status = response.status;
5588
6050
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5595,12 +6057,12 @@
5595
6057
  _headers[key] = response.headers.get(key);
5596
6058
  }
5597
6059
  }
5598
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
6060
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5599
6061
  finally {
5600
6062
  try {
5601
6063
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5602
6064
  }
5603
- finally { if (e_53) throw e_53.error; }
6065
+ finally { if (e_57) throw e_57.error; }
5604
6066
  }
5605
6067
  }
5606
6068
  if (status === 200) {
@@ -5684,7 +6146,7 @@
5684
6146
  }));
5685
6147
  };
5686
6148
  DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintArea = function (response) {
5687
- var e_54, _a;
6149
+ var e_58, _a;
5688
6150
  var _this = this;
5689
6151
  var status = response.status;
5690
6152
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5697,12 +6159,12 @@
5697
6159
  _headers[key] = response.headers.get(key);
5698
6160
  }
5699
6161
  }
5700
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
6162
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
5701
6163
  finally {
5702
6164
  try {
5703
6165
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5704
6166
  }
5705
- finally { if (e_54) throw e_54.error; }
6167
+ finally { if (e_58) throw e_58.error; }
5706
6168
  }
5707
6169
  }
5708
6170
  if (status === 200) {
@@ -5803,7 +6265,7 @@
5803
6265
  }));
5804
6266
  };
5805
6267
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintArea = function (response) {
5806
- var e_55, _a;
6268
+ var e_59, _a;
5807
6269
  var _this = this;
5808
6270
  var status = response.status;
5809
6271
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5816,12 +6278,12 @@
5816
6278
  _headers[key] = response.headers.get(key);
5817
6279
  }
5818
6280
  }
5819
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
6281
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
5820
6282
  finally {
5821
6283
  try {
5822
6284
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5823
6285
  }
5824
- finally { if (e_55) throw e_55.error; }
6286
+ finally { if (e_59) throw e_59.error; }
5825
6287
  }
5826
6288
  }
5827
6289
  if (status === 200) {
@@ -5916,7 +6378,7 @@
5916
6378
  }));
5917
6379
  };
5918
6380
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignPrintArea = function (response) {
5919
- var e_56, _a;
6381
+ var e_60, _a;
5920
6382
  var _this = this;
5921
6383
  var status = response.status;
5922
6384
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5929,12 +6391,12 @@
5929
6391
  _headers[key] = response.headers.get(key);
5930
6392
  }
5931
6393
  }
5932
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
6394
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
5933
6395
  finally {
5934
6396
  try {
5935
6397
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5936
6398
  }
5937
- finally { if (e_56) throw e_56.error; }
6399
+ finally { if (e_60) throw e_60.error; }
5938
6400
  }
5939
6401
  }
5940
6402
  if (status === 204) {
@@ -6022,7 +6484,7 @@
6022
6484
  }));
6023
6485
  };
6024
6486
  DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreaModel = function (response) {
6025
- var e_57, _a;
6487
+ var e_61, _a;
6026
6488
  var _this = this;
6027
6489
  var status = response.status;
6028
6490
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6035,12 +6497,12 @@
6035
6497
  _headers[key] = response.headers.get(key);
6036
6498
  }
6037
6499
  }
6038
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
6500
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6039
6501
  finally {
6040
6502
  try {
6041
6503
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6042
6504
  }
6043
- finally { if (e_57) throw e_57.error; }
6505
+ finally { if (e_61) throw e_61.error; }
6044
6506
  }
6045
6507
  }
6046
6508
  if (status === 200) {
@@ -6134,7 +6596,7 @@
6134
6596
  }));
6135
6597
  };
6136
6598
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintAreaModel = function (response) {
6137
- var e_58, _a;
6599
+ var e_62, _a;
6138
6600
  var _this = this;
6139
6601
  var status = response.status;
6140
6602
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6147,12 +6609,12 @@
6147
6609
  _headers[key] = response.headers.get(key);
6148
6610
  }
6149
6611
  }
6150
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
6612
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6151
6613
  finally {
6152
6614
  try {
6153
6615
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6154
6616
  }
6155
- finally { if (e_58) throw e_58.error; }
6617
+ finally { if (e_62) throw e_62.error; }
6156
6618
  }
6157
6619
  }
6158
6620
  if (status === 200) {
@@ -6253,7 +6715,7 @@
6253
6715
  }));
6254
6716
  };
6255
6717
  DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintAreaModel = function (response) {
6256
- var e_59, _a;
6718
+ var e_63, _a;
6257
6719
  var _this = this;
6258
6720
  var status = response.status;
6259
6721
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6266,12 +6728,12 @@
6266
6728
  _headers[key] = response.headers.get(key);
6267
6729
  }
6268
6730
  }
6269
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
6731
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6270
6732
  finally {
6271
6733
  try {
6272
6734
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6273
6735
  }
6274
- finally { if (e_59) throw e_59.error; }
6736
+ finally { if (e_63) throw e_63.error; }
6275
6737
  }
6276
6738
  }
6277
6739
  if (status === 200) {
@@ -6364,7 +6826,7 @@
6364
6826
  }));
6365
6827
  };
6366
6828
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaces = function (response) {
6367
- var e_60, _a;
6829
+ var e_64, _a;
6368
6830
  var _this = this;
6369
6831
  var status = response.status;
6370
6832
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6377,12 +6839,12 @@
6377
6839
  _headers[key] = response.headers.get(key);
6378
6840
  }
6379
6841
  }
6380
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6842
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6381
6843
  finally {
6382
6844
  try {
6383
6845
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6384
6846
  }
6385
- finally { if (e_60) throw e_60.error; }
6847
+ finally { if (e_64) throw e_64.error; }
6386
6848
  }
6387
6849
  }
6388
6850
  if (status === 200) {
@@ -6463,7 +6925,7 @@
6463
6925
  }));
6464
6926
  };
6465
6927
  DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurface = function (response) {
6466
- var e_61, _a;
6928
+ var e_65, _a;
6467
6929
  var _this = this;
6468
6930
  var status = response.status;
6469
6931
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6476,12 +6938,12 @@
6476
6938
  _headers[key] = response.headers.get(key);
6477
6939
  }
6478
6940
  }
6479
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6941
+ catch (e_65_1) { e_65 = { error: e_65_1 }; }
6480
6942
  finally {
6481
6943
  try {
6482
6944
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6483
6945
  }
6484
- finally { if (e_61) throw e_61.error; }
6946
+ finally { if (e_65) throw e_65.error; }
6485
6947
  }
6486
6948
  }
6487
6949
  if (status === 204) {
@@ -6569,7 +7031,7 @@
6569
7031
  }));
6570
7032
  };
6571
7033
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockup = function (response) {
6572
- var e_62, _a;
7034
+ var e_66, _a;
6573
7035
  var _this = this;
6574
7036
  var status = response.status;
6575
7037
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6582,12 +7044,12 @@
6582
7044
  _headers[key] = response.headers.get(key);
6583
7045
  }
6584
7046
  }
6585
- catch (e_62_1) { e_62 = { error: e_62_1 }; }
7047
+ catch (e_66_1) { e_66 = { error: e_66_1 }; }
6586
7048
  finally {
6587
7049
  try {
6588
7050
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6589
7051
  }
6590
- finally { if (e_62) throw e_62.error; }
7052
+ finally { if (e_66) throw e_66.error; }
6591
7053
  }
6592
7054
  }
6593
7055
  if (status === 200) {
@@ -6699,7 +7161,7 @@
6699
7161
  }));
6700
7162
  };
6701
7163
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceDownMockup = function (response) {
6702
- var e_63, _a;
7164
+ var e_67, _a;
6703
7165
  var _this = this;
6704
7166
  var status = response.status;
6705
7167
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6712,12 +7174,12 @@
6712
7174
  _headers[key] = response.headers.get(key);
6713
7175
  }
6714
7176
  }
6715
- catch (e_63_1) { e_63 = { error: e_63_1 }; }
7177
+ catch (e_67_1) { e_67 = { error: e_67_1 }; }
6716
7178
  finally {
6717
7179
  try {
6718
7180
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6719
7181
  }
6720
- finally { if (e_63) throw e_63.error; }
7182
+ finally { if (e_67) throw e_67.error; }
6721
7183
  }
6722
7184
  }
6723
7185
  if (status === 200) {
@@ -6814,7 +7276,7 @@
6814
7276
  }));
6815
7277
  };
6816
7278
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockupContent = function (response) {
6817
- var e_64, _a;
7279
+ var e_68, _a;
6818
7280
  var _this = this;
6819
7281
  var status = response.status;
6820
7282
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6827,12 +7289,12 @@
6827
7289
  _headers[key] = response.headers.get(key);
6828
7290
  }
6829
7291
  }
6830
- catch (e_64_1) { e_64 = { error: e_64_1 }; }
7292
+ catch (e_68_1) { e_68 = { error: e_68_1 }; }
6831
7293
  finally {
6832
7294
  try {
6833
7295
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6834
7296
  }
6835
- finally { if (e_64) throw e_64.error; }
7297
+ finally { if (e_68) throw e_68.error; }
6836
7298
  }
6837
7299
  }
6838
7300
  if (status === 200 || status === 206) {
@@ -6928,7 +7390,7 @@
6928
7390
  }));
6929
7391
  };
6930
7392
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockup = function (response) {
6931
- var e_65, _a;
7393
+ var e_69, _a;
6932
7394
  var _this = this;
6933
7395
  var status = response.status;
6934
7396
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6941,12 +7403,12 @@
6941
7403
  _headers[key] = response.headers.get(key);
6942
7404
  }
6943
7405
  }
6944
- catch (e_65_1) { e_65 = { error: e_65_1 }; }
7406
+ catch (e_69_1) { e_69 = { error: e_69_1 }; }
6945
7407
  finally {
6946
7408
  try {
6947
7409
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6948
7410
  }
6949
- finally { if (e_65) throw e_65.error; }
7411
+ finally { if (e_69) throw e_69.error; }
6950
7412
  }
6951
7413
  }
6952
7414
  if (status === 200) {
@@ -7058,7 +7520,7 @@
7058
7520
  }));
7059
7521
  };
7060
7522
  DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceUpMockup = function (response) {
7061
- var e_66, _a;
7523
+ var e_70, _a;
7062
7524
  var _this = this;
7063
7525
  var status = response.status;
7064
7526
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7071,12 +7533,12 @@
7071
7533
  _headers[key] = response.headers.get(key);
7072
7534
  }
7073
7535
  }
7074
- catch (e_66_1) { e_66 = { error: e_66_1 }; }
7536
+ catch (e_70_1) { e_70 = { error: e_70_1 }; }
7075
7537
  finally {
7076
7538
  try {
7077
7539
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7078
7540
  }
7079
- finally { if (e_66) throw e_66.error; }
7541
+ finally { if (e_70) throw e_70.error; }
7080
7542
  }
7081
7543
  }
7082
7544
  if (status === 200) {
@@ -7173,7 +7635,7 @@
7173
7635
  }));
7174
7636
  };
7175
7637
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockupContent = function (response) {
7176
- var e_67, _a;
7638
+ var e_71, _a;
7177
7639
  var _this = this;
7178
7640
  var status = response.status;
7179
7641
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7186,12 +7648,12 @@
7186
7648
  _headers[key] = response.headers.get(key);
7187
7649
  }
7188
7650
  }
7189
- catch (e_67_1) { e_67 = { error: e_67_1 }; }
7651
+ catch (e_71_1) { e_71 = { error: e_71_1 }; }
7190
7652
  finally {
7191
7653
  try {
7192
7654
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7193
7655
  }
7194
- finally { if (e_67) throw e_67.error; }
7656
+ finally { if (e_71) throw e_71.error; }
7195
7657
  }
7196
7658
  }
7197
7659
  if (status === 200 || status === 206) {
@@ -7287,7 +7749,7 @@
7287
7749
  }));
7288
7750
  };
7289
7751
  DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceModel = function (response) {
7290
- var e_68, _a;
7752
+ var e_72, _a;
7291
7753
  var _this = this;
7292
7754
  var status = response.status;
7293
7755
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7300,12 +7762,12 @@
7300
7762
  _headers[key] = response.headers.get(key);
7301
7763
  }
7302
7764
  }
7303
- catch (e_68_1) { e_68 = { error: e_68_1 }; }
7765
+ catch (e_72_1) { e_72 = { error: e_72_1 }; }
7304
7766
  finally {
7305
7767
  try {
7306
7768
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7307
7769
  }
7308
- finally { if (e_68) throw e_68.error; }
7770
+ finally { if (e_72) throw e_72.error; }
7309
7771
  }
7310
7772
  }
7311
7773
  if (status === 200) {
@@ -7400,7 +7862,7 @@
7400
7862
  }));
7401
7863
  };
7402
7864
  DesignAtomsPrintProductApiClient.prototype.processReplaceDesignSurfaceModel = function (response) {
7403
- var e_69, _a;
7865
+ var e_73, _a;
7404
7866
  var _this = this;
7405
7867
  var status = response.status;
7406
7868
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7413,12 +7875,12 @@
7413
7875
  _headers[key] = response.headers.get(key);
7414
7876
  }
7415
7877
  }
7416
- catch (e_69_1) { e_69 = { error: e_69_1 }; }
7878
+ catch (e_73_1) { e_73 = { error: e_73_1 }; }
7417
7879
  finally {
7418
7880
  try {
7419
7881
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7420
7882
  }
7421
- finally { if (e_69) throw e_69.error; }
7883
+ finally { if (e_73) throw e_73.error; }
7422
7884
  }
7423
7885
  }
7424
7886
  if (status === 200) {
@@ -7519,7 +7981,7 @@
7519
7981
  }));
7520
7982
  };
7521
7983
  DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceModel = function (response) {
7522
- var e_70, _a;
7984
+ var e_74, _a;
7523
7985
  var _this = this;
7524
7986
  var status = response.status;
7525
7987
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7532,12 +7994,12 @@
7532
7994
  _headers[key] = response.headers.get(key);
7533
7995
  }
7534
7996
  }
7535
- catch (e_70_1) { e_70 = { error: e_70_1 }; }
7997
+ catch (e_74_1) { e_74 = { error: e_74_1 }; }
7536
7998
  finally {
7537
7999
  try {
7538
8000
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7539
8001
  }
7540
- finally { if (e_70) throw e_70.error; }
8002
+ finally { if (e_74) throw e_74.error; }
7541
8003
  }
7542
8004
  }
7543
8005
  if (status === 200) {
@@ -7642,7 +8104,7 @@
7642
8104
  }));
7643
8105
  };
7644
8106
  DesignAtomsPrintProductItemsApiClient.prototype.processApplyItemEffects = function (response) {
7645
- var e_71, _a;
8107
+ var e_75, _a;
7646
8108
  var _this = this;
7647
8109
  var status = response.status;
7648
8110
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7655,12 +8117,12 @@
7655
8117
  _headers[key] = response.headers.get(key);
7656
8118
  }
7657
8119
  }
7658
- catch (e_71_1) { e_71 = { error: e_71_1 }; }
8120
+ catch (e_75_1) { e_75 = { error: e_75_1 }; }
7659
8121
  finally {
7660
8122
  try {
7661
8123
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7662
8124
  }
7663
- finally { if (e_71) throw e_71.error; }
8125
+ finally { if (e_75) throw e_75.error; }
7664
8126
  }
7665
8127
  }
7666
8128
  if (status === 200) {
@@ -7736,7 +8198,7 @@
7736
8198
  }));
7737
8199
  };
7738
8200
  DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImage = function (response) {
7739
- var e_72, _a;
8201
+ var e_76, _a;
7740
8202
  var _this = this;
7741
8203
  var status = response.status;
7742
8204
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7749,12 +8211,12 @@
7749
8211
  _headers[key] = response.headers.get(key);
7750
8212
  }
7751
8213
  }
7752
- catch (e_72_1) { e_72 = { error: e_72_1 }; }
8214
+ catch (e_76_1) { e_76 = { error: e_76_1 }; }
7753
8215
  finally {
7754
8216
  try {
7755
8217
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7756
8218
  }
7757
- finally { if (e_72) throw e_72.error; }
8219
+ finally { if (e_76) throw e_76.error; }
7758
8220
  }
7759
8221
  }
7760
8222
  if (status === 200 || status === 206) {
@@ -7829,7 +8291,7 @@
7829
8291
  }));
7830
8292
  };
7831
8293
  DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImageToResource = function (response) {
7832
- var e_73, _a;
8294
+ var e_77, _a;
7833
8295
  var _this = this;
7834
8296
  var status = response.status;
7835
8297
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7842,12 +8304,12 @@
7842
8304
  _headers[key] = response.headers.get(key);
7843
8305
  }
7844
8306
  }
7845
- catch (e_73_1) { e_73 = { error: e_73_1 }; }
8307
+ catch (e_77_1) { e_77 = { error: e_77_1 }; }
7846
8308
  finally {
7847
8309
  try {
7848
8310
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7849
8311
  }
7850
- finally { if (e_73) throw e_73.error; }
8312
+ finally { if (e_77) throw e_77.error; }
7851
8313
  }
7852
8314
  }
7853
8315
  if (status === 200) {
@@ -7926,7 +8388,7 @@
7926
8388
  }));
7927
8389
  };
7928
8390
  DesignAtomsPrintProductItemsApiClient.prototype.processFlattenItems = function (response) {
7929
- var e_74, _a;
8391
+ var e_78, _a;
7930
8392
  var _this = this;
7931
8393
  var status = response.status;
7932
8394
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7939,12 +8401,12 @@
7939
8401
  _headers[key] = response.headers.get(key);
7940
8402
  }
7941
8403
  }
7942
- catch (e_74_1) { e_74 = { error: e_74_1 }; }
8404
+ catch (e_78_1) { e_78 = { error: e_78_1 }; }
7943
8405
  finally {
7944
8406
  try {
7945
8407
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7946
8408
  }
7947
- finally { if (e_74) throw e_74.error; }
8409
+ finally { if (e_78) throw e_78.error; }
7948
8410
  }
7949
8411
  }
7950
8412
  if (status === 200) {
@@ -8040,7 +8502,7 @@
8040
8502
  }));
8041
8503
  };
8042
8504
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromFile = function (response) {
8043
- var e_75, _a;
8505
+ var e_79, _a;
8044
8506
  var _this = this;
8045
8507
  var status = response.status;
8046
8508
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8053,12 +8515,12 @@
8053
8515
  _headers[key] = response.headers.get(key);
8054
8516
  }
8055
8517
  }
8056
- catch (e_75_1) { e_75 = { error: e_75_1 }; }
8518
+ catch (e_79_1) { e_79 = { error: e_79_1 }; }
8057
8519
  finally {
8058
8520
  try {
8059
8521
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8060
8522
  }
8061
- finally { if (e_75) throw e_75.error; }
8523
+ finally { if (e_79) throw e_79.error; }
8062
8524
  }
8063
8525
  }
8064
8526
  if (status === 200) {
@@ -8158,7 +8620,7 @@
8158
8620
  }));
8159
8621
  };
8160
8622
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromFile = function (response) {
8161
- var e_76, _a;
8623
+ var e_80, _a;
8162
8624
  var _this = this;
8163
8625
  var status = response.status;
8164
8626
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8171,12 +8633,12 @@
8171
8633
  _headers[key] = response.headers.get(key);
8172
8634
  }
8173
8635
  }
8174
- catch (e_76_1) { e_76 = { error: e_76_1 }; }
8636
+ catch (e_80_1) { e_80 = { error: e_80_1 }; }
8175
8637
  finally {
8176
8638
  try {
8177
8639
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8178
8640
  }
8179
- finally { if (e_76) throw e_76.error; }
8641
+ finally { if (e_80) throw e_80.error; }
8180
8642
  }
8181
8643
  }
8182
8644
  if (status === 200) {
@@ -8269,7 +8731,7 @@
8269
8731
  }));
8270
8732
  };
8271
8733
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromStorage = function (response) {
8272
- var e_77, _a;
8734
+ var e_81, _a;
8273
8735
  var _this = this;
8274
8736
  var status = response.status;
8275
8737
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8282,12 +8744,12 @@
8282
8744
  _headers[key] = response.headers.get(key);
8283
8745
  }
8284
8746
  }
8285
- catch (e_77_1) { e_77 = { error: e_77_1 }; }
8747
+ catch (e_81_1) { e_81 = { error: e_81_1 }; }
8286
8748
  finally {
8287
8749
  try {
8288
8750
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8289
8751
  }
8290
- finally { if (e_77) throw e_77.error; }
8752
+ finally { if (e_81) throw e_81.error; }
8291
8753
  }
8292
8754
  }
8293
8755
  if (status === 200) {
@@ -8380,7 +8842,7 @@
8380
8842
  }));
8381
8843
  };
8382
8844
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromStorage = function (response) {
8383
- var e_78, _a;
8845
+ var e_82, _a;
8384
8846
  var _this = this;
8385
8847
  var status = response.status;
8386
8848
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8393,12 +8855,12 @@
8393
8855
  _headers[key] = response.headers.get(key);
8394
8856
  }
8395
8857
  }
8396
- catch (e_78_1) { e_78 = { error: e_78_1 }; }
8858
+ catch (e_82_1) { e_82 = { error: e_82_1 }; }
8397
8859
  finally {
8398
8860
  try {
8399
8861
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8400
8862
  }
8401
- finally { if (e_78) throw e_78.error; }
8863
+ finally { if (e_82) throw e_82.error; }
8402
8864
  }
8403
8865
  }
8404
8866
  if (status === 200) {
@@ -8491,7 +8953,7 @@
8491
8953
  }));
8492
8954
  };
8493
8955
  DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromUrl = function (response) {
8494
- var e_79, _a;
8956
+ var e_83, _a;
8495
8957
  var _this = this;
8496
8958
  var status = response.status;
8497
8959
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8504,12 +8966,12 @@
8504
8966
  _headers[key] = response.headers.get(key);
8505
8967
  }
8506
8968
  }
8507
- catch (e_79_1) { e_79 = { error: e_79_1 }; }
8969
+ catch (e_83_1) { e_83 = { error: e_83_1 }; }
8508
8970
  finally {
8509
8971
  try {
8510
8972
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8511
8973
  }
8512
- finally { if (e_79) throw e_79.error; }
8974
+ finally { if (e_83) throw e_83.error; }
8513
8975
  }
8514
8976
  }
8515
8977
  if (status === 200) {
@@ -8595,7 +9057,7 @@
8595
9057
  }));
8596
9058
  };
8597
9059
  DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromUrl = function (response) {
8598
- var e_80, _a;
9060
+ var e_84, _a;
8599
9061
  var _this = this;
8600
9062
  var status = response.status;
8601
9063
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8608,12 +9070,12 @@
8608
9070
  _headers[key] = response.headers.get(key);
8609
9071
  }
8610
9072
  }
8611
- catch (e_80_1) { e_80 = { error: e_80_1 }; }
9073
+ catch (e_84_1) { e_84 = { error: e_84_1 }; }
8612
9074
  finally {
8613
9075
  try {
8614
9076
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8615
9077
  }
8616
- finally { if (e_80) throw e_80.error; }
9078
+ finally { if (e_84) throw e_84.error; }
8617
9079
  }
8618
9080
  }
8619
9081
  if (status === 200) {
@@ -8721,7 +9183,7 @@
8721
9183
  }));
8722
9184
  };
8723
9185
  DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
8724
- var e_81, _a;
9186
+ var e_85, _a;
8725
9187
  var _this = this;
8726
9188
  var status = response.status;
8727
9189
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8734,12 +9196,12 @@
8734
9196
  _headers[key] = response.headers.get(key);
8735
9197
  }
8736
9198
  }
8737
- catch (e_81_1) { e_81 = { error: e_81_1 }; }
9199
+ catch (e_85_1) { e_85 = { error: e_85_1 }; }
8738
9200
  finally {
8739
9201
  try {
8740
9202
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8741
9203
  }
8742
- finally { if (e_81) throw e_81.error; }
9204
+ finally { if (e_85) throw e_85.error; }
8743
9205
  }
8744
9206
  }
8745
9207
  if (status === 201) {
@@ -8821,7 +9283,7 @@
8821
9283
  }));
8822
9284
  };
8823
9285
  DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
8824
- var e_82, _a;
9286
+ var e_86, _a;
8825
9287
  var _this = this;
8826
9288
  var status = response.status;
8827
9289
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8834,12 +9296,12 @@
8834
9296
  _headers[key] = response.headers.get(key);
8835
9297
  }
8836
9298
  }
8837
- catch (e_82_1) { e_82 = { error: e_82_1 }; }
9299
+ catch (e_86_1) { e_86 = { error: e_86_1 }; }
8838
9300
  finally {
8839
9301
  try {
8840
9302
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8841
9303
  }
8842
- finally { if (e_82) throw e_82.error; }
9304
+ finally { if (e_86) throw e_86.error; }
8843
9305
  }
8844
9306
  }
8845
9307
  if (status === 200) {
@@ -8926,7 +9388,7 @@
8926
9388
  }));
8927
9389
  };
8928
9390
  DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
8929
- var e_83, _a;
9391
+ var e_87, _a;
8930
9392
  var _this = this;
8931
9393
  var status = response.status;
8932
9394
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -8939,12 +9401,12 @@
8939
9401
  _headers[key] = response.headers.get(key);
8940
9402
  }
8941
9403
  }
8942
- catch (e_83_1) { e_83 = { error: e_83_1 }; }
9404
+ catch (e_87_1) { e_87 = { error: e_87_1 }; }
8943
9405
  finally {
8944
9406
  try {
8945
9407
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
8946
9408
  }
8947
- finally { if (e_83) throw e_83.error; }
9409
+ finally { if (e_87) throw e_87.error; }
8948
9410
  }
8949
9411
  }
8950
9412
  if (status === 200 || status === 206) {
@@ -9032,7 +9494,7 @@
9032
9494
  }));
9033
9495
  };
9034
9496
  DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
9035
- var e_84, _a;
9497
+ var e_88, _a;
9036
9498
  var _this = this;
9037
9499
  var status = response.status;
9038
9500
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9045,12 +9507,12 @@
9045
9507
  _headers[key] = response.headers.get(key);
9046
9508
  }
9047
9509
  }
9048
- catch (e_84_1) { e_84 = { error: e_84_1 }; }
9510
+ catch (e_88_1) { e_88 = { error: e_88_1 }; }
9049
9511
  finally {
9050
9512
  try {
9051
9513
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9052
9514
  }
9053
- finally { if (e_84) throw e_84.error; }
9515
+ finally { if (e_88) throw e_88.error; }
9054
9516
  }
9055
9517
  }
9056
9518
  if (status === 204) {
@@ -9134,7 +9596,7 @@
9134
9596
  }));
9135
9597
  };
9136
9598
  DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
9137
- var e_85, _a;
9599
+ var e_89, _a;
9138
9600
  var _this = this;
9139
9601
  var status = response.status;
9140
9602
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9147,12 +9609,12 @@
9147
9609
  _headers[key] = response.headers.get(key);
9148
9610
  }
9149
9611
  }
9150
- catch (e_85_1) { e_85 = { error: e_85_1 }; }
9612
+ catch (e_89_1) { e_89 = { error: e_89_1 }; }
9151
9613
  finally {
9152
9614
  try {
9153
9615
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9154
9616
  }
9155
- finally { if (e_85) throw e_85.error; }
9617
+ finally { if (e_89) throw e_89.error; }
9156
9618
  }
9157
9619
  }
9158
9620
  if (status === 200) {
@@ -9231,7 +9693,7 @@
9231
9693
  }));
9232
9694
  };
9233
9695
  DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
9234
- var e_86, _a;
9696
+ var e_90, _a;
9235
9697
  var _this = this;
9236
9698
  var status = response.status;
9237
9699
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9244,12 +9706,12 @@
9244
9706
  _headers[key] = response.headers.get(key);
9245
9707
  }
9246
9708
  }
9247
- catch (e_86_1) { e_86 = { error: e_86_1 }; }
9709
+ catch (e_90_1) { e_90 = { error: e_90_1 }; }
9248
9710
  finally {
9249
9711
  try {
9250
9712
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9251
9713
  }
9252
- finally { if (e_86) throw e_86.error; }
9714
+ finally { if (e_90) throw e_90.error; }
9253
9715
  }
9254
9716
  }
9255
9717
  if (status === 200 || status === 206) {
@@ -9334,7 +9796,7 @@
9334
9796
  }));
9335
9797
  };
9336
9798
  DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
9337
- var e_87, _a;
9799
+ var e_91, _a;
9338
9800
  var _this = this;
9339
9801
  var status = response.status;
9340
9802
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9347,12 +9809,12 @@
9347
9809
  _headers[key] = response.headers.get(key);
9348
9810
  }
9349
9811
  }
9350
- catch (e_87_1) { e_87 = { error: e_87_1 }; }
9812
+ catch (e_91_1) { e_91 = { error: e_91_1 }; }
9351
9813
  finally {
9352
9814
  try {
9353
9815
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9354
9816
  }
9355
- finally { if (e_87) throw e_87.error; }
9817
+ finally { if (e_91) throw e_91.error; }
9356
9818
  }
9357
9819
  }
9358
9820
  if (status === 200 || status === 206) {
@@ -9437,7 +9899,7 @@
9437
9899
  }));
9438
9900
  };
9439
9901
  DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
9440
- var e_88, _a;
9902
+ var e_92, _a;
9441
9903
  var _this = this;
9442
9904
  var status = response.status;
9443
9905
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9450,12 +9912,12 @@
9450
9912
  _headers[key] = response.headers.get(key);
9451
9913
  }
9452
9914
  }
9453
- catch (e_88_1) { e_88 = { error: e_88_1 }; }
9915
+ catch (e_92_1) { e_92 = { error: e_92_1 }; }
9454
9916
  finally {
9455
9917
  try {
9456
9918
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9457
9919
  }
9458
- finally { if (e_88) throw e_88.error; }
9920
+ finally { if (e_92) throw e_92.error; }
9459
9921
  }
9460
9922
  }
9461
9923
  if (status === 200) {
@@ -9537,7 +9999,7 @@
9537
9999
  }));
9538
10000
  };
9539
10001
  DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
9540
- var e_89, _a;
10002
+ var e_93, _a;
9541
10003
  var _this = this;
9542
10004
  var status = response.status;
9543
10005
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9550,12 +10012,12 @@
9550
10012
  _headers[key] = response.headers.get(key);
9551
10013
  }
9552
10014
  }
9553
- catch (e_89_1) { e_89 = { error: e_89_1 }; }
10015
+ catch (e_93_1) { e_93 = { error: e_93_1 }; }
9554
10016
  finally {
9555
10017
  try {
9556
10018
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9557
10019
  }
9558
- finally { if (e_89) throw e_89.error; }
10020
+ finally { if (e_93) throw e_93.error; }
9559
10021
  }
9560
10022
  }
9561
10023
  if (status === 200) {
@@ -9639,7 +10101,7 @@
9639
10101
  }));
9640
10102
  };
9641
10103
  DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
9642
- var e_90, _a;
10104
+ var e_94, _a;
9643
10105
  var _this = this;
9644
10106
  var status = response.status;
9645
10107
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9652,12 +10114,12 @@
9652
10114
  _headers[key] = response.headers.get(key);
9653
10115
  }
9654
10116
  }
9655
- catch (e_90_1) { e_90 = { error: e_90_1 }; }
10117
+ catch (e_94_1) { e_94 = { error: e_94_1 }; }
9656
10118
  finally {
9657
10119
  try {
9658
10120
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9659
10121
  }
9660
- finally { if (e_90) throw e_90.error; }
10122
+ finally { if (e_94) throw e_94.error; }
9661
10123
  }
9662
10124
  }
9663
10125
  if (status === 200) {
@@ -9746,7 +10208,7 @@
9746
10208
  }));
9747
10209
  };
9748
10210
  DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
9749
- var e_91, _a;
10211
+ var e_95, _a;
9750
10212
  var _this = this;
9751
10213
  var status = response.status;
9752
10214
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9759,12 +10221,12 @@
9759
10221
  _headers[key] = response.headers.get(key);
9760
10222
  }
9761
10223
  }
9762
- catch (e_91_1) { e_91 = { error: e_91_1 }; }
10224
+ catch (e_95_1) { e_95 = { error: e_95_1 }; }
9763
10225
  finally {
9764
10226
  try {
9765
10227
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9766
10228
  }
9767
- finally { if (e_91) throw e_91.error; }
10229
+ finally { if (e_95) throw e_95.error; }
9768
10230
  }
9769
10231
  }
9770
10232
  if (status === 200) {
@@ -9839,7 +10301,7 @@
9839
10301
  }));
9840
10302
  };
9841
10303
  DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
9842
- var e_92, _a;
10304
+ var e_96, _a;
9843
10305
  var _this = this;
9844
10306
  var status = response.status;
9845
10307
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9852,12 +10314,12 @@
9852
10314
  _headers[key] = response.headers.get(key);
9853
10315
  }
9854
10316
  }
9855
- catch (e_92_1) { e_92 = { error: e_92_1 }; }
10317
+ catch (e_96_1) { e_96 = { error: e_96_1 }; }
9856
10318
  finally {
9857
10319
  try {
9858
10320
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9859
10321
  }
9860
- finally { if (e_92) throw e_92.error; }
10322
+ finally { if (e_96) throw e_96.error; }
9861
10323
  }
9862
10324
  }
9863
10325
  if (status === 200) {
@@ -9931,7 +10393,7 @@
9931
10393
  }));
9932
10394
  };
9933
10395
  DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
9934
- var e_93, _a;
10396
+ var e_97, _a;
9935
10397
  var _this = this;
9936
10398
  var status = response.status;
9937
10399
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -9944,12 +10406,12 @@
9944
10406
  _headers[key] = response.headers.get(key);
9945
10407
  }
9946
10408
  }
9947
- catch (e_93_1) { e_93 = { error: e_93_1 }; }
10409
+ catch (e_97_1) { e_97 = { error: e_97_1 }; }
9948
10410
  finally {
9949
10411
  try {
9950
10412
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
9951
10413
  }
9952
- finally { if (e_93) throw e_93.error; }
10414
+ finally { if (e_97) throw e_97.error; }
9953
10415
  }
9954
10416
  }
9955
10417
  if (status === 200) {
@@ -10027,7 +10489,7 @@
10027
10489
  }));
10028
10490
  };
10029
10491
  DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
10030
- var e_94, _a;
10492
+ var e_98, _a;
10031
10493
  var _this = this;
10032
10494
  var status = response.status;
10033
10495
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10040,12 +10502,12 @@
10040
10502
  _headers[key] = response.headers.get(key);
10041
10503
  }
10042
10504
  }
10043
- catch (e_94_1) { e_94 = { error: e_94_1 }; }
10505
+ catch (e_98_1) { e_98 = { error: e_98_1 }; }
10044
10506
  finally {
10045
10507
  try {
10046
10508
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10047
10509
  }
10048
- finally { if (e_94) throw e_94.error; }
10510
+ finally { if (e_98) throw e_98.error; }
10049
10511
  }
10050
10512
  }
10051
10513
  if (status === 200) {
@@ -10132,7 +10594,7 @@
10132
10594
  }));
10133
10595
  };
10134
10596
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
10135
- var e_95, _a;
10597
+ var e_99, _a;
10136
10598
  var status = response.status;
10137
10599
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10138
10600
  response.error instanceof Blob ? response.error : undefined;
@@ -10144,12 +10606,12 @@
10144
10606
  _headers[key] = response.headers.get(key);
10145
10607
  }
10146
10608
  }
10147
- catch (e_95_1) { e_95 = { error: e_95_1 }; }
10609
+ catch (e_99_1) { e_99 = { error: e_99_1 }; }
10148
10610
  finally {
10149
10611
  try {
10150
10612
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10151
10613
  }
10152
- finally { if (e_95) throw e_95.error; }
10614
+ finally { if (e_99) throw e_99.error; }
10153
10615
  }
10154
10616
  }
10155
10617
  if (status === 200 || status === 206) {
@@ -10221,7 +10683,7 @@
10221
10683
  }));
10222
10684
  };
10223
10685
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
10224
- var e_96, _a;
10686
+ var e_100, _a;
10225
10687
  var status = response.status;
10226
10688
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
10227
10689
  response.error instanceof Blob ? response.error : undefined;
@@ -10233,12 +10695,12 @@
10233
10695
  _headers[key] = response.headers.get(key);
10234
10696
  }
10235
10697
  }
10236
- catch (e_96_1) { e_96 = { error: e_96_1 }; }
10698
+ catch (e_100_1) { e_100 = { error: e_100_1 }; }
10237
10699
  finally {
10238
10700
  try {
10239
10701
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10240
10702
  }
10241
- finally { if (e_96) throw e_96.error; }
10703
+ finally { if (e_100) throw e_100.error; }
10242
10704
  }
10243
10705
  }
10244
10706
  if (status === 200 || status === 206) {
@@ -10306,7 +10768,7 @@
10306
10768
  }));
10307
10769
  };
10308
10770
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
10309
- var e_97, _a;
10771
+ var e_101, _a;
10310
10772
  var _this = this;
10311
10773
  var status = response.status;
10312
10774
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10319,12 +10781,12 @@
10319
10781
  _headers[key] = response.headers.get(key);
10320
10782
  }
10321
10783
  }
10322
- catch (e_97_1) { e_97 = { error: e_97_1 }; }
10784
+ catch (e_101_1) { e_101 = { error: e_101_1 }; }
10323
10785
  finally {
10324
10786
  try {
10325
10787
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10326
10788
  }
10327
- finally { if (e_97) throw e_97.error; }
10789
+ finally { if (e_101) throw e_101.error; }
10328
10790
  }
10329
10791
  }
10330
10792
  if (status === 200) {
@@ -10411,7 +10873,7 @@
10411
10873
  }));
10412
10874
  };
10413
10875
  DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
10414
- var e_98, _a;
10876
+ var e_102, _a;
10415
10877
  var _this = this;
10416
10878
  var status = response.status;
10417
10879
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10424,12 +10886,12 @@
10424
10886
  _headers[key] = response.headers.get(key);
10425
10887
  }
10426
10888
  }
10427
- catch (e_98_1) { e_98 = { error: e_98_1 }; }
10889
+ catch (e_102_1) { e_102 = { error: e_102_1 }; }
10428
10890
  finally {
10429
10891
  try {
10430
10892
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10431
10893
  }
10432
- finally { if (e_98) throw e_98.error; }
10894
+ finally { if (e_102) throw e_102.error; }
10433
10895
  }
10434
10896
  }
10435
10897
  if (status === 200 || status === 206) {
@@ -10504,7 +10966,7 @@
10504
10966
  }));
10505
10967
  };
10506
10968
  DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
10507
- var e_99, _a;
10969
+ var e_103, _a;
10508
10970
  var _this = this;
10509
10971
  var status = response.status;
10510
10972
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10517,12 +10979,12 @@
10517
10979
  _headers[key] = response.headers.get(key);
10518
10980
  }
10519
10981
  }
10520
- catch (e_99_1) { e_99 = { error: e_99_1 }; }
10982
+ catch (e_103_1) { e_103 = { error: e_103_1 }; }
10521
10983
  finally {
10522
10984
  try {
10523
10985
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10524
10986
  }
10525
- finally { if (e_99) throw e_99.error; }
10987
+ finally { if (e_103) throw e_103.error; }
10526
10988
  }
10527
10989
  }
10528
10990
  if (status === 200) {
@@ -10602,7 +11064,7 @@
10602
11064
  }));
10603
11065
  };
10604
11066
  DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
10605
- var e_100, _a;
11067
+ var e_104, _a;
10606
11068
  var _this = this;
10607
11069
  var status = response.status;
10608
11070
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10615,12 +11077,12 @@
10615
11077
  _headers[key] = response.headers.get(key);
10616
11078
  }
10617
11079
  }
10618
- catch (e_100_1) { e_100 = { error: e_100_1 }; }
11080
+ catch (e_104_1) { e_104 = { error: e_104_1 }; }
10619
11081
  finally {
10620
11082
  try {
10621
11083
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10622
11084
  }
10623
- finally { if (e_100) throw e_100.error; }
11085
+ finally { if (e_104) throw e_104.error; }
10624
11086
  }
10625
11087
  }
10626
11088
  if (status === 200) {
@@ -10703,7 +11165,7 @@
10703
11165
  }));
10704
11166
  };
10705
11167
  DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
10706
- var e_101, _a;
11168
+ var e_105, _a;
10707
11169
  var _this = this;
10708
11170
  var status = response.status;
10709
11171
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10716,12 +11178,12 @@
10716
11178
  _headers[key] = response.headers.get(key);
10717
11179
  }
10718
11180
  }
10719
- catch (e_101_1) { e_101 = { error: e_101_1 }; }
11181
+ catch (e_105_1) { e_105 = { error: e_105_1 }; }
10720
11182
  finally {
10721
11183
  try {
10722
11184
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10723
11185
  }
10724
- finally { if (e_101) throw e_101.error; }
11186
+ finally { if (e_105) throw e_105.error; }
10725
11187
  }
10726
11188
  }
10727
11189
  if (status === 200) {
@@ -10817,7 +11279,7 @@
10817
11279
  }));
10818
11280
  };
10819
11281
  DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
10820
- var e_102, _a;
11282
+ var e_106, _a;
10821
11283
  var _this = this;
10822
11284
  var status = response.status;
10823
11285
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10830,12 +11292,12 @@
10830
11292
  _headers[key] = response.headers.get(key);
10831
11293
  }
10832
11294
  }
10833
- catch (e_102_1) { e_102 = { error: e_102_1 }; }
11295
+ catch (e_106_1) { e_106 = { error: e_106_1 }; }
10834
11296
  finally {
10835
11297
  try {
10836
11298
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10837
11299
  }
10838
- finally { if (e_102) throw e_102.error; }
11300
+ finally { if (e_106) throw e_106.error; }
10839
11301
  }
10840
11302
  }
10841
11303
  if (status === 200) {
@@ -10926,7 +11388,7 @@
10926
11388
  }));
10927
11389
  };
10928
11390
  DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
10929
- var e_103, _a;
11391
+ var e_107, _a;
10930
11392
  var _this = this;
10931
11393
  var status = response.status;
10932
11394
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -10939,12 +11401,12 @@
10939
11401
  _headers[key] = response.headers.get(key);
10940
11402
  }
10941
11403
  }
10942
- catch (e_103_1) { e_103 = { error: e_103_1 }; }
11404
+ catch (e_107_1) { e_107 = { error: e_107_1 }; }
10943
11405
  finally {
10944
11406
  try {
10945
11407
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
10946
11408
  }
10947
- finally { if (e_103) throw e_103.error; }
11409
+ finally { if (e_107) throw e_107.error; }
10948
11410
  }
10949
11411
  }
10950
11412
  if (status === 200) {
@@ -11021,7 +11483,7 @@
11021
11483
  }));
11022
11484
  };
11023
11485
  DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
11024
- var e_104, _a;
11486
+ var e_108, _a;
11025
11487
  var status = response.status;
11026
11488
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11027
11489
  response.error instanceof Blob ? response.error : undefined;
@@ -11033,12 +11495,12 @@
11033
11495
  _headers[key] = response.headers.get(key);
11034
11496
  }
11035
11497
  }
11036
- catch (e_104_1) { e_104 = { error: e_104_1 }; }
11498
+ catch (e_108_1) { e_108 = { error: e_108_1 }; }
11037
11499
  finally {
11038
11500
  try {
11039
11501
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11040
11502
  }
11041
- finally { if (e_104) throw e_104.error; }
11503
+ finally { if (e_108) throw e_108.error; }
11042
11504
  }
11043
11505
  }
11044
11506
  if (status === 200 || status === 206) {
@@ -11107,7 +11569,7 @@
11107
11569
  }));
11108
11570
  };
11109
11571
  DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
11110
- var e_105, _a;
11572
+ var e_109, _a;
11111
11573
  var _this = this;
11112
11574
  var status = response.status;
11113
11575
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11120,12 +11582,12 @@
11120
11582
  _headers[key] = response.headers.get(key);
11121
11583
  }
11122
11584
  }
11123
- catch (e_105_1) { e_105 = { error: e_105_1 }; }
11585
+ catch (e_109_1) { e_109 = { error: e_109_1 }; }
11124
11586
  finally {
11125
11587
  try {
11126
11588
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11127
11589
  }
11128
- finally { if (e_105) throw e_105.error; }
11590
+ finally { if (e_109) throw e_109.error; }
11129
11591
  }
11130
11592
  }
11131
11593
  if (status === 200) {
@@ -11198,7 +11660,7 @@
11198
11660
  }));
11199
11661
  };
11200
11662
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
11201
- var e_106, _a;
11663
+ var e_110, _a;
11202
11664
  var status = response.status;
11203
11665
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11204
11666
  response.error instanceof Blob ? response.error : undefined;
@@ -11210,12 +11672,12 @@
11210
11672
  _headers[key] = response.headers.get(key);
11211
11673
  }
11212
11674
  }
11213
- catch (e_106_1) { e_106 = { error: e_106_1 }; }
11675
+ catch (e_110_1) { e_110 = { error: e_110_1 }; }
11214
11676
  finally {
11215
11677
  try {
11216
11678
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11217
11679
  }
11218
- finally { if (e_106) throw e_106.error; }
11680
+ finally { if (e_110) throw e_110.error; }
11219
11681
  }
11220
11682
  }
11221
11683
  if (status === 201) {
@@ -11245,11 +11707,11 @@
11245
11707
  * @param resourceId (optional) Resource identifier.
11246
11708
  * @param privateDesignId (optional) Private design identifier.
11247
11709
  * @param privateStorageOwner (optional) Private storage owner identifier.
11248
- * @param tenantIdQuery (optional) Tenant identifier.
11710
+ * @param tenantId (optional) Tenant ID.
11249
11711
  * @return Created
11250
11712
  * @deprecated
11251
11713
  */
11252
- DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantIdQuery) {
11714
+ DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantId) {
11253
11715
  var _this = this;
11254
11716
  var url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
11255
11717
  if (resourceId !== undefined && resourceId !== null)
@@ -11258,10 +11720,10 @@
11258
11720
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
11259
11721
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
11260
11722
  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) + "&";
11723
+ if (tenantId === null)
11724
+ throw new Error("The parameter 'tenantId' cannot be null.");
11725
+ else if (tenantId !== undefined)
11726
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
11265
11727
  url_ = url_.replace(/[?&]$/, "");
11266
11728
  var options_ = {
11267
11729
  observe: "response",
@@ -11286,7 +11748,7 @@
11286
11748
  }));
11287
11749
  };
11288
11750
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
11289
- var e_107, _a;
11751
+ var e_111, _a;
11290
11752
  var status = response.status;
11291
11753
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
11292
11754
  response.error instanceof Blob ? response.error : undefined;
@@ -11298,12 +11760,12 @@
11298
11760
  _headers[key] = response.headers.get(key);
11299
11761
  }
11300
11762
  }
11301
- catch (e_107_1) { e_107 = { error: e_107_1 }; }
11763
+ catch (e_111_1) { e_111 = { error: e_111_1 }; }
11302
11764
  finally {
11303
11765
  try {
11304
11766
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11305
11767
  }
11306
- finally { if (e_107) throw e_107.error; }
11768
+ finally { if (e_111) throw e_111.error; }
11307
11769
  }
11308
11770
  }
11309
11771
  if (status === 201) {
@@ -11391,7 +11853,7 @@
11391
11853
  }));
11392
11854
  };
11393
11855
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
11394
- var e_108, _a;
11856
+ var e_112, _a;
11395
11857
  var _this = this;
11396
11858
  var status = response.status;
11397
11859
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11404,12 +11866,12 @@
11404
11866
  _headers[key] = response.headers.get(key);
11405
11867
  }
11406
11868
  }
11407
- catch (e_108_1) { e_108 = { error: e_108_1 }; }
11869
+ catch (e_112_1) { e_112 = { error: e_112_1 }; }
11408
11870
  finally {
11409
11871
  try {
11410
11872
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11411
11873
  }
11412
- finally { if (e_108) throw e_108.error; }
11874
+ finally { if (e_112) throw e_112.error; }
11413
11875
  }
11414
11876
  }
11415
11877
  if (status === 200) {
@@ -11471,7 +11933,7 @@
11471
11933
  }));
11472
11934
  };
11473
11935
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
11474
- var e_109, _a;
11936
+ var e_113, _a;
11475
11937
  var _this = this;
11476
11938
  var status = response.status;
11477
11939
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11484,12 +11946,12 @@
11484
11946
  _headers[key] = response.headers.get(key);
11485
11947
  }
11486
11948
  }
11487
- catch (e_109_1) { e_109 = { error: e_109_1 }; }
11949
+ catch (e_113_1) { e_113 = { error: e_113_1 }; }
11488
11950
  finally {
11489
11951
  try {
11490
11952
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11491
11953
  }
11492
- finally { if (e_109) throw e_109.error; }
11954
+ finally { if (e_113) throw e_113.error; }
11493
11955
  }
11494
11956
  }
11495
11957
  if (status === 200 || status === 206) {
@@ -11558,7 +12020,7 @@
11558
12020
  }));
11559
12021
  };
11560
12022
  DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
11561
- var e_110, _a;
12023
+ var e_114, _a;
11562
12024
  var _this = this;
11563
12025
  var status = response.status;
11564
12026
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11571,12 +12033,12 @@
11571
12033
  _headers[key] = response.headers.get(key);
11572
12034
  }
11573
12035
  }
11574
- catch (e_110_1) { e_110 = { error: e_110_1 }; }
12036
+ catch (e_114_1) { e_114 = { error: e_114_1 }; }
11575
12037
  finally {
11576
12038
  try {
11577
12039
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11578
12040
  }
11579
- finally { if (e_110) throw e_110.error; }
12041
+ finally { if (e_114) throw e_114.error; }
11580
12042
  }
11581
12043
  }
11582
12044
  if (status === 200) {
@@ -11646,7 +12108,7 @@
11646
12108
  }));
11647
12109
  };
11648
12110
  DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
11649
- var e_111, _a;
12111
+ var e_115, _a;
11650
12112
  var _this = this;
11651
12113
  var status = response.status;
11652
12114
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11659,12 +12121,12 @@
11659
12121
  _headers[key] = response.headers.get(key);
11660
12122
  }
11661
12123
  }
11662
- catch (e_111_1) { e_111 = { error: e_111_1 }; }
12124
+ catch (e_115_1) { e_115 = { error: e_115_1 }; }
11663
12125
  finally {
11664
12126
  try {
11665
12127
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11666
12128
  }
11667
- finally { if (e_111) throw e_111.error; }
12129
+ finally { if (e_115) throw e_115.error; }
11668
12130
  }
11669
12131
  }
11670
12132
  if (status === 200) {
@@ -11733,7 +12195,7 @@
11733
12195
  }));
11734
12196
  };
11735
12197
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
11736
- var e_112, _a;
12198
+ var e_116, _a;
11737
12199
  var _this = this;
11738
12200
  var status = response.status;
11739
12201
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11746,12 +12208,12 @@
11746
12208
  _headers[key] = response.headers.get(key);
11747
12209
  }
11748
12210
  }
11749
- catch (e_112_1) { e_112 = { error: e_112_1 }; }
12211
+ catch (e_116_1) { e_116 = { error: e_116_1 }; }
11750
12212
  finally {
11751
12213
  try {
11752
12214
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11753
12215
  }
11754
- finally { if (e_112) throw e_112.error; }
12216
+ finally { if (e_116) throw e_116.error; }
11755
12217
  }
11756
12218
  }
11757
12219
  if (status === 200 || status === 206) {
@@ -11816,7 +12278,7 @@
11816
12278
  }));
11817
12279
  };
11818
12280
  DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
11819
- var e_113, _a;
12281
+ var e_117, _a;
11820
12282
  var _this = this;
11821
12283
  var status = response.status;
11822
12284
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11829,12 +12291,12 @@
11829
12291
  _headers[key] = response.headers.get(key);
11830
12292
  }
11831
12293
  }
11832
- catch (e_113_1) { e_113 = { error: e_113_1 }; }
12294
+ catch (e_117_1) { e_117 = { error: e_117_1 }; }
11833
12295
  finally {
11834
12296
  try {
11835
12297
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11836
12298
  }
11837
- finally { if (e_113) throw e_113.error; }
12299
+ finally { if (e_117) throw e_117.error; }
11838
12300
  }
11839
12301
  }
11840
12302
  if (status === 200) {
@@ -11897,7 +12359,7 @@
11897
12359
  }));
11898
12360
  };
11899
12361
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
11900
- var e_114, _a;
12362
+ var e_118, _a;
11901
12363
  var _this = this;
11902
12364
  var status = response.status;
11903
12365
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11910,12 +12372,12 @@
11910
12372
  _headers[key] = response.headers.get(key);
11911
12373
  }
11912
12374
  }
11913
- catch (e_114_1) { e_114 = { error: e_114_1 }; }
12375
+ catch (e_118_1) { e_118 = { error: e_118_1 }; }
11914
12376
  finally {
11915
12377
  try {
11916
12378
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11917
12379
  }
11918
- finally { if (e_114) throw e_114.error; }
12380
+ finally { if (e_118) throw e_118.error; }
11919
12381
  }
11920
12382
  }
11921
12383
  if (status === 200) {
@@ -11978,7 +12440,7 @@
11978
12440
  }));
11979
12441
  };
11980
12442
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
11981
- var e_115, _a;
12443
+ var e_119, _a;
11982
12444
  var _this = this;
11983
12445
  var status = response.status;
11984
12446
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -11991,12 +12453,12 @@
11991
12453
  _headers[key] = response.headers.get(key);
11992
12454
  }
11993
12455
  }
11994
- catch (e_115_1) { e_115 = { error: e_115_1 }; }
12456
+ catch (e_119_1) { e_119 = { error: e_119_1 }; }
11995
12457
  finally {
11996
12458
  try {
11997
12459
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
11998
12460
  }
11999
- finally { if (e_115) throw e_115.error; }
12461
+ finally { if (e_119) throw e_119.error; }
12000
12462
  }
12001
12463
  }
12002
12464
  if (status === 200) {
@@ -12059,7 +12521,7 @@
12059
12521
  }));
12060
12522
  };
12061
12523
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
12062
- var e_116, _a;
12524
+ var e_120, _a;
12063
12525
  var _this = this;
12064
12526
  var status = response.status;
12065
12527
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12072,12 +12534,12 @@
12072
12534
  _headers[key] = response.headers.get(key);
12073
12535
  }
12074
12536
  }
12075
- catch (e_116_1) { e_116 = { error: e_116_1 }; }
12537
+ catch (e_120_1) { e_120 = { error: e_120_1 }; }
12076
12538
  finally {
12077
12539
  try {
12078
12540
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12079
12541
  }
12080
- finally { if (e_116) throw e_116.error; }
12542
+ finally { if (e_120) throw e_120.error; }
12081
12543
  }
12082
12544
  }
12083
12545
  if (status === 200) {
@@ -12211,7 +12673,7 @@
12211
12673
  }));
12212
12674
  };
12213
12675
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
12214
- var e_117, _a;
12676
+ var e_121, _a;
12215
12677
  var _this = this;
12216
12678
  var status = response.status;
12217
12679
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12224,12 +12686,12 @@
12224
12686
  _headers[key] = response.headers.get(key);
12225
12687
  }
12226
12688
  }
12227
- catch (e_117_1) { e_117 = { error: e_117_1 }; }
12689
+ catch (e_121_1) { e_121 = { error: e_121_1 }; }
12228
12690
  finally {
12229
12691
  try {
12230
12692
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12231
12693
  }
12232
- finally { if (e_117) throw e_117.error; }
12694
+ finally { if (e_121) throw e_121.error; }
12233
12695
  }
12234
12696
  }
12235
12697
  if (status === 200 || status === 206) {
@@ -12299,7 +12761,7 @@
12299
12761
  }));
12300
12762
  };
12301
12763
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
12302
- var e_118, _a;
12764
+ var e_122, _a;
12303
12765
  var _this = this;
12304
12766
  var status = response.status;
12305
12767
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12312,12 +12774,12 @@
12312
12774
  _headers[key] = response.headers.get(key);
12313
12775
  }
12314
12776
  }
12315
- catch (e_118_1) { e_118 = { error: e_118_1 }; }
12777
+ catch (e_122_1) { e_122 = { error: e_122_1 }; }
12316
12778
  finally {
12317
12779
  try {
12318
12780
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12319
12781
  }
12320
- finally { if (e_118) throw e_118.error; }
12782
+ finally { if (e_122) throw e_122.error; }
12321
12783
  }
12322
12784
  }
12323
12785
  if (status === 200) {
@@ -12379,7 +12841,7 @@
12379
12841
  }));
12380
12842
  };
12381
12843
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
12382
- var e_119, _a;
12844
+ var e_123, _a;
12383
12845
  var _this = this;
12384
12846
  var status = response.status;
12385
12847
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12392,12 +12854,12 @@
12392
12854
  _headers[key] = response.headers.get(key);
12393
12855
  }
12394
12856
  }
12395
- catch (e_119_1) { e_119 = { error: e_119_1 }; }
12857
+ catch (e_123_1) { e_123 = { error: e_123_1 }; }
12396
12858
  finally {
12397
12859
  try {
12398
12860
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12399
12861
  }
12400
- finally { if (e_119) throw e_119.error; }
12862
+ finally { if (e_123) throw e_123.error; }
12401
12863
  }
12402
12864
  }
12403
12865
  if (status === 200 || status === 206) {
@@ -12470,7 +12932,7 @@
12470
12932
  }));
12471
12933
  };
12472
12934
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
12473
- var e_120, _a;
12935
+ var e_124, _a;
12474
12936
  var _this = this;
12475
12937
  var status = response.status;
12476
12938
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12483,12 +12945,12 @@
12483
12945
  _headers[key] = response.headers.get(key);
12484
12946
  }
12485
12947
  }
12486
- catch (e_120_1) { e_120 = { error: e_120_1 }; }
12948
+ catch (e_124_1) { e_124 = { error: e_124_1 }; }
12487
12949
  finally {
12488
12950
  try {
12489
12951
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12490
12952
  }
12491
- finally { if (e_120) throw e_120.error; }
12953
+ finally { if (e_124) throw e_124.error; }
12492
12954
  }
12493
12955
  }
12494
12956
  if (status === 200 || status === 206) {
@@ -12627,7 +13089,7 @@
12627
13089
  }));
12628
13090
  };
12629
13091
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
12630
- var e_121, _a;
13092
+ var e_125, _a;
12631
13093
  var _this = this;
12632
13094
  var status = response.status;
12633
13095
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12640,12 +13102,12 @@
12640
13102
  _headers[key] = response.headers.get(key);
12641
13103
  }
12642
13104
  }
12643
- catch (e_121_1) { e_121 = { error: e_121_1 }; }
13105
+ catch (e_125_1) { e_125 = { error: e_125_1 }; }
12644
13106
  finally {
12645
13107
  try {
12646
13108
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12647
13109
  }
12648
- finally { if (e_121) throw e_121.error; }
13110
+ finally { if (e_125) throw e_125.error; }
12649
13111
  }
12650
13112
  }
12651
13113
  if (status === 200 || status === 206) {
@@ -12718,7 +13180,7 @@
12718
13180
  }));
12719
13181
  };
12720
13182
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
12721
- var e_122, _a;
13183
+ var e_126, _a;
12722
13184
  var _this = this;
12723
13185
  var status = response.status;
12724
13186
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12731,12 +13193,12 @@
12731
13193
  _headers[key] = response.headers.get(key);
12732
13194
  }
12733
13195
  }
12734
- catch (e_122_1) { e_122 = { error: e_122_1 }; }
13196
+ catch (e_126_1) { e_126 = { error: e_126_1 }; }
12735
13197
  finally {
12736
13198
  try {
12737
13199
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12738
13200
  }
12739
- finally { if (e_122) throw e_122.error; }
13201
+ finally { if (e_126) throw e_126.error; }
12740
13202
  }
12741
13203
  }
12742
13204
  if (status === 200 || status === 206) {
@@ -12810,7 +13272,7 @@
12810
13272
  }));
12811
13273
  };
12812
13274
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
12813
- var e_123, _a;
13275
+ var e_127, _a;
12814
13276
  var _this = this;
12815
13277
  var status = response.status;
12816
13278
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12823,12 +13285,12 @@
12823
13285
  _headers[key] = response.headers.get(key);
12824
13286
  }
12825
13287
  }
12826
- catch (e_123_1) { e_123 = { error: e_123_1 }; }
13288
+ catch (e_127_1) { e_127 = { error: e_127_1 }; }
12827
13289
  finally {
12828
13290
  try {
12829
13291
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12830
13292
  }
12831
- finally { if (e_123) throw e_123.error; }
13293
+ finally { if (e_127) throw e_127.error; }
12832
13294
  }
12833
13295
  }
12834
13296
  if (status === 200) {
@@ -12891,7 +13353,7 @@
12891
13353
  }));
12892
13354
  };
12893
13355
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
12894
- var e_124, _a;
13356
+ var e_128, _a;
12895
13357
  var _this = this;
12896
13358
  var status = response.status;
12897
13359
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12904,12 +13366,12 @@
12904
13366
  _headers[key] = response.headers.get(key);
12905
13367
  }
12906
13368
  }
12907
- catch (e_124_1) { e_124 = { error: e_124_1 }; }
13369
+ catch (e_128_1) { e_128 = { error: e_128_1 }; }
12908
13370
  finally {
12909
13371
  try {
12910
13372
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12911
13373
  }
12912
- finally { if (e_124) throw e_124.error; }
13374
+ finally { if (e_128) throw e_128.error; }
12913
13375
  }
12914
13376
  }
12915
13377
  if (status === 200) {
@@ -12972,7 +13434,7 @@
12972
13434
  }));
12973
13435
  };
12974
13436
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
12975
- var e_125, _a;
13437
+ var e_129, _a;
12976
13438
  var _this = this;
12977
13439
  var status = response.status;
12978
13440
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -12985,12 +13447,12 @@
12985
13447
  _headers[key] = response.headers.get(key);
12986
13448
  }
12987
13449
  }
12988
- catch (e_125_1) { e_125 = { error: e_125_1 }; }
13450
+ catch (e_129_1) { e_129 = { error: e_129_1 }; }
12989
13451
  finally {
12990
13452
  try {
12991
13453
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
12992
13454
  }
12993
- finally { if (e_125) throw e_125.error; }
13455
+ finally { if (e_129) throw e_129.error; }
12994
13456
  }
12995
13457
  }
12996
13458
  if (status === 200) {
@@ -13053,7 +13515,7 @@
13053
13515
  }));
13054
13516
  };
13055
13517
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
13056
- var e_126, _a;
13518
+ var e_130, _a;
13057
13519
  var _this = this;
13058
13520
  var status = response.status;
13059
13521
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13066,12 +13528,12 @@
13066
13528
  _headers[key] = response.headers.get(key);
13067
13529
  }
13068
13530
  }
13069
- catch (e_126_1) { e_126 = { error: e_126_1 }; }
13531
+ catch (e_130_1) { e_130 = { error: e_130_1 }; }
13070
13532
  finally {
13071
13533
  try {
13072
13534
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13073
13535
  }
13074
- finally { if (e_126) throw e_126.error; }
13536
+ finally { if (e_130) throw e_130.error; }
13075
13537
  }
13076
13538
  }
13077
13539
  if (status === 200) {
@@ -13134,7 +13596,7 @@
13134
13596
  }));
13135
13597
  };
13136
13598
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
13137
- var e_127, _a;
13599
+ var e_131, _a;
13138
13600
  var _this = this;
13139
13601
  var status = response.status;
13140
13602
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13147,12 +13609,12 @@
13147
13609
  _headers[key] = response.headers.get(key);
13148
13610
  }
13149
13611
  }
13150
- catch (e_127_1) { e_127 = { error: e_127_1 }; }
13612
+ catch (e_131_1) { e_131 = { error: e_131_1 }; }
13151
13613
  finally {
13152
13614
  try {
13153
13615
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13154
13616
  }
13155
- finally { if (e_127) throw e_127.error; }
13617
+ finally { if (e_131) throw e_131.error; }
13156
13618
  }
13157
13619
  }
13158
13620
  if (status === 200) {
@@ -13215,7 +13677,7 @@
13215
13677
  }));
13216
13678
  };
13217
13679
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
13218
- var e_128, _a;
13680
+ var e_132, _a;
13219
13681
  var _this = this;
13220
13682
  var status = response.status;
13221
13683
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13228,12 +13690,12 @@
13228
13690
  _headers[key] = response.headers.get(key);
13229
13691
  }
13230
13692
  }
13231
- catch (e_128_1) { e_128 = { error: e_128_1 }; }
13693
+ catch (e_132_1) { e_132 = { error: e_132_1 }; }
13232
13694
  finally {
13233
13695
  try {
13234
13696
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13235
13697
  }
13236
- finally { if (e_128) throw e_128.error; }
13698
+ finally { if (e_132) throw e_132.error; }
13237
13699
  }
13238
13700
  }
13239
13701
  if (status === 200) {
@@ -13296,7 +13758,7 @@
13296
13758
  }));
13297
13759
  };
13298
13760
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
13299
- var e_129, _a;
13761
+ var e_133, _a;
13300
13762
  var _this = this;
13301
13763
  var status = response.status;
13302
13764
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13309,12 +13771,12 @@
13309
13771
  _headers[key] = response.headers.get(key);
13310
13772
  }
13311
13773
  }
13312
- catch (e_129_1) { e_129 = { error: e_129_1 }; }
13774
+ catch (e_133_1) { e_133 = { error: e_133_1 }; }
13313
13775
  finally {
13314
13776
  try {
13315
13777
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13316
13778
  }
13317
- finally { if (e_129) throw e_129.error; }
13779
+ finally { if (e_133) throw e_133.error; }
13318
13780
  }
13319
13781
  }
13320
13782
  if (status === 200) {
@@ -13377,7 +13839,7 @@
13377
13839
  }));
13378
13840
  };
13379
13841
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
13380
- var e_130, _a;
13842
+ var e_134, _a;
13381
13843
  var _this = this;
13382
13844
  var status = response.status;
13383
13845
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13390,12 +13852,12 @@
13390
13852
  _headers[key] = response.headers.get(key);
13391
13853
  }
13392
13854
  }
13393
- catch (e_130_1) { e_130 = { error: e_130_1 }; }
13855
+ catch (e_134_1) { e_134 = { error: e_134_1 }; }
13394
13856
  finally {
13395
13857
  try {
13396
13858
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13397
13859
  }
13398
- finally { if (e_130) throw e_130.error; }
13860
+ finally { if (e_134) throw e_134.error; }
13399
13861
  }
13400
13862
  }
13401
13863
  if (status === 200) {
@@ -13458,7 +13920,7 @@
13458
13920
  }));
13459
13921
  };
13460
13922
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
13461
- var e_131, _a;
13923
+ var e_135, _a;
13462
13924
  var _this = this;
13463
13925
  var status = response.status;
13464
13926
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13471,12 +13933,12 @@
13471
13933
  _headers[key] = response.headers.get(key);
13472
13934
  }
13473
13935
  }
13474
- catch (e_131_1) { e_131 = { error: e_131_1 }; }
13936
+ catch (e_135_1) { e_135 = { error: e_135_1 }; }
13475
13937
  finally {
13476
13938
  try {
13477
13939
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13478
13940
  }
13479
- finally { if (e_131) throw e_131.error; }
13941
+ finally { if (e_135) throw e_135.error; }
13480
13942
  }
13481
13943
  }
13482
13944
  if (status === 200) {
@@ -13539,7 +14001,7 @@
13539
14001
  }));
13540
14002
  };
13541
14003
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
13542
- var e_132, _a;
14004
+ var e_136, _a;
13543
14005
  var _this = this;
13544
14006
  var status = response.status;
13545
14007
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13552,12 +14014,12 @@
13552
14014
  _headers[key] = response.headers.get(key);
13553
14015
  }
13554
14016
  }
13555
- catch (e_132_1) { e_132 = { error: e_132_1 }; }
14017
+ catch (e_136_1) { e_136 = { error: e_136_1 }; }
13556
14018
  finally {
13557
14019
  try {
13558
14020
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13559
14021
  }
13560
- finally { if (e_132) throw e_132.error; }
14022
+ finally { if (e_136) throw e_136.error; }
13561
14023
  }
13562
14024
  }
13563
14025
  if (status === 200) {
@@ -13620,7 +14082,7 @@
13620
14082
  }));
13621
14083
  };
13622
14084
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
13623
- var e_133, _a;
14085
+ var e_137, _a;
13624
14086
  var _this = this;
13625
14087
  var status = response.status;
13626
14088
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -13633,12 +14095,12 @@
13633
14095
  _headers[key] = response.headers.get(key);
13634
14096
  }
13635
14097
  }
13636
- catch (e_133_1) { e_133 = { error: e_133_1 }; }
14098
+ catch (e_137_1) { e_137 = { error: e_137_1 }; }
13637
14099
  finally {
13638
14100
  try {
13639
14101
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
13640
14102
  }
13641
- finally { if (e_133) throw e_133.error; }
14103
+ finally { if (e_137) throw e_137.error; }
13642
14104
  }
13643
14105
  }
13644
14106
  if (status === 200) {
@@ -13673,12 +14135,43 @@
13673
14135
  { type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
13674
14136
  { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
13675
14137
  ]; };
14138
+ (function (ArtworkShapeType) {
14139
+ ArtworkShapeType["Rectangle"] = "rectangle";
14140
+ ArtworkShapeType["Ellipse"] = "ellipse";
14141
+ })(exports.ArtworkShapeType || (exports.ArtworkShapeType = {}));
14142
+ (function (ColorlessContainerDisplayType) {
14143
+ ColorlessContainerDisplayType["Color"] = "Color";
14144
+ ColorlessContainerDisplayType["Texture"] = "Texture";
14145
+ })(exports.ColorlessContainerDisplayType || (exports.ColorlessContainerDisplayType = {}));
14146
+ (function (ColorlessContainerDitherType) {
14147
+ ColorlessContainerDitherType["None"] = "None";
14148
+ ColorlessContainerDitherType["Diffusion"] = "Diffusion";
14149
+ ColorlessContainerDitherType["Pattern"] = "Pattern";
14150
+ ColorlessContainerDitherType["Noise"] = "Noise";
14151
+ })(exports.ColorlessContainerDitherType || (exports.ColorlessContainerDitherType = {}));
14152
+ (function (ColorlessContainerFormat) {
14153
+ ColorlessContainerFormat["OneBit"] = "OneBit";
14154
+ ColorlessContainerFormat["Grayscale"] = "Grayscale";
14155
+ ColorlessContainerFormat["Vector"] = "Vector";
14156
+ })(exports.ColorlessContainerFormat || (exports.ColorlessContainerFormat = {}));
13676
14157
  (function (ConflictType) {
13677
14158
  ConflictType["NameConflict"] = "NameConflict";
13678
14159
  ConflictType["FolderOverwriteConflict"] = "FolderOverwriteConflict";
13679
14160
  ConflictType["IdConflict"] = "IdConflict";
13680
14161
  ConflictType["GeneralConflict"] = "GeneralConflict";
13681
14162
  })(exports.ConflictType || (exports.ConflictType = {}));
14163
+ (function (ContainerColorSpace) {
14164
+ ContainerColorSpace["Rgb"] = "Rgb";
14165
+ ContainerColorSpace["Cmyk"] = "Cmyk";
14166
+ ContainerColorSpace["Grayscale"] = "Grayscale";
14167
+ ContainerColorSpace["Lab"] = "Lab";
14168
+ ContainerColorSpace["Spot"] = "Spot";
14169
+ })(exports.ContainerColorSpace || (exports.ContainerColorSpace = {}));
14170
+ (function (ContainerPrintingMode) {
14171
+ ContainerPrintingMode["FullColor"] = "FullColor";
14172
+ ContainerPrintingMode["LimitedColor"] = "LimitedColor";
14173
+ ContainerPrintingMode["Colorless"] = "Colorless";
14174
+ })(exports.ContainerPrintingMode || (exports.ContainerPrintingMode = {}));
13682
14175
  (function (DesignElementType) {
13683
14176
  DesignElementType["Product"] = "Product";
13684
14177
  DesignElementType["Design"] = "Design";
@@ -13713,6 +14206,16 @@
13713
14206
  ItemType["Clipart"] = "Clipart";
13714
14207
  ItemType["Group"] = "Group";
13715
14208
  })(exports.ItemType || (exports.ItemType = {}));
14209
+ (function (MockupPreviewFitMode) {
14210
+ MockupPreviewFitMode["Fit"] = "Fit";
14211
+ MockupPreviewFitMode["Shrink"] = "Shrink";
14212
+ MockupPreviewFitMode["Resize"] = "Resize";
14213
+ MockupPreviewFitMode["Fill"] = "Fill";
14214
+ })(exports.MockupPreviewFitMode || (exports.MockupPreviewFitMode = {}));
14215
+ (function (MockupPreviewFormat) {
14216
+ MockupPreviewFormat["Jpeg"] = "Jpeg";
14217
+ MockupPreviewFormat["Png"] = "Png";
14218
+ })(exports.MockupPreviewFormat || (exports.MockupPreviewFormat = {}));
13716
14219
  (function (PlaceholderItemContentType) {
13717
14220
  PlaceholderItemContentType["Image"] = "Image";
13718
14221
  })(exports.PlaceholderItemContentType || (exports.PlaceholderItemContentType = {}));
@@ -13850,6 +14353,7 @@
13850
14353
  exports.DesignAtomsApiModule = DesignAtomsApiModule;
13851
14354
  exports.DesignAtomsCompatibilityApiClient = DesignAtomsCompatibilityApiClient;
13852
14355
  exports.DesignAtomsImagesApiClient = DesignAtomsImagesApiClient;
14356
+ exports.DesignAtomsMockups2dApiClient = DesignAtomsMockups2dApiClient;
13853
14357
  exports.DesignAtomsMockups3dApiClient = DesignAtomsMockups3dApiClient;
13854
14358
  exports.DesignAtomsPalettesApiClient = DesignAtomsPalettesApiClient;
13855
14359
  exports.DesignAtomsPrintProductApiClient = DesignAtomsPrintProductApiClient;