@aurigma/ng-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.
@@ -602,11 +602,6 @@
602
602
  return throwException("Unauthorized", status, _responseText, _headers);
603
603
  }));
604
604
  }
605
- else if (status === 403) {
606
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
607
- return throwException("Forbidden", status, _responseText, _headers);
608
- }));
609
- }
610
605
  else if (status !== 200 && status !== 204) {
611
606
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
612
607
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -691,11 +686,6 @@
691
686
  return throwException("Unauthorized", status, _responseText, _headers);
692
687
  }));
693
688
  }
694
- else if (status === 403) {
695
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
696
- return throwException("Forbidden", status, _responseText, _headers);
697
- }));
698
- }
699
689
  else if (status !== 200 && status !== 204) {
700
690
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
701
691
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -782,11 +772,6 @@
782
772
  return throwException("Unauthorized", status, _responseText, _headers);
783
773
  }));
784
774
  }
785
- else if (status === 403) {
786
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
787
- return throwException("Forbidden", status, _responseText, _headers);
788
- }));
789
- }
790
775
  else if (status !== 200 && status !== 204) {
791
776
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
792
777
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -873,11 +858,6 @@
873
858
  return throwException("Unauthorized", status, _responseText, _headers);
874
859
  }));
875
860
  }
876
- else if (status === 403) {
877
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
878
- return throwException("Forbidden", status, _responseText, _headers);
879
- }));
880
- }
881
861
  else if (status !== 200 && status !== 204) {
882
862
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
883
863
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -962,11 +942,6 @@
962
942
  return throwException("Unauthorized", status, _responseText, _headers);
963
943
  }));
964
944
  }
965
- else if (status === 403) {
966
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
967
- return throwException("Forbidden", status, _responseText, _headers);
968
- }));
969
- }
970
945
  else if (status !== 200 && status !== 204) {
971
946
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
972
947
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1042,11 +1017,6 @@
1042
1017
  return throwException("Unauthorized", status, _responseText, _headers);
1043
1018
  }));
1044
1019
  }
1045
- else if (status === 403) {
1046
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1047
- return throwException("Forbidden", status, _responseText, _headers);
1048
- }));
1049
- }
1050
1020
  else if (status !== 200 && status !== 204) {
1051
1021
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1052
1022
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1126,11 +1096,6 @@
1126
1096
  return throwException("Unauthorized", status, _responseText, _headers);
1127
1097
  }));
1128
1098
  }
1129
- else if (status === 403) {
1130
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1131
- return throwException("Forbidden", status, _responseText, _headers);
1132
- }));
1133
- }
1134
1099
  else if (status !== 200 && status !== 204) {
1135
1100
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1136
1101
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1210,11 +1175,6 @@
1210
1175
  return throwException("Unauthorized", status, _responseText, _headers);
1211
1176
  }));
1212
1177
  }
1213
- else if (status === 403) {
1214
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1215
- return throwException("Forbidden", status, _responseText, _headers);
1216
- }));
1217
- }
1218
1178
  else if (status !== 200 && status !== 204) {
1219
1179
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1220
1180
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1294,11 +1254,6 @@
1294
1254
  return throwException("Unauthorized", status, _responseText, _headers);
1295
1255
  }));
1296
1256
  }
1297
- else if (status === 403) {
1298
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1299
- return throwException("Forbidden", status, _responseText, _headers);
1300
- }));
1301
- }
1302
1257
  else if (status !== 200 && status !== 204) {
1303
1258
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1304
1259
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1307,24 +1262,28 @@
1307
1262
  return rxjs.of(null);
1308
1263
  };
1309
1264
  /**
1310
- * @param f (optional)
1311
- * @param w (optional)
1312
- * @param h (optional)
1313
- * @param cmyk (optional)
1314
- * @param rgb (optional)
1315
- * @param grayscale (optional)
1316
- * @param target (optional)
1317
- * @param sq (optional)
1318
- * @param effect (optional)
1319
- * @param kp (optional)
1320
- * @param color (optional)
1321
- * @param obm (optional)
1322
- * @param oo (optional)
1323
- * @param alphaMask (optional)
1324
- * @param page (optional)
1325
- * @param colorizeColor (optional)
1326
- * @param rw (optional)
1327
- * @param rh (optional)
1265
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
1266
+ This method accepts query parameters that control the output of the image.
1267
+ * @param f (optional) The identifier of the original image file.
1268
+ * @param w (optional) Target width of the resulting image.
1269
+ * @param h (optional) Target height of the resulting image.
1270
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
1271
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
1272
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
1273
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
1274
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
1275
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
1276
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
1277
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
1278
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
1279
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
1280
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
1281
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
1282
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
1283
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
1284
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
1285
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
1286
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
1328
1287
  * @return Success
1329
1288
  */
1330
1289
  DesignAtomsCompatibilityApiClient.prototype.img = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
@@ -1439,11 +1398,6 @@
1439
1398
  return throwException("Unauthorized", status, _responseText, _headers);
1440
1399
  }));
1441
1400
  }
1442
- else if (status === 403) {
1443
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1444
- return throwException("Forbidden", status, _responseText, _headers);
1445
- }));
1446
- }
1447
1401
  else if (status !== 200 && status !== 204) {
1448
1402
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1449
1403
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1519,11 +1473,6 @@
1519
1473
  return throwException("Unauthorized", status, _responseText, _headers);
1520
1474
  }));
1521
1475
  }
1522
- else if (status === 403) {
1523
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1524
- return throwException("Forbidden", status, _responseText, _headers);
1525
- }));
1526
- }
1527
1476
  else if (status !== 200 && status !== 204) {
1528
1477
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1529
1478
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1613,11 +1562,6 @@
1613
1562
  return throwException("Unauthorized", status, _responseText, _headers);
1614
1563
  }));
1615
1564
  }
1616
- else if (status === 403) {
1617
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1618
- return throwException("Forbidden", status, _responseText, _headers);
1619
- }));
1620
- }
1621
1565
  else if (status !== 200 && status !== 204) {
1622
1566
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1623
1567
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1702,11 +1646,6 @@
1702
1646
  return throwException("Unauthorized", status, _responseText, _headers);
1703
1647
  }));
1704
1648
  }
1705
- else if (status === 403) {
1706
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1707
- return throwException("Forbidden", status, _responseText, _headers);
1708
- }));
1709
- }
1710
1649
  else if (status !== 200 && status !== 204) {
1711
1650
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1712
1651
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1715,24 +1654,26 @@
1715
1654
  return rxjs.of(null);
1716
1655
  };
1717
1656
  /**
1718
- * @param f (optional)
1719
- * @param w (optional)
1720
- * @param h (optional)
1721
- * @param cmyk (optional)
1722
- * @param rgb (optional)
1723
- * @param grayscale (optional)
1724
- * @param target (optional)
1725
- * @param sq (optional)
1726
- * @param effect (optional)
1727
- * @param kp (optional)
1728
- * @param color (optional)
1729
- * @param obm (optional)
1730
- * @param oo (optional)
1731
- * @param alphaMask (optional)
1732
- * @param page (optional)
1733
- * @param colorizeColor (optional)
1734
- * @param rw (optional)
1735
- * @param rh (optional)
1657
+ * @param f (optional) The identifier of the original image file.
1658
+ * @param w (optional) Target width of the resulting image.
1659
+ * @param h (optional) Target height of the resulting image.
1660
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
1661
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
1662
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
1663
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
1664
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
1665
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
1666
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
1667
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
1668
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
1669
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
1670
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
1671
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
1672
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
1673
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
1674
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
1675
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
1676
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
1736
1677
  * @return Success
1737
1678
  */
1738
1679
  DesignAtomsCompatibilityApiClient.prototype.svg = function (tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
@@ -1847,11 +1788,6 @@
1847
1788
  return throwException("Unauthorized", status, _responseText, _headers);
1848
1789
  }));
1849
1790
  }
1850
- else if (status === 403) {
1851
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1852
- return throwException("Forbidden", status, _responseText, _headers);
1853
- }));
1854
- }
1855
1791
  else if (status !== 200 && status !== 204) {
1856
1792
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1857
1793
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1941,11 +1877,6 @@
1941
1877
  return throwException("Unauthorized", status, _responseText, _headers);
1942
1878
  }));
1943
1879
  }
1944
- else if (status === 403) {
1945
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1946
- return throwException("Forbidden", status, _responseText, _headers);
1947
- }));
1948
- }
1949
1880
  else if (status !== 200 && status !== 204) {
1950
1881
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
1951
1882
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2025,11 +1956,6 @@
2025
1956
  return throwException("Unauthorized", status, _responseText, _headers);
2026
1957
  }));
2027
1958
  }
2028
- else if (status === 403) {
2029
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2030
- return throwException("Forbidden", status, _responseText, _headers);
2031
- }));
2032
- }
2033
1959
  else if (status !== 200 && status !== 204) {
2034
1960
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2035
1961
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2109,11 +2035,6 @@
2109
2035
  return throwException("Unauthorized", status, _responseText, _headers);
2110
2036
  }));
2111
2037
  }
2112
- else if (status === 403) {
2113
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2114
- return throwException("Forbidden", status, _responseText, _headers);
2115
- }));
2116
- }
2117
2038
  else if (status !== 200 && status !== 204) {
2118
2039
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2119
2040
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2193,11 +2114,6 @@
2193
2114
  return throwException("Unauthorized", status, _responseText, _headers);
2194
2115
  }));
2195
2116
  }
2196
- else if (status === 403) {
2197
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2198
- return throwException("Forbidden", status, _responseText, _headers);
2199
- }));
2200
- }
2201
2117
  else if (status !== 200 && status !== 204) {
2202
2118
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2203
2119
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2277,11 +2193,6 @@
2277
2193
  return throwException("Unauthorized", status, _responseText, _headers);
2278
2194
  }));
2279
2195
  }
2280
- else if (status === 403) {
2281
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2282
- return throwException("Forbidden", status, _responseText, _headers);
2283
- }));
2284
- }
2285
2196
  else if (status !== 200 && status !== 204) {
2286
2197
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2287
2198
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2361,11 +2272,6 @@
2361
2272
  return throwException("Unauthorized", status, _responseText, _headers);
2362
2273
  }));
2363
2274
  }
2364
- else if (status === 403) {
2365
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2366
- return throwException("Forbidden", status, _responseText, _headers);
2367
- }));
2368
- }
2369
2275
  else if (status !== 200 && status !== 204) {
2370
2276
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2371
2277
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2445,11 +2351,6 @@
2445
2351
  return throwException("Unauthorized", status, _responseText, _headers);
2446
2352
  }));
2447
2353
  }
2448
- else if (status === 403) {
2449
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2450
- return throwException("Forbidden", status, _responseText, _headers);
2451
- }));
2452
- }
2453
2354
  else if (status !== 200 && status !== 204) {
2454
2355
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2455
2356
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2529,11 +2430,6 @@
2529
2430
  return throwException("Unauthorized", status, _responseText, _headers);
2530
2431
  }));
2531
2432
  }
2532
- else if (status === 403) {
2533
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2534
- return throwException("Forbidden", status, _responseText, _headers);
2535
- }));
2536
- }
2537
2433
  else if (status !== 200 && status !== 204) {
2538
2434
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2539
2435
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2613,11 +2509,6 @@
2613
2509
  return throwException("Unauthorized", status, _responseText, _headers);
2614
2510
  }));
2615
2511
  }
2616
- else if (status === 403) {
2617
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2618
- return throwException("Forbidden", status, _responseText, _headers);
2619
- }));
2620
- }
2621
2512
  else if (status !== 200 && status !== 204) {
2622
2513
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2623
2514
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2697,11 +2588,6 @@
2697
2588
  return throwException("Unauthorized", status, _responseText, _headers);
2698
2589
  }));
2699
2590
  }
2700
- else if (status === 403) {
2701
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2702
- return throwException("Forbidden", status, _responseText, _headers);
2703
- }));
2704
- }
2705
2591
  else if (status !== 200 && status !== 204) {
2706
2592
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2707
2593
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2781,11 +2667,6 @@
2781
2667
  return throwException("Unauthorized", status, _responseText, _headers);
2782
2668
  }));
2783
2669
  }
2784
- else if (status === 403) {
2785
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2786
- return throwException("Forbidden", status, _responseText, _headers);
2787
- }));
2788
- }
2789
2670
  else if (status !== 200 && status !== 204) {
2790
2671
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2791
2672
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2865,11 +2746,6 @@
2865
2746
  return throwException("Unauthorized", status, _responseText, _headers);
2866
2747
  }));
2867
2748
  }
2868
- else if (status === 403) {
2869
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2870
- return throwException("Forbidden", status, _responseText, _headers);
2871
- }));
2872
- }
2873
2749
  else if (status !== 200 && status !== 204) {
2874
2750
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
2875
2751
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2903,7 +2779,7 @@
2903
2779
  * Renders a preview of an image with the specified parameters.
2904
2780
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2905
2781
  (default value is 'false').
2906
- * @param tenantId (optional) Tenant identifier
2782
+ * @param tenantId (optional) Tenant ID.
2907
2783
  * @param body (optional) Render model with preview parameters.
2908
2784
  * @return Success
2909
2785
  */
@@ -3000,7 +2876,7 @@
3000
2876
  * Renders a preview of an uploaded image with the specified parameters.
3001
2877
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
3002
2878
  (default value is 'false').
3003
- * @param tenantId (optional) Tenant identifier
2879
+ * @param tenantId (optional) Tenant ID.
3004
2880
  * @param sourceFile (optional)
3005
2881
  * @param mockupOwnerId (optional)
3006
2882
  * @param mockupId (optional)
@@ -3114,7 +2990,7 @@
3114
2990
  };
3115
2991
  /**
3116
2992
  * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
3117
- * @param tenantId (optional) Tenant identifier
2993
+ * @param tenantId (optional) Tenant ID.
3118
2994
  * @param resourceOwnerId (optional)
3119
2995
  * @param resourceNamespace (optional)
3120
2996
  * @param resourceName (optional)
@@ -3257,7 +3133,7 @@
3257
3133
  * Renders a preview of a web image with the specified parameters.
3258
3134
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
3259
3135
  (default value is 'false').
3260
- * @param tenantId (optional) Tenant identifier
3136
+ * @param tenantId (optional) Tenant ID.
3261
3137
  * @param body (optional) Render model with preview parameters.
3262
3138
  * @return Success
3263
3139
  */
@@ -3352,7 +3228,7 @@
3352
3228
  };
3353
3229
  /**
3354
3230
  * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
3355
- * @param tenantId (optional) Tenant identifier
3231
+ * @param tenantId (optional) Tenant ID.
3356
3232
  * @param body (optional) Render model with preview parameters.
3357
3233
  * @return Success
3358
3234
  */
@@ -3453,7 +3329,7 @@
3453
3329
  };
3454
3330
  /**
3455
3331
  * Renders a preview of an image with the specified parameters and saves rendering result as resource.
3456
- * @param tenantId (optional) Tenant identifier
3332
+ * @param tenantId (optional) Tenant ID.
3457
3333
  * @param body (optional) Render model with preview parameters.
3458
3334
  * @return Success
3459
3335
  */
@@ -3578,7 +3454,7 @@
3578
3454
  * Returns a 3D-Mockup attributes.
3579
3455
  * @param id 3D-Mockup identifier.
3580
3456
  * @param ownerId (optional) Private mockup owner identifier.
3581
- * @param tenantId (optional) Tenant identifier
3457
+ * @param tenantId (optional) Tenant ID.
3582
3458
  * @return Success
3583
3459
  */
3584
3460
  DesignAtomsMockups3dApiClient.prototype.getAttributes = function (id, ownerId, tenantId) {
@@ -3682,7 +3558,7 @@
3682
3558
  * Returns a 3D-Mockup content as protobuf binary stream.
3683
3559
  * @param id 3D-Mockup identifier.
3684
3560
  * @param ownerId (optional) Private mockup owner identifier.
3685
- * @param tenantId (optional) Tenant identifier
3561
+ * @param tenantId (optional) Tenant ID.
3686
3562
  * @return Success
3687
3563
  */
3688
3564
  DesignAtomsMockups3dApiClient.prototype.getContentAsProtobuf = function (id, ownerId, tenantId) {
@@ -3785,7 +3661,7 @@
3785
3661
  * Returns a 3D-Mockup geometry as binary stream.
3786
3662
  * @param id 3D-Mockup identifier.
3787
3663
  * @param ownerId (optional) Private mockup owner identifier.
3788
- * @param tenantId (optional) Tenant identifier
3664
+ * @param tenantId (optional) Tenant ID.
3789
3665
  * @return Success
3790
3666
  */
3791
3667
  DesignAtomsMockups3dApiClient.prototype.getGeometryFile = function (id, ownerId, tenantId) {
@@ -3909,7 +3785,7 @@
3909
3785
  /**
3910
3786
  * Returns a closest color to provided color in a specified palette.
3911
3787
  * @param paletteUID (optional) Palette UID.
3912
- * @param tenantId (optional) Tenant identifier
3788
+ * @param tenantId (optional) Tenant ID.
3913
3789
  * @param body (optional) Source color.
3914
3790
  * @return Success
3915
3791
  */
@@ -4021,7 +3897,7 @@
4021
3897
  * Returns a serialized palette model by its identifier or UID.
4022
3898
  * @param id (optional) Palette identifier.
4023
3899
  * @param uid (optional) Palette UID.
4024
- * @param tenantId (optional) Tenant identifier
3900
+ * @param tenantId (optional) Tenant ID.
4025
3901
  * @return Success
4026
3902
  */
4027
3903
  DesignAtomsPalettesApiClient.prototype.getPaletteModel = function (id, uid, tenantId) {
@@ -4153,7 +4029,7 @@
4153
4029
  * Patches a print-product of the specified design file.
4154
4030
  * @param id Design identifier.
4155
4031
  * @param privateStorageOwner (optional) Private storage owner identifier.
4156
- * @param tenantId (optional) Tenant identifier
4032
+ * @param tenantId (optional) Tenant ID.
4157
4033
  * @param patchType (optional)
4158
4034
  * @param replaceImageItemFileInfo_itemName (optional)
4159
4035
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -4176,9 +4052,7 @@
4176
4052
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
4177
4053
  url_ = url_.replace(/[?&]$/, "");
4178
4054
  var content_ = new FormData();
4179
- if (patchType === null || patchType === undefined)
4180
- throw new Error("The parameter 'patchType' cannot be null.");
4181
- else
4055
+ if (patchType !== null && patchType !== undefined)
4182
4056
  content_.append("patchType", patchType.toString());
4183
4057
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
4184
4058
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -4186,9 +4060,7 @@
4186
4060
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
4187
4061
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
4188
4062
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
4189
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
4190
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
4191
- else
4063
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
4192
4064
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
4193
4065
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
4194
4066
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -4271,7 +4143,7 @@
4271
4143
  * @param id Design identifier.
4272
4144
  * @param surfaceId (optional) Print-product surface identifier.
4273
4145
  * @param privateStorageOwner (optional) Private storage owner identifier.
4274
- * @param tenantId (optional) Tenant identifier
4146
+ * @param tenantId (optional) Tenant ID.
4275
4147
  * @return Success
4276
4148
  */
4277
4149
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceContainers = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -4349,6 +4221,13 @@
4349
4221
  return throwException("Not Found", status, _responseText, _headers, result404);
4350
4222
  }));
4351
4223
  }
4224
+ else if (status === 409) {
4225
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4226
+ var result409 = null;
4227
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4228
+ return throwException("Conflict", status, _responseText, _headers, result409);
4229
+ }));
4230
+ }
4352
4231
  else if (status === 401) {
4353
4232
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4354
4233
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4371,7 +4250,7 @@
4371
4250
  * @param id Design identifier.
4372
4251
  * @param containerId Print-product container identifier.
4373
4252
  * @param privateStorageOwner (optional) Private storage owner identifier.
4374
- * @param tenantId (optional) Tenant identifier
4253
+ * @param tenantId (optional) Tenant ID.
4375
4254
  * @return No Content
4376
4255
  */
4377
4256
  DesignAtomsPrintProductApiClient.prototype.deleteDesignSurfaceContainer = function (id, containerId, privateStorageOwner, tenantId) {
@@ -4475,7 +4354,7 @@
4475
4354
  * @param id Design identifier.
4476
4355
  * @param containerId Print-product container identifier.
4477
4356
  * @param privateStorageOwner (optional) Private storage owner identifier.
4478
- * @param tenantId (optional) Tenant identifier
4357
+ * @param tenantId (optional) Tenant ID.
4479
4358
  * @return Success
4480
4359
  */
4481
4360
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceContainerModel = function (id, containerId, privateStorageOwner, tenantId) {
@@ -4583,7 +4462,7 @@
4583
4462
  * @param id Design identifier.
4584
4463
  * @param containerId Print-product container identifier.
4585
4464
  * @param privateStorageOwner (optional) Private storage owner identifier.
4586
- * @param tenantId (optional) Tenant identifier
4465
+ * @param tenantId (optional) Tenant ID.
4587
4466
  * @param body (optional) Json-serialized model of a print-product container.
4588
4467
  * @return Success
4589
4468
  */
@@ -4706,7 +4585,7 @@
4706
4585
  * @param top (optional) Y axis position.
4707
4586
  * @param left (optional) X axis position.
4708
4587
  * @param privateStorageOwner (optional) Private storage owner identifier.
4709
- * @param tenantId (optional) Tenant identifier
4588
+ * @param tenantId (optional) Tenant ID.
4710
4589
  * @param body (optional) Json-serialized model of a new print-product container.
4711
4590
  * @return Success
4712
4591
  */
@@ -4805,6 +4684,13 @@
4805
4684
  return throwException("Not Found", status, _responseText, _headers, result404);
4806
4685
  }));
4807
4686
  }
4687
+ else if (status === 409) {
4688
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4689
+ var result409 = null;
4690
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
4691
+ return throwException("Conflict", status, _responseText, _headers, result409);
4692
+ }));
4693
+ }
4808
4694
  else if (status === 401) {
4809
4695
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
4810
4696
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -4829,7 +4715,7 @@
4829
4715
  * @param containerId (optional) Print-product container identifier.
4830
4716
  * @param parentItemId (optional) Print-product item identifier.
4831
4717
  * @param privateStorageOwner (optional) Private storage owner identifier.
4832
- * @param tenantId (optional) Tenant identifier
4718
+ * @param tenantId (optional) Tenant ID.
4833
4719
  * @return Success
4834
4720
  */
4835
4721
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceItems = function (id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId) {
@@ -4933,7 +4819,7 @@
4933
4819
  * @param id Design identifier.
4934
4820
  * @param itemId Print-product item identifier.
4935
4821
  * @param privateStorageOwner (optional) Private storage owner identifier.
4936
- * @param tenantId (optional) Tenant identifier
4822
+ * @param tenantId (optional) Tenant ID.
4937
4823
  * @return No Content
4938
4824
  */
4939
4825
  DesignAtomsPrintProductApiClient.prototype.deleteDesignSurfaceItem = function (id, itemId, privateStorageOwner, tenantId) {
@@ -5037,7 +4923,7 @@
5037
4923
  * @param id Design identifier.
5038
4924
  * @param itemId Print-product item identifier.
5039
4925
  * @param privateStorageOwner (optional) Private storage owner identifier.
5040
- * @param tenantId (optional) Tenant identifier
4926
+ * @param tenantId (optional) Tenant ID.
5041
4927
  * @return Success
5042
4928
  */
5043
4929
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceItemModel = function (id, itemId, privateStorageOwner, tenantId) {
@@ -5145,7 +5031,7 @@
5145
5031
  * @param id Design identifier.
5146
5032
  * @param itemId Print-product item identifier.
5147
5033
  * @param privateStorageOwner (optional) Private storage owner identifier.
5148
- * @param tenantId (optional) Tenant identifier
5034
+ * @param tenantId (optional) Tenant ID.
5149
5035
  * @param body (optional) Json-serialized model of a print-product item.
5150
5036
  * @return Success
5151
5037
  */
@@ -5268,7 +5154,7 @@
5268
5154
  * @param top (optional) Y axis position.
5269
5155
  * @param left (optional) X axis position.
5270
5156
  * @param privateStorageOwner (optional) Private storage owner identifier.
5271
- * @param tenantId (optional) Tenant identifier
5157
+ * @param tenantId (optional) Tenant ID.
5272
5158
  * @param body (optional) Json-serialized model of a new print-product item.
5273
5159
  * @return Success
5274
5160
  */
@@ -5367,6 +5253,13 @@
5367
5253
  return throwException("Not Found", status, _responseText, _headers, result404);
5368
5254
  }));
5369
5255
  }
5256
+ else if (status === 409) {
5257
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
5258
+ var result409 = null;
5259
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
5260
+ return throwException("Conflict", status, _responseText, _headers, result409);
5261
+ }));
5262
+ }
5370
5263
  else if (status === 401) {
5371
5264
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
5372
5265
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -5388,7 +5281,7 @@
5388
5281
  * Returns a print-product of the specified design file as a json-serialized model.
5389
5282
  * @param id Design identifier.
5390
5283
  * @param privateStorageOwner (optional) Private storage owner identifier.
5391
- * @param tenantId (optional) Tenant identifier
5284
+ * @param tenantId (optional) Tenant ID.
5392
5285
  * @return Success
5393
5286
  */
5394
5287
  DesignAtomsPrintProductApiClient.prototype.getDesignProductModel = function (id, privateStorageOwner, tenantId) {
@@ -5485,7 +5378,7 @@
5485
5378
  * Updates a print-product provided as a json-serialized model is the specified design file.
5486
5379
  * @param id Design identifier.
5487
5380
  * @param privateStorageOwner (optional) Private storage owner identifier.
5488
- * @param tenantId (optional) Tenant identifier
5381
+ * @param tenantId (optional) Tenant ID.
5489
5382
  * @param body (optional) Json-serialized model of a print-product .
5490
5383
  * @return No Content
5491
5384
  */
@@ -5584,7 +5477,7 @@
5584
5477
  * @param id Design identifier.
5585
5478
  * @param surfaceId (optional)
5586
5479
  * @param privateStorageOwner (optional) Private storage owner identifier.
5587
- * @param tenantId (optional) Tenant identifier
5480
+ * @param tenantId (optional) Tenant ID.
5588
5481
  * @return Success
5589
5482
  */
5590
5483
  DesignAtomsPrintProductApiClient.prototype.getDesignPrintAreas = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -5684,7 +5577,7 @@
5684
5577
  Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
5685
5578
  * @param id Design identifier.
5686
5579
  * @param privateStorageOwner (optional) Private storage owner identifier.
5687
- * @param tenantId (optional) Tenant identifier
5580
+ * @param tenantId (optional) Tenant ID.
5688
5581
  * @param body (optional) Print-area description model.
5689
5582
  * @return Success
5690
5583
  */
@@ -5771,6 +5664,13 @@
5771
5664
  return throwException("Not Found", status, _responseText, _headers, result404);
5772
5665
  }));
5773
5666
  }
5667
+ else if (status === 409) {
5668
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
5669
+ var result409 = null;
5670
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
5671
+ return throwException("Conflict", status, _responseText, _headers, result409);
5672
+ }));
5673
+ }
5774
5674
  else if (status === 401) {
5775
5675
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
5776
5676
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -5793,7 +5693,7 @@
5793
5693
  * @param id Design identifier.
5794
5694
  * @param printAreaId Design print-area identifier.
5795
5695
  * @param privateStorageOwner (optional) Private storage owner identifier.
5796
- * @param tenantId (optional) Tenant identifier
5696
+ * @param tenantId (optional) Tenant ID.
5797
5697
  * @param body (optional) Print-area description model.
5798
5698
  * @return Success
5799
5699
  */
@@ -5912,7 +5812,7 @@
5912
5812
  * @param id Design identifier.
5913
5813
  * @param printAreaId Design print-area identifier.
5914
5814
  * @param privateStorageOwner (optional) Private storage owner identifier.
5915
- * @param tenantId (optional) Tenant identifier
5815
+ * @param tenantId (optional) Tenant ID.
5916
5816
  * @return No Content
5917
5817
  */
5918
5818
  DesignAtomsPrintProductApiClient.prototype.deleteDesignPrintArea = function (id, printAreaId, privateStorageOwner, tenantId) {
@@ -6016,7 +5916,7 @@
6016
5916
  * @param id Design identifier.
6017
5917
  * @param printAreaId Design print-area identifier.
6018
5918
  * @param privateStorageOwner (optional) Private storage owner identifier.
6019
- * @param tenantId (optional) Tenant identifier
5919
+ * @param tenantId (optional) Tenant ID.
6020
5920
  * @return Success
6021
5921
  */
6022
5922
  DesignAtomsPrintProductApiClient.prototype.getDesignPrintAreaModel = function (id, printAreaId, privateStorageOwner, tenantId) {
@@ -6124,7 +6024,7 @@
6124
6024
  * @param id Design identifier.
6125
6025
  * @param printAreaId Design print-area identifier.
6126
6026
  * @param privateStorageOwner (optional) Private storage owner identifier.
6127
- * @param tenantId (optional) Tenant identifier
6027
+ * @param tenantId (optional) Tenant ID.
6128
6028
  * @param body (optional) Json-serialized model of a print-area.
6129
6029
  * @return Success
6130
6030
  */
@@ -6244,7 +6144,7 @@
6244
6144
  * @param id Design identifier.
6245
6145
  * @param surfaceId (optional) Parent surface identifier.
6246
6146
  * @param privateStorageOwner (optional) Private storage owner identifier.
6247
- * @param tenantId (optional) Tenant identifier
6147
+ * @param tenantId (optional) Tenant ID.
6248
6148
  * @param body (optional) Json serialized model of a print-area.
6249
6149
  * @return Success
6250
6150
  */
@@ -6333,6 +6233,13 @@
6333
6233
  return throwException("Not Found", status, _responseText, _headers, result404);
6334
6234
  }));
6335
6235
  }
6236
+ else if (status === 409) {
6237
+ return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
6238
+ var result409 = null;
6239
+ result409 = _responseText === "" ? null : JSON.parse(_responseText, _this.jsonParseReviver);
6240
+ return throwException("Conflict", status, _responseText, _headers, result409);
6241
+ }));
6242
+ }
6336
6243
  else if (status === 401) {
6337
6244
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
6338
6245
  return throwException("Unauthorized", status, _responseText, _headers);
@@ -6354,7 +6261,7 @@
6354
6261
  * Returns a list of print-product surfaces descriptions of the specified design file.
6355
6262
  * @param id Design identifier.
6356
6263
  * @param privateStorageOwner (optional) Private storage owner identifier.
6357
- * @param tenantId (optional) Tenant identifier
6264
+ * @param tenantId (optional) Tenant ID.
6358
6265
  * @return Success
6359
6266
  */
6360
6267
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaces = function (id, privateStorageOwner, tenantId) {
@@ -6452,7 +6359,7 @@
6452
6359
  * @param id Design identifier.
6453
6360
  * @param surfaceId Print-product surface identifier.
6454
6361
  * @param privateStorageOwner (optional) Private storage owner identifier.
6455
- * @param tenantId (optional) Tenant identifier
6362
+ * @param tenantId (optional) Tenant ID.
6456
6363
  * @return No Content
6457
6364
  */
6458
6365
  DesignAtomsPrintProductApiClient.prototype.deleteDesignSurface = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -6556,7 +6463,7 @@
6556
6463
  * @param id Design identifier.
6557
6464
  * @param surfaceId Print product surface identifier.
6558
6465
  * @param privateStorageOwner (optional) Private storage owner identifier.
6559
- * @param tenantId (optional) Tenant identifier
6466
+ * @param tenantId (optional) Tenant ID.
6560
6467
  * @return Success
6561
6468
  */
6562
6469
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceDownMockup = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -6671,7 +6578,7 @@
6671
6578
  * @param id Design identifier.
6672
6579
  * @param surfaceId Print-product surface identifier.
6673
6580
  * @param privateStorageOwner (optional) Private storage owner identifier.
6674
- * @param tenantId (optional) Tenant identifier
6581
+ * @param tenantId (optional) Tenant ID.
6675
6582
  * @param position_top (optional)
6676
6583
  * @param position_left (optional)
6677
6584
  * @param sourceFile (optional)
@@ -6801,7 +6708,7 @@
6801
6708
  * @param id Design identifier.
6802
6709
  * @param surfaceId Print-product surface identifier.
6803
6710
  * @param privateStorageOwner (optional) Private storage owner identifier.
6804
- * @param tenantId (optional) Tenant identifier
6711
+ * @param tenantId (optional) Tenant ID.
6805
6712
  * @return Success
6806
6713
  */
6807
6714
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceDownMockupContent = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -6915,7 +6822,7 @@
6915
6822
  * @param id Design identifier.
6916
6823
  * @param surfaceId Print-product surface identifier.
6917
6824
  * @param privateStorageOwner (optional) Private storage owner identifier.
6918
- * @param tenantId (optional) Tenant identifier
6825
+ * @param tenantId (optional) Tenant ID.
6919
6826
  * @return Success
6920
6827
  */
6921
6828
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceUpMockup = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -7030,7 +6937,7 @@
7030
6937
  * @param id Design identifier.
7031
6938
  * @param surfaceId Print-product surface identifier.
7032
6939
  * @param privateStorageOwner (optional) Private storage owner identifier.
7033
- * @param tenantId (optional) Tenant identifier
6940
+ * @param tenantId (optional) Tenant ID.
7034
6941
  * @param position_top (optional)
7035
6942
  * @param position_left (optional)
7036
6943
  * @param sourceFile (optional)
@@ -7160,7 +7067,7 @@
7160
7067
  * @param id Design identifier.
7161
7068
  * @param surfaceId Print-product surface identifier.
7162
7069
  * @param privateStorageOwner (optional) Private storage owner identifier.
7163
- * @param tenantId (optional) Tenant identifier
7070
+ * @param tenantId (optional) Tenant ID.
7164
7071
  * @return Success
7165
7072
  */
7166
7073
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceUpMockupContent = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -7274,7 +7181,7 @@
7274
7181
  * @param id Design identifier.
7275
7182
  * @param surfaceId Surface identifier.
7276
7183
  * @param privateStorageOwner (optional) Private storage owner identifier.
7277
- * @param tenantId (optional) Tenant identifier
7184
+ * @param tenantId (optional) Tenant ID.
7278
7185
  * @return Success
7279
7186
  */
7280
7187
  DesignAtomsPrintProductApiClient.prototype.getDesignSurfaceModel = function (id, surfaceId, privateStorageOwner, tenantId) {
@@ -7383,7 +7290,7 @@
7383
7290
  * @param id Design identifier.
7384
7291
  * @param surfaceId Print-product surface identifier.
7385
7292
  * @param privateStorageOwner (optional) Private storage owner identifier.
7386
- * @param tenantId (optional) Tenant identifier
7293
+ * @param tenantId (optional) Tenant ID.
7387
7294
  * @param body (optional) Json-serialized model of a print-product surface.
7388
7295
  * @return Success
7389
7296
  */
@@ -7503,7 +7410,7 @@
7503
7410
  * @param id Design identifier.
7504
7411
  * @param index (optional) Surface index within the surfaces list of a design.
7505
7412
  * @param privateStorageOwner (optional) Private storage owner identifier.
7506
- * @param tenantId (optional) Tenant identifier
7413
+ * @param tenantId (optional) Tenant ID.
7507
7414
  * @param body (optional) Json-serialized model of a print-prouduct surface.
7508
7415
  * @return Success
7509
7416
  */
@@ -7633,7 +7540,7 @@
7633
7540
  }
7634
7541
  /**
7635
7542
  * Apply effects to print-product item image.
7636
- * @param tenantId (optional) Tenant identifier
7543
+ * @param tenantId (optional) Tenant ID.
7637
7544
  * @param body (optional)
7638
7545
  * @return Success
7639
7546
  */
@@ -7720,7 +7627,7 @@
7720
7627
  };
7721
7628
  /**
7722
7629
  * Extracts print-product item image.
7723
- * @param tenantId (optional) Tenant identifier
7630
+ * @param tenantId (optional) Tenant ID.
7724
7631
  * @param body (optional) Extraction parameters.
7725
7632
  * @return Success
7726
7633
  */
@@ -7806,7 +7713,7 @@
7806
7713
  /**
7807
7714
  * Flattens print-product items.
7808
7715
  * @param paletteUID (optional)
7809
- * @param tenantId (optional) Tenant identifier
7716
+ * @param tenantId (optional) Tenant ID.
7810
7717
  * @param body (optional) List of print-product items to flatten.
7811
7718
  * @return Success
7812
7719
  */
@@ -7896,7 +7803,7 @@
7896
7803
  /**
7897
7804
  * Creates print-product item from input image file.
7898
7805
  * @param itemType (optional) Desired item type.
7899
- * @param tenantId (optional) Tenant identifier
7806
+ * @param tenantId (optional) Tenant ID.
7900
7807
  * @param sourceFile (optional)
7901
7808
  * @param paletteUID (optional)
7902
7809
  * @param preserveOriginalFile (optional)
@@ -8007,7 +7914,7 @@
8007
7914
  /**
8008
7915
  * Creates multiple print-product items from input image files.
8009
7916
  * @param itemType (optional) Desired print-product items type.
8010
- * @param tenantId (optional) Tenant identifier
7917
+ * @param tenantId (optional) Tenant ID.
8011
7918
  * @param sourceFiles (optional)
8012
7919
  * @param paletteUID (optional)
8013
7920
  * @param preserveOriginalFile (optional)
@@ -8118,7 +8025,7 @@
8118
8025
  /**
8119
8026
  * Creates print-product item from image file taken from storage.
8120
8027
  * @param itemType (optional) Desired item type.
8121
- * @param tenantId (optional) Tenant identifier
8028
+ * @param tenantId (optional) Tenant ID.
8122
8029
  * @param body (optional) Operation parameters.
8123
8030
  * @return Success
8124
8031
  */
@@ -8222,7 +8129,7 @@
8222
8129
  /**
8223
8130
  * Creates multiple print-product items from the specified image files in storage.
8224
8131
  * @param itemType (optional) Desired items type.
8225
- * @param tenantId (optional) Tenant identifier
8132
+ * @param tenantId (optional) Tenant ID.
8226
8133
  * @param body (optional) Operation parameters.
8227
8134
  * @return Success
8228
8135
  */
@@ -8326,7 +8233,7 @@
8326
8233
  /**
8327
8234
  * Creates print-product item from remote web image provided by URL.
8328
8235
  * @param itemType (optional) Desired item type.
8329
- * @param tenantId (optional) Tenant identifier
8236
+ * @param tenantId (optional) Tenant ID.
8330
8237
  * @param body (optional) Operation parameters.
8331
8238
  * @return Success
8332
8239
  */
@@ -8430,7 +8337,7 @@
8430
8337
  /**
8431
8338
  * Creates multiple print-product items from remote web images provided by URLs list.
8432
8339
  * @param itemType (optional) Desired items type.
8433
- * @param tenantId (optional) Tenant identifier
8340
+ * @param tenantId (optional) Tenant ID.
8434
8341
  * @param body (optional) Operation parameters.
8435
8342
  * @return Success
8436
8343
  */
@@ -8556,7 +8463,7 @@
8556
8463
  /**
8557
8464
  * Creates new design file with specified parameters and saves it in storage.
8558
8465
  * @param privateStorageOwner (optional) Private storage owner identifier.
8559
- * @param tenantId (optional) Tenant identifier
8466
+ * @param tenantId (optional) Tenant ID.
8560
8467
  * @param body (optional) Design creation parameters.
8561
8468
  * @return Created
8562
8469
  */
@@ -8654,7 +8561,7 @@
8654
8561
  * Applies item data for a specified design file taken from storage.
8655
8562
  * @param id Design identifier.
8656
8563
  * @param privateStorageOwner (optional) Private storage owner identifier.
8657
- * @param tenantId (optional) Tenant identifier
8564
+ * @param tenantId (optional) Tenant ID.
8658
8565
  * @param body (optional) Design items data.
8659
8566
  * @return Success
8660
8567
  */
@@ -8760,7 +8667,7 @@
8760
8667
  * @param id Design identifier.
8761
8668
  * @param surfaceIndex (optional) Surface index.
8762
8669
  * @param privateStorageOwner (optional) Private storage owner identifier.
8763
- * @param tenantId (optional) Tenant identifier
8670
+ * @param tenantId (optional) Tenant ID.
8764
8671
  * @return Success
8765
8672
  */
8766
8673
  DesignAtomsServiceApiClient.prototype.extractBackground = function (id, surfaceIndex, privateStorageOwner, tenantId) {
@@ -8865,7 +8772,7 @@
8865
8772
  * Sets specified editor-mockups for selected design surfaces.
8866
8773
  * @param id Design identifier.
8867
8774
  * @param privateStorageOwner (optional) Private storage owner identifier.
8868
- * @param tenantId (optional) Tenant identifier
8775
+ * @param tenantId (optional) Tenant ID.
8869
8776
  * @param body (optional) Operation parameters.
8870
8777
  * @return No Content
8871
8778
  */
@@ -8970,7 +8877,7 @@
8970
8877
  * Returns design parameters stored in product model.
8971
8878
  * @param id Design identifier.
8972
8879
  * @param privateStorageOwner (optional) Private storage owner identifier.
8973
- * @param tenantId (optional) Tenant identifier
8880
+ * @param tenantId (optional) Tenant ID.
8974
8881
  * @return Success
8975
8882
  */
8976
8883
  DesignAtomsServiceApiClient.prototype.getDesignParameters = function (id, privateStorageOwner, tenantId) {
@@ -9067,7 +8974,7 @@
9067
8974
  * Loads a data schema from design file taken from storage.
9068
8975
  * @param id Design identifier.
9069
8976
  * @param privateStorageOwner (optional) Private storage owner identifier.
9070
- * @param tenantId (optional) Tenant identifier
8977
+ * @param tenantId (optional) Tenant ID.
9071
8978
  * @return Success
9072
8979
  */
9073
8980
  DesignAtomsServiceApiClient.prototype.loadDataSchema = function (id, privateStorageOwner, tenantId) {
@@ -9170,7 +9077,7 @@
9170
9077
  * Loads a toggle set from design file taken from storage.
9171
9078
  * @param id Design identifier.
9172
9079
  * @param privateStorageOwner (optional) Private storage owner identifier.
9173
- * @param tenantId (optional) Tenant identifier
9080
+ * @param tenantId (optional) Tenant ID.
9174
9081
  * @return Success
9175
9082
  */
9176
9083
  DesignAtomsServiceApiClient.prototype.loadToggleSet = function (id, privateStorageOwner, tenantId) {
@@ -9273,7 +9180,7 @@
9273
9180
  * Returns variable items information for design file taken from storage.
9274
9181
  * @param id Design identifier.
9275
9182
  * @param privateStorageOwner (optional) Private storage owner identifier.
9276
- * @param tenantId (optional) Tenant identifier
9183
+ * @param tenantId (optional) Tenant ID.
9277
9184
  * @return Success
9278
9185
  */
9279
9186
  DesignAtomsServiceApiClient.prototype.getVariables = function (id, privateStorageOwner, tenantId) {
@@ -9370,7 +9277,7 @@
9370
9277
  * Saves variable items values for design file taken from storage.
9371
9278
  * @param id Design identifier.
9372
9279
  * @param privateStorageOwner (optional) Private storage owner identifier.
9373
- * @param tenantId (optional) Tenant identifier
9280
+ * @param tenantId (optional) Tenant ID.
9374
9281
  * @param body (optional) Design variable values.
9375
9282
  * @return Success
9376
9283
  */
@@ -9475,7 +9382,7 @@
9475
9382
  * Loads variable data printing information from design file taken from storage.
9476
9383
  * @param id Design identifier.
9477
9384
  * @param privateStorageOwner (optional) Private storage owner identifier.
9478
- * @param tenantId (optional) Tenant identifier
9385
+ * @param tenantId (optional) Tenant ID.
9479
9386
  * @return Success
9480
9387
  */
9481
9388
  DesignAtomsServiceApiClient.prototype.loadVdpData = function (id, privateStorageOwner, tenantId) {
@@ -9579,7 +9486,7 @@
9579
9486
  * Saves variable data printing information to design file and updates design in storage.
9580
9487
  * @param id Design identifier.
9581
9488
  * @param privateStorageOwner (optional) Private storage owner identifier.
9582
- * @param tenantId (optional) Tenant identifier
9489
+ * @param tenantId (optional) Tenant ID.
9583
9490
  * @param body (optional) Serialized vdp data.
9584
9491
  * @return Success
9585
9492
  */
@@ -9677,7 +9584,7 @@
9677
9584
  * Deletes variable data printing information from design file and updates design file in storage.
9678
9585
  * @param id Design identifier.
9679
9586
  * @param privateStorageOwner (optional) Private storage owner identifier.
9680
- * @param tenantId (optional) Tenant identifier
9587
+ * @param tenantId (optional) Tenant ID.
9681
9588
  * @return Success
9682
9589
  */
9683
9590
  DesignAtomsServiceApiClient.prototype.deleteVdpData = function (id, privateStorageOwner, tenantId) {
@@ -9768,7 +9675,7 @@
9768
9675
  };
9769
9676
  /**
9770
9677
  * Converts colors for print-product item manipulations.
9771
- * @param tenantId (optional) Tenant identifier
9678
+ * @param tenantId (optional) Tenant ID.
9772
9679
  * @param body (optional) Convert colors operation parameters.
9773
9680
  * @return Success
9774
9681
  */
@@ -9864,7 +9771,7 @@
9864
9771
  * Loads print-product from resource file taken from storage.
9865
9772
  * @param id (optional) Resource identifier.
9866
9773
  * @param privateStorageOwner (optional) Private storage owner identifier.
9867
- * @param tenantId (optional) Tenant identifier
9774
+ * @param tenantId (optional) Tenant ID.
9868
9775
  * @return Success
9869
9776
  */
9870
9777
  DesignAtomsServiceApiClient.prototype.loadProductFromResource = function (id, privateStorageOwner, tenantId) {
@@ -9967,7 +9874,7 @@
9967
9874
  * Renders a product proof image with specified parameters.
9968
9875
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
9969
9876
  (default value is 'false').
9970
- * @param tenantId (optional) Tenant identifier
9877
+ * @param tenantId (optional) Tenant ID.
9971
9878
  * @param body (optional) Preview parameters.
9972
9879
  * @return Success
9973
9880
  */
@@ -10056,7 +9963,7 @@
10056
9963
  * Renders a design preview with the specified parameters.
10057
9964
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
10058
9965
  (default value is 'false').
10059
- * @param tenantId (optional) Tenant identifier
9966
+ * @param tenantId (optional) Tenant ID.
10060
9967
  * @param body (optional) Render model with preview parameters.
10061
9968
  * @return Success
10062
9969
  */
@@ -10143,7 +10050,7 @@
10143
10050
  };
10144
10051
  /**
10145
10052
  * Renders a design preview with the specified parameters and saves rendering result as resource.
10146
- * @param tenantId (optional) Tenant identifier
10053
+ * @param tenantId (optional) Tenant ID.
10147
10054
  * @param body (optional) Render model with preview parameters.
10148
10055
  * @return Success
10149
10056
  */
@@ -10246,7 +10153,7 @@
10246
10153
  * Renders a design proof with the specified parameters.
10247
10154
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
10248
10155
  (default value is 'false').
10249
- * @param tenantId (optional) Tenant identifier
10156
+ * @param tenantId (optional) Tenant ID.
10250
10157
  * @param body (optional) Render model with proof parameters.
10251
10158
  * @return Success
10252
10159
  */
@@ -10341,7 +10248,7 @@
10341
10248
  };
10342
10249
  /**
10343
10250
  * Renders a design proof with the specified parameters and saves rendering result as resource.
10344
- * @param tenantId (optional) Tenant identifier
10251
+ * @param tenantId (optional) Tenant ID.
10345
10252
  * @param body (optional) Render model with preview parameters.
10346
10253
  * @return Success
10347
10254
  */
@@ -10437,7 +10344,7 @@
10437
10344
  * Loads print-product from design file taken from storage.
10438
10345
  * @param id Design identifier.
10439
10346
  * @param privateStorageOwner (optional) Private storage owner identifier.
10440
- * @param tenantId (optional) Tenant identifier
10347
+ * @param tenantId (optional) Tenant ID.
10441
10348
  * @return Success
10442
10349
  * @deprecated
10443
10350
  */
@@ -10535,7 +10442,7 @@
10535
10442
  * Saves print-product to design file and updates design file in storage.
10536
10443
  * @param id Design identifier.
10537
10444
  * @param privateStorageOwner (optional) Private storage owner identifier.
10538
- * @param tenantId (optional) Tenant identifier
10445
+ * @param tenantId (optional) Tenant ID.
10539
10446
  * @param body (optional) Serialized product description.
10540
10447
  * @return Success
10541
10448
  * @deprecated
@@ -10634,7 +10541,7 @@
10634
10541
  * Patches print-product in design file.
10635
10542
  * @param id Design identifier.
10636
10543
  * @param privateStorageOwner (optional) Private storage owner identifier.
10637
- * @param tenantId (optional) Tenant identifier
10544
+ * @param tenantId (optional) Tenant ID.
10638
10545
  * @param patchType (optional)
10639
10546
  * @param replaceImageItemFileInfo_itemName (optional)
10640
10547
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -10658,9 +10565,7 @@
10658
10565
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
10659
10566
  url_ = url_.replace(/[?&]$/, "");
10660
10567
  var content_ = new FormData();
10661
- if (patchType === null || patchType === undefined)
10662
- throw new Error("The parameter 'patchType' cannot be null.");
10663
- else
10568
+ if (patchType !== null && patchType !== undefined)
10664
10569
  content_.append("patchType", patchType.toString());
10665
10570
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
10666
10571
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -10668,9 +10573,7 @@
10668
10573
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
10669
10574
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
10670
10575
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
10671
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
10672
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
10673
- else
10576
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
10674
10577
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
10675
10578
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
10676
10579
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -10751,7 +10654,7 @@
10751
10654
  /**
10752
10655
  * Creates print-product item.
10753
10656
  * @param itemType (optional) Desired item type.
10754
- * @param tenantId (optional) Tenant identifier
10657
+ * @param tenantId (optional) Tenant ID.
10755
10658
  * @param sourceType (optional)
10756
10659
  * @param sourceId (optional)
10757
10660
  * @param sourceOwnerId (optional)
@@ -10861,7 +10764,7 @@
10861
10764
  };
10862
10765
  /**
10863
10766
  * Extracts print-product item image.
10864
- * @param tenantId (optional) Tenant identifier
10767
+ * @param tenantId (optional) Tenant ID.
10865
10768
  * @param body (optional) Extraction parameters.
10866
10769
  * @return Success
10867
10770
  * @deprecated
@@ -10947,7 +10850,7 @@
10947
10850
  };
10948
10851
  /**
10949
10852
  * Flattens print-product items.
10950
- * @param tenantId (optional) Tenant identifier
10853
+ * @param tenantId (optional) Tenant ID.
10951
10854
  * @param body (optional) Items to flatten.
10952
10855
  * @return Success
10953
10856
  * @deprecated
@@ -11038,7 +10941,7 @@
11038
10941
  * @param designId (optional) Public design identifier.
11039
10942
  * @param privateDesignId (optional) Private design identifier.
11040
10943
  * @param privateStorageOwner (optional) Private storage owner identifier.
11041
- * @param tenantId (optional) Tenant identifier
10944
+ * @param tenantId (optional) Tenant ID.
11042
10945
  * @return Created
11043
10946
  * @deprecated
11044
10947
  */
@@ -11126,11 +11029,11 @@
11126
11029
  * @param resourceId (optional) Resource identifier.
11127
11030
  * @param privateDesignId (optional) Private design identifier.
11128
11031
  * @param privateStorageOwner (optional) Private storage owner identifier.
11129
- * @param tenantId (optional) Tenant identifier.
11032
+ * @param tenantIdQuery (optional) Tenant identifier.
11130
11033
  * @return Created
11131
11034
  * @deprecated
11132
11035
  */
11133
- DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantId) {
11036
+ DesignAtomsServiceApiClient.prototype.createPrivateDesignFromResource = function (resourceId, privateDesignId, privateStorageOwner, tenantIdQuery) {
11134
11037
  var _this = this;
11135
11038
  var url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
11136
11039
  if (resourceId !== undefined && resourceId !== null)
@@ -11139,10 +11042,10 @@
11139
11042
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
11140
11043
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
11141
11044
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
11142
- if (tenantId === null)
11143
- throw new Error("The parameter 'tenantId' cannot be null.");
11144
- else if (tenantId !== undefined)
11145
- url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
11045
+ if (tenantIdQuery === null)
11046
+ throw new Error("The parameter 'tenantIdQuery' cannot be null.");
11047
+ else if (tenantIdQuery !== undefined)
11048
+ url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
11146
11049
  url_ = url_.replace(/[?&]$/, "");
11147
11050
  var options_ = {
11148
11051
  observe: "response",
@@ -11232,7 +11135,7 @@
11232
11135
  return _this;
11233
11136
  }
11234
11137
  /**
11235
- * @param tenantId (optional) Tenant identifier
11138
+ * @param tenantId (optional) Tenant ID.
11236
11139
  * @param body (optional)
11237
11140
  * @return Success
11238
11141
  */
@@ -11305,11 +11208,6 @@
11305
11208
  return throwException("Unauthorized", status, _responseText, _headers);
11306
11209
  }));
11307
11210
  }
11308
- else if (status === 403) {
11309
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11310
- return throwException("Forbidden", status, _responseText, _headers);
11311
- }));
11312
- }
11313
11211
  else if (status !== 200 && status !== 204) {
11314
11212
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11315
11213
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11318,7 +11216,7 @@
11318
11216
  return rxjs.of(null);
11319
11217
  };
11320
11218
  /**
11321
- * @param tenantId (optional) Tenant identifier
11219
+ * @param tenantId (optional) Tenant ID.
11322
11220
  * @return Success
11323
11221
  */
11324
11222
  DesignAtomsViewerApiClient.prototype.fonts = function (psName, tenantId) {
@@ -11396,11 +11294,6 @@
11396
11294
  return throwException("Unauthorized", status, _responseText, _headers);
11397
11295
  }));
11398
11296
  }
11399
- else if (status === 403) {
11400
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11401
- return throwException("Forbidden", status, _responseText, _headers);
11402
- }));
11403
- }
11404
11297
  else if (status !== 200 && status !== 204) {
11405
11298
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11406
11299
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11409,7 +11302,7 @@
11409
11302
  return rxjs.of(null);
11410
11303
  };
11411
11304
  /**
11412
- * @param tenantId (optional) Tenant identifier
11305
+ * @param tenantId (optional) Tenant ID.
11413
11306
  * @param body (optional)
11414
11307
  * @return Success
11415
11308
  */
@@ -11489,11 +11382,6 @@
11489
11382
  return throwException("Unauthorized", status, _responseText, _headers);
11490
11383
  }));
11491
11384
  }
11492
- else if (status === 403) {
11493
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11494
- return throwException("Forbidden", status, _responseText, _headers);
11495
- }));
11496
- }
11497
11385
  else if (status !== 200 && status !== 204) {
11498
11386
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11499
11387
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11502,7 +11390,7 @@
11502
11390
  return rxjs.of(null);
11503
11391
  };
11504
11392
  /**
11505
- * @param tenantId (optional) Tenant identifier
11393
+ * @param tenantId (optional) Tenant ID.
11506
11394
  * @param body (optional)
11507
11395
  * @return Success
11508
11396
  */
@@ -11582,11 +11470,6 @@
11582
11470
  return throwException("Unauthorized", status, _responseText, _headers);
11583
11471
  }));
11584
11472
  }
11585
- else if (status === 403) {
11586
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11587
- return throwException("Forbidden", status, _responseText, _headers);
11588
- }));
11589
- }
11590
11473
  else if (status !== 200 && status !== 204) {
11591
11474
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11592
11475
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11596,7 +11479,7 @@
11596
11479
  };
11597
11480
  /**
11598
11481
  * @param fontKey (optional)
11599
- * @param tenantId (optional) Tenant identifier
11482
+ * @param tenantId (optional) Tenant ID.
11600
11483
  * @return Success
11601
11484
  */
11602
11485
  DesignAtomsViewerApiClient.prototype.getCssFont = function (fontKey, tenantId) {
@@ -11673,11 +11556,6 @@
11673
11556
  return throwException("Unauthorized", status, _responseText, _headers);
11674
11557
  }));
11675
11558
  }
11676
- else if (status === 403) {
11677
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11678
- return throwException("Forbidden", status, _responseText, _headers);
11679
- }));
11680
- }
11681
11559
  else if (status !== 200 && status !== 204) {
11682
11560
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11683
11561
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11686,7 +11564,7 @@
11686
11564
  return rxjs.of(null);
11687
11565
  };
11688
11566
  /**
11689
- * @param tenantId (optional) Tenant identifier
11567
+ * @param tenantId (optional) Tenant ID.
11690
11568
  * @return Success
11691
11569
  */
11692
11570
  DesignAtomsViewerApiClient.prototype.getFallbackFonts = function (tenantId) {
@@ -11755,11 +11633,6 @@
11755
11633
  return throwException("Unauthorized", status, _responseText, _headers);
11756
11634
  }));
11757
11635
  }
11758
- else if (status === 403) {
11759
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11760
- return throwException("Forbidden", status, _responseText, _headers);
11761
- }));
11762
- }
11763
11636
  else if (status !== 200 && status !== 204) {
11764
11637
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11765
11638
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11768,7 +11641,7 @@
11768
11641
  return rxjs.of(null);
11769
11642
  };
11770
11643
  /**
11771
- * @param tenantId (optional) Tenant identifier
11644
+ * @param tenantId (optional) Tenant ID.
11772
11645
  * @param body (optional)
11773
11646
  * @return Success
11774
11647
  */
@@ -11841,11 +11714,6 @@
11841
11714
  return throwException("Unauthorized", status, _responseText, _headers);
11842
11715
  }));
11843
11716
  }
11844
- else if (status === 403) {
11845
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11846
- return throwException("Forbidden", status, _responseText, _headers);
11847
- }));
11848
- }
11849
11717
  else if (status !== 200 && status !== 204) {
11850
11718
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11851
11719
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11854,7 +11722,7 @@
11854
11722
  return rxjs.of(null);
11855
11723
  };
11856
11724
  /**
11857
- * @param tenantId (optional) Tenant identifier
11725
+ * @param tenantId (optional) Tenant ID.
11858
11726
  * @param body (optional)
11859
11727
  * @return Success
11860
11728
  */
@@ -11927,11 +11795,6 @@
11927
11795
  return throwException("Unauthorized", status, _responseText, _headers);
11928
11796
  }));
11929
11797
  }
11930
- else if (status === 403) {
11931
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11932
- return throwException("Forbidden", status, _responseText, _headers);
11933
- }));
11934
- }
11935
11798
  else if (status !== 200 && status !== 204) {
11936
11799
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
11937
11800
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11940,7 +11803,7 @@
11940
11803
  return rxjs.of(null);
11941
11804
  };
11942
11805
  /**
11943
- * @param tenantId (optional) Tenant identifier
11806
+ * @param tenantId (optional) Tenant ID.
11944
11807
  * @param body (optional)
11945
11808
  * @return Success
11946
11809
  */
@@ -12013,11 +11876,6 @@
12013
11876
  return throwException("Unauthorized", status, _responseText, _headers);
12014
11877
  }));
12015
11878
  }
12016
- else if (status === 403) {
12017
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12018
- return throwException("Forbidden", status, _responseText, _headers);
12019
- }));
12020
- }
12021
11879
  else if (status !== 200 && status !== 204) {
12022
11880
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12023
11881
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12026,25 +11884,29 @@
12026
11884
  return rxjs.of(null);
12027
11885
  };
12028
11886
  /**
12029
- * @param f (optional)
12030
- * @param w (optional)
12031
- * @param h (optional)
12032
- * @param cmyk (optional)
12033
- * @param rgb (optional)
12034
- * @param grayscale (optional)
12035
- * @param target (optional)
12036
- * @param sq (optional)
12037
- * @param effect (optional)
12038
- * @param kp (optional)
12039
- * @param color (optional)
12040
- * @param obm (optional)
12041
- * @param oo (optional)
12042
- * @param alphaMask (optional)
12043
- * @param page (optional)
12044
- * @param colorizeColor (optional)
12045
- * @param rw (optional)
12046
- * @param rh (optional)
12047
- * @param tenantId (optional) Tenant identifier
11887
+ * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
11888
+ This method accepts query parameters that control the output of the image.
11889
+ * @param f (optional) The identifier of the original image file.
11890
+ * @param w (optional) Target width of the resulting image.
11891
+ * @param h (optional) Target height of the resulting image.
11892
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
11893
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
11894
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
11895
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
11896
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
11897
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
11898
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
11899
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
11900
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
11901
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
11902
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
11903
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
11904
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
11905
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
11906
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
11907
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
11908
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
11909
+ * @param tenantId (optional) Tenant ID.
12048
11910
  * @return Success
12049
11911
  */
12050
11912
  DesignAtomsViewerApiClient.prototype.img = function (f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
@@ -12160,11 +12022,6 @@
12160
12022
  return throwException("Unauthorized", status, _responseText, _headers);
12161
12023
  }));
12162
12024
  }
12163
- else if (status === 403) {
12164
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12165
- return throwException("Forbidden", status, _responseText, _headers);
12166
- }));
12167
- }
12168
12025
  else if (status !== 200 && status !== 204) {
12169
12026
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12170
12027
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12173,7 +12030,7 @@
12173
12030
  return rxjs.of(null);
12174
12031
  };
12175
12032
  /**
12176
- * @param tenantId (optional) Tenant identifier
12033
+ * @param tenantId (optional) Tenant ID.
12177
12034
  * @return Success
12178
12035
  */
12179
12036
  DesignAtomsViewerApiClient.prototype.getLicense = function (tenantId) {
@@ -12242,11 +12099,6 @@
12242
12099
  return throwException("Unauthorized", status, _responseText, _headers);
12243
12100
  }));
12244
12101
  }
12245
- else if (status === 403) {
12246
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12247
- return throwException("Forbidden", status, _responseText, _headers);
12248
- }));
12249
- }
12250
12102
  else if (status !== 200 && status !== 204) {
12251
12103
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12252
12104
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12256,7 +12108,7 @@
12256
12108
  };
12257
12109
  /**
12258
12110
  * @param f (optional)
12259
- * @param tenantId (optional) Tenant identifier
12111
+ * @param tenantId (optional) Tenant ID.
12260
12112
  * @return Success
12261
12113
  */
12262
12114
  DesignAtomsViewerApiClient.prototype.pth = function (f, tenantId) {
@@ -12338,11 +12190,6 @@
12338
12190
  return throwException("Unauthorized", status, _responseText, _headers);
12339
12191
  }));
12340
12192
  }
12341
- else if (status === 403) {
12342
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12343
- return throwException("Forbidden", status, _responseText, _headers);
12344
- }));
12345
- }
12346
12193
  else if (status !== 200 && status !== 204) {
12347
12194
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12348
12195
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12352,7 +12199,7 @@
12352
12199
  };
12353
12200
  /**
12354
12201
  * @param image (optional)
12355
- * @param tenantId (optional) Tenant identifier
12202
+ * @param tenantId (optional) Tenant ID.
12356
12203
  * @return Success
12357
12204
  */
12358
12205
  DesignAtomsViewerApiClient.prototype.resource = function (image, tenantId) {
@@ -12429,11 +12276,6 @@
12429
12276
  return throwException("Unauthorized", status, _responseText, _headers);
12430
12277
  }));
12431
12278
  }
12432
- else if (status === 403) {
12433
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12434
- return throwException("Forbidden", status, _responseText, _headers);
12435
- }));
12436
- }
12437
12279
  else if (status !== 200 && status !== 204) {
12438
12280
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12439
12281
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12442,25 +12284,27 @@
12442
12284
  return rxjs.of(null);
12443
12285
  };
12444
12286
  /**
12445
- * @param f (optional)
12446
- * @param w (optional)
12447
- * @param h (optional)
12448
- * @param cmyk (optional)
12449
- * @param rgb (optional)
12450
- * @param grayscale (optional)
12451
- * @param target (optional)
12452
- * @param sq (optional)
12453
- * @param effect (optional)
12454
- * @param kp (optional)
12455
- * @param color (optional)
12456
- * @param obm (optional)
12457
- * @param oo (optional)
12458
- * @param alphaMask (optional)
12459
- * @param page (optional)
12460
- * @param colorizeColor (optional)
12461
- * @param rw (optional)
12462
- * @param rh (optional)
12463
- * @param tenantId (optional) Tenant identifier
12287
+ * @param f (optional) The identifier of the original image file.
12288
+ * @param w (optional) Target width of the resulting image.
12289
+ * @param h (optional) Target height of the resulting image.
12290
+ * @param cmyk (optional) Name of the CMYK profile used for color conversion.
12291
+ * @param rgb (optional) Name of the RGB profile used for color conversion.
12292
+ * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
12293
+ * @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
12294
+ * @param sq (optional) Indicates that the image is squared. The default value is `false`.
12295
+ * @param effect (optional) Effect applied to the image. The default value is `"None"`.
12296
+ Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
12297
+ * @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
12298
+ * @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
12299
+ * @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
12300
+ Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
12301
+ * @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
12302
+ * @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
12303
+ * @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
12304
+ * @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
12305
+ * @param rw (optional) Rectangle width for area selection. The default value is `0`.
12306
+ * @param rh (optional) Rectangle height for area selection. The default value is `0`.
12307
+ * @param tenantId (optional) Tenant ID.
12464
12308
  * @return Success
12465
12309
  */
12466
12310
  DesignAtomsViewerApiClient.prototype.svg = function (f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
@@ -12576,11 +12420,6 @@
12576
12420
  return throwException("Unauthorized", status, _responseText, _headers);
12577
12421
  }));
12578
12422
  }
12579
- else if (status === 403) {
12580
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12581
- return throwException("Forbidden", status, _responseText, _headers);
12582
- }));
12583
- }
12584
12423
  else if (status !== 200 && status !== 204) {
12585
12424
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12586
12425
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12590,7 +12429,7 @@
12590
12429
  };
12591
12430
  /**
12592
12431
  * @param f (optional)
12593
- * @param tenantId (optional) Tenant identifier
12432
+ * @param tenantId (optional) Tenant ID.
12594
12433
  * @return Success
12595
12434
  */
12596
12435
  DesignAtomsViewerApiClient.prototype.txt = function (f, tenantId) {
@@ -12672,11 +12511,6 @@
12672
12511
  return throwException("Unauthorized", status, _responseText, _headers);
12673
12512
  }));
12674
12513
  }
12675
- else if (status === 403) {
12676
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12677
- return throwException("Forbidden", status, _responseText, _headers);
12678
- }));
12679
- }
12680
12514
  else if (status !== 200 && status !== 204) {
12681
12515
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12682
12516
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12685,7 +12519,7 @@
12685
12519
  return rxjs.of(null);
12686
12520
  };
12687
12521
  /**
12688
- * @param tenantId (optional) Tenant identifier
12522
+ * @param tenantId (optional) Tenant ID.
12689
12523
  * @param body (optional)
12690
12524
  * @return Success
12691
12525
  */
@@ -12758,11 +12592,6 @@
12758
12592
  return throwException("Unauthorized", status, _responseText, _headers);
12759
12593
  }));
12760
12594
  }
12761
- else if (status === 403) {
12762
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12763
- return throwException("Forbidden", status, _responseText, _headers);
12764
- }));
12765
- }
12766
12595
  else if (status !== 200 && status !== 204) {
12767
12596
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12768
12597
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12771,7 +12600,7 @@
12771
12600
  return rxjs.of(null);
12772
12601
  };
12773
12602
  /**
12774
- * @param tenantId (optional) Tenant identifier
12603
+ * @param tenantId (optional) Tenant ID.
12775
12604
  * @param body (optional)
12776
12605
  * @return Success
12777
12606
  */
@@ -12844,11 +12673,6 @@
12844
12673
  return throwException("Unauthorized", status, _responseText, _headers);
12845
12674
  }));
12846
12675
  }
12847
- else if (status === 403) {
12848
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12849
- return throwException("Forbidden", status, _responseText, _headers);
12850
- }));
12851
- }
12852
12676
  else if (status !== 200 && status !== 204) {
12853
12677
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12854
12678
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12857,7 +12681,7 @@
12857
12681
  return rxjs.of(null);
12858
12682
  };
12859
12683
  /**
12860
- * @param tenantId (optional) Tenant identifier
12684
+ * @param tenantId (optional) Tenant ID.
12861
12685
  * @param body (optional)
12862
12686
  * @return Success
12863
12687
  */
@@ -12930,11 +12754,6 @@
12930
12754
  return throwException("Unauthorized", status, _responseText, _headers);
12931
12755
  }));
12932
12756
  }
12933
- else if (status === 403) {
12934
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12935
- return throwException("Forbidden", status, _responseText, _headers);
12936
- }));
12937
- }
12938
12757
  else if (status !== 200 && status !== 204) {
12939
12758
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
12940
12759
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -12943,7 +12762,7 @@
12943
12762
  return rxjs.of(null);
12944
12763
  };
12945
12764
  /**
12946
- * @param tenantId (optional) Tenant identifier
12765
+ * @param tenantId (optional) Tenant ID.
12947
12766
  * @param body (optional)
12948
12767
  * @return Success
12949
12768
  */
@@ -13016,11 +12835,6 @@
13016
12835
  return throwException("Unauthorized", status, _responseText, _headers);
13017
12836
  }));
13018
12837
  }
13019
- else if (status === 403) {
13020
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13021
- return throwException("Forbidden", status, _responseText, _headers);
13022
- }));
13023
- }
13024
12838
  else if (status !== 200 && status !== 204) {
13025
12839
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13026
12840
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13029,7 +12843,7 @@
13029
12843
  return rxjs.of(null);
13030
12844
  };
13031
12845
  /**
13032
- * @param tenantId (optional) Tenant identifier
12846
+ * @param tenantId (optional) Tenant ID.
13033
12847
  * @param body (optional)
13034
12848
  * @return Success
13035
12849
  */
@@ -13102,11 +12916,6 @@
13102
12916
  return throwException("Unauthorized", status, _responseText, _headers);
13103
12917
  }));
13104
12918
  }
13105
- else if (status === 403) {
13106
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13107
- return throwException("Forbidden", status, _responseText, _headers);
13108
- }));
13109
- }
13110
12919
  else if (status !== 200 && status !== 204) {
13111
12920
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13112
12921
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13115,7 +12924,7 @@
13115
12924
  return rxjs.of(null);
13116
12925
  };
13117
12926
  /**
13118
- * @param tenantId (optional) Tenant identifier
12927
+ * @param tenantId (optional) Tenant ID.
13119
12928
  * @param body (optional)
13120
12929
  * @return Success
13121
12930
  */
@@ -13188,11 +12997,6 @@
13188
12997
  return throwException("Unauthorized", status, _responseText, _headers);
13189
12998
  }));
13190
12999
  }
13191
- else if (status === 403) {
13192
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13193
- return throwException("Forbidden", status, _responseText, _headers);
13194
- }));
13195
- }
13196
13000
  else if (status !== 200 && status !== 204) {
13197
13001
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13198
13002
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13201,7 +13005,7 @@
13201
13005
  return rxjs.of(null);
13202
13006
  };
13203
13007
  /**
13204
- * @param tenantId (optional) Tenant identifier
13008
+ * @param tenantId (optional) Tenant ID.
13205
13009
  * @param body (optional)
13206
13010
  * @return Success
13207
13011
  */
@@ -13274,11 +13078,6 @@
13274
13078
  return throwException("Unauthorized", status, _responseText, _headers);
13275
13079
  }));
13276
13080
  }
13277
- else if (status === 403) {
13278
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13279
- return throwException("Forbidden", status, _responseText, _headers);
13280
- }));
13281
- }
13282
13081
  else if (status !== 200 && status !== 204) {
13283
13082
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13284
13083
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13287,7 +13086,7 @@
13287
13086
  return rxjs.of(null);
13288
13087
  };
13289
13088
  /**
13290
- * @param tenantId (optional) Tenant identifier
13089
+ * @param tenantId (optional) Tenant ID.
13291
13090
  * @param body (optional)
13292
13091
  * @return Success
13293
13092
  */
@@ -13360,11 +13159,6 @@
13360
13159
  return throwException("Unauthorized", status, _responseText, _headers);
13361
13160
  }));
13362
13161
  }
13363
- else if (status === 403) {
13364
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13365
- return throwException("Forbidden", status, _responseText, _headers);
13366
- }));
13367
- }
13368
13162
  else if (status !== 200 && status !== 204) {
13369
13163
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13370
13164
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13373,7 +13167,7 @@
13373
13167
  return rxjs.of(null);
13374
13168
  };
13375
13169
  /**
13376
- * @param tenantId (optional) Tenant identifier
13170
+ * @param tenantId (optional) Tenant ID.
13377
13171
  * @param body (optional)
13378
13172
  * @return Success
13379
13173
  */
@@ -13446,11 +13240,6 @@
13446
13240
  return throwException("Unauthorized", status, _responseText, _headers);
13447
13241
  }));
13448
13242
  }
13449
- else if (status === 403) {
13450
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13451
- return throwException("Forbidden", status, _responseText, _headers);
13452
- }));
13453
- }
13454
13243
  else if (status !== 200 && status !== 204) {
13455
13244
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13456
13245
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13459,7 +13248,7 @@
13459
13248
  return rxjs.of(null);
13460
13249
  };
13461
13250
  /**
13462
- * @param tenantId (optional) Tenant identifier
13251
+ * @param tenantId (optional) Tenant ID.
13463
13252
  * @param body (optional)
13464
13253
  * @return Success
13465
13254
  */
@@ -13532,11 +13321,6 @@
13532
13321
  return throwException("Unauthorized", status, _responseText, _headers);
13533
13322
  }));
13534
13323
  }
13535
- else if (status === 403) {
13536
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13537
- return throwException("Forbidden", status, _responseText, _headers);
13538
- }));
13539
- }
13540
13324
  else if (status !== 200 && status !== 204) {
13541
13325
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13542
13326
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -13545,7 +13329,7 @@
13545
13329
  return rxjs.of(null);
13546
13330
  };
13547
13331
  /**
13548
- * @param tenantId (optional) Tenant identifier
13332
+ * @param tenantId (optional) Tenant ID.
13549
13333
  * @param body (optional)
13550
13334
  * @return Success
13551
13335
  */
@@ -13618,11 +13402,6 @@
13618
13402
  return throwException("Unauthorized", status, _responseText, _headers);
13619
13403
  }));
13620
13404
  }
13621
- else if (status === 403) {
13622
- return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13623
- return throwException("Forbidden", status, _responseText, _headers);
13624
- }));
13625
- }
13626
13405
  else if (status !== 200 && status !== 204) {
13627
13406
  return blobToText(responseBlob).pipe(operators.mergeMap(function (_responseText) {
13628
13407
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);