@aurigma/ng-design-atoms-api-client 2.46.1 → 2.48.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.
@@ -378,7 +378,7 @@
378
378
  return _this;
379
379
  }
380
380
  /**
381
- * Gets assembly build info
381
+ * Get assembly build info.
382
382
  * @return Success
383
383
  */
384
384
  BuildInfoApiClient.prototype.headInfo = function () {
@@ -449,7 +449,7 @@
449
449
  return rxjs.of(null);
450
450
  };
451
451
  /**
452
- * Gets assembly build info
452
+ * Get assembly build info.
453
453
  * @return Success
454
454
  */
455
455
  BuildInfoApiClient.prototype.getInfo = function () {
@@ -3949,6 +3949,110 @@
3949
3949
  }
3950
3950
  return rxjs.of(null);
3951
3951
  };
3952
+ /**
3953
+ * Returns design parameters stored in product model.
3954
+ * @param id Design identifier.
3955
+ * @param privateStorageOwner (optional) Private storage owner identifier.
3956
+ * @param tenantId (optional) Tenant identifier
3957
+ * @return Success
3958
+ */
3959
+ DesignAtomsServiceApiClient.prototype.getDesignParameters = function (id, privateStorageOwner, tenantId) {
3960
+ var _this = this;
3961
+ var url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/parameters?";
3962
+ if (id === undefined || id === null)
3963
+ throw new Error("The parameter 'id' must be defined.");
3964
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
3965
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
3966
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
3967
+ if (tenantId === null)
3968
+ throw new Error("The parameter 'tenantId' cannot be null.");
3969
+ else if (tenantId !== undefined)
3970
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3971
+ url_ = url_.replace(/[?&]$/, "");
3972
+ var options_ = {
3973
+ observe: "response",
3974
+ responseType: "blob",
3975
+ headers: new i1.HttpHeaders({
3976
+ "Accept": "application/json"
3977
+ })
3978
+ };
3979
+ return rxjs.from(this.transformOptions(options_)).pipe(operators.mergeMap(function (transformedOptions_) {
3980
+ return _this.http.request("get", url_, transformedOptions_);
3981
+ })).pipe(operators.mergeMap(function (response_) {
3982
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignParameters(r); });
3983
+ })).pipe(operators.catchError(function (response_) {
3984
+ if (response_ instanceof i1.HttpResponseBase) {
3985
+ try {
3986
+ return _this.transformResult(url_, response_, function (r) { return _this.processGetDesignParameters(r); });
3987
+ }
3988
+ catch (e) {
3989
+ return rxjs.throwError(e);
3990
+ }
3991
+ }
3992
+ else
3993
+ return rxjs.throwError(response_);
3994
+ }));
3995
+ };
3996
+ DesignAtomsServiceApiClient.prototype.processGetDesignParameters = function (response) {
3997
+ var e_39, _a;
3998
+ var _this = this;
3999
+ var status = response.status;
4000
+ var responseBlob = response instanceof i1.HttpResponse ? response.body :
4001
+ response.error instanceof Blob ? response.error : undefined;
4002
+ var _headers = {};
4003
+ if (response.headers) {
4004
+ try {
4005
+ for (var _b = __values(response.headers.keys()), _c = _b.next(); !_c.done; _c = _b.next()) {
4006
+ var key = _c.value;
4007
+ _headers[key] = response.headers.get(key);
4008
+ }
4009
+ }
4010
+ catch (e_39_1) { e_39 = { error: e_39_1 }; }
4011
+ finally {
4012
+ try {
4013
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4014
+ }
4015
+ finally { if (e_39) throw e_39.error; }
4016
+ }
4017
+ }
4018
+ if (status === 200) {
4019
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4020
+ var result200 = null;
4021
+ result200 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4022
+ return rxjs.of(result200);
4023
+ }));
4024
+ }
4025
+ else if (status === 404) {
4026
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4027
+ var result404 = null;
4028
+ result404 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4029
+ return throwException("Not Found", status, _responseText, _headers, result404);
4030
+ }));
4031
+ }
4032
+ else if (status === 401) {
4033
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4034
+ return throwException("Unauthorized", status, _responseText, _headers);
4035
+ }));
4036
+ }
4037
+ else if (status === 403) {
4038
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4039
+ return throwException("Forbidden", status, _responseText, _headers);
4040
+ }));
4041
+ }
4042
+ else if (status === 500) {
4043
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4044
+ var result500 = null;
4045
+ result500 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4046
+ return throwException("Internal server error", status, _responseText, _headers, result500);
4047
+ }));
4048
+ }
4049
+ else if (status !== 200 && status !== 204) {
4050
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4051
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4052
+ }));
4053
+ }
4054
+ return rxjs.of(null);
4055
+ };
3952
4056
  /**
3953
4057
  * Loads data schema from design file taken from storage
3954
4058
  * @param id Design identifier
@@ -3997,7 +4101,7 @@
3997
4101
  }));
3998
4102
  };
3999
4103
  DesignAtomsServiceApiClient.prototype.processLoadDataSchema = function (response) {
4000
- var e_39, _a;
4104
+ var e_40, _a;
4001
4105
  var _this = this;
4002
4106
  var status = response.status;
4003
4107
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4010,12 +4114,12 @@
4010
4114
  _headers[key] = response.headers.get(key);
4011
4115
  }
4012
4116
  }
4013
- catch (e_39_1) { e_39 = { error: e_39_1 }; }
4117
+ catch (e_40_1) { e_40 = { error: e_40_1 }; }
4014
4118
  finally {
4015
4119
  try {
4016
4120
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4017
4121
  }
4018
- finally { if (e_39) throw e_39.error; }
4122
+ finally { if (e_40) throw e_40.error; }
4019
4123
  }
4020
4124
  }
4021
4125
  if (status === 200 || status === 206) {
@@ -4110,7 +4214,7 @@
4110
4214
  }));
4111
4215
  };
4112
4216
  DesignAtomsServiceApiClient.prototype.processGetVariables = function (response) {
4113
- var e_40, _a;
4217
+ var e_41, _a;
4114
4218
  var _this = this;
4115
4219
  var status = response.status;
4116
4220
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4123,12 +4227,12 @@
4123
4227
  _headers[key] = response.headers.get(key);
4124
4228
  }
4125
4229
  }
4126
- catch (e_40_1) { e_40 = { error: e_40_1 }; }
4230
+ catch (e_41_1) { e_41 = { error: e_41_1 }; }
4127
4231
  finally {
4128
4232
  try {
4129
4233
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4130
4234
  }
4131
- finally { if (e_40) throw e_40.error; }
4235
+ finally { if (e_41) throw e_41.error; }
4132
4236
  }
4133
4237
  }
4134
4238
  if (status === 200) {
@@ -4220,7 +4324,7 @@
4220
4324
  }));
4221
4325
  };
4222
4326
  DesignAtomsServiceApiClient.prototype.processSetVariables = function (response) {
4223
- var e_41, _a;
4327
+ var e_42, _a;
4224
4328
  var _this = this;
4225
4329
  var status = response.status;
4226
4330
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4233,12 +4337,12 @@
4233
4337
  _headers[key] = response.headers.get(key);
4234
4338
  }
4235
4339
  }
4236
- catch (e_41_1) { e_41 = { error: e_41_1 }; }
4340
+ catch (e_42_1) { e_42 = { error: e_42_1 }; }
4237
4341
  finally {
4238
4342
  try {
4239
4343
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4240
4344
  }
4241
- finally { if (e_41) throw e_41.error; }
4345
+ finally { if (e_42) throw e_42.error; }
4242
4346
  }
4243
4347
  }
4244
4348
  if (status === 200) {
@@ -4332,7 +4436,7 @@
4332
4436
  }));
4333
4437
  };
4334
4438
  DesignAtomsServiceApiClient.prototype.processLoadVdpData = function (response) {
4335
- var e_42, _a;
4439
+ var e_43, _a;
4336
4440
  var _this = this;
4337
4441
  var status = response.status;
4338
4442
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4345,12 +4449,12 @@
4345
4449
  _headers[key] = response.headers.get(key);
4346
4450
  }
4347
4451
  }
4348
- catch (e_42_1) { e_42 = { error: e_42_1 }; }
4452
+ catch (e_43_1) { e_43 = { error: e_43_1 }; }
4349
4453
  finally {
4350
4454
  try {
4351
4455
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4352
4456
  }
4353
- finally { if (e_42) throw e_42.error; }
4457
+ finally { if (e_43) throw e_43.error; }
4354
4458
  }
4355
4459
  }
4356
4460
  if (status === 200) {
@@ -4449,7 +4553,7 @@
4449
4553
  }));
4450
4554
  };
4451
4555
  DesignAtomsServiceApiClient.prototype.processSaveVdpData = function (response) {
4452
- var e_43, _a;
4556
+ var e_44, _a;
4453
4557
  var _this = this;
4454
4558
  var status = response.status;
4455
4559
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4462,12 +4566,12 @@
4462
4566
  _headers[key] = response.headers.get(key);
4463
4567
  }
4464
4568
  }
4465
- catch (e_43_1) { e_43 = { error: e_43_1 }; }
4569
+ catch (e_44_1) { e_44 = { error: e_44_1 }; }
4466
4570
  finally {
4467
4571
  try {
4468
4572
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4469
4573
  }
4470
- finally { if (e_43) throw e_43.error; }
4574
+ finally { if (e_44) throw e_44.error; }
4471
4575
  }
4472
4576
  }
4473
4577
  if (status === 200) {
@@ -4552,7 +4656,7 @@
4552
4656
  }));
4553
4657
  };
4554
4658
  DesignAtomsServiceApiClient.prototype.processDeleteVdpData = function (response) {
4555
- var e_44, _a;
4659
+ var e_45, _a;
4556
4660
  var _this = this;
4557
4661
  var status = response.status;
4558
4662
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4565,12 +4669,12 @@
4565
4669
  _headers[key] = response.headers.get(key);
4566
4670
  }
4567
4671
  }
4568
- catch (e_44_1) { e_44 = { error: e_44_1 }; }
4672
+ catch (e_45_1) { e_45 = { error: e_45_1 }; }
4569
4673
  finally {
4570
4674
  try {
4571
4675
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4572
4676
  }
4573
- finally { if (e_44) throw e_44.error; }
4677
+ finally { if (e_45) throw e_45.error; }
4574
4678
  }
4575
4679
  }
4576
4680
  if (status === 200) {
@@ -4651,7 +4755,7 @@
4651
4755
  }));
4652
4756
  };
4653
4757
  DesignAtomsServiceApiClient.prototype.processFlattenItems = function (response) {
4654
- var e_45, _a;
4758
+ var e_46, _a;
4655
4759
  var _this = this;
4656
4760
  var status = response.status;
4657
4761
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4664,12 +4768,12 @@
4664
4768
  _headers[key] = response.headers.get(key);
4665
4769
  }
4666
4770
  }
4667
- catch (e_45_1) { e_45 = { error: e_45_1 }; }
4771
+ catch (e_46_1) { e_46 = { error: e_46_1 }; }
4668
4772
  finally {
4669
4773
  try {
4670
4774
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4671
4775
  }
4672
- finally { if (e_45) throw e_45.error; }
4776
+ finally { if (e_46) throw e_46.error; }
4673
4777
  }
4674
4778
  }
4675
4779
  if (status === 200) {
@@ -4758,7 +4862,7 @@
4758
4862
  }));
4759
4863
  };
4760
4864
  DesignAtomsServiceApiClient.prototype.processCreateItem = function (response) {
4761
- var e_46, _a;
4865
+ var e_47, _a;
4762
4866
  var _this = this;
4763
4867
  var status = response.status;
4764
4868
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4771,12 +4875,12 @@
4771
4875
  _headers[key] = response.headers.get(key);
4772
4876
  }
4773
4877
  }
4774
- catch (e_46_1) { e_46 = { error: e_46_1 }; }
4878
+ catch (e_47_1) { e_47 = { error: e_47_1 }; }
4775
4879
  finally {
4776
4880
  try {
4777
4881
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4778
4882
  }
4779
- finally { if (e_46) throw e_46.error; }
4883
+ finally { if (e_47) throw e_47.error; }
4780
4884
  }
4781
4885
  }
4782
4886
  if (status === 200) {
@@ -4862,7 +4966,7 @@
4862
4966
  }));
4863
4967
  };
4864
4968
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromDesign = function (response) {
4865
- var e_47, _a;
4969
+ var e_48, _a;
4866
4970
  var _this = this;
4867
4971
  var status = response.status;
4868
4972
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4875,12 +4979,12 @@
4875
4979
  _headers[key] = response.headers.get(key);
4876
4980
  }
4877
4981
  }
4878
- catch (e_47_1) { e_47 = { error: e_47_1 }; }
4982
+ catch (e_48_1) { e_48 = { error: e_48_1 }; }
4879
4983
  finally {
4880
4984
  try {
4881
4985
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4882
4986
  }
4883
- finally { if (e_47) throw e_47.error; }
4987
+ finally { if (e_48) throw e_48.error; }
4884
4988
  }
4885
4989
  }
4886
4990
  if (status === 201) {
@@ -4957,7 +5061,7 @@
4957
5061
  }));
4958
5062
  };
4959
5063
  DesignAtomsServiceApiClient.prototype.processCreatePrivateDesignFromResource = function (response) {
4960
- var e_48, _a;
5064
+ var e_49, _a;
4961
5065
  var _this = this;
4962
5066
  var status = response.status;
4963
5067
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -4970,12 +5074,12 @@
4970
5074
  _headers[key] = response.headers.get(key);
4971
5075
  }
4972
5076
  }
4973
- catch (e_48_1) { e_48 = { error: e_48_1 }; }
5077
+ catch (e_49_1) { e_49 = { error: e_49_1 }; }
4974
5078
  finally {
4975
5079
  try {
4976
5080
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
4977
5081
  }
4978
- finally { if (e_48) throw e_48.error; }
5082
+ finally { if (e_49) throw e_49.error; }
4979
5083
  }
4980
5084
  }
4981
5085
  if (status === 201) {
@@ -5053,7 +5157,7 @@
5053
5157
  }));
5054
5158
  };
5055
5159
  DesignAtomsServiceApiClient.prototype.processRenderDesignPreview = function (response) {
5056
- var e_49, _a;
5160
+ var e_50, _a;
5057
5161
  var _this = this;
5058
5162
  var status = response.status;
5059
5163
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5066,12 +5170,12 @@
5066
5170
  _headers[key] = response.headers.get(key);
5067
5171
  }
5068
5172
  }
5069
- catch (e_49_1) { e_49 = { error: e_49_1 }; }
5173
+ catch (e_50_1) { e_50 = { error: e_50_1 }; }
5070
5174
  finally {
5071
5175
  try {
5072
5176
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5073
5177
  }
5074
- finally { if (e_49) throw e_49.error; }
5178
+ finally { if (e_50) throw e_50.error; }
5075
5179
  }
5076
5180
  }
5077
5181
  if (status === 200 || status === 206) {
@@ -5150,7 +5254,7 @@
5150
5254
  }));
5151
5255
  };
5152
5256
  DesignAtomsServiceApiClient.prototype.processRenderDesignProof = function (response) {
5153
- var e_50, _a;
5257
+ var e_51, _a;
5154
5258
  var _this = this;
5155
5259
  var status = response.status;
5156
5260
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5163,12 +5267,12 @@
5163
5267
  _headers[key] = response.headers.get(key);
5164
5268
  }
5165
5269
  }
5166
- catch (e_50_1) { e_50 = { error: e_50_1 }; }
5270
+ catch (e_51_1) { e_51 = { error: e_51_1 }; }
5167
5271
  finally {
5168
5272
  try {
5169
5273
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5170
5274
  }
5171
- finally { if (e_50) throw e_50.error; }
5275
+ finally { if (e_51) throw e_51.error; }
5172
5276
  }
5173
5277
  }
5174
5278
  if (status === 200 || status === 206) {
@@ -5246,7 +5350,7 @@
5246
5350
  }));
5247
5351
  };
5248
5352
  DesignAtomsServiceApiClient.prototype.processRenderProduct = function (response) {
5249
- var e_51, _a;
5353
+ var e_52, _a;
5250
5354
  var _this = this;
5251
5355
  var status = response.status;
5252
5356
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5259,12 +5363,12 @@
5259
5363
  _headers[key] = response.headers.get(key);
5260
5364
  }
5261
5365
  }
5262
- catch (e_51_1) { e_51 = { error: e_51_1 }; }
5366
+ catch (e_52_1) { e_52 = { error: e_52_1 }; }
5263
5367
  finally {
5264
5368
  try {
5265
5369
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5266
5370
  }
5267
- finally { if (e_51) throw e_51.error; }
5371
+ finally { if (e_52) throw e_52.error; }
5268
5372
  }
5269
5373
  }
5270
5374
  if (status === 200 || status === 206) {
@@ -5345,7 +5449,7 @@
5345
5449
  }));
5346
5450
  };
5347
5451
  DesignAtomsServiceApiClient.prototype.processLoadProductFromResource = function (response) {
5348
- var e_52, _a;
5452
+ var e_53, _a;
5349
5453
  var _this = this;
5350
5454
  var status = response.status;
5351
5455
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5358,12 +5462,12 @@
5358
5462
  _headers[key] = response.headers.get(key);
5359
5463
  }
5360
5464
  }
5361
- catch (e_52_1) { e_52 = { error: e_52_1 }; }
5465
+ catch (e_53_1) { e_53 = { error: e_53_1 }; }
5362
5466
  finally {
5363
5467
  try {
5364
5468
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5365
5469
  }
5366
- finally { if (e_52) throw e_52.error; }
5470
+ finally { if (e_53) throw e_53.error; }
5367
5471
  }
5368
5472
  }
5369
5473
  if (status === 200) {
@@ -5474,7 +5578,7 @@
5474
5578
  }));
5475
5579
  };
5476
5580
  DesignAtomsViewerApiClient.prototype.processCssFonts = function (response) {
5477
- var e_53, _a;
5581
+ var e_54, _a;
5478
5582
  var _this = this;
5479
5583
  var status = response.status;
5480
5584
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5487,12 +5591,12 @@
5487
5591
  _headers[key] = response.headers.get(key);
5488
5592
  }
5489
5593
  }
5490
- catch (e_53_1) { e_53 = { error: e_53_1 }; }
5594
+ catch (e_54_1) { e_54 = { error: e_54_1 }; }
5491
5595
  finally {
5492
5596
  try {
5493
5597
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5494
5598
  }
5495
- finally { if (e_53) throw e_53.error; }
5599
+ finally { if (e_54) throw e_54.error; }
5496
5600
  }
5497
5601
  }
5498
5602
  if (status === 200) {
@@ -5556,7 +5660,7 @@
5556
5660
  }));
5557
5661
  };
5558
5662
  DesignAtomsViewerApiClient.prototype.processFonts = function (response) {
5559
- var e_54, _a;
5663
+ var e_55, _a;
5560
5664
  var _this = this;
5561
5665
  var status = response.status;
5562
5666
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5569,12 +5673,12 @@
5569
5673
  _headers[key] = response.headers.get(key);
5570
5674
  }
5571
5675
  }
5572
- catch (e_54_1) { e_54 = { error: e_54_1 }; }
5676
+ catch (e_55_1) { e_55 = { error: e_55_1 }; }
5573
5677
  finally {
5574
5678
  try {
5575
5679
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5576
5680
  }
5577
- finally { if (e_54) throw e_54.error; }
5681
+ finally { if (e_55) throw e_55.error; }
5578
5682
  }
5579
5683
  }
5580
5684
  if (status === 200 || status === 206) {
@@ -5645,7 +5749,7 @@
5645
5749
  }));
5646
5750
  };
5647
5751
  DesignAtomsViewerApiClient.prototype.processGetColorPreview = function (response) {
5648
- var e_55, _a;
5752
+ var e_56, _a;
5649
5753
  var _this = this;
5650
5754
  var status = response.status;
5651
5755
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5658,12 +5762,12 @@
5658
5762
  _headers[key] = response.headers.get(key);
5659
5763
  }
5660
5764
  }
5661
- catch (e_55_1) { e_55 = { error: e_55_1 }; }
5765
+ catch (e_56_1) { e_56 = { error: e_56_1 }; }
5662
5766
  finally {
5663
5767
  try {
5664
5768
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5665
5769
  }
5666
- finally { if (e_55) throw e_55.error; }
5770
+ finally { if (e_56) throw e_56.error; }
5667
5771
  }
5668
5772
  }
5669
5773
  if (status === 200) {
@@ -5728,7 +5832,7 @@
5728
5832
  }));
5729
5833
  };
5730
5834
  DesignAtomsViewerApiClient.prototype.processGetColorPreviews = function (response) {
5731
- var e_56, _a;
5835
+ var e_57, _a;
5732
5836
  var _this = this;
5733
5837
  var status = response.status;
5734
5838
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5741,12 +5845,12 @@
5741
5845
  _headers[key] = response.headers.get(key);
5742
5846
  }
5743
5847
  }
5744
- catch (e_56_1) { e_56 = { error: e_56_1 }; }
5848
+ catch (e_57_1) { e_57 = { error: e_57_1 }; }
5745
5849
  finally {
5746
5850
  try {
5747
5851
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5748
5852
  }
5749
- finally { if (e_56) throw e_56.error; }
5853
+ finally { if (e_57) throw e_57.error; }
5750
5854
  }
5751
5855
  }
5752
5856
  if (status === 200) {
@@ -5810,7 +5914,7 @@
5810
5914
  }));
5811
5915
  };
5812
5916
  DesignAtomsViewerApiClient.prototype.processGetCssFont = function (response) {
5813
- var e_57, _a;
5917
+ var e_58, _a;
5814
5918
  var _this = this;
5815
5919
  var status = response.status;
5816
5920
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5823,12 +5927,12 @@
5823
5927
  _headers[key] = response.headers.get(key);
5824
5928
  }
5825
5929
  }
5826
- catch (e_57_1) { e_57 = { error: e_57_1 }; }
5930
+ catch (e_58_1) { e_58 = { error: e_58_1 }; }
5827
5931
  finally {
5828
5932
  try {
5829
5933
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5830
5934
  }
5831
- finally { if (e_57) throw e_57.error; }
5935
+ finally { if (e_58) throw e_58.error; }
5832
5936
  }
5833
5937
  }
5834
5938
  if (status === 200 || status === 206) {
@@ -5895,7 +5999,7 @@
5895
5999
  }));
5896
6000
  };
5897
6001
  DesignAtomsViewerApiClient.prototype.processGetFallbackFonts = function (response) {
5898
- var e_58, _a;
6002
+ var e_59, _a;
5899
6003
  var _this = this;
5900
6004
  var status = response.status;
5901
6005
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5908,12 +6012,12 @@
5908
6012
  _headers[key] = response.headers.get(key);
5909
6013
  }
5910
6014
  }
5911
- catch (e_58_1) { e_58 = { error: e_58_1 }; }
6015
+ catch (e_59_1) { e_59 = { error: e_59_1 }; }
5912
6016
  finally {
5913
6017
  try {
5914
6018
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5915
6019
  }
5916
- finally { if (e_58) throw e_58.error; }
6020
+ finally { if (e_59) throw e_59.error; }
5917
6021
  }
5918
6022
  }
5919
6023
  if (status === 200 || status === 206) {
@@ -5977,7 +6081,7 @@
5977
6081
  }));
5978
6082
  };
5979
6083
  DesignAtomsViewerApiClient.prototype.processGetImageSize = function (response) {
5980
- var e_59, _a;
6084
+ var e_60, _a;
5981
6085
  var _this = this;
5982
6086
  var status = response.status;
5983
6087
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -5990,12 +6094,12 @@
5990
6094
  _headers[key] = response.headers.get(key);
5991
6095
  }
5992
6096
  }
5993
- catch (e_59_1) { e_59 = { error: e_59_1 }; }
6097
+ catch (e_60_1) { e_60 = { error: e_60_1 }; }
5994
6098
  finally {
5995
6099
  try {
5996
6100
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
5997
6101
  }
5998
- finally { if (e_59) throw e_59.error; }
6102
+ finally { if (e_60) throw e_60.error; }
5999
6103
  }
6000
6104
  }
6001
6105
  if (status === 200) {
@@ -6060,7 +6164,7 @@
6060
6164
  }));
6061
6165
  };
6062
6166
  DesignAtomsViewerApiClient.prototype.processGetShapeBounds = function (response) {
6063
- var e_60, _a;
6167
+ var e_61, _a;
6064
6168
  var _this = this;
6065
6169
  var status = response.status;
6066
6170
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6073,12 +6177,12 @@
6073
6177
  _headers[key] = response.headers.get(key);
6074
6178
  }
6075
6179
  }
6076
- catch (e_60_1) { e_60 = { error: e_60_1 }; }
6180
+ catch (e_61_1) { e_61 = { error: e_61_1 }; }
6077
6181
  finally {
6078
6182
  try {
6079
6183
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6080
6184
  }
6081
- finally { if (e_60) throw e_60.error; }
6185
+ finally { if (e_61) throw e_61.error; }
6082
6186
  }
6083
6187
  }
6084
6188
  if (status === 200) {
@@ -6143,7 +6247,7 @@
6143
6247
  }));
6144
6248
  };
6145
6249
  DesignAtomsViewerApiClient.prototype.processGetWatermarkItems = function (response) {
6146
- var e_61, _a;
6250
+ var e_62, _a;
6147
6251
  var _this = this;
6148
6252
  var status = response.status;
6149
6253
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6156,12 +6260,12 @@
6156
6260
  _headers[key] = response.headers.get(key);
6157
6261
  }
6158
6262
  }
6159
- catch (e_61_1) { e_61 = { error: e_61_1 }; }
6263
+ catch (e_62_1) { e_62 = { error: e_62_1 }; }
6160
6264
  finally {
6161
6265
  try {
6162
6266
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6163
6267
  }
6164
- finally { if (e_61) throw e_61.error; }
6268
+ finally { if (e_62) throw e_62.error; }
6165
6269
  }
6166
6270
  }
6167
6271
  if (status === 200) {
@@ -6276,7 +6380,7 @@
6276
6380
  }));
6277
6381
  };
6278
6382
  DesignAtomsViewerApiClient.prototype.processImg = function (response) {
6279
- var e_62, _a;
6383
+ var e_63, _a;
6280
6384
  var _this = this;
6281
6385
  var status = response.status;
6282
6386
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6289,12 +6393,12 @@
6289
6393
  _headers[key] = response.headers.get(key);
6290
6394
  }
6291
6395
  }
6292
- catch (e_62_1) { e_62 = { error: e_62_1 }; }
6396
+ catch (e_63_1) { e_63 = { error: e_63_1 }; }
6293
6397
  finally {
6294
6398
  try {
6295
6399
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6296
6400
  }
6297
- finally { if (e_62) throw e_62.error; }
6401
+ finally { if (e_63) throw e_63.error; }
6298
6402
  }
6299
6403
  }
6300
6404
  if (status === 200 || status === 206) {
@@ -6366,7 +6470,7 @@
6366
6470
  }));
6367
6471
  };
6368
6472
  DesignAtomsViewerApiClient.prototype.processGetLicense = function (response) {
6369
- var e_63, _a;
6473
+ var e_64, _a;
6370
6474
  var _this = this;
6371
6475
  var status = response.status;
6372
6476
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6379,12 +6483,12 @@
6379
6483
  _headers[key] = response.headers.get(key);
6380
6484
  }
6381
6485
  }
6382
- catch (e_63_1) { e_63 = { error: e_63_1 }; }
6486
+ catch (e_64_1) { e_64 = { error: e_64_1 }; }
6383
6487
  finally {
6384
6488
  try {
6385
6489
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6386
6490
  }
6387
- finally { if (e_63) throw e_63.error; }
6491
+ finally { if (e_64) throw e_64.error; }
6388
6492
  }
6389
6493
  }
6390
6494
  if (status === 200) {
@@ -6448,7 +6552,7 @@
6448
6552
  }));
6449
6553
  };
6450
6554
  DesignAtomsViewerApiClient.prototype.processPth = function (response) {
6451
- var e_64, _a;
6555
+ var e_65, _a;
6452
6556
  var _this = this;
6453
6557
  var status = response.status;
6454
6558
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6461,12 +6565,12 @@
6461
6565
  _headers[key] = response.headers.get(key);
6462
6566
  }
6463
6567
  }
6464
- catch (e_64_1) { e_64 = { error: e_64_1 }; }
6568
+ catch (e_65_1) { e_65 = { error: e_65_1 }; }
6465
6569
  finally {
6466
6570
  try {
6467
6571
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6468
6572
  }
6469
- finally { if (e_64) throw e_64.error; }
6573
+ finally { if (e_65) throw e_65.error; }
6470
6574
  }
6471
6575
  }
6472
6576
  if (status === 200 || status === 206) {
@@ -6541,7 +6645,7 @@
6541
6645
  }));
6542
6646
  };
6543
6647
  DesignAtomsViewerApiClient.prototype.processResource = function (response) {
6544
- var e_65, _a;
6648
+ var e_66, _a;
6545
6649
  var _this = this;
6546
6650
  var status = response.status;
6547
6651
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6554,12 +6658,12 @@
6554
6658
  _headers[key] = response.headers.get(key);
6555
6659
  }
6556
6660
  }
6557
- catch (e_65_1) { e_65 = { error: e_65_1 }; }
6661
+ catch (e_66_1) { e_66 = { error: e_66_1 }; }
6558
6662
  finally {
6559
6663
  try {
6560
6664
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6561
6665
  }
6562
- finally { if (e_65) throw e_65.error; }
6666
+ finally { if (e_66) throw e_66.error; }
6563
6667
  }
6564
6668
  }
6565
6669
  if (status === 200 || status === 206) {
@@ -6680,7 +6784,7 @@
6680
6784
  }));
6681
6785
  };
6682
6786
  DesignAtomsViewerApiClient.prototype.processSvg = function (response) {
6683
- var e_66, _a;
6787
+ var e_67, _a;
6684
6788
  var _this = this;
6685
6789
  var status = response.status;
6686
6790
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6693,12 +6797,12 @@
6693
6797
  _headers[key] = response.headers.get(key);
6694
6798
  }
6695
6799
  }
6696
- catch (e_66_1) { e_66 = { error: e_66_1 }; }
6800
+ catch (e_67_1) { e_67 = { error: e_67_1 }; }
6697
6801
  finally {
6698
6802
  try {
6699
6803
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6700
6804
  }
6701
- finally { if (e_66) throw e_66.error; }
6805
+ finally { if (e_67) throw e_67.error; }
6702
6806
  }
6703
6807
  }
6704
6808
  if (status === 200 || status === 206) {
@@ -6773,7 +6877,7 @@
6773
6877
  }));
6774
6878
  };
6775
6879
  DesignAtomsViewerApiClient.prototype.processTxt = function (response) {
6776
- var e_67, _a;
6880
+ var e_68, _a;
6777
6881
  var _this = this;
6778
6882
  var status = response.status;
6779
6883
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6786,12 +6890,12 @@
6786
6890
  _headers[key] = response.headers.get(key);
6787
6891
  }
6788
6892
  }
6789
- catch (e_67_1) { e_67 = { error: e_67_1 }; }
6893
+ catch (e_68_1) { e_68 = { error: e_68_1 }; }
6790
6894
  finally {
6791
6895
  try {
6792
6896
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6793
6897
  }
6794
- finally { if (e_67) throw e_67.error; }
6898
+ finally { if (e_68) throw e_68.error; }
6795
6899
  }
6796
6900
  }
6797
6901
  if (status === 200 || status === 206) {
@@ -6867,7 +6971,7 @@
6867
6971
  }));
6868
6972
  };
6869
6973
  DesignAtomsViewerApiClient.prototype.processUpdateArchedTextItemHandler = function (response) {
6870
- var e_68, _a;
6974
+ var e_69, _a;
6871
6975
  var _this = this;
6872
6976
  var status = response.status;
6873
6977
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6880,12 +6984,12 @@
6880
6984
  _headers[key] = response.headers.get(key);
6881
6985
  }
6882
6986
  }
6883
- catch (e_68_1) { e_68 = { error: e_68_1 }; }
6987
+ catch (e_69_1) { e_69 = { error: e_69_1 }; }
6884
6988
  finally {
6885
6989
  try {
6886
6990
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6887
6991
  }
6888
- finally { if (e_68) throw e_68.error; }
6992
+ finally { if (e_69) throw e_69.error; }
6889
6993
  }
6890
6994
  }
6891
6995
  if (status === 200) {
@@ -6950,7 +7054,7 @@
6950
7054
  }));
6951
7055
  };
6952
7056
  DesignAtomsViewerApiClient.prototype.processUpdateAutoScaledTextItemHandler = function (response) {
6953
- var e_69, _a;
7057
+ var e_70, _a;
6954
7058
  var _this = this;
6955
7059
  var status = response.status;
6956
7060
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -6963,12 +7067,12 @@
6963
7067
  _headers[key] = response.headers.get(key);
6964
7068
  }
6965
7069
  }
6966
- catch (e_69_1) { e_69 = { error: e_69_1 }; }
7070
+ catch (e_70_1) { e_70 = { error: e_70_1 }; }
6967
7071
  finally {
6968
7072
  try {
6969
7073
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6970
7074
  }
6971
- finally { if (e_69) throw e_69.error; }
7075
+ finally { if (e_70) throw e_70.error; }
6972
7076
  }
6973
7077
  }
6974
7078
  if (status === 200) {
@@ -7033,7 +7137,7 @@
7033
7137
  }));
7034
7138
  };
7035
7139
  DesignAtomsViewerApiClient.prototype.processUpdateBarcodeItemHandler = function (response) {
7036
- var e_70, _a;
7140
+ var e_71, _a;
7037
7141
  var _this = this;
7038
7142
  var status = response.status;
7039
7143
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7046,12 +7150,12 @@
7046
7150
  _headers[key] = response.headers.get(key);
7047
7151
  }
7048
7152
  }
7049
- catch (e_70_1) { e_70 = { error: e_70_1 }; }
7153
+ catch (e_71_1) { e_71 = { error: e_71_1 }; }
7050
7154
  finally {
7051
7155
  try {
7052
7156
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7053
7157
  }
7054
- finally { if (e_70) throw e_70.error; }
7158
+ finally { if (e_71) throw e_71.error; }
7055
7159
  }
7056
7160
  }
7057
7161
  if (status === 200) {
@@ -7116,7 +7220,7 @@
7116
7220
  }));
7117
7221
  };
7118
7222
  DesignAtomsViewerApiClient.prototype.processUpdateBoundedTextItemHandler = function (response) {
7119
- var e_71, _a;
7223
+ var e_72, _a;
7120
7224
  var _this = this;
7121
7225
  var status = response.status;
7122
7226
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7129,12 +7233,12 @@
7129
7233
  _headers[key] = response.headers.get(key);
7130
7234
  }
7131
7235
  }
7132
- catch (e_71_1) { e_71 = { error: e_71_1 }; }
7236
+ catch (e_72_1) { e_72 = { error: e_72_1 }; }
7133
7237
  finally {
7134
7238
  try {
7135
7239
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7136
7240
  }
7137
- finally { if (e_71) throw e_71.error; }
7241
+ finally { if (e_72) throw e_72.error; }
7138
7242
  }
7139
7243
  }
7140
7244
  if (status === 200) {
@@ -7199,7 +7303,7 @@
7199
7303
  }));
7200
7304
  };
7201
7305
  DesignAtomsViewerApiClient.prototype.processUpdateByColorData = function (response) {
7202
- var e_72, _a;
7306
+ var e_73, _a;
7203
7307
  var _this = this;
7204
7308
  var status = response.status;
7205
7309
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7212,12 +7316,12 @@
7212
7316
  _headers[key] = response.headers.get(key);
7213
7317
  }
7214
7318
  }
7215
- catch (e_72_1) { e_72 = { error: e_72_1 }; }
7319
+ catch (e_73_1) { e_73 = { error: e_73_1 }; }
7216
7320
  finally {
7217
7321
  try {
7218
7322
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7219
7323
  }
7220
- finally { if (e_72) throw e_72.error; }
7324
+ finally { if (e_73) throw e_73.error; }
7221
7325
  }
7222
7326
  }
7223
7327
  if (status === 200) {
@@ -7282,7 +7386,7 @@
7282
7386
  }));
7283
7387
  };
7284
7388
  DesignAtomsViewerApiClient.prototype.processUpdateByMultiCallRequest = function (response) {
7285
- var e_73, _a;
7389
+ var e_74, _a;
7286
7390
  var _this = this;
7287
7391
  var status = response.status;
7288
7392
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7295,12 +7399,12 @@
7295
7399
  _headers[key] = response.headers.get(key);
7296
7400
  }
7297
7401
  }
7298
- catch (e_73_1) { e_73 = { error: e_73_1 }; }
7402
+ catch (e_74_1) { e_74 = { error: e_74_1 }; }
7299
7403
  finally {
7300
7404
  try {
7301
7405
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7302
7406
  }
7303
- finally { if (e_73) throw e_73.error; }
7407
+ finally { if (e_74) throw e_74.error; }
7304
7408
  }
7305
7409
  }
7306
7410
  if (status === 200) {
@@ -7365,7 +7469,7 @@
7365
7469
  }));
7366
7470
  };
7367
7471
  DesignAtomsViewerApiClient.prototype.processUpdateCurvedTextItemHandler = function (response) {
7368
- var e_74, _a;
7472
+ var e_75, _a;
7369
7473
  var _this = this;
7370
7474
  var status = response.status;
7371
7475
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7378,12 +7482,12 @@
7378
7482
  _headers[key] = response.headers.get(key);
7379
7483
  }
7380
7484
  }
7381
- catch (e_74_1) { e_74 = { error: e_74_1 }; }
7485
+ catch (e_75_1) { e_75 = { error: e_75_1 }; }
7382
7486
  finally {
7383
7487
  try {
7384
7488
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7385
7489
  }
7386
- finally { if (e_74) throw e_74.error; }
7490
+ finally { if (e_75) throw e_75.error; }
7387
7491
  }
7388
7492
  }
7389
7493
  if (status === 200) {
@@ -7448,7 +7552,7 @@
7448
7552
  }));
7449
7553
  };
7450
7554
  DesignAtomsViewerApiClient.prototype.processUpdateImageItemHandler = function (response) {
7451
- var e_75, _a;
7555
+ var e_76, _a;
7452
7556
  var _this = this;
7453
7557
  var status = response.status;
7454
7558
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7461,12 +7565,12 @@
7461
7565
  _headers[key] = response.headers.get(key);
7462
7566
  }
7463
7567
  }
7464
- catch (e_75_1) { e_75 = { error: e_75_1 }; }
7568
+ catch (e_76_1) { e_76 = { error: e_76_1 }; }
7465
7569
  finally {
7466
7570
  try {
7467
7571
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7468
7572
  }
7469
- finally { if (e_75) throw e_75.error; }
7573
+ finally { if (e_76) throw e_76.error; }
7470
7574
  }
7471
7575
  }
7472
7576
  if (status === 200) {
@@ -7531,7 +7635,7 @@
7531
7635
  }));
7532
7636
  };
7533
7637
  DesignAtomsViewerApiClient.prototype.processUpdatePathBoundedTextItemHandler = function (response) {
7534
- var e_76, _a;
7638
+ var e_77, _a;
7535
7639
  var _this = this;
7536
7640
  var status = response.status;
7537
7641
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7544,12 +7648,12 @@
7544
7648
  _headers[key] = response.headers.get(key);
7545
7649
  }
7546
7650
  }
7547
- catch (e_76_1) { e_76 = { error: e_76_1 }; }
7651
+ catch (e_77_1) { e_77 = { error: e_77_1 }; }
7548
7652
  finally {
7549
7653
  try {
7550
7654
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7551
7655
  }
7552
- finally { if (e_76) throw e_76.error; }
7656
+ finally { if (e_77) throw e_77.error; }
7553
7657
  }
7554
7658
  }
7555
7659
  if (status === 200) {
@@ -7614,7 +7718,7 @@
7614
7718
  }));
7615
7719
  };
7616
7720
  DesignAtomsViewerApiClient.prototype.processUpdatePlainTextItemHandler = function (response) {
7617
- var e_77, _a;
7721
+ var e_78, _a;
7618
7722
  var _this = this;
7619
7723
  var status = response.status;
7620
7724
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7627,12 +7731,12 @@
7627
7731
  _headers[key] = response.headers.get(key);
7628
7732
  }
7629
7733
  }
7630
- catch (e_77_1) { e_77 = { error: e_77_1 }; }
7734
+ catch (e_78_1) { e_78 = { error: e_78_1 }; }
7631
7735
  finally {
7632
7736
  try {
7633
7737
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7634
7738
  }
7635
- finally { if (e_77) throw e_77.error; }
7739
+ finally { if (e_78) throw e_78.error; }
7636
7740
  }
7637
7741
  }
7638
7742
  if (status === 200) {
@@ -7697,7 +7801,7 @@
7697
7801
  }));
7698
7802
  };
7699
7803
  DesignAtomsViewerApiClient.prototype.processUpdateShapeItemHandler = function (response) {
7700
- var e_78, _a;
7804
+ var e_79, _a;
7701
7805
  var _this = this;
7702
7806
  var status = response.status;
7703
7807
  var responseBlob = response instanceof i1.HttpResponse ? response.body :
@@ -7710,12 +7814,12 @@
7710
7814
  _headers[key] = response.headers.get(key);
7711
7815
  }
7712
7816
  }
7713
- catch (e_78_1) { e_78 = { error: e_78_1 }; }
7817
+ catch (e_79_1) { e_79 = { error: e_79_1 }; }
7714
7818
  finally {
7715
7819
  try {
7716
7820
  if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
7717
7821
  }
7718
- finally { if (e_78) throw e_78.error; }
7822
+ finally { if (e_79) throw e_79.error; }
7719
7823
  }
7720
7824
  }
7721
7825
  if (status === 200) {
@@ -7763,6 +7867,12 @@
7763
7867
  ImagePreviewFormat["Jpeg"] = "Jpeg";
7764
7868
  ImagePreviewFormat["Png"] = "Png";
7765
7869
  })(exports.ImagePreviewFormat || (exports.ImagePreviewFormat = {}));
7870
+ (function (ImagePreviewFitMode) {
7871
+ ImagePreviewFitMode["Fit"] = "Fit";
7872
+ ImagePreviewFitMode["Shrink"] = "Shrink";
7873
+ ImagePreviewFitMode["Resize"] = "Resize";
7874
+ ImagePreviewFitMode["Fill"] = "Fill";
7875
+ })(exports.ImagePreviewFitMode || (exports.ImagePreviewFitMode = {}));
7766
7876
  (function (DesignElementType) {
7767
7877
  DesignElementType["Product"] = "Product";
7768
7878
  DesignElementType["Design"] = "Design";