@aurigma/axios-design-atoms-api-client 2.68.7 → 2.70.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.
@@ -225,10 +225,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
225
225
  const _responseText = response.data;
226
226
  return throwException("Unauthorized", status, _responseText, _headers);
227
227
  }
228
- else if (status === 403) {
229
- const _responseText = response.data;
230
- return throwException("Forbidden", status, _responseText, _headers);
231
- }
232
228
  else if (status !== 200 && status !== 204) {
233
229
  const _responseText = response.data;
234
230
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -296,10 +292,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
296
292
  const _responseText = response.data;
297
293
  return throwException("Unauthorized", status, _responseText, _headers);
298
294
  }
299
- else if (status === 403) {
300
- const _responseText = response.data;
301
- return throwException("Forbidden", status, _responseText, _headers);
302
- }
303
295
  else if (status !== 200 && status !== 204) {
304
296
  const _responseText = response.data;
305
297
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -368,10 +360,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
368
360
  const _responseText = response.data;
369
361
  return throwException("Unauthorized", status, _responseText, _headers);
370
362
  }
371
- else if (status === 403) {
372
- const _responseText = response.data;
373
- return throwException("Forbidden", status, _responseText, _headers);
374
- }
375
363
  else if (status !== 200 && status !== 204) {
376
364
  const _responseText = response.data;
377
365
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -440,10 +428,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
440
428
  const _responseText = response.data;
441
429
  return throwException("Unauthorized", status, _responseText, _headers);
442
430
  }
443
- else if (status === 403) {
444
- const _responseText = response.data;
445
- return throwException("Forbidden", status, _responseText, _headers);
446
- }
447
431
  else if (status !== 200 && status !== 204) {
448
432
  const _responseText = response.data;
449
433
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -511,10 +495,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
511
495
  const _responseText = response.data;
512
496
  return throwException("Unauthorized", status, _responseText, _headers);
513
497
  }
514
- else if (status === 403) {
515
- const _responseText = response.data;
516
- return throwException("Forbidden", status, _responseText, _headers);
517
- }
518
498
  else if (status !== 200 && status !== 204) {
519
499
  const _responseText = response.data;
520
500
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -572,10 +552,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
572
552
  const _responseText = response.data;
573
553
  return throwException("Unauthorized", status, _responseText, _headers);
574
554
  }
575
- else if (status === 403) {
576
- const _responseText = response.data;
577
- return throwException("Forbidden", status, _responseText, _headers);
578
- }
579
555
  else if (status !== 200 && status !== 204) {
580
556
  const _responseText = response.data;
581
557
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -637,10 +613,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
637
613
  const _responseText = response.data;
638
614
  return throwException("Unauthorized", status, _responseText, _headers);
639
615
  }
640
- else if (status === 403) {
641
- const _responseText = response.data;
642
- return throwException("Forbidden", status, _responseText, _headers);
643
- }
644
616
  else if (status !== 200 && status !== 204) {
645
617
  const _responseText = response.data;
646
618
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -702,10 +674,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
702
674
  const _responseText = response.data;
703
675
  return throwException("Unauthorized", status, _responseText, _headers);
704
676
  }
705
- else if (status === 403) {
706
- const _responseText = response.data;
707
- return throwException("Forbidden", status, _responseText, _headers);
708
- }
709
677
  else if (status !== 200 && status !== 204) {
710
678
  const _responseText = response.data;
711
679
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -767,10 +735,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
767
735
  const _responseText = response.data;
768
736
  return throwException("Unauthorized", status, _responseText, _headers);
769
737
  }
770
- else if (status === 403) {
771
- const _responseText = response.data;
772
- return throwException("Forbidden", status, _responseText, _headers);
773
- }
774
738
  else if (status !== 200 && status !== 204) {
775
739
  const _responseText = response.data;
776
740
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -778,24 +742,28 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
778
742
  return Promise.resolve(null);
779
743
  }
780
744
  /**
781
- * @param f (optional)
782
- * @param w (optional)
783
- * @param h (optional)
784
- * @param cmyk (optional)
785
- * @param rgb (optional)
786
- * @param grayscale (optional)
787
- * @param target (optional)
788
- * @param sq (optional)
789
- * @param effect (optional)
790
- * @param kp (optional)
791
- * @param color (optional)
792
- * @param obm (optional)
793
- * @param oo (optional)
794
- * @param alphaMask (optional)
795
- * @param page (optional)
796
- * @param colorizeColor (optional)
797
- * @param rw (optional)
798
- * @param rh (optional)
745
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
746
+ This method accepts query parameters that control the output of the image.
747
+ * @param f (optional) The identifier of the original image file.
748
+ * @param w (optional) Target width of the resulting image.
749
+ * @param h (optional) Target height of the resulting image.
750
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
751
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
752
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
753
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
754
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
755
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
756
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
757
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
758
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
759
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
760
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
761
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
762
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
763
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
764
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
765
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
766
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
799
767
  * @return Success
800
768
  */
801
769
  img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
@@ -893,10 +861,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
893
861
  const _responseText = response.data;
894
862
  return throwException("Unauthorized", status, _responseText, _headers);
895
863
  }
896
- else if (status === 403) {
897
- const _responseText = response.data;
898
- return throwException("Forbidden", status, _responseText, _headers);
899
- }
900
864
  else if (status !== 200 && status !== 204) {
901
865
  const _responseText = response.data;
902
866
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -954,10 +918,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
954
918
  const _responseText = response.data;
955
919
  return throwException("Unauthorized", status, _responseText, _headers);
956
920
  }
957
- else if (status === 403) {
958
- const _responseText = response.data;
959
- return throwException("Forbidden", status, _responseText, _headers);
960
- }
961
921
  else if (status !== 200 && status !== 204) {
962
922
  const _responseText = response.data;
963
923
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1029,10 +989,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1029
989
  const _responseText = response.data;
1030
990
  return throwException("Unauthorized", status, _responseText, _headers);
1031
991
  }
1032
- else if (status === 403) {
1033
- const _responseText = response.data;
1034
- return throwException("Forbidden", status, _responseText, _headers);
1035
- }
1036
992
  else if (status !== 200 && status !== 204) {
1037
993
  const _responseText = response.data;
1038
994
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1100,10 +1056,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1100
1056
  const _responseText = response.data;
1101
1057
  return throwException("Unauthorized", status, _responseText, _headers);
1102
1058
  }
1103
- else if (status === 403) {
1104
- const _responseText = response.data;
1105
- return throwException("Forbidden", status, _responseText, _headers);
1106
- }
1107
1059
  else if (status !== 200 && status !== 204) {
1108
1060
  const _responseText = response.data;
1109
1061
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1111,24 +1063,26 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1111
1063
  return Promise.resolve(null);
1112
1064
  }
1113
1065
  /**
1114
- * @param f (optional)
1115
- * @param w (optional)
1116
- * @param h (optional)
1117
- * @param cmyk (optional)
1118
- * @param rgb (optional)
1119
- * @param grayscale (optional)
1120
- * @param target (optional)
1121
- * @param sq (optional)
1122
- * @param effect (optional)
1123
- * @param kp (optional)
1124
- * @param color (optional)
1125
- * @param obm (optional)
1126
- * @param oo (optional)
1127
- * @param alphaMask (optional)
1128
- * @param page (optional)
1129
- * @param colorizeColor (optional)
1130
- * @param rw (optional)
1131
- * @param rh (optional)
1066
+ * @param f (optional) The identifier of the original image file.
1067
+ * @param w (optional) Target width of the resulting image.
1068
+ * @param h (optional) Target height of the resulting image.
1069
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
1070
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
1071
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
1072
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
1073
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
1074
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
1075
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
1076
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
1077
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
1078
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
1079
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
1080
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
1081
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
1082
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
1083
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
1084
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
1085
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
1132
1086
  * @return Success
1133
1087
  */
1134
1088
  svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
@@ -1226,10 +1180,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1226
1180
  const _responseText = response.data;
1227
1181
  return throwException("Unauthorized", status, _responseText, _headers);
1228
1182
  }
1229
- else if (status === 403) {
1230
- const _responseText = response.data;
1231
- return throwException("Forbidden", status, _responseText, _headers);
1232
- }
1233
1183
  else if (status !== 200 && status !== 204) {
1234
1184
  const _responseText = response.data;
1235
1185
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1301,10 +1251,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1301
1251
  const _responseText = response.data;
1302
1252
  return throwException("Unauthorized", status, _responseText, _headers);
1303
1253
  }
1304
- else if (status === 403) {
1305
- const _responseText = response.data;
1306
- return throwException("Forbidden", status, _responseText, _headers);
1307
- }
1308
1254
  else if (status !== 200 && status !== 204) {
1309
1255
  const _responseText = response.data;
1310
1256
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1366,10 +1312,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1366
1312
  const _responseText = response.data;
1367
1313
  return throwException("Unauthorized", status, _responseText, _headers);
1368
1314
  }
1369
- else if (status === 403) {
1370
- const _responseText = response.data;
1371
- return throwException("Forbidden", status, _responseText, _headers);
1372
- }
1373
1315
  else if (status !== 200 && status !== 204) {
1374
1316
  const _responseText = response.data;
1375
1317
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1431,10 +1373,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1431
1373
  const _responseText = response.data;
1432
1374
  return throwException("Unauthorized", status, _responseText, _headers);
1433
1375
  }
1434
- else if (status === 403) {
1435
- const _responseText = response.data;
1436
- return throwException("Forbidden", status, _responseText, _headers);
1437
- }
1438
1376
  else if (status !== 200 && status !== 204) {
1439
1377
  const _responseText = response.data;
1440
1378
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1496,10 +1434,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1496
1434
  const _responseText = response.data;
1497
1435
  return throwException("Unauthorized", status, _responseText, _headers);
1498
1436
  }
1499
- else if (status === 403) {
1500
- const _responseText = response.data;
1501
- return throwException("Forbidden", status, _responseText, _headers);
1502
- }
1503
1437
  else if (status !== 200 && status !== 204) {
1504
1438
  const _responseText = response.data;
1505
1439
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1561,10 +1495,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1561
1495
  const _responseText = response.data;
1562
1496
  return throwException("Unauthorized", status, _responseText, _headers);
1563
1497
  }
1564
- else if (status === 403) {
1565
- const _responseText = response.data;
1566
- return throwException("Forbidden", status, _responseText, _headers);
1567
- }
1568
1498
  else if (status !== 200 && status !== 204) {
1569
1499
  const _responseText = response.data;
1570
1500
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1626,10 +1556,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1626
1556
  const _responseText = response.data;
1627
1557
  return throwException("Unauthorized", status, _responseText, _headers);
1628
1558
  }
1629
- else if (status === 403) {
1630
- const _responseText = response.data;
1631
- return throwException("Forbidden", status, _responseText, _headers);
1632
- }
1633
1559
  else if (status !== 200 && status !== 204) {
1634
1560
  const _responseText = response.data;
1635
1561
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1691,10 +1617,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1691
1617
  const _responseText = response.data;
1692
1618
  return throwException("Unauthorized", status, _responseText, _headers);
1693
1619
  }
1694
- else if (status === 403) {
1695
- const _responseText = response.data;
1696
- return throwException("Forbidden", status, _responseText, _headers);
1697
- }
1698
1620
  else if (status !== 200 && status !== 204) {
1699
1621
  const _responseText = response.data;
1700
1622
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1756,10 +1678,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1756
1678
  const _responseText = response.data;
1757
1679
  return throwException("Unauthorized", status, _responseText, _headers);
1758
1680
  }
1759
- else if (status === 403) {
1760
- const _responseText = response.data;
1761
- return throwException("Forbidden", status, _responseText, _headers);
1762
- }
1763
1681
  else if (status !== 200 && status !== 204) {
1764
1682
  const _responseText = response.data;
1765
1683
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1821,10 +1739,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1821
1739
  const _responseText = response.data;
1822
1740
  return throwException("Unauthorized", status, _responseText, _headers);
1823
1741
  }
1824
- else if (status === 403) {
1825
- const _responseText = response.data;
1826
- return throwException("Forbidden", status, _responseText, _headers);
1827
- }
1828
1742
  else if (status !== 200 && status !== 204) {
1829
1743
  const _responseText = response.data;
1830
1744
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1886,10 +1800,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1886
1800
  const _responseText = response.data;
1887
1801
  return throwException("Unauthorized", status, _responseText, _headers);
1888
1802
  }
1889
- else if (status === 403) {
1890
- const _responseText = response.data;
1891
- return throwException("Forbidden", status, _responseText, _headers);
1892
- }
1893
1803
  else if (status !== 200 && status !== 204) {
1894
1804
  const _responseText = response.data;
1895
1805
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1951,10 +1861,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1951
1861
  const _responseText = response.data;
1952
1862
  return throwException("Unauthorized", status, _responseText, _headers);
1953
1863
  }
1954
- else if (status === 403) {
1955
- const _responseText = response.data;
1956
- return throwException("Forbidden", status, _responseText, _headers);
1957
- }
1958
1864
  else if (status !== 200 && status !== 204) {
1959
1865
  const _responseText = response.data;
1960
1866
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2016,10 +1922,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
2016
1922
  const _responseText = response.data;
2017
1923
  return throwException("Unauthorized", status, _responseText, _headers);
2018
1924
  }
2019
- else if (status === 403) {
2020
- const _responseText = response.data;
2021
- return throwException("Forbidden", status, _responseText, _headers);
2022
- }
2023
1925
  else if (status !== 200 && status !== 204) {
2024
1926
  const _responseText = response.data;
2025
1927
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2041,7 +1943,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2041
1943
  * Renders a preview of an image with the specified parameters.
2042
1944
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2043
1945
  (default value is 'false').
2044
- * @param tenantId (optional) Tenant identifier
1946
+ * @param tenantId (optional) Tenant ID.
2045
1947
  * @param body (optional) Render model with preview parameters.
2046
1948
  * @return Success
2047
1949
  */
@@ -2120,7 +2022,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2120
2022
  * Renders a preview of an uploaded image with the specified parameters.
2121
2023
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2122
2024
  (default value is 'false').
2123
- * @param tenantId (optional) Tenant identifier
2025
+ * @param tenantId (optional) Tenant ID.
2124
2026
  * @param sourceFile (optional)
2125
2027
  * @param mockupOwnerId (optional)
2126
2028
  * @param mockupId (optional)
@@ -2216,7 +2118,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2216
2118
  }
2217
2119
  /**
2218
2120
  * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
2219
- * @param tenantId (optional) Tenant identifier
2121
+ * @param tenantId (optional) Tenant ID.
2220
2122
  * @param resourceOwnerId (optional)
2221
2123
  * @param resourceNamespace (optional)
2222
2124
  * @param resourceName (optional)
@@ -2340,7 +2242,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2340
2242
  * Renders a preview of a web image with the specified parameters.
2341
2243
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2342
2244
  (default value is 'false').
2343
- * @param tenantId (optional) Tenant identifier
2245
+ * @param tenantId (optional) Tenant ID.
2344
2246
  * @param body (optional) Render model with preview parameters.
2345
2247
  * @return Success
2346
2248
  */
@@ -2417,7 +2319,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2417
2319
  }
2418
2320
  /**
2419
2321
  * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
2420
- * @param tenantId (optional) Tenant identifier
2322
+ * @param tenantId (optional) Tenant ID.
2421
2323
  * @param body (optional) Render model with preview parameters.
2422
2324
  * @return Success
2423
2325
  */
@@ -2499,7 +2401,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2499
2401
  }
2500
2402
  /**
2501
2403
  * Renders a preview of an image with the specified parameters and saves rendering result as resource.
2502
- * @param tenantId (optional) Tenant identifier
2404
+ * @param tenantId (optional) Tenant ID.
2503
2405
  * @param body (optional) Render model with preview parameters.
2504
2406
  * @return Success
2505
2407
  */
@@ -2594,7 +2496,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2594
2496
  * Returns a 3D-Mockup attributes.
2595
2497
  * @param id 3D-Mockup identifier.
2596
2498
  * @param ownerId (optional) Private mockup owner identifier.
2597
- * @param tenantId (optional) Tenant identifier
2499
+ * @param tenantId (optional) Tenant ID.
2598
2500
  * @return Success
2599
2501
  */
2600
2502
  getAttributes(id, ownerId, tenantId, cancelToken) {
@@ -2679,7 +2581,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2679
2581
  * Returns a 3D-Mockup content as protobuf binary stream.
2680
2582
  * @param id 3D-Mockup identifier.
2681
2583
  * @param ownerId (optional) Private mockup owner identifier.
2682
- * @param tenantId (optional) Tenant identifier
2584
+ * @param tenantId (optional) Tenant ID.
2683
2585
  * @return Success
2684
2586
  */
2685
2587
  getContentAsProtobuf(id, ownerId, tenantId, cancelToken) {
@@ -2764,7 +2666,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2764
2666
  * Returns a 3D-Mockup geometry as binary stream.
2765
2667
  * @param id 3D-Mockup identifier.
2766
2668
  * @param ownerId (optional) Private mockup owner identifier.
2767
- * @param tenantId (optional) Tenant identifier
2669
+ * @param tenantId (optional) Tenant ID.
2768
2670
  * @return Success
2769
2671
  */
2770
2672
  getGeometryFile(id, ownerId, tenantId, cancelToken) {
@@ -2859,7 +2761,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
2859
2761
  /**
2860
2762
  * Returns a closest color to provided color in a specified palette.
2861
2763
  * @param paletteUID (optional) Palette UID.
2862
- * @param tenantId (optional) Tenant identifier
2764
+ * @param tenantId (optional) Tenant ID.
2863
2765
  * @param body (optional) Source color.
2864
2766
  * @return Success
2865
2767
  */
@@ -2952,7 +2854,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
2952
2854
  * Returns a serialized palette model by its identifier or UID.
2953
2855
  * @param id (optional) Palette identifier.
2954
2856
  * @param uid (optional) Palette UID.
2955
- * @param tenantId (optional) Tenant identifier
2857
+ * @param tenantId (optional) Tenant ID.
2956
2858
  * @return Success
2957
2859
  */
2958
2860
  getPaletteModel(id, uid, tenantId, cancelToken) {
@@ -3054,7 +2956,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3054
2956
  * Patches a print-product of the specified design file.
3055
2957
  * @param id Design identifier.
3056
2958
  * @param privateStorageOwner (optional) Private storage owner identifier.
3057
- * @param tenantId (optional) Tenant identifier
2959
+ * @param tenantId (optional) Tenant ID.
3058
2960
  * @param patchType (optional)
3059
2961
  * @param replaceImageItemFileInfo_itemName (optional)
3060
2962
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -3076,9 +2978,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3076
2978
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3077
2979
  url_ = url_.replace(/[?&]$/, "");
3078
2980
  const content_ = new FormData();
3079
- if (patchType === null || patchType === undefined)
3080
- throw new Error("The parameter 'patchType' cannot be null.");
3081
- else
2981
+ if (patchType !== null && patchType !== undefined)
3082
2982
  content_.append("patchType", patchType.toString());
3083
2983
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
3084
2984
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -3086,9 +2986,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3086
2986
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
3087
2987
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
3088
2988
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
3089
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
3090
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
3091
- else
2989
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
3092
2990
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
3093
2991
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
3094
2992
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -3152,7 +3050,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3152
3050
  * @param id Design identifier.
3153
3051
  * @param surfaceId (optional) Print-product surface identifier.
3154
3052
  * @param privateStorageOwner (optional) Private storage owner identifier.
3155
- * @param tenantId (optional) Tenant identifier
3053
+ * @param tenantId (optional) Tenant ID.
3156
3054
  * @return Success
3157
3055
  */
3158
3056
  getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -3214,6 +3112,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3214
3112
  result404 = JSON.parse(resultData404);
3215
3113
  return throwException("Not Found", status, _responseText, _headers, result404);
3216
3114
  }
3115
+ else if (status === 409) {
3116
+ const _responseText = response.data;
3117
+ let result409 = null;
3118
+ let resultData409 = _responseText;
3119
+ result409 = JSON.parse(resultData409);
3120
+ return throwException("Conflict", status, _responseText, _headers, result409);
3121
+ }
3217
3122
  else if (status === 401) {
3218
3123
  const _responseText = response.data;
3219
3124
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -3233,7 +3138,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3233
3138
  * @param id Design identifier.
3234
3139
  * @param containerId Print-product container identifier.
3235
3140
  * @param privateStorageOwner (optional) Private storage owner identifier.
3236
- * @param tenantId (optional) Tenant identifier
3141
+ * @param tenantId (optional) Tenant ID.
3237
3142
  * @return No Content
3238
3143
  */
3239
3144
  deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId, cancelToken) {
@@ -3317,7 +3222,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3317
3222
  * @param id Design identifier.
3318
3223
  * @param containerId Print-product container identifier.
3319
3224
  * @param privateStorageOwner (optional) Private storage owner identifier.
3320
- * @param tenantId (optional) Tenant identifier
3225
+ * @param tenantId (optional) Tenant ID.
3321
3226
  * @return Success
3322
3227
  */
3323
3228
  getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId, cancelToken) {
@@ -3406,7 +3311,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3406
3311
  * @param id Design identifier.
3407
3312
  * @param containerId Print-product container identifier.
3408
3313
  * @param privateStorageOwner (optional) Private storage owner identifier.
3409
- * @param tenantId (optional) Tenant identifier
3314
+ * @param tenantId (optional) Tenant ID.
3410
3315
  * @param body (optional) Json-serialized model of a print-product container.
3411
3316
  * @return Success
3412
3317
  */
@@ -3510,7 +3415,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3510
3415
  * @param top (optional) Y axis position.
3511
3416
  * @param left (optional) X axis position.
3512
3417
  * @param privateStorageOwner (optional) Private storage owner identifier.
3513
- * @param tenantId (optional) Tenant identifier
3418
+ * @param tenantId (optional) Tenant ID.
3514
3419
  * @param body (optional) Json-serialized model of a new print-product container.
3515
3420
  * @return Success
3516
3421
  */
@@ -3593,6 +3498,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3593
3498
  result404 = JSON.parse(resultData404);
3594
3499
  return throwException("Not Found", status, _responseText, _headers, result404);
3595
3500
  }
3501
+ else if (status === 409) {
3502
+ const _responseText = response.data;
3503
+ let result409 = null;
3504
+ let resultData409 = _responseText;
3505
+ result409 = JSON.parse(resultData409);
3506
+ return throwException("Conflict", status, _responseText, _headers, result409);
3507
+ }
3596
3508
  else if (status === 401) {
3597
3509
  const _responseText = response.data;
3598
3510
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -3614,7 +3526,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3614
3526
  * @param containerId (optional) Print-product container identifier.
3615
3527
  * @param parentItemId (optional) Print-product item identifier.
3616
3528
  * @param privateStorageOwner (optional) Private storage owner identifier.
3617
- * @param tenantId (optional) Tenant identifier
3529
+ * @param tenantId (optional) Tenant ID.
3618
3530
  * @return Success
3619
3531
  */
3620
3532
  getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3699,7 +3611,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3699
3611
  * @param id Design identifier.
3700
3612
  * @param itemId Print-product item identifier.
3701
3613
  * @param privateStorageOwner (optional) Private storage owner identifier.
3702
- * @param tenantId (optional) Tenant identifier
3614
+ * @param tenantId (optional) Tenant ID.
3703
3615
  * @return No Content
3704
3616
  */
3705
3617
  deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3783,7 +3695,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3783
3695
  * @param id Design identifier.
3784
3696
  * @param itemId Print-product item identifier.
3785
3697
  * @param privateStorageOwner (optional) Private storage owner identifier.
3786
- * @param tenantId (optional) Tenant identifier
3698
+ * @param tenantId (optional) Tenant ID.
3787
3699
  * @return Success
3788
3700
  */
3789
3701
  getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3872,7 +3784,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3872
3784
  * @param id Design identifier.
3873
3785
  * @param itemId Print-product item identifier.
3874
3786
  * @param privateStorageOwner (optional) Private storage owner identifier.
3875
- * @param tenantId (optional) Tenant identifier
3787
+ * @param tenantId (optional) Tenant ID.
3876
3788
  * @param body (optional) Json-serialized model of a print-product item.
3877
3789
  * @return Success
3878
3790
  */
@@ -3976,7 +3888,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3976
3888
  * @param top (optional) Y axis position.
3977
3889
  * @param left (optional) X axis position.
3978
3890
  * @param privateStorageOwner (optional) Private storage owner identifier.
3979
- * @param tenantId (optional) Tenant identifier
3891
+ * @param tenantId (optional) Tenant ID.
3980
3892
  * @param body (optional) Json-serialized model of a new print-product item.
3981
3893
  * @return Success
3982
3894
  */
@@ -4059,6 +3971,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4059
3971
  result404 = JSON.parse(resultData404);
4060
3972
  return throwException("Not Found", status, _responseText, _headers, result404);
4061
3973
  }
3974
+ else if (status === 409) {
3975
+ const _responseText = response.data;
3976
+ let result409 = null;
3977
+ let resultData409 = _responseText;
3978
+ result409 = JSON.parse(resultData409);
3979
+ return throwException("Conflict", status, _responseText, _headers, result409);
3980
+ }
4062
3981
  else if (status === 401) {
4063
3982
  const _responseText = response.data;
4064
3983
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4077,7 +3996,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4077
3996
  * Returns a print-product of the specified design file as a json-serialized model.
4078
3997
  * @param id Design identifier.
4079
3998
  * @param privateStorageOwner (optional) Private storage owner identifier.
4080
- * @param tenantId (optional) Tenant identifier
3999
+ * @param tenantId (optional) Tenant ID.
4081
4000
  * @return Success
4082
4001
  */
4083
4002
  getDesignProductModel(id, privateStorageOwner, tenantId, cancelToken) {
@@ -4155,7 +4074,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4155
4074
  * Updates a print-product provided as a json-serialized model is the specified design file.
4156
4075
  * @param id Design identifier.
4157
4076
  * @param privateStorageOwner (optional) Private storage owner identifier.
4158
- * @param tenantId (optional) Tenant identifier
4077
+ * @param tenantId (optional) Tenant ID.
4159
4078
  * @param body (optional) Json-serialized model of a print-product .
4160
4079
  * @return No Content
4161
4080
  */
@@ -4234,7 +4153,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4234
4153
  * @param id Design identifier.
4235
4154
  * @param surfaceId (optional)
4236
4155
  * @param privateStorageOwner (optional) Private storage owner identifier.
4237
- * @param tenantId (optional) Tenant identifier
4156
+ * @param tenantId (optional) Tenant ID.
4238
4157
  * @return Success
4239
4158
  */
4240
4159
  getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -4315,7 +4234,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4315
4234
  Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
4316
4235
  * @param id Design identifier.
4317
4236
  * @param privateStorageOwner (optional) Private storage owner identifier.
4318
- * @param tenantId (optional) Tenant identifier
4237
+ * @param tenantId (optional) Tenant ID.
4319
4238
  * @param body (optional) Print-area description model.
4320
4239
  * @return Success
4321
4240
  */
@@ -4386,6 +4305,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4386
4305
  result404 = JSON.parse(resultData404);
4387
4306
  return throwException("Not Found", status, _responseText, _headers, result404);
4388
4307
  }
4308
+ else if (status === 409) {
4309
+ const _responseText = response.data;
4310
+ let result409 = null;
4311
+ let resultData409 = _responseText;
4312
+ result409 = JSON.parse(resultData409);
4313
+ return throwException("Conflict", status, _responseText, _headers, result409);
4314
+ }
4389
4315
  else if (status === 401) {
4390
4316
  const _responseText = response.data;
4391
4317
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4405,7 +4331,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4405
4331
  * @param id Design identifier.
4406
4332
  * @param printAreaId Design print-area identifier.
4407
4333
  * @param privateStorageOwner (optional) Private storage owner identifier.
4408
- * @param tenantId (optional) Tenant identifier
4334
+ * @param tenantId (optional) Tenant ID.
4409
4335
  * @param body (optional) Print-area description model.
4410
4336
  * @return Success
4411
4337
  */
@@ -4505,7 +4431,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4505
4431
  * @param id Design identifier.
4506
4432
  * @param printAreaId Design print-area identifier.
4507
4433
  * @param privateStorageOwner (optional) Private storage owner identifier.
4508
- * @param tenantId (optional) Tenant identifier
4434
+ * @param tenantId (optional) Tenant ID.
4509
4435
  * @return No Content
4510
4436
  */
4511
4437
  deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
@@ -4589,7 +4515,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4589
4515
  * @param id Design identifier.
4590
4516
  * @param printAreaId Design print-area identifier.
4591
4517
  * @param privateStorageOwner (optional) Private storage owner identifier.
4592
- * @param tenantId (optional) Tenant identifier
4518
+ * @param tenantId (optional) Tenant ID.
4593
4519
  * @return Success
4594
4520
  */
4595
4521
  getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
@@ -4678,7 +4604,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4678
4604
  * @param id Design identifier.
4679
4605
  * @param printAreaId Design print-area identifier.
4680
4606
  * @param privateStorageOwner (optional) Private storage owner identifier.
4681
- * @param tenantId (optional) Tenant identifier
4607
+ * @param tenantId (optional) Tenant ID.
4682
4608
  * @param body (optional) Json-serialized model of a print-area.
4683
4609
  * @return Success
4684
4610
  */
@@ -4779,7 +4705,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4779
4705
  * @param id Design identifier.
4780
4706
  * @param surfaceId (optional) Parent surface identifier.
4781
4707
  * @param privateStorageOwner (optional) Private storage owner identifier.
4782
- * @param tenantId (optional) Tenant identifier
4708
+ * @param tenantId (optional) Tenant ID.
4783
4709
  * @param body (optional) Json serialized model of a print-area.
4784
4710
  * @return Success
4785
4711
  */
@@ -4852,6 +4778,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4852
4778
  result404 = JSON.parse(resultData404);
4853
4779
  return throwException("Not Found", status, _responseText, _headers, result404);
4854
4780
  }
4781
+ else if (status === 409) {
4782
+ const _responseText = response.data;
4783
+ let result409 = null;
4784
+ let resultData409 = _responseText;
4785
+ result409 = JSON.parse(resultData409);
4786
+ return throwException("Conflict", status, _responseText, _headers, result409);
4787
+ }
4855
4788
  else if (status === 401) {
4856
4789
  const _responseText = response.data;
4857
4790
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4870,7 +4803,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4870
4803
  * Returns a list of print-product surfaces descriptions of the specified design file.
4871
4804
  * @param id Design identifier.
4872
4805
  * @param privateStorageOwner (optional) Private storage owner identifier.
4873
- * @param tenantId (optional) Tenant identifier
4806
+ * @param tenantId (optional) Tenant ID.
4874
4807
  * @return Success
4875
4808
  */
4876
4809
  getDesignSurfaces(id, privateStorageOwner, tenantId, cancelToken) {
@@ -4949,7 +4882,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4949
4882
  * @param id Design identifier.
4950
4883
  * @param surfaceId Print-product surface identifier.
4951
4884
  * @param privateStorageOwner (optional) Private storage owner identifier.
4952
- * @param tenantId (optional) Tenant identifier
4885
+ * @param tenantId (optional) Tenant ID.
4953
4886
  * @return No Content
4954
4887
  */
4955
4888
  deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5033,7 +4966,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5033
4966
  * @param id Design identifier.
5034
4967
  * @param surfaceId Print product surface identifier.
5035
4968
  * @param privateStorageOwner (optional) Private storage owner identifier.
5036
- * @param tenantId (optional) Tenant identifier
4969
+ * @param tenantId (optional) Tenant ID.
5037
4970
  * @return Success
5038
4971
  */
5039
4972
  getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5129,7 +5062,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5129
5062
  * @param id Design identifier.
5130
5063
  * @param surfaceId Print-product surface identifier.
5131
5064
  * @param privateStorageOwner (optional) Private storage owner identifier.
5132
- * @param tenantId (optional) Tenant identifier
5065
+ * @param tenantId (optional) Tenant ID.
5133
5066
  * @param position_top (optional)
5134
5067
  * @param position_left (optional)
5135
5068
  * @param sourceFile (optional)
@@ -5240,7 +5173,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5240
5173
  * @param id Design identifier.
5241
5174
  * @param surfaceId Print-product surface identifier.
5242
5175
  * @param privateStorageOwner (optional) Private storage owner identifier.
5243
- * @param tenantId (optional) Tenant identifier
5176
+ * @param tenantId (optional) Tenant ID.
5244
5177
  * @return Success
5245
5178
  */
5246
5179
  getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5336,7 +5269,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5336
5269
  * @param id Design identifier.
5337
5270
  * @param surfaceId Print-product surface identifier.
5338
5271
  * @param privateStorageOwner (optional) Private storage owner identifier.
5339
- * @param tenantId (optional) Tenant identifier
5272
+ * @param tenantId (optional) Tenant ID.
5340
5273
  * @return Success
5341
5274
  */
5342
5275
  getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5432,7 +5365,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5432
5365
  * @param id Design identifier.
5433
5366
  * @param surfaceId Print-product surface identifier.
5434
5367
  * @param privateStorageOwner (optional) Private storage owner identifier.
5435
- * @param tenantId (optional) Tenant identifier
5368
+ * @param tenantId (optional) Tenant ID.
5436
5369
  * @param position_top (optional)
5437
5370
  * @param position_left (optional)
5438
5371
  * @param sourceFile (optional)
@@ -5543,7 +5476,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5543
5476
  * @param id Design identifier.
5544
5477
  * @param surfaceId Print-product surface identifier.
5545
5478
  * @param privateStorageOwner (optional) Private storage owner identifier.
5546
- * @param tenantId (optional) Tenant identifier
5479
+ * @param tenantId (optional) Tenant ID.
5547
5480
  * @return Success
5548
5481
  */
5549
5482
  getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5639,7 +5572,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5639
5572
  * @param id Design identifier.
5640
5573
  * @param surfaceId Surface identifier.
5641
5574
  * @param privateStorageOwner (optional) Private storage owner identifier.
5642
- * @param tenantId (optional) Tenant identifier
5575
+ * @param tenantId (optional) Tenant ID.
5643
5576
  * @return Success
5644
5577
  */
5645
5578
  getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5729,7 +5662,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5729
5662
  * @param id Design identifier.
5730
5663
  * @param surfaceId Print-product surface identifier.
5731
5664
  * @param privateStorageOwner (optional) Private storage owner identifier.
5732
- * @param tenantId (optional) Tenant identifier
5665
+ * @param tenantId (optional) Tenant ID.
5733
5666
  * @param body (optional) Json-serialized model of a print-product surface.
5734
5667
  * @return Success
5735
5668
  */
@@ -5830,7 +5763,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5830
5763
  * @param id Design identifier.
5831
5764
  * @param index (optional) Surface index within the surfaces list of a design.
5832
5765
  * @param privateStorageOwner (optional) Private storage owner identifier.
5833
- * @param tenantId (optional) Tenant identifier
5766
+ * @param tenantId (optional) Tenant ID.
5834
5767
  * @param body (optional) Json-serialized model of a print-prouduct surface.
5835
5768
  * @return Success
5836
5769
  */
@@ -5930,7 +5863,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
5930
5863
  }
5931
5864
  /**
5932
5865
  * Apply effects to print-product item image.
5933
- * @param tenantId (optional) Tenant identifier
5866
+ * @param tenantId (optional) Tenant ID.
5934
5867
  * @param body (optional)
5935
5868
  * @return Success
5936
5869
  */
@@ -5998,7 +5931,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
5998
5931
  }
5999
5932
  /**
6000
5933
  * Extracts print-product item image.
6001
- * @param tenantId (optional) Tenant identifier
5934
+ * @param tenantId (optional) Tenant ID.
6002
5935
  * @param body (optional) Extraction parameters.
6003
5936
  * @return Success
6004
5937
  */
@@ -6067,7 +6000,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6067
6000
  /**
6068
6001
  * Flattens print-product items.
6069
6002
  * @param paletteUID (optional)
6070
- * @param tenantId (optional) Tenant identifier
6003
+ * @param tenantId (optional) Tenant ID.
6071
6004
  * @param body (optional) List of print-product items to flatten.
6072
6005
  * @return Success
6073
6006
  */
@@ -6138,7 +6071,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6138
6071
  /**
6139
6072
  * Creates print-product item from input image file.
6140
6073
  * @param itemType (optional) Desired item type.
6141
- * @param tenantId (optional) Tenant identifier
6074
+ * @param tenantId (optional) Tenant ID.
6142
6075
  * @param sourceFile (optional)
6143
6076
  * @param paletteUID (optional)
6144
6077
  * @param preserveOriginalFile (optional)
@@ -6230,7 +6163,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6230
6163
  /**
6231
6164
  * Creates multiple print-product items from input image files.
6232
6165
  * @param itemType (optional) Desired print-product items type.
6233
- * @param tenantId (optional) Tenant identifier
6166
+ * @param tenantId (optional) Tenant ID.
6234
6167
  * @param sourceFiles (optional)
6235
6168
  * @param paletteUID (optional)
6236
6169
  * @param preserveOriginalFile (optional)
@@ -6322,7 +6255,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6322
6255
  /**
6323
6256
  * Creates print-product item from image file taken from storage.
6324
6257
  * @param itemType (optional) Desired item type.
6325
- * @param tenantId (optional) Tenant identifier
6258
+ * @param tenantId (optional) Tenant ID.
6326
6259
  * @param body (optional) Operation parameters.
6327
6260
  * @return Success
6328
6261
  */
@@ -6407,7 +6340,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6407
6340
  /**
6408
6341
  * Creates multiple print-product items from the specified image files in storage.
6409
6342
  * @param itemType (optional) Desired items type.
6410
- * @param tenantId (optional) Tenant identifier
6343
+ * @param tenantId (optional) Tenant ID.
6411
6344
  * @param body (optional) Operation parameters.
6412
6345
  * @return Success
6413
6346
  */
@@ -6492,7 +6425,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6492
6425
  /**
6493
6426
  * Creates print-product item from remote web image provided by URL.
6494
6427
  * @param itemType (optional) Desired item type.
6495
- * @param tenantId (optional) Tenant identifier
6428
+ * @param tenantId (optional) Tenant ID.
6496
6429
  * @param body (optional) Operation parameters.
6497
6430
  * @return Success
6498
6431
  */
@@ -6577,7 +6510,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6577
6510
  /**
6578
6511
  * Creates multiple print-product items from remote web images provided by URLs list.
6579
6512
  * @param itemType (optional) Desired items type.
6580
- * @param tenantId (optional) Tenant identifier
6513
+ * @param tenantId (optional) Tenant ID.
6581
6514
  * @param body (optional) Operation parameters.
6582
6515
  * @return Success
6583
6516
  */
@@ -6673,7 +6606,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
6673
6606
  /**
6674
6607
  * Creates new design file with specified parameters and saves it in storage.
6675
6608
  * @param privateStorageOwner (optional) Private storage owner identifier.
6676
- * @param tenantId (optional) Tenant identifier
6609
+ * @param tenantId (optional) Tenant ID.
6677
6610
  * @param body (optional) Design creation parameters.
6678
6611
  * @return Created
6679
6612
  */
@@ -6752,7 +6685,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
6752
6685
  * Applies item data for a specified design file taken from storage.
6753
6686
  * @param id Design identifier.
6754
6687
  * @param privateStorageOwner (optional) Private storage owner identifier.
6755
- * @param tenantId (optional) Tenant identifier
6688
+ * @param tenantId (optional) Tenant ID.
6756
6689
  * @param body (optional) Design items data.
6757
6690
  * @return Success
6758
6691
  */
@@ -6838,7 +6771,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
6838
6771
  * @param id Design identifier.
6839
6772
  * @param surfaceIndex (optional) Surface index.
6840
6773
  * @param privateStorageOwner (optional) Private storage owner identifier.
6841
- * @param tenantId (optional) Tenant identifier
6774
+ * @param tenantId (optional) Tenant ID.
6842
6775
  * @return Success
6843
6776
  */
6844
6777
  extractBackground(id, surfaceIndex, privateStorageOwner, tenantId, cancelToken) {
@@ -6925,7 +6858,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
6925
6858
  * Sets specified editor-mockups for selected design surfaces.
6926
6859
  * @param id Design identifier.
6927
6860
  * @param privateStorageOwner (optional) Private storage owner identifier.
6928
- * @param tenantId (optional) Tenant identifier
6861
+ * @param tenantId (optional) Tenant ID.
6929
6862
  * @param body (optional) Operation parameters.
6930
6863
  * @return No Content
6931
6864
  */
@@ -7010,7 +6943,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7010
6943
  * Returns design parameters stored in product model.
7011
6944
  * @param id Design identifier.
7012
6945
  * @param privateStorageOwner (optional) Private storage owner identifier.
7013
- * @param tenantId (optional) Tenant identifier
6946
+ * @param tenantId (optional) Tenant ID.
7014
6947
  * @return Success
7015
6948
  */
7016
6949
  getDesignParameters(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7088,7 +7021,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7088
7021
  * Loads a data schema from design file taken from storage.
7089
7022
  * @param id Design identifier.
7090
7023
  * @param privateStorageOwner (optional) Private storage owner identifier.
7091
- * @param tenantId (optional) Tenant identifier
7024
+ * @param tenantId (optional) Tenant ID.
7092
7025
  * @return Success
7093
7026
  */
7094
7027
  loadDataSchema(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7173,7 +7106,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7173
7106
  * Loads a toggle set from design file taken from storage.
7174
7107
  * @param id Design identifier.
7175
7108
  * @param privateStorageOwner (optional) Private storage owner identifier.
7176
- * @param tenantId (optional) Tenant identifier
7109
+ * @param tenantId (optional) Tenant ID.
7177
7110
  * @return Success
7178
7111
  */
7179
7112
  loadToggleSet(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7258,7 +7191,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7258
7191
  * Returns variable items information for design file taken from storage.
7259
7192
  * @param id Design identifier.
7260
7193
  * @param privateStorageOwner (optional) Private storage owner identifier.
7261
- * @param tenantId (optional) Tenant identifier
7194
+ * @param tenantId (optional) Tenant ID.
7262
7195
  * @return Success
7263
7196
  */
7264
7197
  getVariables(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7336,7 +7269,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7336
7269
  * Saves variable items values for design file taken from storage.
7337
7270
  * @param id Design identifier.
7338
7271
  * @param privateStorageOwner (optional) Private storage owner identifier.
7339
- * @param tenantId (optional) Tenant identifier
7272
+ * @param tenantId (optional) Tenant ID.
7340
7273
  * @param body (optional) Design variable values.
7341
7274
  * @return Success
7342
7275
  */
@@ -7421,7 +7354,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7421
7354
  * Loads variable data printing information from design file taken from storage.
7422
7355
  * @param id Design identifier.
7423
7356
  * @param privateStorageOwner (optional) Private storage owner identifier.
7424
- * @param tenantId (optional) Tenant identifier
7357
+ * @param tenantId (optional) Tenant ID.
7425
7358
  * @return Success
7426
7359
  */
7427
7360
  loadVdpData(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7506,7 +7439,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7506
7439
  * Saves variable data printing information to design file and updates design in storage.
7507
7440
  * @param id Design identifier.
7508
7441
  * @param privateStorageOwner (optional) Private storage owner identifier.
7509
- * @param tenantId (optional) Tenant identifier
7442
+ * @param tenantId (optional) Tenant ID.
7510
7443
  * @param body (optional) Serialized vdp data.
7511
7444
  * @return Success
7512
7445
  */
@@ -7584,7 +7517,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7584
7517
  * Deletes variable data printing information from design file and updates design file in storage.
7585
7518
  * @param id Design identifier.
7586
7519
  * @param privateStorageOwner (optional) Private storage owner identifier.
7587
- * @param tenantId (optional) Tenant identifier
7520
+ * @param tenantId (optional) Tenant ID.
7588
7521
  * @return Success
7589
7522
  */
7590
7523
  deleteVdpData(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7655,7 +7588,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7655
7588
  }
7656
7589
  /**
7657
7590
  * Converts colors for print-product item manipulations.
7658
- * @param tenantId (optional) Tenant identifier
7591
+ * @param tenantId (optional) Tenant ID.
7659
7592
  * @param body (optional) Convert colors operation parameters.
7660
7593
  * @return Success
7661
7594
  */
@@ -7732,7 +7665,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7732
7665
  * Loads print-product from resource file taken from storage.
7733
7666
  * @param id (optional) Resource identifier.
7734
7667
  * @param privateStorageOwner (optional) Private storage owner identifier.
7735
- * @param tenantId (optional) Tenant identifier
7668
+ * @param tenantId (optional) Tenant ID.
7736
7669
  * @return Success
7737
7670
  */
7738
7671
  loadProductFromResource(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7816,7 +7749,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7816
7749
  * Renders a product proof image with specified parameters.
7817
7750
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
7818
7751
  (default value is 'false').
7819
- * @param tenantId (optional) Tenant identifier
7752
+ * @param tenantId (optional) Tenant ID.
7820
7753
  * @param body (optional) Preview parameters.
7821
7754
  * @return Success
7822
7755
  */
@@ -7888,7 +7821,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7888
7821
  * Renders a design preview with the specified parameters.
7889
7822
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
7890
7823
  (default value is 'false').
7891
- * @param tenantId (optional) Tenant identifier
7824
+ * @param tenantId (optional) Tenant ID.
7892
7825
  * @param body (optional) Render model with preview parameters.
7893
7826
  * @return Success
7894
7827
  */
@@ -7958,7 +7891,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7958
7891
  }
7959
7892
  /**
7960
7893
  * Renders a design preview with the specified parameters and saves rendering result as resource.
7961
- * @param tenantId (optional) Tenant identifier
7894
+ * @param tenantId (optional) Tenant ID.
7962
7895
  * @param body (optional) Render model with preview parameters.
7963
7896
  * @return Success
7964
7897
  */
@@ -8042,7 +7975,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8042
7975
  * Renders a design proof with the specified parameters.
8043
7976
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
8044
7977
  (default value is 'false').
8045
- * @param tenantId (optional) Tenant identifier
7978
+ * @param tenantId (optional) Tenant ID.
8046
7979
  * @param body (optional) Render model with proof parameters.
8047
7980
  * @return Success
8048
7981
  */
@@ -8119,7 +8052,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8119
8052
  }
8120
8053
  /**
8121
8054
  * Renders a design proof with the specified parameters and saves rendering result as resource.
8122
- * @param tenantId (optional) Tenant identifier
8055
+ * @param tenantId (optional) Tenant ID.
8123
8056
  * @param body (optional) Render model with preview parameters.
8124
8057
  * @return Success
8125
8058
  */
@@ -8196,7 +8129,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8196
8129
  * Loads print-product from design file taken from storage.
8197
8130
  * @param id Design identifier.
8198
8131
  * @param privateStorageOwner (optional) Private storage owner identifier.
8199
- * @param tenantId (optional) Tenant identifier
8132
+ * @param tenantId (optional) Tenant ID.
8200
8133
  * @return Success
8201
8134
  * @deprecated
8202
8135
  */
@@ -8275,7 +8208,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8275
8208
  * Saves print-product to design file and updates design file in storage.
8276
8209
  * @param id Design identifier.
8277
8210
  * @param privateStorageOwner (optional) Private storage owner identifier.
8278
- * @param tenantId (optional) Tenant identifier
8211
+ * @param tenantId (optional) Tenant ID.
8279
8212
  * @param body (optional) Serialized product description.
8280
8213
  * @return Success
8281
8214
  * @deprecated
@@ -8354,7 +8287,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8354
8287
  * Patches print-product in design file.
8355
8288
  * @param id Design identifier.
8356
8289
  * @param privateStorageOwner (optional) Private storage owner identifier.
8357
- * @param tenantId (optional) Tenant identifier
8290
+ * @param tenantId (optional) Tenant ID.
8358
8291
  * @param patchType (optional)
8359
8292
  * @param replaceImageItemFileInfo_itemName (optional)
8360
8293
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -8377,9 +8310,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8377
8310
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8378
8311
  url_ = url_.replace(/[?&]$/, "");
8379
8312
  const content_ = new FormData();
8380
- if (patchType === null || patchType === undefined)
8381
- throw new Error("The parameter 'patchType' cannot be null.");
8382
- else
8313
+ if (patchType !== null && patchType !== undefined)
8383
8314
  content_.append("patchType", patchType.toString());
8384
8315
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
8385
8316
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -8387,9 +8318,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8387
8318
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
8388
8319
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
8389
8320
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
8390
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
8391
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
8392
- else
8321
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
8393
8322
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
8394
8323
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
8395
8324
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -8451,7 +8380,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8451
8380
  /**
8452
8381
  * Creates print-product item.
8453
8382
  * @param itemType (optional) Desired item type.
8454
- * @param tenantId (optional) Tenant identifier
8383
+ * @param tenantId (optional) Tenant ID.
8455
8384
  * @param sourceType (optional)
8456
8385
  * @param sourceId (optional)
8457
8386
  * @param sourceOwnerId (optional)
@@ -8542,7 +8471,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8542
8471
  }
8543
8472
  /**
8544
8473
  * Extracts print-product item image.
8545
- * @param tenantId (optional) Tenant identifier
8474
+ * @param tenantId (optional) Tenant ID.
8546
8475
  * @param body (optional) Extraction parameters.
8547
8476
  * @return Success
8548
8477
  * @deprecated
@@ -8611,7 +8540,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8611
8540
  }
8612
8541
  /**
8613
8542
  * Flattens print-product items.
8614
- * @param tenantId (optional) Tenant identifier
8543
+ * @param tenantId (optional) Tenant ID.
8615
8544
  * @param body (optional) Items to flatten.
8616
8545
  * @return Success
8617
8546
  * @deprecated
@@ -8683,7 +8612,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8683
8612
  * @param designId (optional) Public design identifier.
8684
8613
  * @param privateDesignId (optional) Private design identifier.
8685
8614
  * @param privateStorageOwner (optional) Private storage owner identifier.
8686
- * @param tenantId (optional) Tenant identifier
8615
+ * @param tenantId (optional) Tenant ID.
8687
8616
  * @return Created
8688
8617
  * @deprecated
8689
8618
  */
@@ -8752,11 +8681,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8752
8681
  * @param resourceId (optional) Resource identifier.
8753
8682
  * @param privateDesignId (optional) Private design identifier.
8754
8683
  * @param privateStorageOwner (optional) Private storage owner identifier.
8755
- * @param tenantId (optional) Tenant identifier.
8684
+ * @param tenantIdQuery (optional) Tenant identifier.
8756
8685
  * @return Created
8757
8686
  * @deprecated
8758
8687
  */
8759
- createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantId, cancelToken) {
8688
+ createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery, cancelToken) {
8760
8689
  let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
8761
8690
  if (resourceId !== undefined && resourceId !== null)
8762
8691
  url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
@@ -8764,10 +8693,10 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8764
8693
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
8765
8694
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
8766
8695
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
8767
- if (tenantId === null)
8768
- throw new Error("The parameter 'tenantId' cannot be null.");
8769
- else if (tenantId !== undefined)
8770
- url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8696
+ if (tenantIdQuery === null)
8697
+ throw new Error("The parameter 'tenantIdQuery' cannot be null.");
8698
+ else if (tenantIdQuery !== undefined)
8699
+ url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
8771
8700
  url_ = url_.replace(/[?&]$/, "");
8772
8701
  let options_ = {
8773
8702
  method: "POST",
@@ -8828,7 +8757,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
8828
8757
  this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
8829
8758
  }
8830
8759
  /**
8831
- * @param tenantId (optional) Tenant identifier
8760
+ * @param tenantId (optional) Tenant ID.
8832
8761
  * @param body (optional)
8833
8762
  * @return Success
8834
8763
  */
@@ -8884,10 +8813,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
8884
8813
  const _responseText = response.data;
8885
8814
  return throwException("Unauthorized", status, _responseText, _headers);
8886
8815
  }
8887
- else if (status === 403) {
8888
- const _responseText = response.data;
8889
- return throwException("Forbidden", status, _responseText, _headers);
8890
- }
8891
8816
  else if (status !== 200 && status !== 204) {
8892
8817
  const _responseText = response.data;
8893
8818
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -8895,7 +8820,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
8895
8820
  return Promise.resolve(null);
8896
8821
  }
8897
8822
  /**
8898
- * @param tenantId (optional) Tenant identifier
8823
+ * @param tenantId (optional) Tenant ID.
8899
8824
  * @return Success
8900
8825
  */
8901
8826
  fonts(psName, tenantId, cancelToken) {
@@ -8957,10 +8882,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
8957
8882
  const _responseText = response.data;
8958
8883
  return throwException("Unauthorized", status, _responseText, _headers);
8959
8884
  }
8960
- else if (status === 403) {
8961
- const _responseText = response.data;
8962
- return throwException("Forbidden", status, _responseText, _headers);
8963
- }
8964
8885
  else if (status !== 200 && status !== 204) {
8965
8886
  const _responseText = response.data;
8966
8887
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -8968,7 +8889,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
8968
8889
  return Promise.resolve(null);
8969
8890
  }
8970
8891
  /**
8971
- * @param tenantId (optional) Tenant identifier
8892
+ * @param tenantId (optional) Tenant ID.
8972
8893
  * @param body (optional)
8973
8894
  * @return Success
8974
8895
  */
@@ -9031,10 +8952,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9031
8952
  const _responseText = response.data;
9032
8953
  return throwException("Unauthorized", status, _responseText, _headers);
9033
8954
  }
9034
- else if (status === 403) {
9035
- const _responseText = response.data;
9036
- return throwException("Forbidden", status, _responseText, _headers);
9037
- }
9038
8955
  else if (status !== 200 && status !== 204) {
9039
8956
  const _responseText = response.data;
9040
8957
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9042,7 +8959,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9042
8959
  return Promise.resolve(null);
9043
8960
  }
9044
8961
  /**
9045
- * @param tenantId (optional) Tenant identifier
8962
+ * @param tenantId (optional) Tenant ID.
9046
8963
  * @param body (optional)
9047
8964
  * @return Success
9048
8965
  */
@@ -9105,10 +9022,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9105
9022
  const _responseText = response.data;
9106
9023
  return throwException("Unauthorized", status, _responseText, _headers);
9107
9024
  }
9108
- else if (status === 403) {
9109
- const _responseText = response.data;
9110
- return throwException("Forbidden", status, _responseText, _headers);
9111
- }
9112
9025
  else if (status !== 200 && status !== 204) {
9113
9026
  const _responseText = response.data;
9114
9027
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9117,7 +9030,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9117
9030
  }
9118
9031
  /**
9119
9032
  * @param fontKey (optional)
9120
- * @param tenantId (optional) Tenant identifier
9033
+ * @param tenantId (optional) Tenant ID.
9121
9034
  * @return Success
9122
9035
  */
9123
9036
  getCssFont(fontKey, tenantId, cancelToken) {
@@ -9178,10 +9091,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9178
9091
  const _responseText = response.data;
9179
9092
  return throwException("Unauthorized", status, _responseText, _headers);
9180
9093
  }
9181
- else if (status === 403) {
9182
- const _responseText = response.data;
9183
- return throwException("Forbidden", status, _responseText, _headers);
9184
- }
9185
9094
  else if (status !== 200 && status !== 204) {
9186
9095
  const _responseText = response.data;
9187
9096
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9189,7 +9098,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9189
9098
  return Promise.resolve(null);
9190
9099
  }
9191
9100
  /**
9192
- * @param tenantId (optional) Tenant identifier
9101
+ * @param tenantId (optional) Tenant ID.
9193
9102
  * @return Success
9194
9103
  */
9195
9104
  getFallbackFonts(tenantId, cancelToken) {
@@ -9241,10 +9150,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9241
9150
  const _responseText = response.data;
9242
9151
  return throwException("Unauthorized", status, _responseText, _headers);
9243
9152
  }
9244
- else if (status === 403) {
9245
- const _responseText = response.data;
9246
- return throwException("Forbidden", status, _responseText, _headers);
9247
- }
9248
9153
  else if (status !== 200 && status !== 204) {
9249
9154
  const _responseText = response.data;
9250
9155
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9252,7 +9157,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9252
9157
  return Promise.resolve(null);
9253
9158
  }
9254
9159
  /**
9255
- * @param tenantId (optional) Tenant identifier
9160
+ * @param tenantId (optional) Tenant ID.
9256
9161
  * @param body (optional)
9257
9162
  * @return Success
9258
9163
  */
@@ -9308,10 +9213,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9308
9213
  const _responseText = response.data;
9309
9214
  return throwException("Unauthorized", status, _responseText, _headers);
9310
9215
  }
9311
- else if (status === 403) {
9312
- const _responseText = response.data;
9313
- return throwException("Forbidden", status, _responseText, _headers);
9314
- }
9315
9216
  else if (status !== 200 && status !== 204) {
9316
9217
  const _responseText = response.data;
9317
9218
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9319,7 +9220,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9319
9220
  return Promise.resolve(null);
9320
9221
  }
9321
9222
  /**
9322
- * @param tenantId (optional) Tenant identifier
9223
+ * @param tenantId (optional) Tenant ID.
9323
9224
  * @param body (optional)
9324
9225
  * @return Success
9325
9226
  */
@@ -9375,10 +9276,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9375
9276
  const _responseText = response.data;
9376
9277
  return throwException("Unauthorized", status, _responseText, _headers);
9377
9278
  }
9378
- else if (status === 403) {
9379
- const _responseText = response.data;
9380
- return throwException("Forbidden", status, _responseText, _headers);
9381
- }
9382
9279
  else if (status !== 200 && status !== 204) {
9383
9280
  const _responseText = response.data;
9384
9281
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9386,7 +9283,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9386
9283
  return Promise.resolve(null);
9387
9284
  }
9388
9285
  /**
9389
- * @param tenantId (optional) Tenant identifier
9286
+ * @param tenantId (optional) Tenant ID.
9390
9287
  * @param body (optional)
9391
9288
  * @return Success
9392
9289
  */
@@ -9442,10 +9339,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9442
9339
  const _responseText = response.data;
9443
9340
  return throwException("Unauthorized", status, _responseText, _headers);
9444
9341
  }
9445
- else if (status === 403) {
9446
- const _responseText = response.data;
9447
- return throwException("Forbidden", status, _responseText, _headers);
9448
- }
9449
9342
  else if (status !== 200 && status !== 204) {
9450
9343
  const _responseText = response.data;
9451
9344
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9453,25 +9346,29 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9453
9346
  return Promise.resolve(null);
9454
9347
  }
9455
9348
  /**
9456
- * @param f (optional)
9457
- * @param w (optional)
9458
- * @param h (optional)
9459
- * @param cmyk (optional)
9460
- * @param rgb (optional)
9461
- * @param grayscale (optional)
9462
- * @param target (optional)
9463
- * @param sq (optional)
9464
- * @param effect (optional)
9465
- * @param kp (optional)
9466
- * @param color (optional)
9467
- * @param obm (optional)
9468
- * @param oo (optional)
9469
- * @param alphaMask (optional)
9470
- * @param page (optional)
9471
- * @param colorizeColor (optional)
9472
- * @param rw (optional)
9473
- * @param rh (optional)
9474
- * @param tenantId (optional) Tenant identifier
9349
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
9350
+ This method accepts query parameters that control the output of the image.
9351
+ * @param f (optional) The identifier of the original image file.
9352
+ * @param w (optional) Target width of the resulting image.
9353
+ * @param h (optional) Target height of the resulting image.
9354
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
9355
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
9356
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
9357
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
9358
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
9359
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
9360
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
9361
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
9362
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
9363
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
9364
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
9365
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
9366
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
9367
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
9368
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
9369
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
9370
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
9371
+ * @param tenantId (optional) Tenant ID.
9475
9372
  * @return Success
9476
9373
  */
9477
9374
  img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
@@ -9570,10 +9467,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9570
9467
  const _responseText = response.data;
9571
9468
  return throwException("Unauthorized", status, _responseText, _headers);
9572
9469
  }
9573
- else if (status === 403) {
9574
- const _responseText = response.data;
9575
- return throwException("Forbidden", status, _responseText, _headers);
9576
- }
9577
9470
  else if (status !== 200 && status !== 204) {
9578
9471
  const _responseText = response.data;
9579
9472
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9581,7 +9474,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9581
9474
  return Promise.resolve(null);
9582
9475
  }
9583
9476
  /**
9584
- * @param tenantId (optional) Tenant identifier
9477
+ * @param tenantId (optional) Tenant ID.
9585
9478
  * @return Success
9586
9479
  */
9587
9480
  getLicense(tenantId, cancelToken) {
@@ -9633,10 +9526,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9633
9526
  const _responseText = response.data;
9634
9527
  return throwException("Unauthorized", status, _responseText, _headers);
9635
9528
  }
9636
- else if (status === 403) {
9637
- const _responseText = response.data;
9638
- return throwException("Forbidden", status, _responseText, _headers);
9639
- }
9640
9529
  else if (status !== 200 && status !== 204) {
9641
9530
  const _responseText = response.data;
9642
9531
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9645,7 +9534,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9645
9534
  }
9646
9535
  /**
9647
9536
  * @param f (optional)
9648
- * @param tenantId (optional) Tenant identifier
9537
+ * @param tenantId (optional) Tenant ID.
9649
9538
  * @return Success
9650
9539
  */
9651
9540
  pth(f, tenantId, cancelToken) {
@@ -9710,10 +9599,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9710
9599
  const _responseText = response.data;
9711
9600
  return throwException("Unauthorized", status, _responseText, _headers);
9712
9601
  }
9713
- else if (status === 403) {
9714
- const _responseText = response.data;
9715
- return throwException("Forbidden", status, _responseText, _headers);
9716
- }
9717
9602
  else if (status !== 200 && status !== 204) {
9718
9603
  const _responseText = response.data;
9719
9604
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9722,7 +9607,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9722
9607
  }
9723
9608
  /**
9724
9609
  * @param image (optional)
9725
- * @param tenantId (optional) Tenant identifier
9610
+ * @param tenantId (optional) Tenant ID.
9726
9611
  * @return Success
9727
9612
  */
9728
9613
  resource(image, tenantId, cancelToken) {
@@ -9783,10 +9668,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9783
9668
  const _responseText = response.data;
9784
9669
  return throwException("Unauthorized", status, _responseText, _headers);
9785
9670
  }
9786
- else if (status === 403) {
9787
- const _responseText = response.data;
9788
- return throwException("Forbidden", status, _responseText, _headers);
9789
- }
9790
9671
  else if (status !== 200 && status !== 204) {
9791
9672
  const _responseText = response.data;
9792
9673
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9794,25 +9675,27 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9794
9675
  return Promise.resolve(null);
9795
9676
  }
9796
9677
  /**
9797
- * @param f (optional)
9798
- * @param w (optional)
9799
- * @param h (optional)
9800
- * @param cmyk (optional)
9801
- * @param rgb (optional)
9802
- * @param grayscale (optional)
9803
- * @param target (optional)
9804
- * @param sq (optional)
9805
- * @param effect (optional)
9806
- * @param kp (optional)
9807
- * @param color (optional)
9808
- * @param obm (optional)
9809
- * @param oo (optional)
9810
- * @param alphaMask (optional)
9811
- * @param page (optional)
9812
- * @param colorizeColor (optional)
9813
- * @param rw (optional)
9814
- * @param rh (optional)
9815
- * @param tenantId (optional) Tenant identifier
9678
+ * @param f (optional) The identifier of the original image file.
9679
+ * @param w (optional) Target width of the resulting image.
9680
+ * @param h (optional) Target height of the resulting image.
9681
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
9682
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
9683
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
9684
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
9685
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
9686
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
9687
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
9688
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
9689
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
9690
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
9691
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
9692
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
9693
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
9694
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
9695
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
9696
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
9697
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
9698
+ * @param tenantId (optional) Tenant ID.
9816
9699
  * @return Success
9817
9700
  */
9818
9701
  svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
@@ -9911,10 +9794,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9911
9794
  const _responseText = response.data;
9912
9795
  return throwException("Unauthorized", status, _responseText, _headers);
9913
9796
  }
9914
- else if (status === 403) {
9915
- const _responseText = response.data;
9916
- return throwException("Forbidden", status, _responseText, _headers);
9917
- }
9918
9797
  else if (status !== 200 && status !== 204) {
9919
9798
  const _responseText = response.data;
9920
9799
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9923,7 +9802,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9923
9802
  }
9924
9803
  /**
9925
9804
  * @param f (optional)
9926
- * @param tenantId (optional) Tenant identifier
9805
+ * @param tenantId (optional) Tenant ID.
9927
9806
  * @return Success
9928
9807
  */
9929
9808
  txt(f, tenantId, cancelToken) {
@@ -9988,10 +9867,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9988
9867
  const _responseText = response.data;
9989
9868
  return throwException("Unauthorized", status, _responseText, _headers);
9990
9869
  }
9991
- else if (status === 403) {
9992
- const _responseText = response.data;
9993
- return throwException("Forbidden", status, _responseText, _headers);
9994
- }
9995
9870
  else if (status !== 200 && status !== 204) {
9996
9871
  const _responseText = response.data;
9997
9872
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9999,7 +9874,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9999
9874
  return Promise.resolve(null);
10000
9875
  }
10001
9876
  /**
10002
- * @param tenantId (optional) Tenant identifier
9877
+ * @param tenantId (optional) Tenant ID.
10003
9878
  * @param body (optional)
10004
9879
  * @return Success
10005
9880
  */
@@ -10055,10 +9930,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10055
9930
  const _responseText = response.data;
10056
9931
  return throwException("Unauthorized", status, _responseText, _headers);
10057
9932
  }
10058
- else if (status === 403) {
10059
- const _responseText = response.data;
10060
- return throwException("Forbidden", status, _responseText, _headers);
10061
- }
10062
9933
  else if (status !== 200 && status !== 204) {
10063
9934
  const _responseText = response.data;
10064
9935
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10066,7 +9937,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10066
9937
  return Promise.resolve(null);
10067
9938
  }
10068
9939
  /**
10069
- * @param tenantId (optional) Tenant identifier
9940
+ * @param tenantId (optional) Tenant ID.
10070
9941
  * @param body (optional)
10071
9942
  * @return Success
10072
9943
  */
@@ -10122,10 +9993,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10122
9993
  const _responseText = response.data;
10123
9994
  return throwException("Unauthorized", status, _responseText, _headers);
10124
9995
  }
10125
- else if (status === 403) {
10126
- const _responseText = response.data;
10127
- return throwException("Forbidden", status, _responseText, _headers);
10128
- }
10129
9996
  else if (status !== 200 && status !== 204) {
10130
9997
  const _responseText = response.data;
10131
9998
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10133,7 +10000,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10133
10000
  return Promise.resolve(null);
10134
10001
  }
10135
10002
  /**
10136
- * @param tenantId (optional) Tenant identifier
10003
+ * @param tenantId (optional) Tenant ID.
10137
10004
  * @param body (optional)
10138
10005
  * @return Success
10139
10006
  */
@@ -10189,10 +10056,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10189
10056
  const _responseText = response.data;
10190
10057
  return throwException("Unauthorized", status, _responseText, _headers);
10191
10058
  }
10192
- else if (status === 403) {
10193
- const _responseText = response.data;
10194
- return throwException("Forbidden", status, _responseText, _headers);
10195
- }
10196
10059
  else if (status !== 200 && status !== 204) {
10197
10060
  const _responseText = response.data;
10198
10061
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10200,7 +10063,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10200
10063
  return Promise.resolve(null);
10201
10064
  }
10202
10065
  /**
10203
- * @param tenantId (optional) Tenant identifier
10066
+ * @param tenantId (optional) Tenant ID.
10204
10067
  * @param body (optional)
10205
10068
  * @return Success
10206
10069
  */
@@ -10256,10 +10119,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10256
10119
  const _responseText = response.data;
10257
10120
  return throwException("Unauthorized", status, _responseText, _headers);
10258
10121
  }
10259
- else if (status === 403) {
10260
- const _responseText = response.data;
10261
- return throwException("Forbidden", status, _responseText, _headers);
10262
- }
10263
10122
  else if (status !== 200 && status !== 204) {
10264
10123
  const _responseText = response.data;
10265
10124
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10267,7 +10126,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10267
10126
  return Promise.resolve(null);
10268
10127
  }
10269
10128
  /**
10270
- * @param tenantId (optional) Tenant identifier
10129
+ * @param tenantId (optional) Tenant ID.
10271
10130
  * @param body (optional)
10272
10131
  * @return Success
10273
10132
  */
@@ -10323,10 +10182,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10323
10182
  const _responseText = response.data;
10324
10183
  return throwException("Unauthorized", status, _responseText, _headers);
10325
10184
  }
10326
- else if (status === 403) {
10327
- const _responseText = response.data;
10328
- return throwException("Forbidden", status, _responseText, _headers);
10329
- }
10330
10185
  else if (status !== 200 && status !== 204) {
10331
10186
  const _responseText = response.data;
10332
10187
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10334,7 +10189,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10334
10189
  return Promise.resolve(null);
10335
10190
  }
10336
10191
  /**
10337
- * @param tenantId (optional) Tenant identifier
10192
+ * @param tenantId (optional) Tenant ID.
10338
10193
  * @param body (optional)
10339
10194
  * @return Success
10340
10195
  */
@@ -10390,10 +10245,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10390
10245
  const _responseText = response.data;
10391
10246
  return throwException("Unauthorized", status, _responseText, _headers);
10392
10247
  }
10393
- else if (status === 403) {
10394
- const _responseText = response.data;
10395
- return throwException("Forbidden", status, _responseText, _headers);
10396
- }
10397
10248
  else if (status !== 200 && status !== 204) {
10398
10249
  const _responseText = response.data;
10399
10250
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10401,7 +10252,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10401
10252
  return Promise.resolve(null);
10402
10253
  }
10403
10254
  /**
10404
- * @param tenantId (optional) Tenant identifier
10255
+ * @param tenantId (optional) Tenant ID.
10405
10256
  * @param body (optional)
10406
10257
  * @return Success
10407
10258
  */
@@ -10457,10 +10308,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10457
10308
  const _responseText = response.data;
10458
10309
  return throwException("Unauthorized", status, _responseText, _headers);
10459
10310
  }
10460
- else if (status === 403) {
10461
- const _responseText = response.data;
10462
- return throwException("Forbidden", status, _responseText, _headers);
10463
- }
10464
10311
  else if (status !== 200 && status !== 204) {
10465
10312
  const _responseText = response.data;
10466
10313
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10468,7 +10315,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10468
10315
  return Promise.resolve(null);
10469
10316
  }
10470
10317
  /**
10471
- * @param tenantId (optional) Tenant identifier
10318
+ * @param tenantId (optional) Tenant ID.
10472
10319
  * @param body (optional)
10473
10320
  * @return Success
10474
10321
  */
@@ -10524,10 +10371,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10524
10371
  const _responseText = response.data;
10525
10372
  return throwException("Unauthorized", status, _responseText, _headers);
10526
10373
  }
10527
- else if (status === 403) {
10528
- const _responseText = response.data;
10529
- return throwException("Forbidden", status, _responseText, _headers);
10530
- }
10531
10374
  else if (status !== 200 && status !== 204) {
10532
10375
  const _responseText = response.data;
10533
10376
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10535,7 +10378,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10535
10378
  return Promise.resolve(null);
10536
10379
  }
10537
10380
  /**
10538
- * @param tenantId (optional) Tenant identifier
10381
+ * @param tenantId (optional) Tenant ID.
10539
10382
  * @param body (optional)
10540
10383
  * @return Success
10541
10384
  */
@@ -10591,10 +10434,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10591
10434
  const _responseText = response.data;
10592
10435
  return throwException("Unauthorized", status, _responseText, _headers);
10593
10436
  }
10594
- else if (status === 403) {
10595
- const _responseText = response.data;
10596
- return throwException("Forbidden", status, _responseText, _headers);
10597
- }
10598
10437
  else if (status !== 200 && status !== 204) {
10599
10438
  const _responseText = response.data;
10600
10439
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10602,7 +10441,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10602
10441
  return Promise.resolve(null);
10603
10442
  }
10604
10443
  /**
10605
- * @param tenantId (optional) Tenant identifier
10444
+ * @param tenantId (optional) Tenant ID.
10606
10445
  * @param body (optional)
10607
10446
  * @return Success
10608
10447
  */
@@ -10658,10 +10497,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10658
10497
  const _responseText = response.data;
10659
10498
  return throwException("Unauthorized", status, _responseText, _headers);
10660
10499
  }
10661
- else if (status === 403) {
10662
- const _responseText = response.data;
10663
- return throwException("Forbidden", status, _responseText, _headers);
10664
- }
10665
10500
  else if (status !== 200 && status !== 204) {
10666
10501
  const _responseText = response.data;
10667
10502
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10669,7 +10504,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10669
10504
  return Promise.resolve(null);
10670
10505
  }
10671
10506
  /**
10672
- * @param tenantId (optional) Tenant identifier
10507
+ * @param tenantId (optional) Tenant ID.
10673
10508
  * @param body (optional)
10674
10509
  * @return Success
10675
10510
  */
@@ -10725,10 +10560,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10725
10560
  const _responseText = response.data;
10726
10561
  return throwException("Unauthorized", status, _responseText, _headers);
10727
10562
  }
10728
- else if (status === 403) {
10729
- const _responseText = response.data;
10730
- return throwException("Forbidden", status, _responseText, _headers);
10731
- }
10732
10563
  else if (status !== 200 && status !== 204) {
10733
10564
  const _responseText = response.data;
10734
10565
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);