@aurigma/ng-design-atoms-api-client 2.76.4 → 2.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +878 -319
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +507 -1
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +507 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +289 -3
- package/package.json +1 -1
|
@@ -4433,6 +4433,342 @@
|
|
|
4433
4433
|
}
|
|
4434
4434
|
return rxjs.of(null);
|
|
4435
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; }
|
|
4732
|
+
}
|
|
4733
|
+
}
|
|
4734
|
+
if (status === 200) {
|
|
4735
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4736
|
+
var result200 = null;
|
|
4737
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4738
|
+
return rxjs.of(result200);
|
|
4739
|
+
}));
|
|
4740
|
+
}
|
|
4741
|
+
else if (status === 404) {
|
|
4742
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4743
|
+
var result404 = null;
|
|
4744
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4745
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4746
|
+
}));
|
|
4747
|
+
}
|
|
4748
|
+
else if (status === 409) {
|
|
4749
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4750
|
+
var result409 = null;
|
|
4751
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
4752
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4753
|
+
}));
|
|
4754
|
+
}
|
|
4755
|
+
else if (status === 401) {
|
|
4756
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4757
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
4758
|
+
}));
|
|
4759
|
+
}
|
|
4760
|
+
else if (status === 403) {
|
|
4761
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4762
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
4763
|
+
}));
|
|
4764
|
+
}
|
|
4765
|
+
else if (status !== 200 && status !== 204) {
|
|
4766
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
4767
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4768
|
+
}));
|
|
4769
|
+
}
|
|
4770
|
+
return rxjs.of(null);
|
|
4771
|
+
};
|
|
4436
4772
|
/**
|
|
4437
4773
|
* Deletes a specified print-product container in an existing design file.
|
|
4438
4774
|
* @param id Design identifier.
|
|
@@ -4480,7 +4816,7 @@
|
|
|
4480
4816
|
}));
|
|
4481
4817
|
};
|
|
4482
4818
|
DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceContainer = function (response) {
|
|
4483
|
-
var
|
|
4819
|
+
var e_46, _a;
|
|
4484
4820
|
var _this = this;
|
|
4485
4821
|
var status = response.status;
|
|
4486
4822
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4493,12 +4829,12 @@
|
|
|
4493
4829
|
_headers[key] = response.headers.get(key);
|
|
4494
4830
|
}
|
|
4495
4831
|
}
|
|
4496
|
-
catch (
|
|
4832
|
+
catch (e_46_1) { e_46 = { error: e_46_1 }; }
|
|
4497
4833
|
finally {
|
|
4498
4834
|
try {
|
|
4499
4835
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4500
4836
|
}
|
|
4501
|
-
finally { if (
|
|
4837
|
+
finally { if (e_46) throw e_46.error; }
|
|
4502
4838
|
}
|
|
4503
4839
|
}
|
|
4504
4840
|
if (status === 204) {
|
|
@@ -4586,7 +4922,7 @@
|
|
|
4586
4922
|
}));
|
|
4587
4923
|
};
|
|
4588
4924
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceContainerModel = function (response) {
|
|
4589
|
-
var
|
|
4925
|
+
var e_47, _a;
|
|
4590
4926
|
var _this = this;
|
|
4591
4927
|
var status = response.status;
|
|
4592
4928
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4599,12 +4935,12 @@
|
|
|
4599
4935
|
_headers[key] = response.headers.get(key);
|
|
4600
4936
|
}
|
|
4601
4937
|
}
|
|
4602
|
-
catch (
|
|
4938
|
+
catch (e_47_1) { e_47 = { error: e_47_1 }; }
|
|
4603
4939
|
finally {
|
|
4604
4940
|
try {
|
|
4605
4941
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4606
4942
|
}
|
|
4607
|
-
finally { if (
|
|
4943
|
+
finally { if (e_47) throw e_47.error; }
|
|
4608
4944
|
}
|
|
4609
4945
|
}
|
|
4610
4946
|
if (status === 200) {
|
|
@@ -4698,7 +5034,7 @@
|
|
|
4698
5034
|
}));
|
|
4699
5035
|
};
|
|
4700
5036
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceContainerModel = function (response) {
|
|
4701
|
-
var
|
|
5037
|
+
var e_48, _a;
|
|
4702
5038
|
var _this = this;
|
|
4703
5039
|
var status = response.status;
|
|
4704
5040
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4711,12 +5047,12 @@
|
|
|
4711
5047
|
_headers[key] = response.headers.get(key);
|
|
4712
5048
|
}
|
|
4713
5049
|
}
|
|
4714
|
-
catch (
|
|
5050
|
+
catch (e_48_1) { e_48 = { error: e_48_1 }; }
|
|
4715
5051
|
finally {
|
|
4716
5052
|
try {
|
|
4717
5053
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4718
5054
|
}
|
|
4719
|
-
finally { if (
|
|
5055
|
+
finally { if (e_48) throw e_48.error; }
|
|
4720
5056
|
}
|
|
4721
5057
|
}
|
|
4722
5058
|
if (status === 200) {
|
|
@@ -4830,7 +5166,7 @@
|
|
|
4830
5166
|
}));
|
|
4831
5167
|
};
|
|
4832
5168
|
DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceContainerModel = function (response) {
|
|
4833
|
-
var
|
|
5169
|
+
var e_49, _a;
|
|
4834
5170
|
var _this = this;
|
|
4835
5171
|
var status = response.status;
|
|
4836
5172
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4843,12 +5179,12 @@
|
|
|
4843
5179
|
_headers[key] = response.headers.get(key);
|
|
4844
5180
|
}
|
|
4845
5181
|
}
|
|
4846
|
-
catch (
|
|
5182
|
+
catch (e_49_1) { e_49 = { error: e_49_1 }; }
|
|
4847
5183
|
finally {
|
|
4848
5184
|
try {
|
|
4849
5185
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4850
5186
|
}
|
|
4851
|
-
finally { if (
|
|
5187
|
+
finally { if (e_49) throw e_49.error; }
|
|
4852
5188
|
}
|
|
4853
5189
|
}
|
|
4854
5190
|
if (status === 200) {
|
|
@@ -4950,7 +5286,7 @@
|
|
|
4950
5286
|
}));
|
|
4951
5287
|
};
|
|
4952
5288
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItems = function (response) {
|
|
4953
|
-
var
|
|
5289
|
+
var e_50, _a;
|
|
4954
5290
|
var _this = this;
|
|
4955
5291
|
var status = response.status;
|
|
4956
5292
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -4963,12 +5299,12 @@
|
|
|
4963
5299
|
_headers[key] = response.headers.get(key);
|
|
4964
5300
|
}
|
|
4965
5301
|
}
|
|
4966
|
-
catch (
|
|
5302
|
+
catch (e_50_1) { e_50 = { error: e_50_1 }; }
|
|
4967
5303
|
finally {
|
|
4968
5304
|
try {
|
|
4969
5305
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
4970
5306
|
}
|
|
4971
|
-
finally { if (
|
|
5307
|
+
finally { if (e_50) throw e_50.error; }
|
|
4972
5308
|
}
|
|
4973
5309
|
}
|
|
4974
5310
|
if (status === 200) {
|
|
@@ -5049,7 +5385,7 @@
|
|
|
5049
5385
|
}));
|
|
5050
5386
|
};
|
|
5051
5387
|
DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurfaceItem = function (response) {
|
|
5052
|
-
var
|
|
5388
|
+
var e_51, _a;
|
|
5053
5389
|
var _this = this;
|
|
5054
5390
|
var status = response.status;
|
|
5055
5391
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5062,12 +5398,12 @@
|
|
|
5062
5398
|
_headers[key] = response.headers.get(key);
|
|
5063
5399
|
}
|
|
5064
5400
|
}
|
|
5065
|
-
catch (
|
|
5401
|
+
catch (e_51_1) { e_51 = { error: e_51_1 }; }
|
|
5066
5402
|
finally {
|
|
5067
5403
|
try {
|
|
5068
5404
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5069
5405
|
}
|
|
5070
|
-
finally { if (
|
|
5406
|
+
finally { if (e_51) throw e_51.error; }
|
|
5071
5407
|
}
|
|
5072
5408
|
}
|
|
5073
5409
|
if (status === 204) {
|
|
@@ -5155,7 +5491,7 @@
|
|
|
5155
5491
|
}));
|
|
5156
5492
|
};
|
|
5157
5493
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceItemModel = function (response) {
|
|
5158
|
-
var
|
|
5494
|
+
var e_52, _a;
|
|
5159
5495
|
var _this = this;
|
|
5160
5496
|
var status = response.status;
|
|
5161
5497
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5168,12 +5504,12 @@
|
|
|
5168
5504
|
_headers[key] = response.headers.get(key);
|
|
5169
5505
|
}
|
|
5170
5506
|
}
|
|
5171
|
-
catch (
|
|
5507
|
+
catch (e_52_1) { e_52 = { error: e_52_1 }; }
|
|
5172
5508
|
finally {
|
|
5173
5509
|
try {
|
|
5174
5510
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5175
5511
|
}
|
|
5176
|
-
finally { if (
|
|
5512
|
+
finally { if (e_52) throw e_52.error; }
|
|
5177
5513
|
}
|
|
5178
5514
|
}
|
|
5179
5515
|
if (status === 200) {
|
|
@@ -5267,7 +5603,7 @@
|
|
|
5267
5603
|
}));
|
|
5268
5604
|
};
|
|
5269
5605
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceItemModel = function (response) {
|
|
5270
|
-
var
|
|
5606
|
+
var e_53, _a;
|
|
5271
5607
|
var _this = this;
|
|
5272
5608
|
var status = response.status;
|
|
5273
5609
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5280,12 +5616,12 @@
|
|
|
5280
5616
|
_headers[key] = response.headers.get(key);
|
|
5281
5617
|
}
|
|
5282
5618
|
}
|
|
5283
|
-
catch (
|
|
5619
|
+
catch (e_53_1) { e_53 = { error: e_53_1 }; }
|
|
5284
5620
|
finally {
|
|
5285
5621
|
try {
|
|
5286
5622
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5287
5623
|
}
|
|
5288
|
-
finally { if (
|
|
5624
|
+
finally { if (e_53) throw e_53.error; }
|
|
5289
5625
|
}
|
|
5290
5626
|
}
|
|
5291
5627
|
if (status === 200) {
|
|
@@ -5399,7 +5735,7 @@
|
|
|
5399
5735
|
}));
|
|
5400
5736
|
};
|
|
5401
5737
|
DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceItemModel = function (response) {
|
|
5402
|
-
var
|
|
5738
|
+
var e_54, _a;
|
|
5403
5739
|
var _this = this;
|
|
5404
5740
|
var status = response.status;
|
|
5405
5741
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5412,12 +5748,12 @@
|
|
|
5412
5748
|
_headers[key] = response.headers.get(key);
|
|
5413
5749
|
}
|
|
5414
5750
|
}
|
|
5415
|
-
catch (
|
|
5751
|
+
catch (e_54_1) { e_54 = { error: e_54_1 }; }
|
|
5416
5752
|
finally {
|
|
5417
5753
|
try {
|
|
5418
5754
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5419
5755
|
}
|
|
5420
|
-
finally { if (
|
|
5756
|
+
finally { if (e_54) throw e_54.error; }
|
|
5421
5757
|
}
|
|
5422
5758
|
}
|
|
5423
5759
|
if (status === 200) {
|
|
@@ -5510,7 +5846,7 @@
|
|
|
5510
5846
|
}));
|
|
5511
5847
|
};
|
|
5512
5848
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignProductModel = function (response) {
|
|
5513
|
-
var
|
|
5849
|
+
var e_55, _a;
|
|
5514
5850
|
var _this = this;
|
|
5515
5851
|
var status = response.status;
|
|
5516
5852
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5523,12 +5859,12 @@
|
|
|
5523
5859
|
_headers[key] = response.headers.get(key);
|
|
5524
5860
|
}
|
|
5525
5861
|
}
|
|
5526
|
-
catch (
|
|
5862
|
+
catch (e_55_1) { e_55 = { error: e_55_1 }; }
|
|
5527
5863
|
finally {
|
|
5528
5864
|
try {
|
|
5529
5865
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5530
5866
|
}
|
|
5531
|
-
finally { if (
|
|
5867
|
+
finally { if (e_55) throw e_55.error; }
|
|
5532
5868
|
}
|
|
5533
5869
|
}
|
|
5534
5870
|
if (status === 200) {
|
|
@@ -5610,7 +5946,7 @@
|
|
|
5610
5946
|
}));
|
|
5611
5947
|
};
|
|
5612
5948
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignProductModel = function (response) {
|
|
5613
|
-
var
|
|
5949
|
+
var e_56, _a;
|
|
5614
5950
|
var _this = this;
|
|
5615
5951
|
var status = response.status;
|
|
5616
5952
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5623,12 +5959,12 @@
|
|
|
5623
5959
|
_headers[key] = response.headers.get(key);
|
|
5624
5960
|
}
|
|
5625
5961
|
}
|
|
5626
|
-
catch (
|
|
5962
|
+
catch (e_56_1) { e_56 = { error: e_56_1 }; }
|
|
5627
5963
|
finally {
|
|
5628
5964
|
try {
|
|
5629
5965
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5630
5966
|
}
|
|
5631
|
-
finally { if (
|
|
5967
|
+
finally { if (e_56) throw e_56.error; }
|
|
5632
5968
|
}
|
|
5633
5969
|
}
|
|
5634
5970
|
if (status === 204) {
|
|
@@ -5708,7 +6044,7 @@
|
|
|
5708
6044
|
}));
|
|
5709
6045
|
};
|
|
5710
6046
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreas = function (response) {
|
|
5711
|
-
var
|
|
6047
|
+
var e_57, _a;
|
|
5712
6048
|
var _this = this;
|
|
5713
6049
|
var status = response.status;
|
|
5714
6050
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5721,12 +6057,12 @@
|
|
|
5721
6057
|
_headers[key] = response.headers.get(key);
|
|
5722
6058
|
}
|
|
5723
6059
|
}
|
|
5724
|
-
catch (
|
|
6060
|
+
catch (e_57_1) { e_57 = { error: e_57_1 }; }
|
|
5725
6061
|
finally {
|
|
5726
6062
|
try {
|
|
5727
6063
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5728
6064
|
}
|
|
5729
|
-
finally { if (
|
|
6065
|
+
finally { if (e_57) throw e_57.error; }
|
|
5730
6066
|
}
|
|
5731
6067
|
}
|
|
5732
6068
|
if (status === 200) {
|
|
@@ -5810,7 +6146,7 @@
|
|
|
5810
6146
|
}));
|
|
5811
6147
|
};
|
|
5812
6148
|
DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintArea = function (response) {
|
|
5813
|
-
var
|
|
6149
|
+
var e_58, _a;
|
|
5814
6150
|
var _this = this;
|
|
5815
6151
|
var status = response.status;
|
|
5816
6152
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5823,12 +6159,12 @@
|
|
|
5823
6159
|
_headers[key] = response.headers.get(key);
|
|
5824
6160
|
}
|
|
5825
6161
|
}
|
|
5826
|
-
catch (
|
|
6162
|
+
catch (e_58_1) { e_58 = { error: e_58_1 }; }
|
|
5827
6163
|
finally {
|
|
5828
6164
|
try {
|
|
5829
6165
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5830
6166
|
}
|
|
5831
|
-
finally { if (
|
|
6167
|
+
finally { if (e_58) throw e_58.error; }
|
|
5832
6168
|
}
|
|
5833
6169
|
}
|
|
5834
6170
|
if (status === 200) {
|
|
@@ -5929,7 +6265,7 @@
|
|
|
5929
6265
|
}));
|
|
5930
6266
|
};
|
|
5931
6267
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintArea = function (response) {
|
|
5932
|
-
var
|
|
6268
|
+
var e_59, _a;
|
|
5933
6269
|
var _this = this;
|
|
5934
6270
|
var status = response.status;
|
|
5935
6271
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -5942,12 +6278,12 @@
|
|
|
5942
6278
|
_headers[key] = response.headers.get(key);
|
|
5943
6279
|
}
|
|
5944
6280
|
}
|
|
5945
|
-
catch (
|
|
6281
|
+
catch (e_59_1) { e_59 = { error: e_59_1 }; }
|
|
5946
6282
|
finally {
|
|
5947
6283
|
try {
|
|
5948
6284
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
5949
6285
|
}
|
|
5950
|
-
finally { if (
|
|
6286
|
+
finally { if (e_59) throw e_59.error; }
|
|
5951
6287
|
}
|
|
5952
6288
|
}
|
|
5953
6289
|
if (status === 200) {
|
|
@@ -6042,7 +6378,7 @@
|
|
|
6042
6378
|
}));
|
|
6043
6379
|
};
|
|
6044
6380
|
DesignAtomsPrintProductApiClient.prototype.processDeleteDesignPrintArea = function (response) {
|
|
6045
|
-
var
|
|
6381
|
+
var e_60, _a;
|
|
6046
6382
|
var _this = this;
|
|
6047
6383
|
var status = response.status;
|
|
6048
6384
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6055,12 +6391,12 @@
|
|
|
6055
6391
|
_headers[key] = response.headers.get(key);
|
|
6056
6392
|
}
|
|
6057
6393
|
}
|
|
6058
|
-
catch (
|
|
6394
|
+
catch (e_60_1) { e_60 = { error: e_60_1 }; }
|
|
6059
6395
|
finally {
|
|
6060
6396
|
try {
|
|
6061
6397
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6062
6398
|
}
|
|
6063
|
-
finally { if (
|
|
6399
|
+
finally { if (e_60) throw e_60.error; }
|
|
6064
6400
|
}
|
|
6065
6401
|
}
|
|
6066
6402
|
if (status === 204) {
|
|
@@ -6148,7 +6484,7 @@
|
|
|
6148
6484
|
}));
|
|
6149
6485
|
};
|
|
6150
6486
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignPrintAreaModel = function (response) {
|
|
6151
|
-
var
|
|
6487
|
+
var e_61, _a;
|
|
6152
6488
|
var _this = this;
|
|
6153
6489
|
var status = response.status;
|
|
6154
6490
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6161,12 +6497,12 @@
|
|
|
6161
6497
|
_headers[key] = response.headers.get(key);
|
|
6162
6498
|
}
|
|
6163
6499
|
}
|
|
6164
|
-
catch (
|
|
6500
|
+
catch (e_61_1) { e_61 = { error: e_61_1 }; }
|
|
6165
6501
|
finally {
|
|
6166
6502
|
try {
|
|
6167
6503
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6168
6504
|
}
|
|
6169
|
-
finally { if (
|
|
6505
|
+
finally { if (e_61) throw e_61.error; }
|
|
6170
6506
|
}
|
|
6171
6507
|
}
|
|
6172
6508
|
if (status === 200) {
|
|
@@ -6260,7 +6596,7 @@
|
|
|
6260
6596
|
}));
|
|
6261
6597
|
};
|
|
6262
6598
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignPrintAreaModel = function (response) {
|
|
6263
|
-
var
|
|
6599
|
+
var e_62, _a;
|
|
6264
6600
|
var _this = this;
|
|
6265
6601
|
var status = response.status;
|
|
6266
6602
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6273,12 +6609,12 @@
|
|
|
6273
6609
|
_headers[key] = response.headers.get(key);
|
|
6274
6610
|
}
|
|
6275
6611
|
}
|
|
6276
|
-
catch (
|
|
6612
|
+
catch (e_62_1) { e_62 = { error: e_62_1 }; }
|
|
6277
6613
|
finally {
|
|
6278
6614
|
try {
|
|
6279
6615
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6280
6616
|
}
|
|
6281
|
-
finally { if (
|
|
6617
|
+
finally { if (e_62) throw e_62.error; }
|
|
6282
6618
|
}
|
|
6283
6619
|
}
|
|
6284
6620
|
if (status === 200) {
|
|
@@ -6379,7 +6715,7 @@
|
|
|
6379
6715
|
}));
|
|
6380
6716
|
};
|
|
6381
6717
|
DesignAtomsPrintProductApiClient.prototype.processAddDesignPrintAreaModel = function (response) {
|
|
6382
|
-
var
|
|
6718
|
+
var e_63, _a;
|
|
6383
6719
|
var _this = this;
|
|
6384
6720
|
var status = response.status;
|
|
6385
6721
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6392,12 +6728,12 @@
|
|
|
6392
6728
|
_headers[key] = response.headers.get(key);
|
|
6393
6729
|
}
|
|
6394
6730
|
}
|
|
6395
|
-
catch (
|
|
6731
|
+
catch (e_63_1) { e_63 = { error: e_63_1 }; }
|
|
6396
6732
|
finally {
|
|
6397
6733
|
try {
|
|
6398
6734
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6399
6735
|
}
|
|
6400
|
-
finally { if (
|
|
6736
|
+
finally { if (e_63) throw e_63.error; }
|
|
6401
6737
|
}
|
|
6402
6738
|
}
|
|
6403
6739
|
if (status === 200) {
|
|
@@ -6490,7 +6826,7 @@
|
|
|
6490
6826
|
}));
|
|
6491
6827
|
};
|
|
6492
6828
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaces = function (response) {
|
|
6493
|
-
var
|
|
6829
|
+
var e_64, _a;
|
|
6494
6830
|
var _this = this;
|
|
6495
6831
|
var status = response.status;
|
|
6496
6832
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6503,12 +6839,12 @@
|
|
|
6503
6839
|
_headers[key] = response.headers.get(key);
|
|
6504
6840
|
}
|
|
6505
6841
|
}
|
|
6506
|
-
catch (
|
|
6842
|
+
catch (e_64_1) { e_64 = { error: e_64_1 }; }
|
|
6507
6843
|
finally {
|
|
6508
6844
|
try {
|
|
6509
6845
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6510
6846
|
}
|
|
6511
|
-
finally { if (
|
|
6847
|
+
finally { if (e_64) throw e_64.error; }
|
|
6512
6848
|
}
|
|
6513
6849
|
}
|
|
6514
6850
|
if (status === 200) {
|
|
@@ -6589,7 +6925,7 @@
|
|
|
6589
6925
|
}));
|
|
6590
6926
|
};
|
|
6591
6927
|
DesignAtomsPrintProductApiClient.prototype.processDeleteDesignSurface = function (response) {
|
|
6592
|
-
var
|
|
6928
|
+
var e_65, _a;
|
|
6593
6929
|
var _this = this;
|
|
6594
6930
|
var status = response.status;
|
|
6595
6931
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6602,12 +6938,12 @@
|
|
|
6602
6938
|
_headers[key] = response.headers.get(key);
|
|
6603
6939
|
}
|
|
6604
6940
|
}
|
|
6605
|
-
catch (
|
|
6941
|
+
catch (e_65_1) { e_65 = { error: e_65_1 }; }
|
|
6606
6942
|
finally {
|
|
6607
6943
|
try {
|
|
6608
6944
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6609
6945
|
}
|
|
6610
|
-
finally { if (
|
|
6946
|
+
finally { if (e_65) throw e_65.error; }
|
|
6611
6947
|
}
|
|
6612
6948
|
}
|
|
6613
6949
|
if (status === 204) {
|
|
@@ -6695,7 +7031,7 @@
|
|
|
6695
7031
|
}));
|
|
6696
7032
|
};
|
|
6697
7033
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockup = function (response) {
|
|
6698
|
-
var
|
|
7034
|
+
var e_66, _a;
|
|
6699
7035
|
var _this = this;
|
|
6700
7036
|
var status = response.status;
|
|
6701
7037
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6708,12 +7044,12 @@
|
|
|
6708
7044
|
_headers[key] = response.headers.get(key);
|
|
6709
7045
|
}
|
|
6710
7046
|
}
|
|
6711
|
-
catch (
|
|
7047
|
+
catch (e_66_1) { e_66 = { error: e_66_1 }; }
|
|
6712
7048
|
finally {
|
|
6713
7049
|
try {
|
|
6714
7050
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6715
7051
|
}
|
|
6716
|
-
finally { if (
|
|
7052
|
+
finally { if (e_66) throw e_66.error; }
|
|
6717
7053
|
}
|
|
6718
7054
|
}
|
|
6719
7055
|
if (status === 200) {
|
|
@@ -6825,7 +7161,7 @@
|
|
|
6825
7161
|
}));
|
|
6826
7162
|
};
|
|
6827
7163
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceDownMockup = function (response) {
|
|
6828
|
-
var
|
|
7164
|
+
var e_67, _a;
|
|
6829
7165
|
var _this = this;
|
|
6830
7166
|
var status = response.status;
|
|
6831
7167
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6838,12 +7174,12 @@
|
|
|
6838
7174
|
_headers[key] = response.headers.get(key);
|
|
6839
7175
|
}
|
|
6840
7176
|
}
|
|
6841
|
-
catch (
|
|
7177
|
+
catch (e_67_1) { e_67 = { error: e_67_1 }; }
|
|
6842
7178
|
finally {
|
|
6843
7179
|
try {
|
|
6844
7180
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6845
7181
|
}
|
|
6846
|
-
finally { if (
|
|
7182
|
+
finally { if (e_67) throw e_67.error; }
|
|
6847
7183
|
}
|
|
6848
7184
|
}
|
|
6849
7185
|
if (status === 200) {
|
|
@@ -6940,7 +7276,7 @@
|
|
|
6940
7276
|
}));
|
|
6941
7277
|
};
|
|
6942
7278
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceDownMockupContent = function (response) {
|
|
6943
|
-
var
|
|
7279
|
+
var e_68, _a;
|
|
6944
7280
|
var _this = this;
|
|
6945
7281
|
var status = response.status;
|
|
6946
7282
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -6953,12 +7289,12 @@
|
|
|
6953
7289
|
_headers[key] = response.headers.get(key);
|
|
6954
7290
|
}
|
|
6955
7291
|
}
|
|
6956
|
-
catch (
|
|
7292
|
+
catch (e_68_1) { e_68 = { error: e_68_1 }; }
|
|
6957
7293
|
finally {
|
|
6958
7294
|
try {
|
|
6959
7295
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
6960
7296
|
}
|
|
6961
|
-
finally { if (
|
|
7297
|
+
finally { if (e_68) throw e_68.error; }
|
|
6962
7298
|
}
|
|
6963
7299
|
}
|
|
6964
7300
|
if (status === 200 || status === 206) {
|
|
@@ -7054,7 +7390,7 @@
|
|
|
7054
7390
|
}));
|
|
7055
7391
|
};
|
|
7056
7392
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockup = function (response) {
|
|
7057
|
-
var
|
|
7393
|
+
var e_69, _a;
|
|
7058
7394
|
var _this = this;
|
|
7059
7395
|
var status = response.status;
|
|
7060
7396
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7067,12 +7403,12 @@
|
|
|
7067
7403
|
_headers[key] = response.headers.get(key);
|
|
7068
7404
|
}
|
|
7069
7405
|
}
|
|
7070
|
-
catch (
|
|
7406
|
+
catch (e_69_1) { e_69 = { error: e_69_1 }; }
|
|
7071
7407
|
finally {
|
|
7072
7408
|
try {
|
|
7073
7409
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7074
7410
|
}
|
|
7075
|
-
finally { if (
|
|
7411
|
+
finally { if (e_69) throw e_69.error; }
|
|
7076
7412
|
}
|
|
7077
7413
|
}
|
|
7078
7414
|
if (status === 200) {
|
|
@@ -7184,7 +7520,7 @@
|
|
|
7184
7520
|
}));
|
|
7185
7521
|
};
|
|
7186
7522
|
DesignAtomsPrintProductApiClient.prototype.processUpdateDesignSurfaceUpMockup = function (response) {
|
|
7187
|
-
var
|
|
7523
|
+
var e_70, _a;
|
|
7188
7524
|
var _this = this;
|
|
7189
7525
|
var status = response.status;
|
|
7190
7526
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7197,12 +7533,12 @@
|
|
|
7197
7533
|
_headers[key] = response.headers.get(key);
|
|
7198
7534
|
}
|
|
7199
7535
|
}
|
|
7200
|
-
catch (
|
|
7536
|
+
catch (e_70_1) { e_70 = { error: e_70_1 }; }
|
|
7201
7537
|
finally {
|
|
7202
7538
|
try {
|
|
7203
7539
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7204
7540
|
}
|
|
7205
|
-
finally { if (
|
|
7541
|
+
finally { if (e_70) throw e_70.error; }
|
|
7206
7542
|
}
|
|
7207
7543
|
}
|
|
7208
7544
|
if (status === 200) {
|
|
@@ -7299,7 +7635,7 @@
|
|
|
7299
7635
|
}));
|
|
7300
7636
|
};
|
|
7301
7637
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceUpMockupContent = function (response) {
|
|
7302
|
-
var
|
|
7638
|
+
var e_71, _a;
|
|
7303
7639
|
var _this = this;
|
|
7304
7640
|
var status = response.status;
|
|
7305
7641
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7312,12 +7648,12 @@
|
|
|
7312
7648
|
_headers[key] = response.headers.get(key);
|
|
7313
7649
|
}
|
|
7314
7650
|
}
|
|
7315
|
-
catch (
|
|
7651
|
+
catch (e_71_1) { e_71 = { error: e_71_1 }; }
|
|
7316
7652
|
finally {
|
|
7317
7653
|
try {
|
|
7318
7654
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7319
7655
|
}
|
|
7320
|
-
finally { if (
|
|
7656
|
+
finally { if (e_71) throw e_71.error; }
|
|
7321
7657
|
}
|
|
7322
7658
|
}
|
|
7323
7659
|
if (status === 200 || status === 206) {
|
|
@@ -7413,7 +7749,7 @@
|
|
|
7413
7749
|
}));
|
|
7414
7750
|
};
|
|
7415
7751
|
DesignAtomsPrintProductApiClient.prototype.processGetDesignSurfaceModel = function (response) {
|
|
7416
|
-
var
|
|
7752
|
+
var e_72, _a;
|
|
7417
7753
|
var _this = this;
|
|
7418
7754
|
var status = response.status;
|
|
7419
7755
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7426,12 +7762,12 @@
|
|
|
7426
7762
|
_headers[key] = response.headers.get(key);
|
|
7427
7763
|
}
|
|
7428
7764
|
}
|
|
7429
|
-
catch (
|
|
7765
|
+
catch (e_72_1) { e_72 = { error: e_72_1 }; }
|
|
7430
7766
|
finally {
|
|
7431
7767
|
try {
|
|
7432
7768
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7433
7769
|
}
|
|
7434
|
-
finally { if (
|
|
7770
|
+
finally { if (e_72) throw e_72.error; }
|
|
7435
7771
|
}
|
|
7436
7772
|
}
|
|
7437
7773
|
if (status === 200) {
|
|
@@ -7526,7 +7862,7 @@
|
|
|
7526
7862
|
}));
|
|
7527
7863
|
};
|
|
7528
7864
|
DesignAtomsPrintProductApiClient.prototype.processReplaceDesignSurfaceModel = function (response) {
|
|
7529
|
-
var
|
|
7865
|
+
var e_73, _a;
|
|
7530
7866
|
var _this = this;
|
|
7531
7867
|
var status = response.status;
|
|
7532
7868
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7539,12 +7875,12 @@
|
|
|
7539
7875
|
_headers[key] = response.headers.get(key);
|
|
7540
7876
|
}
|
|
7541
7877
|
}
|
|
7542
|
-
catch (
|
|
7878
|
+
catch (e_73_1) { e_73 = { error: e_73_1 }; }
|
|
7543
7879
|
finally {
|
|
7544
7880
|
try {
|
|
7545
7881
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7546
7882
|
}
|
|
7547
|
-
finally { if (
|
|
7883
|
+
finally { if (e_73) throw e_73.error; }
|
|
7548
7884
|
}
|
|
7549
7885
|
}
|
|
7550
7886
|
if (status === 200) {
|
|
@@ -7630,11 +7966,134 @@
|
|
|
7630
7966
|
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
7631
7967
|
return _this.http.request("post", url_, transformedOptions_);
|
|
7632
7968
|
})).pipe(operators.mergeMap(function (response_) {
|
|
7633
|
-
return _this.transformResult(url_, response_, function (r) { return _this.processAddDesignSurfaceModel(r); });
|
|
7969
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processAddDesignSurfaceModel(r); });
|
|
7970
|
+
})).pipe(operators.catchError(function (response_) {
|
|
7971
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
7972
|
+
try {
|
|
7973
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processAddDesignSurfaceModel(r); });
|
|
7974
|
+
}
|
|
7975
|
+
catch (e) {
|
|
7976
|
+
return rxjs.throwError(e);
|
|
7977
|
+
}
|
|
7978
|
+
}
|
|
7979
|
+
else
|
|
7980
|
+
return rxjs.throwError(response_);
|
|
7981
|
+
}));
|
|
7982
|
+
};
|
|
7983
|
+
DesignAtomsPrintProductApiClient.prototype.processAddDesignSurfaceModel = function (response) {
|
|
7984
|
+
var e_74, _a;
|
|
7985
|
+
var _this = this;
|
|
7986
|
+
var status = response.status;
|
|
7987
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
7988
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
7989
|
+
var _headers = {};
|
|
7990
|
+
if (response.headers) {
|
|
7991
|
+
try {
|
|
7992
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
7993
|
+
var key = _c.value;
|
|
7994
|
+
_headers[key] = response.headers.get(key);
|
|
7995
|
+
}
|
|
7996
|
+
}
|
|
7997
|
+
catch (e_74_1) { e_74 = { error: e_74_1 }; }
|
|
7998
|
+
finally {
|
|
7999
|
+
try {
|
|
8000
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8001
|
+
}
|
|
8002
|
+
finally { if (e_74) throw e_74.error; }
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
if (status === 200) {
|
|
8006
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8007
|
+
var result200 = null;
|
|
8008
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8009
|
+
return rxjs.of(result200);
|
|
8010
|
+
}));
|
|
8011
|
+
}
|
|
8012
|
+
else if (status === 400) {
|
|
8013
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8014
|
+
var result400 = null;
|
|
8015
|
+
result400 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8016
|
+
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
8017
|
+
}));
|
|
8018
|
+
}
|
|
8019
|
+
else if (status === 404) {
|
|
8020
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8021
|
+
var result404 = null;
|
|
8022
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8023
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
8024
|
+
}));
|
|
8025
|
+
}
|
|
8026
|
+
else if (status === 401) {
|
|
8027
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8028
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8029
|
+
}));
|
|
8030
|
+
}
|
|
8031
|
+
else if (status === 403) {
|
|
8032
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8033
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
8034
|
+
}));
|
|
8035
|
+
}
|
|
8036
|
+
else if (status !== 200 && status !== 204) {
|
|
8037
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
8038
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
8039
|
+
}));
|
|
8040
|
+
}
|
|
8041
|
+
return rxjs.of(null);
|
|
8042
|
+
};
|
|
8043
|
+
return DesignAtomsPrintProductApiClient;
|
|
8044
|
+
}(ApiClientBase));
|
|
8045
|
+
DesignAtomsPrintProductApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsPrintProductApiClient_Factory() { return new DesignAtomsPrintProductApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsPrintProductApiClient, providedIn: "root" });
|
|
8046
|
+
DesignAtomsPrintProductApiClient.decorators = [
|
|
8047
|
+
{ type: i0.Injectable, args: [{
|
|
8048
|
+
providedIn: 'root'
|
|
8049
|
+
},] }
|
|
8050
|
+
];
|
|
8051
|
+
DesignAtomsPrintProductApiClient.ctorParameters = function () { return [
|
|
8052
|
+
{ type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
|
|
8053
|
+
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
8054
|
+
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
8055
|
+
]; };
|
|
8056
|
+
var DesignAtomsPrintProductItemsApiClient = /** @class */ (function (_super) {
|
|
8057
|
+
__extends(DesignAtomsPrintProductItemsApiClient, _super);
|
|
8058
|
+
function DesignAtomsPrintProductItemsApiClient(configuration, http, baseUrl) {
|
|
8059
|
+
var _this = _super.call(this, configuration) || this;
|
|
8060
|
+
_this.jsonParseReviver = undefined;
|
|
8061
|
+
_this.http = http;
|
|
8062
|
+
_this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
|
|
8063
|
+
return _this;
|
|
8064
|
+
}
|
|
8065
|
+
/**
|
|
8066
|
+
* Apply effects to print-product item image.
|
|
8067
|
+
* @param tenantId (optional) Tenant ID.
|
|
8068
|
+
* @param body (optional)
|
|
8069
|
+
* @return Success
|
|
8070
|
+
*/
|
|
8071
|
+
DesignAtomsPrintProductItemsApiClient.prototype.applyItemEffects = function (tenantId, body) {
|
|
8072
|
+
var _this = this;
|
|
8073
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/apply-effects?";
|
|
8074
|
+
if (tenantId === null)
|
|
8075
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
8076
|
+
else if (tenantId !== undefined)
|
|
8077
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
8078
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
8079
|
+
var content_ = JSON.stringify(body);
|
|
8080
|
+
var options_ = {
|
|
8081
|
+
body: content_,
|
|
8082
|
+
observe: "response",
|
|
8083
|
+
responseType: "blob",
|
|
8084
|
+
headers: new i1.HttpHeaders({
|
|
8085
|
+
"Content-Type": "application/json",
|
|
8086
|
+
"Accept": "application/json"
|
|
8087
|
+
})
|
|
8088
|
+
};
|
|
8089
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
8090
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
8091
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
8092
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processApplyItemEffects(r); });
|
|
7634
8093
|
})).pipe(operators.catchError(function (response_) {
|
|
7635
8094
|
if (response_ instanceof i1.HttpResponseBase) {
|
|
7636
8095
|
try {
|
|
7637
|
-
return _this.transformResult(url_, response_, function (r) { return _this.
|
|
8096
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processApplyItemEffects(r); });
|
|
7638
8097
|
}
|
|
7639
8098
|
catch (e) {
|
|
7640
8099
|
return rxjs.throwError(e);
|
|
@@ -7644,8 +8103,8 @@
|
|
|
7644
8103
|
return rxjs.throwError(response_);
|
|
7645
8104
|
}));
|
|
7646
8105
|
};
|
|
7647
|
-
|
|
7648
|
-
var
|
|
8106
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processApplyItemEffects = function (response) {
|
|
8107
|
+
var e_75, _a;
|
|
7649
8108
|
var _this = this;
|
|
7650
8109
|
var status = response.status;
|
|
7651
8110
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7658,12 +8117,12 @@
|
|
|
7658
8117
|
_headers[key] = response.headers.get(key);
|
|
7659
8118
|
}
|
|
7660
8119
|
}
|
|
7661
|
-
catch (
|
|
8120
|
+
catch (e_75_1) { e_75 = { error: e_75_1 }; }
|
|
7662
8121
|
finally {
|
|
7663
8122
|
try {
|
|
7664
8123
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7665
8124
|
}
|
|
7666
|
-
finally { if (
|
|
8125
|
+
finally { if (e_75) throw e_75.error; }
|
|
7667
8126
|
}
|
|
7668
8127
|
}
|
|
7669
8128
|
if (status === 200) {
|
|
@@ -7680,13 +8139,6 @@
|
|
|
7680
8139
|
return throwException("Bad Request", status, _responseText, _headers, result400);
|
|
7681
8140
|
}));
|
|
7682
8141
|
}
|
|
7683
|
-
else if (status === 404) {
|
|
7684
|
-
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7685
|
-
var result404 = null;
|
|
7686
|
-
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
7687
|
-
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
7688
|
-
}));
|
|
7689
|
-
}
|
|
7690
8142
|
else if (status === 401) {
|
|
7691
8143
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7692
8144
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -7704,37 +8156,15 @@
|
|
|
7704
8156
|
}
|
|
7705
8157
|
return rxjs.of(null);
|
|
7706
8158
|
};
|
|
7707
|
-
return DesignAtomsPrintProductApiClient;
|
|
7708
|
-
}(ApiClientBase));
|
|
7709
|
-
DesignAtomsPrintProductApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsPrintProductApiClient_Factory() { return new DesignAtomsPrintProductApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsPrintProductApiClient, providedIn: "root" });
|
|
7710
|
-
DesignAtomsPrintProductApiClient.decorators = [
|
|
7711
|
-
{ type: i0.Injectable, args: [{
|
|
7712
|
-
providedIn: 'root'
|
|
7713
|
-
},] }
|
|
7714
|
-
];
|
|
7715
|
-
DesignAtomsPrintProductApiClient.ctorParameters = function () { return [
|
|
7716
|
-
{ type: ApiClientConfiguration, decorators: [{ type: i0.Inject, args: [ApiClientConfiguration,] }] },
|
|
7717
|
-
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
7718
|
-
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
7719
|
-
]; };
|
|
7720
|
-
var DesignAtomsPrintProductItemsApiClient = /** @class */ (function (_super) {
|
|
7721
|
-
__extends(DesignAtomsPrintProductItemsApiClient, _super);
|
|
7722
|
-
function DesignAtomsPrintProductItemsApiClient(configuration, http, baseUrl) {
|
|
7723
|
-
var _this = _super.call(this, configuration) || this;
|
|
7724
|
-
_this.jsonParseReviver = undefined;
|
|
7725
|
-
_this.http = http;
|
|
7726
|
-
_this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : _this.getBaseUrl("");
|
|
7727
|
-
return _this;
|
|
7728
|
-
}
|
|
7729
8159
|
/**
|
|
7730
|
-
*
|
|
8160
|
+
* Creates ellipse print-product item and returns its serialized model.
|
|
7731
8161
|
* @param tenantId (optional) Tenant ID.
|
|
7732
|
-
* @param body (optional)
|
|
8162
|
+
* @param body (optional) Operation parameters.
|
|
7733
8163
|
* @return Success
|
|
7734
8164
|
*/
|
|
7735
|
-
DesignAtomsPrintProductItemsApiClient.prototype.
|
|
8165
|
+
DesignAtomsPrintProductItemsApiClient.prototype.createEllipseItem = function (tenantId, body) {
|
|
7736
8166
|
var _this = this;
|
|
7737
|
-
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/
|
|
8167
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/ellipse?";
|
|
7738
8168
|
if (tenantId === null)
|
|
7739
8169
|
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
7740
8170
|
else if (tenantId !== undefined)
|
|
@@ -7753,11 +8183,11 @@
|
|
|
7753
8183
|
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
7754
8184
|
return _this.http.request("post", url_, transformedOptions_);
|
|
7755
8185
|
})).pipe(operators.mergeMap(function (response_) {
|
|
7756
|
-
return _this.transformResult(url_, response_, function (r) { return _this.
|
|
8186
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateEllipseItem(r); });
|
|
7757
8187
|
})).pipe(operators.catchError(function (response_) {
|
|
7758
8188
|
if (response_ instanceof i1.HttpResponseBase) {
|
|
7759
8189
|
try {
|
|
7760
|
-
return _this.transformResult(url_, response_, function (r) { return _this.
|
|
8190
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateEllipseItem(r); });
|
|
7761
8191
|
}
|
|
7762
8192
|
catch (e) {
|
|
7763
8193
|
return rxjs.throwError(e);
|
|
@@ -7767,8 +8197,8 @@
|
|
|
7767
8197
|
return rxjs.throwError(response_);
|
|
7768
8198
|
}));
|
|
7769
8199
|
};
|
|
7770
|
-
DesignAtomsPrintProductItemsApiClient.prototype.
|
|
7771
|
-
var
|
|
8200
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processCreateEllipseItem = function (response) {
|
|
8201
|
+
var e_76, _a;
|
|
7772
8202
|
var _this = this;
|
|
7773
8203
|
var status = response.status;
|
|
7774
8204
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7781,12 +8211,12 @@
|
|
|
7781
8211
|
_headers[key] = response.headers.get(key);
|
|
7782
8212
|
}
|
|
7783
8213
|
}
|
|
7784
|
-
catch (
|
|
8214
|
+
catch (e_76_1) { e_76 = { error: e_76_1 }; }
|
|
7785
8215
|
finally {
|
|
7786
8216
|
try {
|
|
7787
8217
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7788
8218
|
}
|
|
7789
|
-
finally { if (
|
|
8219
|
+
finally { if (e_76) throw e_76.error; }
|
|
7790
8220
|
}
|
|
7791
8221
|
}
|
|
7792
8222
|
if (status === 200) {
|
|
@@ -7796,11 +8226,11 @@
|
|
|
7796
8226
|
return rxjs.of(result200);
|
|
7797
8227
|
}));
|
|
7798
8228
|
}
|
|
7799
|
-
else if (status ===
|
|
8229
|
+
else if (status === 404) {
|
|
7800
8230
|
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
7801
|
-
var
|
|
7802
|
-
|
|
7803
|
-
return throwException("
|
|
8231
|
+
var result404 = null;
|
|
8232
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
8233
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
7804
8234
|
}));
|
|
7805
8235
|
}
|
|
7806
8236
|
else if (status === 401) {
|
|
@@ -7862,7 +8292,7 @@
|
|
|
7862
8292
|
}));
|
|
7863
8293
|
};
|
|
7864
8294
|
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImage = function (response) {
|
|
7865
|
-
var
|
|
8295
|
+
var e_77, _a;
|
|
7866
8296
|
var _this = this;
|
|
7867
8297
|
var status = response.status;
|
|
7868
8298
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7875,12 +8305,12 @@
|
|
|
7875
8305
|
_headers[key] = response.headers.get(key);
|
|
7876
8306
|
}
|
|
7877
8307
|
}
|
|
7878
|
-
catch (
|
|
8308
|
+
catch (e_77_1) { e_77 = { error: e_77_1 }; }
|
|
7879
8309
|
finally {
|
|
7880
8310
|
try {
|
|
7881
8311
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7882
8312
|
}
|
|
7883
|
-
finally { if (
|
|
8313
|
+
finally { if (e_77) throw e_77.error; }
|
|
7884
8314
|
}
|
|
7885
8315
|
}
|
|
7886
8316
|
if (status === 200 || status === 206) {
|
|
@@ -7955,7 +8385,7 @@
|
|
|
7955
8385
|
}));
|
|
7956
8386
|
};
|
|
7957
8387
|
DesignAtomsPrintProductItemsApiClient.prototype.processExtractItemImageToResource = function (response) {
|
|
7958
|
-
var
|
|
8388
|
+
var e_78, _a;
|
|
7959
8389
|
var _this = this;
|
|
7960
8390
|
var status = response.status;
|
|
7961
8391
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -7968,12 +8398,12 @@
|
|
|
7968
8398
|
_headers[key] = response.headers.get(key);
|
|
7969
8399
|
}
|
|
7970
8400
|
}
|
|
7971
|
-
catch (
|
|
8401
|
+
catch (e_78_1) { e_78 = { error: e_78_1 }; }
|
|
7972
8402
|
finally {
|
|
7973
8403
|
try {
|
|
7974
8404
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
7975
8405
|
}
|
|
7976
|
-
finally { if (
|
|
8406
|
+
finally { if (e_78) throw e_78.error; }
|
|
7977
8407
|
}
|
|
7978
8408
|
}
|
|
7979
8409
|
if (status === 200) {
|
|
@@ -8052,7 +8482,7 @@
|
|
|
8052
8482
|
}));
|
|
8053
8483
|
};
|
|
8054
8484
|
DesignAtomsPrintProductItemsApiClient.prototype.processFlattenItems = function (response) {
|
|
8055
|
-
var
|
|
8485
|
+
var e_79, _a;
|
|
8056
8486
|
var _this = this;
|
|
8057
8487
|
var status = response.status;
|
|
8058
8488
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8065,12 +8495,12 @@
|
|
|
8065
8495
|
_headers[key] = response.headers.get(key);
|
|
8066
8496
|
}
|
|
8067
8497
|
}
|
|
8068
|
-
catch (
|
|
8498
|
+
catch (e_79_1) { e_79 = { error: e_79_1 }; }
|
|
8069
8499
|
finally {
|
|
8070
8500
|
try {
|
|
8071
8501
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8072
8502
|
}
|
|
8073
|
-
finally { if (
|
|
8503
|
+
finally { if (e_79) throw e_79.error; }
|
|
8074
8504
|
}
|
|
8075
8505
|
}
|
|
8076
8506
|
if (status === 200) {
|
|
@@ -8166,7 +8596,7 @@
|
|
|
8166
8596
|
}));
|
|
8167
8597
|
};
|
|
8168
8598
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromFile = function (response) {
|
|
8169
|
-
var
|
|
8599
|
+
var e_80, _a;
|
|
8170
8600
|
var _this = this;
|
|
8171
8601
|
var status = response.status;
|
|
8172
8602
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8179,12 +8609,12 @@
|
|
|
8179
8609
|
_headers[key] = response.headers.get(key);
|
|
8180
8610
|
}
|
|
8181
8611
|
}
|
|
8182
|
-
catch (
|
|
8612
|
+
catch (e_80_1) { e_80 = { error: e_80_1 }; }
|
|
8183
8613
|
finally {
|
|
8184
8614
|
try {
|
|
8185
8615
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8186
8616
|
}
|
|
8187
|
-
finally { if (
|
|
8617
|
+
finally { if (e_80) throw e_80.error; }
|
|
8188
8618
|
}
|
|
8189
8619
|
}
|
|
8190
8620
|
if (status === 200) {
|
|
@@ -8284,7 +8714,7 @@
|
|
|
8284
8714
|
}));
|
|
8285
8715
|
};
|
|
8286
8716
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromFile = function (response) {
|
|
8287
|
-
var
|
|
8717
|
+
var e_81, _a;
|
|
8288
8718
|
var _this = this;
|
|
8289
8719
|
var status = response.status;
|
|
8290
8720
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8297,12 +8727,12 @@
|
|
|
8297
8727
|
_headers[key] = response.headers.get(key);
|
|
8298
8728
|
}
|
|
8299
8729
|
}
|
|
8300
|
-
catch (
|
|
8730
|
+
catch (e_81_1) { e_81 = { error: e_81_1 }; }
|
|
8301
8731
|
finally {
|
|
8302
8732
|
try {
|
|
8303
8733
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8304
8734
|
}
|
|
8305
|
-
finally { if (
|
|
8735
|
+
finally { if (e_81) throw e_81.error; }
|
|
8306
8736
|
}
|
|
8307
8737
|
}
|
|
8308
8738
|
if (status === 200) {
|
|
@@ -8395,7 +8825,7 @@
|
|
|
8395
8825
|
}));
|
|
8396
8826
|
};
|
|
8397
8827
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromStorage = function (response) {
|
|
8398
|
-
var
|
|
8828
|
+
var e_82, _a;
|
|
8399
8829
|
var _this = this;
|
|
8400
8830
|
var status = response.status;
|
|
8401
8831
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8408,12 +8838,12 @@
|
|
|
8408
8838
|
_headers[key] = response.headers.get(key);
|
|
8409
8839
|
}
|
|
8410
8840
|
}
|
|
8411
|
-
catch (
|
|
8841
|
+
catch (e_82_1) { e_82 = { error: e_82_1 }; }
|
|
8412
8842
|
finally {
|
|
8413
8843
|
try {
|
|
8414
8844
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8415
8845
|
}
|
|
8416
|
-
finally { if (
|
|
8846
|
+
finally { if (e_82) throw e_82.error; }
|
|
8417
8847
|
}
|
|
8418
8848
|
}
|
|
8419
8849
|
if (status === 200) {
|
|
@@ -8506,7 +8936,7 @@
|
|
|
8506
8936
|
}));
|
|
8507
8937
|
};
|
|
8508
8938
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromStorage = function (response) {
|
|
8509
|
-
var
|
|
8939
|
+
var e_83, _a;
|
|
8510
8940
|
var _this = this;
|
|
8511
8941
|
var status = response.status;
|
|
8512
8942
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8519,12 +8949,12 @@
|
|
|
8519
8949
|
_headers[key] = response.headers.get(key);
|
|
8520
8950
|
}
|
|
8521
8951
|
}
|
|
8522
|
-
catch (
|
|
8952
|
+
catch (e_83_1) { e_83 = { error: e_83_1 }; }
|
|
8523
8953
|
finally {
|
|
8524
8954
|
try {
|
|
8525
8955
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8526
8956
|
}
|
|
8527
|
-
finally { if (
|
|
8957
|
+
finally { if (e_83) throw e_83.error; }
|
|
8528
8958
|
}
|
|
8529
8959
|
}
|
|
8530
8960
|
if (status === 200) {
|
|
@@ -8617,7 +9047,7 @@
|
|
|
8617
9047
|
}));
|
|
8618
9048
|
};
|
|
8619
9049
|
DesignAtomsPrintProductItemsApiClient.prototype.processCreateItemFromUrl = function (response) {
|
|
8620
|
-
var
|
|
9050
|
+
var e_84, _a;
|
|
8621
9051
|
var _this = this;
|
|
8622
9052
|
var status = response.status;
|
|
8623
9053
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8630,12 +9060,12 @@
|
|
|
8630
9060
|
_headers[key] = response.headers.get(key);
|
|
8631
9061
|
}
|
|
8632
9062
|
}
|
|
8633
|
-
catch (
|
|
9063
|
+
catch (e_84_1) { e_84 = { error: e_84_1 }; }
|
|
8634
9064
|
finally {
|
|
8635
9065
|
try {
|
|
8636
9066
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8637
9067
|
}
|
|
8638
|
-
finally { if (
|
|
9068
|
+
finally { if (e_84) throw e_84.error; }
|
|
8639
9069
|
}
|
|
8640
9070
|
}
|
|
8641
9071
|
if (status === 200) {
|
|
@@ -8721,7 +9151,7 @@
|
|
|
8721
9151
|
}));
|
|
8722
9152
|
};
|
|
8723
9153
|
DesignAtomsPrintProductItemsApiClient.prototype.processBatchCreateItemsFromUrl = function (response) {
|
|
8724
|
-
var
|
|
9154
|
+
var e_85, _a;
|
|
8725
9155
|
var _this = this;
|
|
8726
9156
|
var status = response.status;
|
|
8727
9157
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8734,12 +9164,12 @@
|
|
|
8734
9164
|
_headers[key] = response.headers.get(key);
|
|
8735
9165
|
}
|
|
8736
9166
|
}
|
|
8737
|
-
catch (
|
|
9167
|
+
catch (e_85_1) { e_85 = { error: e_85_1 }; }
|
|
8738
9168
|
finally {
|
|
8739
9169
|
try {
|
|
8740
9170
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8741
9171
|
}
|
|
8742
|
-
finally { if (
|
|
9172
|
+
finally { if (e_85) throw e_85.error; }
|
|
8743
9173
|
}
|
|
8744
9174
|
}
|
|
8745
9175
|
if (status === 200) {
|
|
@@ -8780,6 +9210,100 @@
|
|
|
8780
9210
|
}
|
|
8781
9211
|
return rxjs.of(null);
|
|
8782
9212
|
};
|
|
9213
|
+
/**
|
|
9214
|
+
* Creates rectangle print-product item and returns its serialized model.
|
|
9215
|
+
* @param tenantId (optional) Tenant ID.
|
|
9216
|
+
* @param body (optional) Operation parameters.
|
|
9217
|
+
* @return Success
|
|
9218
|
+
*/
|
|
9219
|
+
DesignAtomsPrintProductItemsApiClient.prototype.createRectangleItem = function (tenantId, body) {
|
|
9220
|
+
var _this = this;
|
|
9221
|
+
var url_ = this.baseUrl + "/api/atoms/v1/designs/print-product/items/rectangle?";
|
|
9222
|
+
if (tenantId === null)
|
|
9223
|
+
throw new Error("The parameter 'tenantId' cannot be null.");
|
|
9224
|
+
else if (tenantId !== undefined)
|
|
9225
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
9226
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
9227
|
+
var content_ = JSON.stringify(body);
|
|
9228
|
+
var options_ = {
|
|
9229
|
+
body: content_,
|
|
9230
|
+
observe: "response",
|
|
9231
|
+
responseType: "blob",
|
|
9232
|
+
headers: new i1.HttpHeaders({
|
|
9233
|
+
"Content-Type": "application/json",
|
|
9234
|
+
"Accept": "application/json"
|
|
9235
|
+
})
|
|
9236
|
+
};
|
|
9237
|
+
return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
|
|
9238
|
+
return _this.http.request("post", url_, transformedOptions_);
|
|
9239
|
+
})).pipe(operators.mergeMap(function (response_) {
|
|
9240
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateRectangleItem(r); });
|
|
9241
|
+
})).pipe(operators.catchError(function (response_) {
|
|
9242
|
+
if (response_ instanceof i1.HttpResponseBase) {
|
|
9243
|
+
try {
|
|
9244
|
+
return _this.transformResult(url_, response_, function (r) { return _this.processCreateRectangleItem(r); });
|
|
9245
|
+
}
|
|
9246
|
+
catch (e) {
|
|
9247
|
+
return rxjs.throwError(e);
|
|
9248
|
+
}
|
|
9249
|
+
}
|
|
9250
|
+
else
|
|
9251
|
+
return rxjs.throwError(response_);
|
|
9252
|
+
}));
|
|
9253
|
+
};
|
|
9254
|
+
DesignAtomsPrintProductItemsApiClient.prototype.processCreateRectangleItem = function (response) {
|
|
9255
|
+
var e_86, _a;
|
|
9256
|
+
var _this = this;
|
|
9257
|
+
var status = response.status;
|
|
9258
|
+
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
9259
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
9260
|
+
var _headers = {};
|
|
9261
|
+
if (response.headers) {
|
|
9262
|
+
try {
|
|
9263
|
+
for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
9264
|
+
var key = _c.value;
|
|
9265
|
+
_headers[key] = response.headers.get(key);
|
|
9266
|
+
}
|
|
9267
|
+
}
|
|
9268
|
+
catch (e_86_1) { e_86 = { error: e_86_1 }; }
|
|
9269
|
+
finally {
|
|
9270
|
+
try {
|
|
9271
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9272
|
+
}
|
|
9273
|
+
finally { if (e_86) throw e_86.error; }
|
|
9274
|
+
}
|
|
9275
|
+
}
|
|
9276
|
+
if (status === 200) {
|
|
9277
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9278
|
+
var result200 = null;
|
|
9279
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
9280
|
+
return rxjs.of(result200);
|
|
9281
|
+
}));
|
|
9282
|
+
}
|
|
9283
|
+
else if (status === 404) {
|
|
9284
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9285
|
+
var result404 = null;
|
|
9286
|
+
result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
|
|
9287
|
+
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
9288
|
+
}));
|
|
9289
|
+
}
|
|
9290
|
+
else if (status === 401) {
|
|
9291
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9292
|
+
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9293
|
+
}));
|
|
9294
|
+
}
|
|
9295
|
+
else if (status === 403) {
|
|
9296
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9297
|
+
return throwException("Forbidden", status, _responseText, _headers);
|
|
9298
|
+
}));
|
|
9299
|
+
}
|
|
9300
|
+
else if (status !== 200 && status !== 204) {
|
|
9301
|
+
return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
|
|
9302
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
9303
|
+
}));
|
|
9304
|
+
}
|
|
9305
|
+
return rxjs.of(null);
|
|
9306
|
+
};
|
|
8783
9307
|
return DesignAtomsPrintProductItemsApiClient;
|
|
8784
9308
|
}(ApiClientBase));
|
|
8785
9309
|
DesignAtomsPrintProductItemsApiClient.ɵprov = i0.ɵɵdefineInjectable({ factory: function DesignAtomsPrintProductItemsApiClient_Factory() { return new DesignAtomsPrintProductItemsApiClient(i0.ɵɵinject(ApiClientConfiguration), i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(API_BASE_URL, 8)); }, token: DesignAtomsPrintProductItemsApiClient, providedIn: "root" });
|
|
@@ -8847,7 +9371,7 @@
|
|
|
8847
9371
|
}));
|
|
8848
9372
|
};
|
|
8849
9373
|
DesignAtomsServiceApiClient.prototype.processCreateDesign = function (response) {
|
|
8850
|
-
var
|
|
9374
|
+
var e_87, _a;
|
|
8851
9375
|
var _this = this;
|
|
8852
9376
|
var status = response.status;
|
|
8853
9377
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8860,12 +9384,12 @@
|
|
|
8860
9384
|
_headers[key] = response.headers.get(key);
|
|
8861
9385
|
}
|
|
8862
9386
|
}
|
|
8863
|
-
catch (
|
|
9387
|
+
catch (e_87_1) { e_87 = { error: e_87_1 }; }
|
|
8864
9388
|
finally {
|
|
8865
9389
|
try {
|
|
8866
9390
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8867
9391
|
}
|
|
8868
|
-
finally { if (
|
|
9392
|
+
finally { if (e_87) throw e_87.error; }
|
|
8869
9393
|
}
|
|
8870
9394
|
}
|
|
8871
9395
|
if (status === 201) {
|
|
@@ -8947,7 +9471,7 @@
|
|
|
8947
9471
|
}));
|
|
8948
9472
|
};
|
|
8949
9473
|
DesignAtomsServiceApiClient.prototype.processApplyItemsData = function (response) {
|
|
8950
|
-
var
|
|
9474
|
+
var e_88, _a;
|
|
8951
9475
|
var _this = this;
|
|
8952
9476
|
var status = response.status;
|
|
8953
9477
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -8960,12 +9484,12 @@
|
|
|
8960
9484
|
_headers[key] = response.headers.get(key);
|
|
8961
9485
|
}
|
|
8962
9486
|
}
|
|
8963
|
-
catch (
|
|
9487
|
+
catch (e_88_1) { e_88 = { error: e_88_1 }; }
|
|
8964
9488
|
finally {
|
|
8965
9489
|
try {
|
|
8966
9490
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
8967
9491
|
}
|
|
8968
|
-
finally { if (
|
|
9492
|
+
finally { if (e_88) throw e_88.error; }
|
|
8969
9493
|
}
|
|
8970
9494
|
}
|
|
8971
9495
|
if (status === 200) {
|
|
@@ -9052,7 +9576,7 @@
|
|
|
9052
9576
|
}));
|
|
9053
9577
|
};
|
|
9054
9578
|
DesignAtomsServiceApiClient.prototype.processExtractBackground = function (response) {
|
|
9055
|
-
var
|
|
9579
|
+
var e_89, _a;
|
|
9056
9580
|
var _this = this;
|
|
9057
9581
|
var status = response.status;
|
|
9058
9582
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9065,12 +9589,12 @@
|
|
|
9065
9589
|
_headers[key] = response.headers.get(key);
|
|
9066
9590
|
}
|
|
9067
9591
|
}
|
|
9068
|
-
catch (
|
|
9592
|
+
catch (e_89_1) { e_89 = { error: e_89_1 }; }
|
|
9069
9593
|
finally {
|
|
9070
9594
|
try {
|
|
9071
9595
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9072
9596
|
}
|
|
9073
|
-
finally { if (
|
|
9597
|
+
finally { if (e_89) throw e_89.error; }
|
|
9074
9598
|
}
|
|
9075
9599
|
}
|
|
9076
9600
|
if (status === 200 || status === 206) {
|
|
@@ -9158,7 +9682,7 @@
|
|
|
9158
9682
|
}));
|
|
9159
9683
|
};
|
|
9160
9684
|
DesignAtomsServiceApiClient.prototype.processSetEditorMockups = function (response) {
|
|
9161
|
-
var
|
|
9685
|
+
var e_90, _a;
|
|
9162
9686
|
var _this = this;
|
|
9163
9687
|
var status = response.status;
|
|
9164
9688
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9171,12 +9695,12 @@
|
|
|
9171
9695
|
_headers[key] = response.headers.get(key);
|
|
9172
9696
|
}
|
|
9173
9697
|
}
|
|
9174
|
-
catch (
|
|
9698
|
+
catch (e_90_1) { e_90 = { error: e_90_1 }; }
|
|
9175
9699
|
finally {
|
|
9176
9700
|
try {
|
|
9177
9701
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9178
9702
|
}
|
|
9179
|
-
finally { if (
|
|
9703
|
+
finally { if (e_90) throw e_90.error; }
|
|
9180
9704
|
}
|
|
9181
9705
|
}
|
|
9182
9706
|
if (status === 204) {
|
|
@@ -9260,7 +9784,7 @@
|
|
|
9260
9784
|
}));
|
|
9261
9785
|
};
|
|
9262
9786
|
DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
|
|
9263
|
-
var
|
|
9787
|
+
var e_91, _a;
|
|
9264
9788
|
var _this = this;
|
|
9265
9789
|
var status = response.status;
|
|
9266
9790
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9273,12 +9797,12 @@
|
|
|
9273
9797
|
_headers[key] = response.headers.get(key);
|
|
9274
9798
|
}
|
|
9275
9799
|
}
|
|
9276
|
-
catch (
|
|
9800
|
+
catch (e_91_1) { e_91 = { error: e_91_1 }; }
|
|
9277
9801
|
finally {
|
|
9278
9802
|
try {
|
|
9279
9803
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9280
9804
|
}
|
|
9281
|
-
finally { if (
|
|
9805
|
+
finally { if (e_91) throw e_91.error; }
|
|
9282
9806
|
}
|
|
9283
9807
|
}
|
|
9284
9808
|
if (status === 200) {
|
|
@@ -9357,7 +9881,7 @@
|
|
|
9357
9881
|
}));
|
|
9358
9882
|
};
|
|
9359
9883
|
DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
|
|
9360
|
-
var
|
|
9884
|
+
var e_92, _a;
|
|
9361
9885
|
var _this = this;
|
|
9362
9886
|
var status = response.status;
|
|
9363
9887
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9370,12 +9894,12 @@
|
|
|
9370
9894
|
_headers[key] = response.headers.get(key);
|
|
9371
9895
|
}
|
|
9372
9896
|
}
|
|
9373
|
-
catch (
|
|
9897
|
+
catch (e_92_1) { e_92 = { error: e_92_1 }; }
|
|
9374
9898
|
finally {
|
|
9375
9899
|
try {
|
|
9376
9900
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9377
9901
|
}
|
|
9378
|
-
finally { if (
|
|
9902
|
+
finally { if (e_92) throw e_92.error; }
|
|
9379
9903
|
}
|
|
9380
9904
|
}
|
|
9381
9905
|
if (status === 200 || status === 206) {
|
|
@@ -9460,7 +9984,7 @@
|
|
|
9460
9984
|
}));
|
|
9461
9985
|
};
|
|
9462
9986
|
DesignAtomsServiceApiClient.prototype.processLoadToggleSet = function (response) {
|
|
9463
|
-
var
|
|
9987
|
+
var e_93, _a;
|
|
9464
9988
|
var _this = this;
|
|
9465
9989
|
var status = response.status;
|
|
9466
9990
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9473,12 +9997,12 @@
|
|
|
9473
9997
|
_headers[key] = response.headers.get(key);
|
|
9474
9998
|
}
|
|
9475
9999
|
}
|
|
9476
|
-
catch (
|
|
10000
|
+
catch (e_93_1) { e_93 = { error: e_93_1 }; }
|
|
9477
10001
|
finally {
|
|
9478
10002
|
try {
|
|
9479
10003
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9480
10004
|
}
|
|
9481
|
-
finally { if (
|
|
10005
|
+
finally { if (e_93) throw e_93.error; }
|
|
9482
10006
|
}
|
|
9483
10007
|
}
|
|
9484
10008
|
if (status === 200 || status === 206) {
|
|
@@ -9563,7 +10087,7 @@
|
|
|
9563
10087
|
}));
|
|
9564
10088
|
};
|
|
9565
10089
|
DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
|
|
9566
|
-
var
|
|
10090
|
+
var e_94, _a;
|
|
9567
10091
|
var _this = this;
|
|
9568
10092
|
var status = response.status;
|
|
9569
10093
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9576,12 +10100,12 @@
|
|
|
9576
10100
|
_headers[key] = response.headers.get(key);
|
|
9577
10101
|
}
|
|
9578
10102
|
}
|
|
9579
|
-
catch (
|
|
10103
|
+
catch (e_94_1) { e_94 = { error: e_94_1 }; }
|
|
9580
10104
|
finally {
|
|
9581
10105
|
try {
|
|
9582
10106
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9583
10107
|
}
|
|
9584
|
-
finally { if (
|
|
10108
|
+
finally { if (e_94) throw e_94.error; }
|
|
9585
10109
|
}
|
|
9586
10110
|
}
|
|
9587
10111
|
if (status === 200) {
|
|
@@ -9663,7 +10187,7 @@
|
|
|
9663
10187
|
}));
|
|
9664
10188
|
};
|
|
9665
10189
|
DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
|
|
9666
|
-
var
|
|
10190
|
+
var e_95, _a;
|
|
9667
10191
|
var _this = this;
|
|
9668
10192
|
var status = response.status;
|
|
9669
10193
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9676,12 +10200,12 @@
|
|
|
9676
10200
|
_headers[key] = response.headers.get(key);
|
|
9677
10201
|
}
|
|
9678
10202
|
}
|
|
9679
|
-
catch (
|
|
10203
|
+
catch (e_95_1) { e_95 = { error: e_95_1 }; }
|
|
9680
10204
|
finally {
|
|
9681
10205
|
try {
|
|
9682
10206
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9683
10207
|
}
|
|
9684
|
-
finally { if (
|
|
10208
|
+
finally { if (e_95) throw e_95.error; }
|
|
9685
10209
|
}
|
|
9686
10210
|
}
|
|
9687
10211
|
if (status === 200) {
|
|
@@ -9765,7 +10289,7 @@
|
|
|
9765
10289
|
}));
|
|
9766
10290
|
};
|
|
9767
10291
|
DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
|
|
9768
|
-
var
|
|
10292
|
+
var e_96, _a;
|
|
9769
10293
|
var _this = this;
|
|
9770
10294
|
var status = response.status;
|
|
9771
10295
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9778,12 +10302,12 @@
|
|
|
9778
10302
|
_headers[key] = response.headers.get(key);
|
|
9779
10303
|
}
|
|
9780
10304
|
}
|
|
9781
|
-
catch (
|
|
10305
|
+
catch (e_96_1) { e_96 = { error: e_96_1 }; }
|
|
9782
10306
|
finally {
|
|
9783
10307
|
try {
|
|
9784
10308
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9785
10309
|
}
|
|
9786
|
-
finally { if (
|
|
10310
|
+
finally { if (e_96) throw e_96.error; }
|
|
9787
10311
|
}
|
|
9788
10312
|
}
|
|
9789
10313
|
if (status === 200) {
|
|
@@ -9872,7 +10396,7 @@
|
|
|
9872
10396
|
}));
|
|
9873
10397
|
};
|
|
9874
10398
|
DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
|
|
9875
|
-
var
|
|
10399
|
+
var e_97, _a;
|
|
9876
10400
|
var _this = this;
|
|
9877
10401
|
var status = response.status;
|
|
9878
10402
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9885,12 +10409,12 @@
|
|
|
9885
10409
|
_headers[key] = response.headers.get(key);
|
|
9886
10410
|
}
|
|
9887
10411
|
}
|
|
9888
|
-
catch (
|
|
10412
|
+
catch (e_97_1) { e_97 = { error: e_97_1 }; }
|
|
9889
10413
|
finally {
|
|
9890
10414
|
try {
|
|
9891
10415
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9892
10416
|
}
|
|
9893
|
-
finally { if (
|
|
10417
|
+
finally { if (e_97) throw e_97.error; }
|
|
9894
10418
|
}
|
|
9895
10419
|
}
|
|
9896
10420
|
if (status === 200) {
|
|
@@ -9965,7 +10489,7 @@
|
|
|
9965
10489
|
}));
|
|
9966
10490
|
};
|
|
9967
10491
|
DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
|
|
9968
|
-
var
|
|
10492
|
+
var e_98, _a;
|
|
9969
10493
|
var _this = this;
|
|
9970
10494
|
var status = response.status;
|
|
9971
10495
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -9978,12 +10502,12 @@
|
|
|
9978
10502
|
_headers[key] = response.headers.get(key);
|
|
9979
10503
|
}
|
|
9980
10504
|
}
|
|
9981
|
-
catch (
|
|
10505
|
+
catch (e_98_1) { e_98 = { error: e_98_1 }; }
|
|
9982
10506
|
finally {
|
|
9983
10507
|
try {
|
|
9984
10508
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9985
10509
|
}
|
|
9986
|
-
finally { if (
|
|
10510
|
+
finally { if (e_98) throw e_98.error; }
|
|
9987
10511
|
}
|
|
9988
10512
|
}
|
|
9989
10513
|
if (status === 200) {
|
|
@@ -10057,7 +10581,7 @@
|
|
|
10057
10581
|
}));
|
|
10058
10582
|
};
|
|
10059
10583
|
DesignAtomsServiceApiClient.prototype.processConvertColors = function (response) {
|
|
10060
|
-
var
|
|
10584
|
+
var e_99, _a;
|
|
10061
10585
|
var _this = this;
|
|
10062
10586
|
var status = response.status;
|
|
10063
10587
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10070,12 +10594,12 @@
|
|
|
10070
10594
|
_headers[key] = response.headers.get(key);
|
|
10071
10595
|
}
|
|
10072
10596
|
}
|
|
10073
|
-
catch (
|
|
10597
|
+
catch (e_99_1) { e_99 = { error: e_99_1 }; }
|
|
10074
10598
|
finally {
|
|
10075
10599
|
try {
|
|
10076
10600
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10077
10601
|
}
|
|
10078
|
-
finally { if (
|
|
10602
|
+
finally { if (e_99) throw e_99.error; }
|
|
10079
10603
|
}
|
|
10080
10604
|
}
|
|
10081
10605
|
if (status === 200) {
|
|
@@ -10153,7 +10677,7 @@
|
|
|
10153
10677
|
}));
|
|
10154
10678
|
};
|
|
10155
10679
|
DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
|
|
10156
|
-
var
|
|
10680
|
+
var e_100, _a;
|
|
10157
10681
|
var _this = this;
|
|
10158
10682
|
var status = response.status;
|
|
10159
10683
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10166,12 +10690,12 @@
|
|
|
10166
10690
|
_headers[key] = response.headers.get(key);
|
|
10167
10691
|
}
|
|
10168
10692
|
}
|
|
10169
|
-
catch (
|
|
10693
|
+
catch (e_100_1) { e_100 = { error: e_100_1 }; }
|
|
10170
10694
|
finally {
|
|
10171
10695
|
try {
|
|
10172
10696
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10173
10697
|
}
|
|
10174
|
-
finally { if (
|
|
10698
|
+
finally { if (e_100) throw e_100.error; }
|
|
10175
10699
|
}
|
|
10176
10700
|
}
|
|
10177
10701
|
if (status === 200) {
|
|
@@ -10258,7 +10782,7 @@
|
|
|
10258
10782
|
}));
|
|
10259
10783
|
};
|
|
10260
10784
|
DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
|
|
10261
|
-
var
|
|
10785
|
+
var e_101, _a;
|
|
10262
10786
|
var status = response.status;
|
|
10263
10787
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10264
10788
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10270,12 +10794,12 @@
|
|
|
10270
10794
|
_headers[key] = response.headers.get(key);
|
|
10271
10795
|
}
|
|
10272
10796
|
}
|
|
10273
|
-
catch (
|
|
10797
|
+
catch (e_101_1) { e_101 = { error: e_101_1 }; }
|
|
10274
10798
|
finally {
|
|
10275
10799
|
try {
|
|
10276
10800
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10277
10801
|
}
|
|
10278
|
-
finally { if (
|
|
10802
|
+
finally { if (e_101) throw e_101.error; }
|
|
10279
10803
|
}
|
|
10280
10804
|
}
|
|
10281
10805
|
if (status === 200 || status === 206) {
|
|
@@ -10347,7 +10871,7 @@
|
|
|
10347
10871
|
}));
|
|
10348
10872
|
};
|
|
10349
10873
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
|
|
10350
|
-
var
|
|
10874
|
+
var e_102, _a;
|
|
10351
10875
|
var status = response.status;
|
|
10352
10876
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
10353
10877
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -10359,12 +10883,12 @@
|
|
|
10359
10883
|
_headers[key] = response.headers.get(key);
|
|
10360
10884
|
}
|
|
10361
10885
|
}
|
|
10362
|
-
catch (
|
|
10886
|
+
catch (e_102_1) { e_102 = { error: e_102_1 }; }
|
|
10363
10887
|
finally {
|
|
10364
10888
|
try {
|
|
10365
10889
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10366
10890
|
}
|
|
10367
|
-
finally { if (
|
|
10891
|
+
finally { if (e_102) throw e_102.error; }
|
|
10368
10892
|
}
|
|
10369
10893
|
}
|
|
10370
10894
|
if (status === 200 || status === 206) {
|
|
@@ -10432,7 +10956,7 @@
|
|
|
10432
10956
|
}));
|
|
10433
10957
|
};
|
|
10434
10958
|
DesignAtomsServiceApiClient.prototype.processRenderDesignPreviewToResource = function (response) {
|
|
10435
|
-
var
|
|
10959
|
+
var e_103, _a;
|
|
10436
10960
|
var _this = this;
|
|
10437
10961
|
var status = response.status;
|
|
10438
10962
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10445,12 +10969,12 @@
|
|
|
10445
10969
|
_headers[key] = response.headers.get(key);
|
|
10446
10970
|
}
|
|
10447
10971
|
}
|
|
10448
|
-
catch (
|
|
10972
|
+
catch (e_103_1) { e_103 = { error: e_103_1 }; }
|
|
10449
10973
|
finally {
|
|
10450
10974
|
try {
|
|
10451
10975
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10452
10976
|
}
|
|
10453
|
-
finally { if (
|
|
10977
|
+
finally { if (e_103) throw e_103.error; }
|
|
10454
10978
|
}
|
|
10455
10979
|
}
|
|
10456
10980
|
if (status === 200) {
|
|
@@ -10537,7 +11061,7 @@
|
|
|
10537
11061
|
}));
|
|
10538
11062
|
};
|
|
10539
11063
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
|
|
10540
|
-
var
|
|
11064
|
+
var e_104, _a;
|
|
10541
11065
|
var _this = this;
|
|
10542
11066
|
var status = response.status;
|
|
10543
11067
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10550,12 +11074,12 @@
|
|
|
10550
11074
|
_headers[key] = response.headers.get(key);
|
|
10551
11075
|
}
|
|
10552
11076
|
}
|
|
10553
|
-
catch (
|
|
11077
|
+
catch (e_104_1) { e_104 = { error: e_104_1 }; }
|
|
10554
11078
|
finally {
|
|
10555
11079
|
try {
|
|
10556
11080
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10557
11081
|
}
|
|
10558
|
-
finally { if (
|
|
11082
|
+
finally { if (e_104) throw e_104.error; }
|
|
10559
11083
|
}
|
|
10560
11084
|
}
|
|
10561
11085
|
if (status === 200 || status === 206) {
|
|
@@ -10630,7 +11154,7 @@
|
|
|
10630
11154
|
}));
|
|
10631
11155
|
};
|
|
10632
11156
|
DesignAtomsServiceApiClient.prototype.processRenderDesignProofToResource = function (response) {
|
|
10633
|
-
var
|
|
11157
|
+
var e_105, _a;
|
|
10634
11158
|
var _this = this;
|
|
10635
11159
|
var status = response.status;
|
|
10636
11160
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10643,12 +11167,12 @@
|
|
|
10643
11167
|
_headers[key] = response.headers.get(key);
|
|
10644
11168
|
}
|
|
10645
11169
|
}
|
|
10646
|
-
catch (
|
|
11170
|
+
catch (e_105_1) { e_105 = { error: e_105_1 }; }
|
|
10647
11171
|
finally {
|
|
10648
11172
|
try {
|
|
10649
11173
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10650
11174
|
}
|
|
10651
|
-
finally { if (
|
|
11175
|
+
finally { if (e_105) throw e_105.error; }
|
|
10652
11176
|
}
|
|
10653
11177
|
}
|
|
10654
11178
|
if (status === 200) {
|
|
@@ -10728,7 +11252,7 @@
|
|
|
10728
11252
|
}));
|
|
10729
11253
|
};
|
|
10730
11254
|
DesignAtomsServiceApiClient.prototype.processLoadProduct = function (response) {
|
|
10731
|
-
var
|
|
11255
|
+
var e_106, _a;
|
|
10732
11256
|
var _this = this;
|
|
10733
11257
|
var status = response.status;
|
|
10734
11258
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10741,12 +11265,12 @@
|
|
|
10741
11265
|
_headers[key] = response.headers.get(key);
|
|
10742
11266
|
}
|
|
10743
11267
|
}
|
|
10744
|
-
catch (
|
|
11268
|
+
catch (e_106_1) { e_106 = { error: e_106_1 }; }
|
|
10745
11269
|
finally {
|
|
10746
11270
|
try {
|
|
10747
11271
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10748
11272
|
}
|
|
10749
|
-
finally { if (
|
|
11273
|
+
finally { if (e_106) throw e_106.error; }
|
|
10750
11274
|
}
|
|
10751
11275
|
}
|
|
10752
11276
|
if (status === 200) {
|
|
@@ -10829,7 +11353,7 @@
|
|
|
10829
11353
|
}));
|
|
10830
11354
|
};
|
|
10831
11355
|
DesignAtomsServiceApiClient.prototype.processSaveProduct = function (response) {
|
|
10832
|
-
var
|
|
11356
|
+
var e_107, _a;
|
|
10833
11357
|
var _this = this;
|
|
10834
11358
|
var status = response.status;
|
|
10835
11359
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10842,12 +11366,12 @@
|
|
|
10842
11366
|
_headers[key] = response.headers.get(key);
|
|
10843
11367
|
}
|
|
10844
11368
|
}
|
|
10845
|
-
catch (
|
|
11369
|
+
catch (e_107_1) { e_107 = { error: e_107_1 }; }
|
|
10846
11370
|
finally {
|
|
10847
11371
|
try {
|
|
10848
11372
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10849
11373
|
}
|
|
10850
|
-
finally { if (
|
|
11374
|
+
finally { if (e_107) throw e_107.error; }
|
|
10851
11375
|
}
|
|
10852
11376
|
}
|
|
10853
11377
|
if (status === 200) {
|
|
@@ -10943,7 +11467,7 @@
|
|
|
10943
11467
|
}));
|
|
10944
11468
|
};
|
|
10945
11469
|
DesignAtomsServiceApiClient.prototype.processPatchProduct = function (response) {
|
|
10946
|
-
var
|
|
11470
|
+
var e_108, _a;
|
|
10947
11471
|
var _this = this;
|
|
10948
11472
|
var status = response.status;
|
|
10949
11473
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -10956,12 +11480,12 @@
|
|
|
10956
11480
|
_headers[key] = response.headers.get(key);
|
|
10957
11481
|
}
|
|
10958
11482
|
}
|
|
10959
|
-
catch (
|
|
11483
|
+
catch (e_108_1) { e_108 = { error: e_108_1 }; }
|
|
10960
11484
|
finally {
|
|
10961
11485
|
try {
|
|
10962
11486
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10963
11487
|
}
|
|
10964
|
-
finally { if (
|
|
11488
|
+
finally { if (e_108) throw e_108.error; }
|
|
10965
11489
|
}
|
|
10966
11490
|
}
|
|
10967
11491
|
if (status === 200) {
|
|
@@ -11052,7 +11576,7 @@
|
|
|
11052
11576
|
}));
|
|
11053
11577
|
};
|
|
11054
11578
|
DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
|
|
11055
|
-
var
|
|
11579
|
+
var e_109, _a;
|
|
11056
11580
|
var _this = this;
|
|
11057
11581
|
var status = response.status;
|
|
11058
11582
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11065,12 +11589,12 @@
|
|
|
11065
11589
|
_headers[key] = response.headers.get(key);
|
|
11066
11590
|
}
|
|
11067
11591
|
}
|
|
11068
|
-
catch (
|
|
11592
|
+
catch (e_109_1) { e_109 = { error: e_109_1 }; }
|
|
11069
11593
|
finally {
|
|
11070
11594
|
try {
|
|
11071
11595
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11072
11596
|
}
|
|
11073
|
-
finally { if (
|
|
11597
|
+
finally { if (e_109) throw e_109.error; }
|
|
11074
11598
|
}
|
|
11075
11599
|
}
|
|
11076
11600
|
if (status === 200) {
|
|
@@ -11147,7 +11671,7 @@
|
|
|
11147
11671
|
}));
|
|
11148
11672
|
};
|
|
11149
11673
|
DesignAtomsServiceApiClient.prototype.processExtractItemImage = function (response) {
|
|
11150
|
-
var
|
|
11674
|
+
var e_110, _a;
|
|
11151
11675
|
var status = response.status;
|
|
11152
11676
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11153
11677
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11159,12 +11683,12 @@
|
|
|
11159
11683
|
_headers[key] = response.headers.get(key);
|
|
11160
11684
|
}
|
|
11161
11685
|
}
|
|
11162
|
-
catch (
|
|
11686
|
+
catch (e_110_1) { e_110 = { error: e_110_1 }; }
|
|
11163
11687
|
finally {
|
|
11164
11688
|
try {
|
|
11165
11689
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11166
11690
|
}
|
|
11167
|
-
finally { if (
|
|
11691
|
+
finally { if (e_110) throw e_110.error; }
|
|
11168
11692
|
}
|
|
11169
11693
|
}
|
|
11170
11694
|
if (status === 200 || status === 206) {
|
|
@@ -11233,7 +11757,7 @@
|
|
|
11233
11757
|
}));
|
|
11234
11758
|
};
|
|
11235
11759
|
DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
|
|
11236
|
-
var
|
|
11760
|
+
var e_111, _a;
|
|
11237
11761
|
var _this = this;
|
|
11238
11762
|
var status = response.status;
|
|
11239
11763
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11246,12 +11770,12 @@
|
|
|
11246
11770
|
_headers[key] = response.headers.get(key);
|
|
11247
11771
|
}
|
|
11248
11772
|
}
|
|
11249
|
-
catch (
|
|
11773
|
+
catch (e_111_1) { e_111 = { error: e_111_1 }; }
|
|
11250
11774
|
finally {
|
|
11251
11775
|
try {
|
|
11252
11776
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11253
11777
|
}
|
|
11254
|
-
finally { if (
|
|
11778
|
+
finally { if (e_111) throw e_111.error; }
|
|
11255
11779
|
}
|
|
11256
11780
|
}
|
|
11257
11781
|
if (status === 200) {
|
|
@@ -11324,7 +11848,7 @@
|
|
|
11324
11848
|
}));
|
|
11325
11849
|
};
|
|
11326
11850
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
|
|
11327
|
-
var
|
|
11851
|
+
var e_112, _a;
|
|
11328
11852
|
var status = response.status;
|
|
11329
11853
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11330
11854
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11336,12 +11860,12 @@
|
|
|
11336
11860
|
_headers[key] = response.headers.get(key);
|
|
11337
11861
|
}
|
|
11338
11862
|
}
|
|
11339
|
-
catch (
|
|
11863
|
+
catch (e_112_1) { e_112 = { error: e_112_1 }; }
|
|
11340
11864
|
finally {
|
|
11341
11865
|
try {
|
|
11342
11866
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11343
11867
|
}
|
|
11344
|
-
finally { if (
|
|
11868
|
+
finally { if (e_112) throw e_112.error; }
|
|
11345
11869
|
}
|
|
11346
11870
|
}
|
|
11347
11871
|
if (status === 201) {
|
|
@@ -11412,7 +11936,7 @@
|
|
|
11412
11936
|
}));
|
|
11413
11937
|
};
|
|
11414
11938
|
DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
|
|
11415
|
-
var
|
|
11939
|
+
var e_113, _a;
|
|
11416
11940
|
var status = response.status;
|
|
11417
11941
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
11418
11942
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -11424,12 +11948,12 @@
|
|
|
11424
11948
|
_headers[key] = response.headers.get(key);
|
|
11425
11949
|
}
|
|
11426
11950
|
}
|
|
11427
|
-
catch (
|
|
11951
|
+
catch (e_113_1) { e_113 = { error: e_113_1 }; }
|
|
11428
11952
|
finally {
|
|
11429
11953
|
try {
|
|
11430
11954
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11431
11955
|
}
|
|
11432
|
-
finally { if (
|
|
11956
|
+
finally { if (e_113) throw e_113.error; }
|
|
11433
11957
|
}
|
|
11434
11958
|
}
|
|
11435
11959
|
if (status === 201) {
|
|
@@ -11517,7 +12041,7 @@
|
|
|
11517
12041
|
}));
|
|
11518
12042
|
};
|
|
11519
12043
|
DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
|
|
11520
|
-
var
|
|
12044
|
+
var e_114, _a;
|
|
11521
12045
|
var _this = this;
|
|
11522
12046
|
var status = response.status;
|
|
11523
12047
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11530,12 +12054,12 @@
|
|
|
11530
12054
|
_headers[key] = response.headers.get(key);
|
|
11531
12055
|
}
|
|
11532
12056
|
}
|
|
11533
|
-
catch (
|
|
12057
|
+
catch (e_114_1) { e_114 = { error: e_114_1 }; }
|
|
11534
12058
|
finally {
|
|
11535
12059
|
try {
|
|
11536
12060
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11537
12061
|
}
|
|
11538
|
-
finally { if (
|
|
12062
|
+
finally { if (e_114) throw e_114.error; }
|
|
11539
12063
|
}
|
|
11540
12064
|
}
|
|
11541
12065
|
if (status === 200) {
|
|
@@ -11597,7 +12121,7 @@
|
|
|
11597
12121
|
}));
|
|
11598
12122
|
};
|
|
11599
12123
|
DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
|
|
11600
|
-
var
|
|
12124
|
+
var e_115, _a;
|
|
11601
12125
|
var _this = this;
|
|
11602
12126
|
var status = response.status;
|
|
11603
12127
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11610,12 +12134,12 @@
|
|
|
11610
12134
|
_headers[key] = response.headers.get(key);
|
|
11611
12135
|
}
|
|
11612
12136
|
}
|
|
11613
|
-
catch (
|
|
12137
|
+
catch (e_115_1) { e_115 = { error: e_115_1 }; }
|
|
11614
12138
|
finally {
|
|
11615
12139
|
try {
|
|
11616
12140
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11617
12141
|
}
|
|
11618
|
-
finally { if (
|
|
12142
|
+
finally { if (e_115) throw e_115.error; }
|
|
11619
12143
|
}
|
|
11620
12144
|
}
|
|
11621
12145
|
if (status === 200 || status === 206) {
|
|
@@ -11684,7 +12208,7 @@
|
|
|
11684
12208
|
}));
|
|
11685
12209
|
};
|
|
11686
12210
|
DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
|
|
11687
|
-
var
|
|
12211
|
+
var e_116, _a;
|
|
11688
12212
|
var _this = this;
|
|
11689
12213
|
var status = response.status;
|
|
11690
12214
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11697,12 +12221,12 @@
|
|
|
11697
12221
|
_headers[key] = response.headers.get(key);
|
|
11698
12222
|
}
|
|
11699
12223
|
}
|
|
11700
|
-
catch (
|
|
12224
|
+
catch (e_116_1) { e_116 = { error: e_116_1 }; }
|
|
11701
12225
|
finally {
|
|
11702
12226
|
try {
|
|
11703
12227
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11704
12228
|
}
|
|
11705
|
-
finally { if (
|
|
12229
|
+
finally { if (e_116) throw e_116.error; }
|
|
11706
12230
|
}
|
|
11707
12231
|
}
|
|
11708
12232
|
if (status === 200) {
|
|
@@ -11772,7 +12296,7 @@
|
|
|
11772
12296
|
}));
|
|
11773
12297
|
};
|
|
11774
12298
|
DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
|
|
11775
|
-
var
|
|
12299
|
+
var e_117, _a;
|
|
11776
12300
|
var _this = this;
|
|
11777
12301
|
var status = response.status;
|
|
11778
12302
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11785,12 +12309,12 @@
|
|
|
11785
12309
|
_headers[key] = response.headers.get(key);
|
|
11786
12310
|
}
|
|
11787
12311
|
}
|
|
11788
|
-
catch (
|
|
12312
|
+
catch (e_117_1) { e_117 = { error: e_117_1 }; }
|
|
11789
12313
|
finally {
|
|
11790
12314
|
try {
|
|
11791
12315
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11792
12316
|
}
|
|
11793
|
-
finally { if (
|
|
12317
|
+
finally { if (e_117) throw e_117.error; }
|
|
11794
12318
|
}
|
|
11795
12319
|
}
|
|
11796
12320
|
if (status === 200) {
|
|
@@ -11859,7 +12383,7 @@
|
|
|
11859
12383
|
}));
|
|
11860
12384
|
};
|
|
11861
12385
|
DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
|
|
11862
|
-
var
|
|
12386
|
+
var e_118, _a;
|
|
11863
12387
|
var _this = this;
|
|
11864
12388
|
var status = response.status;
|
|
11865
12389
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11872,12 +12396,12 @@
|
|
|
11872
12396
|
_headers[key] = response.headers.get(key);
|
|
11873
12397
|
}
|
|
11874
12398
|
}
|
|
11875
|
-
catch (
|
|
12399
|
+
catch (e_118_1) { e_118 = { error: e_118_1 }; }
|
|
11876
12400
|
finally {
|
|
11877
12401
|
try {
|
|
11878
12402
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11879
12403
|
}
|
|
11880
|
-
finally { if (
|
|
12404
|
+
finally { if (e_118) throw e_118.error; }
|
|
11881
12405
|
}
|
|
11882
12406
|
}
|
|
11883
12407
|
if (status === 200 || status === 206) {
|
|
@@ -11942,7 +12466,7 @@
|
|
|
11942
12466
|
}));
|
|
11943
12467
|
};
|
|
11944
12468
|
DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
|
|
11945
|
-
var
|
|
12469
|
+
var e_119, _a;
|
|
11946
12470
|
var _this = this;
|
|
11947
12471
|
var status = response.status;
|
|
11948
12472
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -11955,12 +12479,12 @@
|
|
|
11955
12479
|
_headers[key] = response.headers.get(key);
|
|
11956
12480
|
}
|
|
11957
12481
|
}
|
|
11958
|
-
catch (
|
|
12482
|
+
catch (e_119_1) { e_119 = { error: e_119_1 }; }
|
|
11959
12483
|
finally {
|
|
11960
12484
|
try {
|
|
11961
12485
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
11962
12486
|
}
|
|
11963
|
-
finally { if (
|
|
12487
|
+
finally { if (e_119) throw e_119.error; }
|
|
11964
12488
|
}
|
|
11965
12489
|
}
|
|
11966
12490
|
if (status === 200) {
|
|
@@ -12023,7 +12547,7 @@
|
|
|
12023
12547
|
}));
|
|
12024
12548
|
};
|
|
12025
12549
|
DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
|
|
12026
|
-
var
|
|
12550
|
+
var e_120, _a;
|
|
12027
12551
|
var _this = this;
|
|
12028
12552
|
var status = response.status;
|
|
12029
12553
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12036,12 +12560,12 @@
|
|
|
12036
12560
|
_headers[key] = response.headers.get(key);
|
|
12037
12561
|
}
|
|
12038
12562
|
}
|
|
12039
|
-
catch (
|
|
12563
|
+
catch (e_120_1) { e_120 = { error: e_120_1 }; }
|
|
12040
12564
|
finally {
|
|
12041
12565
|
try {
|
|
12042
12566
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12043
12567
|
}
|
|
12044
|
-
finally { if (
|
|
12568
|
+
finally { if (e_120) throw e_120.error; }
|
|
12045
12569
|
}
|
|
12046
12570
|
}
|
|
12047
12571
|
if (status === 200) {
|
|
@@ -12104,7 +12628,7 @@
|
|
|
12104
12628
|
}));
|
|
12105
12629
|
};
|
|
12106
12630
|
DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
|
|
12107
|
-
var
|
|
12631
|
+
var e_121, _a;
|
|
12108
12632
|
var _this = this;
|
|
12109
12633
|
var status = response.status;
|
|
12110
12634
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12117,12 +12641,12 @@
|
|
|
12117
12641
|
_headers[key] = response.headers.get(key);
|
|
12118
12642
|
}
|
|
12119
12643
|
}
|
|
12120
|
-
catch (
|
|
12644
|
+
catch (e_121_1) { e_121 = { error: e_121_1 }; }
|
|
12121
12645
|
finally {
|
|
12122
12646
|
try {
|
|
12123
12647
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12124
12648
|
}
|
|
12125
|
-
finally { if (
|
|
12649
|
+
finally { if (e_121) throw e_121.error; }
|
|
12126
12650
|
}
|
|
12127
12651
|
}
|
|
12128
12652
|
if (status === 200) {
|
|
@@ -12185,7 +12709,7 @@
|
|
|
12185
12709
|
}));
|
|
12186
12710
|
};
|
|
12187
12711
|
DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
|
|
12188
|
-
var
|
|
12712
|
+
var e_122, _a;
|
|
12189
12713
|
var _this = this;
|
|
12190
12714
|
var status = response.status;
|
|
12191
12715
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12198,12 +12722,12 @@
|
|
|
12198
12722
|
_headers[key] = response.headers.get(key);
|
|
12199
12723
|
}
|
|
12200
12724
|
}
|
|
12201
|
-
catch (
|
|
12725
|
+
catch (e_122_1) { e_122 = { error: e_122_1 }; }
|
|
12202
12726
|
finally {
|
|
12203
12727
|
try {
|
|
12204
12728
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12205
12729
|
}
|
|
12206
|
-
finally { if (
|
|
12730
|
+
finally { if (e_122) throw e_122.error; }
|
|
12207
12731
|
}
|
|
12208
12732
|
}
|
|
12209
12733
|
if (status === 200) {
|
|
@@ -12337,7 +12861,7 @@
|
|
|
12337
12861
|
}));
|
|
12338
12862
|
};
|
|
12339
12863
|
DesignAtomsViewerApiClient.prototype.processImg = function (response) {
|
|
12340
|
-
var
|
|
12864
|
+
var e_123, _a;
|
|
12341
12865
|
var _this = this;
|
|
12342
12866
|
var status = response.status;
|
|
12343
12867
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12350,12 +12874,12 @@
|
|
|
12350
12874
|
_headers[key] = response.headers.get(key);
|
|
12351
12875
|
}
|
|
12352
12876
|
}
|
|
12353
|
-
catch (
|
|
12877
|
+
catch (e_123_1) { e_123 = { error: e_123_1 }; }
|
|
12354
12878
|
finally {
|
|
12355
12879
|
try {
|
|
12356
12880
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12357
12881
|
}
|
|
12358
|
-
finally { if (
|
|
12882
|
+
finally { if (e_123) throw e_123.error; }
|
|
12359
12883
|
}
|
|
12360
12884
|
}
|
|
12361
12885
|
if (status === 200 || status === 206) {
|
|
@@ -12425,7 +12949,7 @@
|
|
|
12425
12949
|
}));
|
|
12426
12950
|
};
|
|
12427
12951
|
DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
|
|
12428
|
-
var
|
|
12952
|
+
var e_124, _a;
|
|
12429
12953
|
var _this = this;
|
|
12430
12954
|
var status = response.status;
|
|
12431
12955
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12438,12 +12962,12 @@
|
|
|
12438
12962
|
_headers[key] = response.headers.get(key);
|
|
12439
12963
|
}
|
|
12440
12964
|
}
|
|
12441
|
-
catch (
|
|
12965
|
+
catch (e_124_1) { e_124 = { error: e_124_1 }; }
|
|
12442
12966
|
finally {
|
|
12443
12967
|
try {
|
|
12444
12968
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12445
12969
|
}
|
|
12446
|
-
finally { if (
|
|
12970
|
+
finally { if (e_124) throw e_124.error; }
|
|
12447
12971
|
}
|
|
12448
12972
|
}
|
|
12449
12973
|
if (status === 200) {
|
|
@@ -12505,7 +13029,7 @@
|
|
|
12505
13029
|
}));
|
|
12506
13030
|
};
|
|
12507
13031
|
DesignAtomsViewerApiClient.prototype.processPth = function (response) {
|
|
12508
|
-
var
|
|
13032
|
+
var e_125, _a;
|
|
12509
13033
|
var _this = this;
|
|
12510
13034
|
var status = response.status;
|
|
12511
13035
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12518,12 +13042,12 @@
|
|
|
12518
13042
|
_headers[key] = response.headers.get(key);
|
|
12519
13043
|
}
|
|
12520
13044
|
}
|
|
12521
|
-
catch (
|
|
13045
|
+
catch (e_125_1) { e_125 = { error: e_125_1 }; }
|
|
12522
13046
|
finally {
|
|
12523
13047
|
try {
|
|
12524
13048
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12525
13049
|
}
|
|
12526
|
-
finally { if (
|
|
13050
|
+
finally { if (e_125) throw e_125.error; }
|
|
12527
13051
|
}
|
|
12528
13052
|
}
|
|
12529
13053
|
if (status === 200 || status === 206) {
|
|
@@ -12596,7 +13120,7 @@
|
|
|
12596
13120
|
}));
|
|
12597
13121
|
};
|
|
12598
13122
|
DesignAtomsViewerApiClient.prototype.processResource = function (response) {
|
|
12599
|
-
var
|
|
13123
|
+
var e_126, _a;
|
|
12600
13124
|
var _this = this;
|
|
12601
13125
|
var status = response.status;
|
|
12602
13126
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12609,12 +13133,12 @@
|
|
|
12609
13133
|
_headers[key] = response.headers.get(key);
|
|
12610
13134
|
}
|
|
12611
13135
|
}
|
|
12612
|
-
catch (
|
|
13136
|
+
catch (e_126_1) { e_126 = { error: e_126_1 }; }
|
|
12613
13137
|
finally {
|
|
12614
13138
|
try {
|
|
12615
13139
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12616
13140
|
}
|
|
12617
|
-
finally { if (
|
|
13141
|
+
finally { if (e_126) throw e_126.error; }
|
|
12618
13142
|
}
|
|
12619
13143
|
}
|
|
12620
13144
|
if (status === 200 || status === 206) {
|
|
@@ -12753,7 +13277,7 @@
|
|
|
12753
13277
|
}));
|
|
12754
13278
|
};
|
|
12755
13279
|
DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
|
|
12756
|
-
var
|
|
13280
|
+
var e_127, _a;
|
|
12757
13281
|
var _this = this;
|
|
12758
13282
|
var status = response.status;
|
|
12759
13283
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12766,12 +13290,12 @@
|
|
|
12766
13290
|
_headers[key] = response.headers.get(key);
|
|
12767
13291
|
}
|
|
12768
13292
|
}
|
|
12769
|
-
catch (
|
|
13293
|
+
catch (e_127_1) { e_127 = { error: e_127_1 }; }
|
|
12770
13294
|
finally {
|
|
12771
13295
|
try {
|
|
12772
13296
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12773
13297
|
}
|
|
12774
|
-
finally { if (
|
|
13298
|
+
finally { if (e_127) throw e_127.error; }
|
|
12775
13299
|
}
|
|
12776
13300
|
}
|
|
12777
13301
|
if (status === 200 || status === 206) {
|
|
@@ -12844,7 +13368,7 @@
|
|
|
12844
13368
|
}));
|
|
12845
13369
|
};
|
|
12846
13370
|
DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
|
|
12847
|
-
var
|
|
13371
|
+
var e_128, _a;
|
|
12848
13372
|
var _this = this;
|
|
12849
13373
|
var status = response.status;
|
|
12850
13374
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12857,12 +13381,12 @@
|
|
|
12857
13381
|
_headers[key] = response.headers.get(key);
|
|
12858
13382
|
}
|
|
12859
13383
|
}
|
|
12860
|
-
catch (
|
|
13384
|
+
catch (e_128_1) { e_128 = { error: e_128_1 }; }
|
|
12861
13385
|
finally {
|
|
12862
13386
|
try {
|
|
12863
13387
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12864
13388
|
}
|
|
12865
|
-
finally { if (
|
|
13389
|
+
finally { if (e_128) throw e_128.error; }
|
|
12866
13390
|
}
|
|
12867
13391
|
}
|
|
12868
13392
|
if (status === 200 || status === 206) {
|
|
@@ -12936,7 +13460,7 @@
|
|
|
12936
13460
|
}));
|
|
12937
13461
|
};
|
|
12938
13462
|
DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
|
|
12939
|
-
var
|
|
13463
|
+
var e_129, _a;
|
|
12940
13464
|
var _this = this;
|
|
12941
13465
|
var status = response.status;
|
|
12942
13466
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -12949,12 +13473,12 @@
|
|
|
12949
13473
|
_headers[key] = response.headers.get(key);
|
|
12950
13474
|
}
|
|
12951
13475
|
}
|
|
12952
|
-
catch (
|
|
13476
|
+
catch (e_129_1) { e_129 = { error: e_129_1 }; }
|
|
12953
13477
|
finally {
|
|
12954
13478
|
try {
|
|
12955
13479
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
12956
13480
|
}
|
|
12957
|
-
finally { if (
|
|
13481
|
+
finally { if (e_129) throw e_129.error; }
|
|
12958
13482
|
}
|
|
12959
13483
|
}
|
|
12960
13484
|
if (status === 200) {
|
|
@@ -13017,7 +13541,7 @@
|
|
|
13017
13541
|
}));
|
|
13018
13542
|
};
|
|
13019
13543
|
DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
|
|
13020
|
-
var
|
|
13544
|
+
var e_130, _a;
|
|
13021
13545
|
var _this = this;
|
|
13022
13546
|
var status = response.status;
|
|
13023
13547
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13030,12 +13554,12 @@
|
|
|
13030
13554
|
_headers[key] = response.headers.get(key);
|
|
13031
13555
|
}
|
|
13032
13556
|
}
|
|
13033
|
-
catch (
|
|
13557
|
+
catch (e_130_1) { e_130 = { error: e_130_1 }; }
|
|
13034
13558
|
finally {
|
|
13035
13559
|
try {
|
|
13036
13560
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13037
13561
|
}
|
|
13038
|
-
finally { if (
|
|
13562
|
+
finally { if (e_130) throw e_130.error; }
|
|
13039
13563
|
}
|
|
13040
13564
|
}
|
|
13041
13565
|
if (status === 200) {
|
|
@@ -13098,7 +13622,7 @@
|
|
|
13098
13622
|
}));
|
|
13099
13623
|
};
|
|
13100
13624
|
DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
|
|
13101
|
-
var
|
|
13625
|
+
var e_131, _a;
|
|
13102
13626
|
var _this = this;
|
|
13103
13627
|
var status = response.status;
|
|
13104
13628
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13111,12 +13635,12 @@
|
|
|
13111
13635
|
_headers[key] = response.headers.get(key);
|
|
13112
13636
|
}
|
|
13113
13637
|
}
|
|
13114
|
-
catch (
|
|
13638
|
+
catch (e_131_1) { e_131 = { error: e_131_1 }; }
|
|
13115
13639
|
finally {
|
|
13116
13640
|
try {
|
|
13117
13641
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13118
13642
|
}
|
|
13119
|
-
finally { if (
|
|
13643
|
+
finally { if (e_131) throw e_131.error; }
|
|
13120
13644
|
}
|
|
13121
13645
|
}
|
|
13122
13646
|
if (status === 200) {
|
|
@@ -13179,7 +13703,7 @@
|
|
|
13179
13703
|
}));
|
|
13180
13704
|
};
|
|
13181
13705
|
DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
|
|
13182
|
-
var
|
|
13706
|
+
var e_132, _a;
|
|
13183
13707
|
var _this = this;
|
|
13184
13708
|
var status = response.status;
|
|
13185
13709
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13192,12 +13716,12 @@
|
|
|
13192
13716
|
_headers[key] = response.headers.get(key);
|
|
13193
13717
|
}
|
|
13194
13718
|
}
|
|
13195
|
-
catch (
|
|
13719
|
+
catch (e_132_1) { e_132 = { error: e_132_1 }; }
|
|
13196
13720
|
finally {
|
|
13197
13721
|
try {
|
|
13198
13722
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13199
13723
|
}
|
|
13200
|
-
finally { if (
|
|
13724
|
+
finally { if (e_132) throw e_132.error; }
|
|
13201
13725
|
}
|
|
13202
13726
|
}
|
|
13203
13727
|
if (status === 200) {
|
|
@@ -13260,7 +13784,7 @@
|
|
|
13260
13784
|
}));
|
|
13261
13785
|
};
|
|
13262
13786
|
DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
|
|
13263
|
-
var
|
|
13787
|
+
var e_133, _a;
|
|
13264
13788
|
var _this = this;
|
|
13265
13789
|
var status = response.status;
|
|
13266
13790
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13273,12 +13797,12 @@
|
|
|
13273
13797
|
_headers[key] = response.headers.get(key);
|
|
13274
13798
|
}
|
|
13275
13799
|
}
|
|
13276
|
-
catch (
|
|
13800
|
+
catch (e_133_1) { e_133 = { error: e_133_1 }; }
|
|
13277
13801
|
finally {
|
|
13278
13802
|
try {
|
|
13279
13803
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13280
13804
|
}
|
|
13281
|
-
finally { if (
|
|
13805
|
+
finally { if (e_133) throw e_133.error; }
|
|
13282
13806
|
}
|
|
13283
13807
|
}
|
|
13284
13808
|
if (status === 200) {
|
|
@@ -13341,7 +13865,7 @@
|
|
|
13341
13865
|
}));
|
|
13342
13866
|
};
|
|
13343
13867
|
DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
|
|
13344
|
-
var
|
|
13868
|
+
var e_134, _a;
|
|
13345
13869
|
var _this = this;
|
|
13346
13870
|
var status = response.status;
|
|
13347
13871
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13354,12 +13878,12 @@
|
|
|
13354
13878
|
_headers[key] = response.headers.get(key);
|
|
13355
13879
|
}
|
|
13356
13880
|
}
|
|
13357
|
-
catch (
|
|
13881
|
+
catch (e_134_1) { e_134 = { error: e_134_1 }; }
|
|
13358
13882
|
finally {
|
|
13359
13883
|
try {
|
|
13360
13884
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13361
13885
|
}
|
|
13362
|
-
finally { if (
|
|
13886
|
+
finally { if (e_134) throw e_134.error; }
|
|
13363
13887
|
}
|
|
13364
13888
|
}
|
|
13365
13889
|
if (status === 200) {
|
|
@@ -13422,7 +13946,7 @@
|
|
|
13422
13946
|
}));
|
|
13423
13947
|
};
|
|
13424
13948
|
DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
|
|
13425
|
-
var
|
|
13949
|
+
var e_135, _a;
|
|
13426
13950
|
var _this = this;
|
|
13427
13951
|
var status = response.status;
|
|
13428
13952
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13435,12 +13959,12 @@
|
|
|
13435
13959
|
_headers[key] = response.headers.get(key);
|
|
13436
13960
|
}
|
|
13437
13961
|
}
|
|
13438
|
-
catch (
|
|
13962
|
+
catch (e_135_1) { e_135 = { error: e_135_1 }; }
|
|
13439
13963
|
finally {
|
|
13440
13964
|
try {
|
|
13441
13965
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13442
13966
|
}
|
|
13443
|
-
finally { if (
|
|
13967
|
+
finally { if (e_135) throw e_135.error; }
|
|
13444
13968
|
}
|
|
13445
13969
|
}
|
|
13446
13970
|
if (status === 200) {
|
|
@@ -13503,7 +14027,7 @@
|
|
|
13503
14027
|
}));
|
|
13504
14028
|
};
|
|
13505
14029
|
DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
|
|
13506
|
-
var
|
|
14030
|
+
var e_136, _a;
|
|
13507
14031
|
var _this = this;
|
|
13508
14032
|
var status = response.status;
|
|
13509
14033
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13516,12 +14040,12 @@
|
|
|
13516
14040
|
_headers[key] = response.headers.get(key);
|
|
13517
14041
|
}
|
|
13518
14042
|
}
|
|
13519
|
-
catch (
|
|
14043
|
+
catch (e_136_1) { e_136 = { error: e_136_1 }; }
|
|
13520
14044
|
finally {
|
|
13521
14045
|
try {
|
|
13522
14046
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13523
14047
|
}
|
|
13524
|
-
finally { if (
|
|
14048
|
+
finally { if (e_136) throw e_136.error; }
|
|
13525
14049
|
}
|
|
13526
14050
|
}
|
|
13527
14051
|
if (status === 200) {
|
|
@@ -13584,7 +14108,7 @@
|
|
|
13584
14108
|
}));
|
|
13585
14109
|
};
|
|
13586
14110
|
DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
|
|
13587
|
-
var
|
|
14111
|
+
var e_137, _a;
|
|
13588
14112
|
var _this = this;
|
|
13589
14113
|
var status = response.status;
|
|
13590
14114
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13597,12 +14121,12 @@
|
|
|
13597
14121
|
_headers[key] = response.headers.get(key);
|
|
13598
14122
|
}
|
|
13599
14123
|
}
|
|
13600
|
-
catch (
|
|
14124
|
+
catch (e_137_1) { e_137 = { error: e_137_1 }; }
|
|
13601
14125
|
finally {
|
|
13602
14126
|
try {
|
|
13603
14127
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13604
14128
|
}
|
|
13605
|
-
finally { if (
|
|
14129
|
+
finally { if (e_137) throw e_137.error; }
|
|
13606
14130
|
}
|
|
13607
14131
|
}
|
|
13608
14132
|
if (status === 200) {
|
|
@@ -13665,7 +14189,7 @@
|
|
|
13665
14189
|
}));
|
|
13666
14190
|
};
|
|
13667
14191
|
DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
|
|
13668
|
-
var
|
|
14192
|
+
var e_138, _a;
|
|
13669
14193
|
var _this = this;
|
|
13670
14194
|
var status = response.status;
|
|
13671
14195
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13678,12 +14202,12 @@
|
|
|
13678
14202
|
_headers[key] = response.headers.get(key);
|
|
13679
14203
|
}
|
|
13680
14204
|
}
|
|
13681
|
-
catch (
|
|
14205
|
+
catch (e_138_1) { e_138 = { error: e_138_1 }; }
|
|
13682
14206
|
finally {
|
|
13683
14207
|
try {
|
|
13684
14208
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13685
14209
|
}
|
|
13686
|
-
finally { if (
|
|
14210
|
+
finally { if (e_138) throw e_138.error; }
|
|
13687
14211
|
}
|
|
13688
14212
|
}
|
|
13689
14213
|
if (status === 200) {
|
|
@@ -13746,7 +14270,7 @@
|
|
|
13746
14270
|
}));
|
|
13747
14271
|
};
|
|
13748
14272
|
DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
|
|
13749
|
-
var
|
|
14273
|
+
var e_139, _a;
|
|
13750
14274
|
var _this = this;
|
|
13751
14275
|
var status = response.status;
|
|
13752
14276
|
var responseBlob = response instanceof i1.HttpResponse ? response.body :
|
|
@@ -13759,12 +14283,12 @@
|
|
|
13759
14283
|
_headers[key] = response.headers.get(key);
|
|
13760
14284
|
}
|
|
13761
14285
|
}
|
|
13762
|
-
catch (
|
|
14286
|
+
catch (e_139_1) { e_139 = { error: e_139_1 }; }
|
|
13763
14287
|
finally {
|
|
13764
14288
|
try {
|
|
13765
14289
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
13766
14290
|
}
|
|
13767
|
-
finally { if (
|
|
14291
|
+
finally { if (e_139) throw e_139.error; }
|
|
13768
14292
|
}
|
|
13769
14293
|
}
|
|
13770
14294
|
if (status === 200) {
|
|
@@ -13799,12 +14323,43 @@
|
|
|
13799
14323
|
{ type: i1.HttpClient, decorators: [{ type: i0.Inject, args: [i1.HttpClient,] }] },
|
|
13800
14324
|
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [API_BASE_URL,] }] }
|
|
13801
14325
|
]; };
|
|
14326
|
+
(function (ArtworkShapeType) {
|
|
14327
|
+
ArtworkShapeType["Rectangle"] = "rectangle";
|
|
14328
|
+
ArtworkShapeType["Ellipse"] = "ellipse";
|
|
14329
|
+
})(exports.ArtworkShapeType || (exports.ArtworkShapeType = {}));
|
|
14330
|
+
(function (ColorlessContainerDisplayType) {
|
|
14331
|
+
ColorlessContainerDisplayType["Color"] = "Color";
|
|
14332
|
+
ColorlessContainerDisplayType["Texture"] = "Texture";
|
|
14333
|
+
})(exports.ColorlessContainerDisplayType || (exports.ColorlessContainerDisplayType = {}));
|
|
14334
|
+
(function (ColorlessContainerDitherType) {
|
|
14335
|
+
ColorlessContainerDitherType["None"] = "None";
|
|
14336
|
+
ColorlessContainerDitherType["Diffusion"] = "Diffusion";
|
|
14337
|
+
ColorlessContainerDitherType["Pattern"] = "Pattern";
|
|
14338
|
+
ColorlessContainerDitherType["Noise"] = "Noise";
|
|
14339
|
+
})(exports.ColorlessContainerDitherType || (exports.ColorlessContainerDitherType = {}));
|
|
14340
|
+
(function (ColorlessContainerFormat) {
|
|
14341
|
+
ColorlessContainerFormat["OneBit"] = "OneBit";
|
|
14342
|
+
ColorlessContainerFormat["Grayscale"] = "Grayscale";
|
|
14343
|
+
ColorlessContainerFormat["Vector"] = "Vector";
|
|
14344
|
+
})(exports.ColorlessContainerFormat || (exports.ColorlessContainerFormat = {}));
|
|
13802
14345
|
(function (ConflictType) {
|
|
13803
14346
|
ConflictType["NameConflict"] = "NameConflict";
|
|
13804
14347
|
ConflictType["FolderOverwriteConflict"] = "FolderOverwriteConflict";
|
|
13805
14348
|
ConflictType["IdConflict"] = "IdConflict";
|
|
13806
14349
|
ConflictType["GeneralConflict"] = "GeneralConflict";
|
|
13807
14350
|
})(exports.ConflictType || (exports.ConflictType = {}));
|
|
14351
|
+
(function (ContainerColorSpace) {
|
|
14352
|
+
ContainerColorSpace["Rgb"] = "Rgb";
|
|
14353
|
+
ContainerColorSpace["Cmyk"] = "Cmyk";
|
|
14354
|
+
ContainerColorSpace["Grayscale"] = "Grayscale";
|
|
14355
|
+
ContainerColorSpace["Lab"] = "Lab";
|
|
14356
|
+
ContainerColorSpace["Spot"] = "Spot";
|
|
14357
|
+
})(exports.ContainerColorSpace || (exports.ContainerColorSpace = {}));
|
|
14358
|
+
(function (ContainerPrintingMode) {
|
|
14359
|
+
ContainerPrintingMode["FullColor"] = "FullColor";
|
|
14360
|
+
ContainerPrintingMode["LimitedColor"] = "LimitedColor";
|
|
14361
|
+
ContainerPrintingMode["Colorless"] = "Colorless";
|
|
14362
|
+
})(exports.ContainerPrintingMode || (exports.ContainerPrintingMode = {}));
|
|
13808
14363
|
(function (DesignElementType) {
|
|
13809
14364
|
DesignElementType["Product"] = "Product";
|
|
13810
14365
|
DesignElementType["Design"] = "Design";
|
|
@@ -13827,6 +14382,10 @@
|
|
|
13827
14382
|
ImagePreviewFormat["Jpeg"] = "Jpeg";
|
|
13828
14383
|
ImagePreviewFormat["Png"] = "Png";
|
|
13829
14384
|
})(exports.ImagePreviewFormat || (exports.ImagePreviewFormat = {}));
|
|
14385
|
+
(function (ItemBorderStyle) {
|
|
14386
|
+
ItemBorderStyle["Solid"] = "Solid";
|
|
14387
|
+
ItemBorderStyle["Dashed"] = "Dashed";
|
|
14388
|
+
})(exports.ItemBorderStyle || (exports.ItemBorderStyle = {}));
|
|
13830
14389
|
(function (ItemSourceType) {
|
|
13831
14390
|
ItemSourceType["File"] = "File";
|
|
13832
14391
|
ItemSourceType["ImageStorage"] = "ImageStorage";
|