@aurigma/ng-design-atoms-api-client 2.68.7 → 2.69.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.
@@ -236,11 +236,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
236
236
  return throwException("Unauthorized", status, _responseText, _headers);
237
237
  }));
238
238
  }
239
- else if (status === 403) {
240
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
241
- return throwException("Forbidden", status, _responseText, _headers);
242
- }));
243
- }
244
239
  else if (status !== 200 && status !== 204) {
245
240
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
246
241
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -312,11 +307,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
312
307
  return throwException("Unauthorized", status, _responseText, _headers);
313
308
  }));
314
309
  }
315
- else if (status === 403) {
316
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
317
- return throwException("Forbidden", status, _responseText, _headers);
318
- }));
319
- }
320
310
  else if (status !== 200 && status !== 204) {
321
311
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
322
312
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -390,11 +380,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
390
380
  return throwException("Unauthorized", status, _responseText, _headers);
391
381
  }));
392
382
  }
393
- else if (status === 403) {
394
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
395
- return throwException("Forbidden", status, _responseText, _headers);
396
- }));
397
- }
398
383
  else if (status !== 200 && status !== 204) {
399
384
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
400
385
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -468,11 +453,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
468
453
  return throwException("Unauthorized", status, _responseText, _headers);
469
454
  }));
470
455
  }
471
- else if (status === 403) {
472
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
473
- return throwException("Forbidden", status, _responseText, _headers);
474
- }));
475
- }
476
456
  else if (status !== 200 && status !== 204) {
477
457
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
478
458
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -544,11 +524,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
544
524
  return throwException("Unauthorized", status, _responseText, _headers);
545
525
  }));
546
526
  }
547
- else if (status === 403) {
548
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
549
- return throwException("Forbidden", status, _responseText, _headers);
550
- }));
551
- }
552
527
  else if (status !== 200 && status !== 204) {
553
528
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
554
529
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -611,11 +586,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
611
586
  return throwException("Unauthorized", status, _responseText, _headers);
612
587
  }));
613
588
  }
614
- else if (status === 403) {
615
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
616
- return throwException("Forbidden", status, _responseText, _headers);
617
- }));
618
- }
619
589
  else if (status !== 200 && status !== 204) {
620
590
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
621
591
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -682,11 +652,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
682
652
  return throwException("Unauthorized", status, _responseText, _headers);
683
653
  }));
684
654
  }
685
- else if (status === 403) {
686
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
687
- return throwException("Forbidden", status, _responseText, _headers);
688
- }));
689
- }
690
655
  else if (status !== 200 && status !== 204) {
691
656
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
692
657
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -753,11 +718,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
753
718
  return throwException("Unauthorized", status, _responseText, _headers);
754
719
  }));
755
720
  }
756
- else if (status === 403) {
757
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
758
- return throwException("Forbidden", status, _responseText, _headers);
759
- }));
760
- }
761
721
  else if (status !== 200 && status !== 204) {
762
722
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
763
723
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -824,11 +784,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
824
784
  return throwException("Unauthorized", status, _responseText, _headers);
825
785
  }));
826
786
  }
827
- else if (status === 403) {
828
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
829
- return throwException("Forbidden", status, _responseText, _headers);
830
- }));
831
- }
832
787
  else if (status !== 200 && status !== 204) {
833
788
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
834
789
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -956,11 +911,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
956
911
  return throwException("Unauthorized", status, _responseText, _headers);
957
912
  }));
958
913
  }
959
- else if (status === 403) {
960
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
961
- return throwException("Forbidden", status, _responseText, _headers);
962
- }));
963
- }
964
914
  else if (status !== 200 && status !== 204) {
965
915
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
966
916
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1023,11 +973,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1023
973
  return throwException("Unauthorized", status, _responseText, _headers);
1024
974
  }));
1025
975
  }
1026
- else if (status === 403) {
1027
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1028
- return throwException("Forbidden", status, _responseText, _headers);
1029
- }));
1030
- }
1031
976
  else if (status !== 200 && status !== 204) {
1032
977
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1033
978
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1104,11 +1049,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1104
1049
  return throwException("Unauthorized", status, _responseText, _headers);
1105
1050
  }));
1106
1051
  }
1107
- else if (status === 403) {
1108
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1109
- return throwException("Forbidden", status, _responseText, _headers);
1110
- }));
1111
- }
1112
1052
  else if (status !== 200 && status !== 204) {
1113
1053
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1114
1054
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1180,11 +1120,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1180
1120
  return throwException("Unauthorized", status, _responseText, _headers);
1181
1121
  }));
1182
1122
  }
1183
- else if (status === 403) {
1184
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1185
- return throwException("Forbidden", status, _responseText, _headers);
1186
- }));
1187
- }
1188
1123
  else if (status !== 200 && status !== 204) {
1189
1124
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1190
1125
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1312,11 +1247,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1312
1247
  return throwException("Unauthorized", status, _responseText, _headers);
1313
1248
  }));
1314
1249
  }
1315
- else if (status === 403) {
1316
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1317
- return throwException("Forbidden", status, _responseText, _headers);
1318
- }));
1319
- }
1320
1250
  else if (status !== 200 && status !== 204) {
1321
1251
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1322
1252
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1393,11 +1323,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1393
1323
  return throwException("Unauthorized", status, _responseText, _headers);
1394
1324
  }));
1395
1325
  }
1396
- else if (status === 403) {
1397
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1398
- return throwException("Forbidden", status, _responseText, _headers);
1399
- }));
1400
- }
1401
1326
  else if (status !== 200 && status !== 204) {
1402
1327
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1403
1328
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1464,11 +1389,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1464
1389
  return throwException("Unauthorized", status, _responseText, _headers);
1465
1390
  }));
1466
1391
  }
1467
- else if (status === 403) {
1468
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1469
- return throwException("Forbidden", status, _responseText, _headers);
1470
- }));
1471
- }
1472
1392
  else if (status !== 200 && status !== 204) {
1473
1393
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1474
1394
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1535,11 +1455,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1535
1455
  return throwException("Unauthorized", status, _responseText, _headers);
1536
1456
  }));
1537
1457
  }
1538
- else if (status === 403) {
1539
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1540
- return throwException("Forbidden", status, _responseText, _headers);
1541
- }));
1542
- }
1543
1458
  else if (status !== 200 && status !== 204) {
1544
1459
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1545
1460
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1606,11 +1521,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1606
1521
  return throwException("Unauthorized", status, _responseText, _headers);
1607
1522
  }));
1608
1523
  }
1609
- else if (status === 403) {
1610
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1611
- return throwException("Forbidden", status, _responseText, _headers);
1612
- }));
1613
- }
1614
1524
  else if (status !== 200 && status !== 204) {
1615
1525
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1616
1526
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1677,11 +1587,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1677
1587
  return throwException("Unauthorized", status, _responseText, _headers);
1678
1588
  }));
1679
1589
  }
1680
- else if (status === 403) {
1681
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1682
- return throwException("Forbidden", status, _responseText, _headers);
1683
- }));
1684
- }
1685
1590
  else if (status !== 200 && status !== 204) {
1686
1591
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1687
1592
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1748,11 +1653,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1748
1653
  return throwException("Unauthorized", status, _responseText, _headers);
1749
1654
  }));
1750
1655
  }
1751
- else if (status === 403) {
1752
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1753
- return throwException("Forbidden", status, _responseText, _headers);
1754
- }));
1755
- }
1756
1656
  else if (status !== 200 && status !== 204) {
1757
1657
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1758
1658
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1819,11 +1719,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1819
1719
  return throwException("Unauthorized", status, _responseText, _headers);
1820
1720
  }));
1821
1721
  }
1822
- else if (status === 403) {
1823
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1824
- return throwException("Forbidden", status, _responseText, _headers);
1825
- }));
1826
- }
1827
1722
  else if (status !== 200 && status !== 204) {
1828
1723
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1829
1724
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1890,11 +1785,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1890
1785
  return throwException("Unauthorized", status, _responseText, _headers);
1891
1786
  }));
1892
1787
  }
1893
- else if (status === 403) {
1894
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1895
- return throwException("Forbidden", status, _responseText, _headers);
1896
- }));
1897
- }
1898
1788
  else if (status !== 200 && status !== 204) {
1899
1789
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1900
1790
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1961,11 +1851,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1961
1851
  return throwException("Unauthorized", status, _responseText, _headers);
1962
1852
  }));
1963
1853
  }
1964
- else if (status === 403) {
1965
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1966
- return throwException("Forbidden", status, _responseText, _headers);
1967
- }));
1968
- }
1969
1854
  else if (status !== 200 && status !== 204) {
1970
1855
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
1971
1856
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2032,11 +1917,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
2032
1917
  return throwException("Unauthorized", status, _responseText, _headers);
2033
1918
  }));
2034
1919
  }
2035
- else if (status === 403) {
2036
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2037
- return throwException("Forbidden", status, _responseText, _headers);
2038
- }));
2039
- }
2040
1920
  else if (status !== 200 && status !== 204) {
2041
1921
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2042
1922
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2103,11 +1983,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
2103
1983
  return throwException("Unauthorized", status, _responseText, _headers);
2104
1984
  }));
2105
1985
  }
2106
- else if (status === 403) {
2107
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2108
- return throwException("Forbidden", status, _responseText, _headers);
2109
- }));
2110
- }
2111
1986
  else if (status !== 200 && status !== 204) {
2112
1987
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2113
1988
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2174,11 +2049,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
2174
2049
  return throwException("Unauthorized", status, _responseText, _headers);
2175
2050
  }));
2176
2051
  }
2177
- else if (status === 403) {
2178
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2179
- return throwException("Forbidden", status, _responseText, _headers);
2180
- }));
2181
- }
2182
2052
  else if (status !== 200 && status !== 204) {
2183
2053
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
2184
2054
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2209,7 +2079,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2209
2079
  * Renders a preview of an image with the specified parameters.
2210
2080
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2211
2081
  (default value is 'false').
2212
- * @param tenantId (optional) Tenant identifier
2082
+ * @param tenantId (optional) Tenant ID.
2213
2083
  * @param body (optional) Render model with preview parameters.
2214
2084
  * @return Success
2215
2085
  */
@@ -2293,7 +2163,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2293
2163
  * Renders a preview of an uploaded image with the specified parameters.
2294
2164
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2295
2165
  (default value is 'false').
2296
- * @param tenantId (optional) Tenant identifier
2166
+ * @param tenantId (optional) Tenant ID.
2297
2167
  * @param sourceFile (optional)
2298
2168
  * @param mockupOwnerId (optional)
2299
2169
  * @param mockupId (optional)
@@ -2394,7 +2264,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2394
2264
  }
2395
2265
  /**
2396
2266
  * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
2397
- * @param tenantId (optional) Tenant identifier
2267
+ * @param tenantId (optional) Tenant ID.
2398
2268
  * @param resourceOwnerId (optional)
2399
2269
  * @param resourceNamespace (optional)
2400
2270
  * @param resourceName (optional)
@@ -2524,7 +2394,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2524
2394
  * Renders a preview of a web image with the specified parameters.
2525
2395
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2526
2396
  (default value is 'false').
2527
- * @param tenantId (optional) Tenant identifier
2397
+ * @param tenantId (optional) Tenant ID.
2528
2398
  * @param body (optional) Render model with preview parameters.
2529
2399
  * @return Success
2530
2400
  */
@@ -2606,7 +2476,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2606
2476
  }
2607
2477
  /**
2608
2478
  * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
2609
- * @param tenantId (optional) Tenant identifier
2479
+ * @param tenantId (optional) Tenant ID.
2610
2480
  * @param body (optional) Render model with preview parameters.
2611
2481
  * @return Success
2612
2482
  */
@@ -2694,7 +2564,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
2694
2564
  }
2695
2565
  /**
2696
2566
  * Renders a preview of an image with the specified parameters and saves rendering result as resource.
2697
- * @param tenantId (optional) Tenant identifier
2567
+ * @param tenantId (optional) Tenant ID.
2698
2568
  * @param body (optional) Render model with preview parameters.
2699
2569
  * @return Success
2700
2570
  */
@@ -2803,7 +2673,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2803
2673
  * Returns a 3D-Mockup attributes.
2804
2674
  * @param id 3D-Mockup identifier.
2805
2675
  * @param ownerId (optional) Private mockup owner identifier.
2806
- * @param tenantId (optional) Tenant identifier
2676
+ * @param tenantId (optional) Tenant ID.
2807
2677
  * @return Success
2808
2678
  */
2809
2679
  getAttributes(id, ownerId, tenantId) {
@@ -2894,7 +2764,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2894
2764
  * Returns a 3D-Mockup content as protobuf binary stream.
2895
2765
  * @param id 3D-Mockup identifier.
2896
2766
  * @param ownerId (optional) Private mockup owner identifier.
2897
- * @param tenantId (optional) Tenant identifier
2767
+ * @param tenantId (optional) Tenant ID.
2898
2768
  * @return Success
2899
2769
  */
2900
2770
  getContentAsProtobuf(id, ownerId, tenantId) {
@@ -2984,7 +2854,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
2984
2854
  * Returns a 3D-Mockup geometry as binary stream.
2985
2855
  * @param id 3D-Mockup identifier.
2986
2856
  * @param ownerId (optional) Private mockup owner identifier.
2987
- * @param tenantId (optional) Tenant identifier
2857
+ * @param tenantId (optional) Tenant ID.
2988
2858
  * @return Success
2989
2859
  */
2990
2860
  getGeometryFile(id, ownerId, tenantId) {
@@ -3092,7 +2962,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
3092
2962
  /**
3093
2963
  * Returns a closest color to provided color in a specified palette.
3094
2964
  * @param paletteUID (optional) Palette UID.
3095
- * @param tenantId (optional) Tenant identifier
2965
+ * @param tenantId (optional) Tenant ID.
3096
2966
  * @param body (optional) Source color.
3097
2967
  * @return Success
3098
2968
  */
@@ -3191,7 +3061,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
3191
3061
  * Returns a serialized palette model by its identifier or UID.
3192
3062
  * @param id (optional) Palette identifier.
3193
3063
  * @param uid (optional) Palette UID.
3194
- * @param tenantId (optional) Tenant identifier
3064
+ * @param tenantId (optional) Tenant ID.
3195
3065
  * @return Success
3196
3066
  */
3197
3067
  getPaletteModel(id, uid, tenantId) {
@@ -3307,7 +3177,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3307
3177
  * Patches a print-product of the specified design file.
3308
3178
  * @param id Design identifier.
3309
3179
  * @param privateStorageOwner (optional) Private storage owner identifier.
3310
- * @param tenantId (optional) Tenant identifier
3180
+ * @param tenantId (optional) Tenant ID.
3311
3181
  * @param patchType (optional)
3312
3182
  * @param replaceImageItemFileInfo_itemName (optional)
3313
3183
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -3329,9 +3199,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3329
3199
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3330
3200
  url_ = url_.replace(/[?&]$/, "");
3331
3201
  const content_ = new FormData();
3332
- if (patchType === null || patchType === undefined)
3333
- throw new Error("The parameter 'patchType' cannot be null.");
3334
- else
3202
+ if (patchType !== null && patchType !== undefined)
3335
3203
  content_.append("patchType", patchType.toString());
3336
3204
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
3337
3205
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -3339,9 +3207,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3339
3207
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
3340
3208
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
3341
3209
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
3342
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
3343
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
3344
- else
3210
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
3345
3211
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
3346
3212
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
3347
3213
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -3412,7 +3278,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3412
3278
  * @param id Design identifier.
3413
3279
  * @param surfaceId (optional) Print-product surface identifier.
3414
3280
  * @param privateStorageOwner (optional) Private storage owner identifier.
3415
- * @param tenantId (optional) Tenant identifier
3281
+ * @param tenantId (optional) Tenant ID.
3416
3282
  * @return Success
3417
3283
  */
3418
3284
  getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId) {
@@ -3499,7 +3365,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3499
3365
  * @param id Design identifier.
3500
3366
  * @param containerId Print-product container identifier.
3501
3367
  * @param privateStorageOwner (optional) Private storage owner identifier.
3502
- * @param tenantId (optional) Tenant identifier
3368
+ * @param tenantId (optional) Tenant ID.
3503
3369
  * @return No Content
3504
3370
  */
3505
3371
  deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId) {
@@ -3590,7 +3456,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3590
3456
  * @param id Design identifier.
3591
3457
  * @param containerId Print-product container identifier.
3592
3458
  * @param privateStorageOwner (optional) Private storage owner identifier.
3593
- * @param tenantId (optional) Tenant identifier
3459
+ * @param tenantId (optional) Tenant ID.
3594
3460
  * @return Success
3595
3461
  */
3596
3462
  getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId) {
@@ -3685,7 +3551,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3685
3551
  * @param id Design identifier.
3686
3552
  * @param containerId Print-product container identifier.
3687
3553
  * @param privateStorageOwner (optional) Private storage owner identifier.
3688
- * @param tenantId (optional) Tenant identifier
3554
+ * @param tenantId (optional) Tenant ID.
3689
3555
  * @param body (optional) Json-serialized model of a print-product container.
3690
3556
  * @return Success
3691
3557
  */
@@ -3795,7 +3661,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3795
3661
  * @param top (optional) Y axis position.
3796
3662
  * @param left (optional) X axis position.
3797
3663
  * @param privateStorageOwner (optional) Private storage owner identifier.
3798
- * @param tenantId (optional) Tenant identifier
3664
+ * @param tenantId (optional) Tenant ID.
3799
3665
  * @param body (optional) Json-serialized model of a new print-product container.
3800
3666
  * @return Success
3801
3667
  */
@@ -3905,7 +3771,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3905
3771
  * @param containerId (optional) Print-product container identifier.
3906
3772
  * @param parentItemId (optional) Print-product item identifier.
3907
3773
  * @param privateStorageOwner (optional) Private storage owner identifier.
3908
- * @param tenantId (optional) Tenant identifier
3774
+ * @param tenantId (optional) Tenant ID.
3909
3775
  * @return Success
3910
3776
  */
3911
3777
  getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId) {
@@ -3996,7 +3862,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
3996
3862
  * @param id Design identifier.
3997
3863
  * @param itemId Print-product item identifier.
3998
3864
  * @param privateStorageOwner (optional) Private storage owner identifier.
3999
- * @param tenantId (optional) Tenant identifier
3865
+ * @param tenantId (optional) Tenant ID.
4000
3866
  * @return No Content
4001
3867
  */
4002
3868
  deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId) {
@@ -4087,7 +3953,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4087
3953
  * @param id Design identifier.
4088
3954
  * @param itemId Print-product item identifier.
4089
3955
  * @param privateStorageOwner (optional) Private storage owner identifier.
4090
- * @param tenantId (optional) Tenant identifier
3956
+ * @param tenantId (optional) Tenant ID.
4091
3957
  * @return Success
4092
3958
  */
4093
3959
  getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId) {
@@ -4182,7 +4048,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4182
4048
  * @param id Design identifier.
4183
4049
  * @param itemId Print-product item identifier.
4184
4050
  * @param privateStorageOwner (optional) Private storage owner identifier.
4185
- * @param tenantId (optional) Tenant identifier
4051
+ * @param tenantId (optional) Tenant ID.
4186
4052
  * @param body (optional) Json-serialized model of a print-product item.
4187
4053
  * @return Success
4188
4054
  */
@@ -4292,7 +4158,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4292
4158
  * @param top (optional) Y axis position.
4293
4159
  * @param left (optional) X axis position.
4294
4160
  * @param privateStorageOwner (optional) Private storage owner identifier.
4295
- * @param tenantId (optional) Tenant identifier
4161
+ * @param tenantId (optional) Tenant ID.
4296
4162
  * @param body (optional) Json-serialized model of a new print-product item.
4297
4163
  * @return Success
4298
4164
  */
@@ -4399,7 +4265,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4399
4265
  * Returns a print-product of the specified design file as a json-serialized model.
4400
4266
  * @param id Design identifier.
4401
4267
  * @param privateStorageOwner (optional) Private storage owner identifier.
4402
- * @param tenantId (optional) Tenant identifier
4268
+ * @param tenantId (optional) Tenant ID.
4403
4269
  * @return Success
4404
4270
  */
4405
4271
  getDesignProductModel(id, privateStorageOwner, tenantId) {
@@ -4483,7 +4349,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4483
4349
  * Updates a print-product provided as a json-serialized model is the specified design file.
4484
4350
  * @param id Design identifier.
4485
4351
  * @param privateStorageOwner (optional) Private storage owner identifier.
4486
- * @param tenantId (optional) Tenant identifier
4352
+ * @param tenantId (optional) Tenant ID.
4487
4353
  * @param body (optional) Json-serialized model of a print-product .
4488
4354
  * @return No Content
4489
4355
  */
@@ -4569,7 +4435,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4569
4435
  * @param id Design identifier.
4570
4436
  * @param surfaceId (optional)
4571
4437
  * @param privateStorageOwner (optional) Private storage owner identifier.
4572
- * @param tenantId (optional) Tenant identifier
4438
+ * @param tenantId (optional) Tenant ID.
4573
4439
  * @return Success
4574
4440
  */
4575
4441
  getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId) {
@@ -4656,7 +4522,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4656
4522
  Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
4657
4523
  * @param id Design identifier.
4658
4524
  * @param privateStorageOwner (optional) Private storage owner identifier.
4659
- * @param tenantId (optional) Tenant identifier
4525
+ * @param tenantId (optional) Tenant ID.
4660
4526
  * @param body (optional) Print-area description model.
4661
4527
  * @return Success
4662
4528
  */
@@ -4752,7 +4618,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4752
4618
  * @param id Design identifier.
4753
4619
  * @param printAreaId Design print-area identifier.
4754
4620
  * @param privateStorageOwner (optional) Private storage owner identifier.
4755
- * @param tenantId (optional) Tenant identifier
4621
+ * @param tenantId (optional) Tenant ID.
4756
4622
  * @param body (optional) Print-area description model.
4757
4623
  * @return Success
4758
4624
  */
@@ -4858,7 +4724,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4858
4724
  * @param id Design identifier.
4859
4725
  * @param printAreaId Design print-area identifier.
4860
4726
  * @param privateStorageOwner (optional) Private storage owner identifier.
4861
- * @param tenantId (optional) Tenant identifier
4727
+ * @param tenantId (optional) Tenant ID.
4862
4728
  * @return No Content
4863
4729
  */
4864
4730
  deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId) {
@@ -4949,7 +4815,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
4949
4815
  * @param id Design identifier.
4950
4816
  * @param printAreaId Design print-area identifier.
4951
4817
  * @param privateStorageOwner (optional) Private storage owner identifier.
4952
- * @param tenantId (optional) Tenant identifier
4818
+ * @param tenantId (optional) Tenant ID.
4953
4819
  * @return Success
4954
4820
  */
4955
4821
  getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId) {
@@ -5044,7 +4910,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5044
4910
  * @param id Design identifier.
5045
4911
  * @param printAreaId Design print-area identifier.
5046
4912
  * @param privateStorageOwner (optional) Private storage owner identifier.
5047
- * @param tenantId (optional) Tenant identifier
4913
+ * @param tenantId (optional) Tenant ID.
5048
4914
  * @param body (optional) Json-serialized model of a print-area.
5049
4915
  * @return Success
5050
4916
  */
@@ -5151,7 +5017,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5151
5017
  * @param id Design identifier.
5152
5018
  * @param surfaceId (optional) Parent surface identifier.
5153
5019
  * @param privateStorageOwner (optional) Private storage owner identifier.
5154
- * @param tenantId (optional) Tenant identifier
5020
+ * @param tenantId (optional) Tenant ID.
5155
5021
  * @param body (optional) Json serialized model of a print-area.
5156
5022
  * @return Success
5157
5023
  */
@@ -5248,7 +5114,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5248
5114
  * Returns a list of print-product surfaces descriptions of the specified design file.
5249
5115
  * @param id Design identifier.
5250
5116
  * @param privateStorageOwner (optional) Private storage owner identifier.
5251
- * @param tenantId (optional) Tenant identifier
5117
+ * @param tenantId (optional) Tenant ID.
5252
5118
  * @return Success
5253
5119
  */
5254
5120
  getDesignSurfaces(id, privateStorageOwner, tenantId) {
@@ -5333,7 +5199,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5333
5199
  * @param id Design identifier.
5334
5200
  * @param surfaceId Print-product surface identifier.
5335
5201
  * @param privateStorageOwner (optional) Private storage owner identifier.
5336
- * @param tenantId (optional) Tenant identifier
5202
+ * @param tenantId (optional) Tenant ID.
5337
5203
  * @return No Content
5338
5204
  */
5339
5205
  deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId) {
@@ -5424,7 +5290,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5424
5290
  * @param id Design identifier.
5425
5291
  * @param surfaceId Print product surface identifier.
5426
5292
  * @param privateStorageOwner (optional) Private storage owner identifier.
5427
- * @param tenantId (optional) Tenant identifier
5293
+ * @param tenantId (optional) Tenant ID.
5428
5294
  * @return Success
5429
5295
  */
5430
5296
  getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId) {
@@ -5526,7 +5392,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5526
5392
  * @param id Design identifier.
5527
5393
  * @param surfaceId Print-product surface identifier.
5528
5394
  * @param privateStorageOwner (optional) Private storage owner identifier.
5529
- * @param tenantId (optional) Tenant identifier
5395
+ * @param tenantId (optional) Tenant ID.
5530
5396
  * @param position_top (optional)
5531
5397
  * @param position_left (optional)
5532
5398
  * @param sourceFile (optional)
@@ -5643,7 +5509,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5643
5509
  * @param id Design identifier.
5644
5510
  * @param surfaceId Print-product surface identifier.
5645
5511
  * @param privateStorageOwner (optional) Private storage owner identifier.
5646
- * @param tenantId (optional) Tenant identifier
5512
+ * @param tenantId (optional) Tenant ID.
5647
5513
  * @return Success
5648
5514
  */
5649
5515
  getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId) {
@@ -5744,7 +5610,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5744
5610
  * @param id Design identifier.
5745
5611
  * @param surfaceId Print-product surface identifier.
5746
5612
  * @param privateStorageOwner (optional) Private storage owner identifier.
5747
- * @param tenantId (optional) Tenant identifier
5613
+ * @param tenantId (optional) Tenant ID.
5748
5614
  * @return Success
5749
5615
  */
5750
5616
  getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId) {
@@ -5846,7 +5712,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5846
5712
  * @param id Design identifier.
5847
5713
  * @param surfaceId Print-product surface identifier.
5848
5714
  * @param privateStorageOwner (optional) Private storage owner identifier.
5849
- * @param tenantId (optional) Tenant identifier
5715
+ * @param tenantId (optional) Tenant ID.
5850
5716
  * @param position_top (optional)
5851
5717
  * @param position_left (optional)
5852
5718
  * @param sourceFile (optional)
@@ -5963,7 +5829,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
5963
5829
  * @param id Design identifier.
5964
5830
  * @param surfaceId Print-product surface identifier.
5965
5831
  * @param privateStorageOwner (optional) Private storage owner identifier.
5966
- * @param tenantId (optional) Tenant identifier
5832
+ * @param tenantId (optional) Tenant ID.
5967
5833
  * @return Success
5968
5834
  */
5969
5835
  getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId) {
@@ -6064,7 +5930,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
6064
5930
  * @param id Design identifier.
6065
5931
  * @param surfaceId Surface identifier.
6066
5932
  * @param privateStorageOwner (optional) Private storage owner identifier.
6067
- * @param tenantId (optional) Tenant identifier
5933
+ * @param tenantId (optional) Tenant ID.
6068
5934
  * @return Success
6069
5935
  */
6070
5936
  getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId) {
@@ -6160,7 +6026,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
6160
6026
  * @param id Design identifier.
6161
6027
  * @param surfaceId Print-product surface identifier.
6162
6028
  * @param privateStorageOwner (optional) Private storage owner identifier.
6163
- * @param tenantId (optional) Tenant identifier
6029
+ * @param tenantId (optional) Tenant ID.
6164
6030
  * @param body (optional) Json-serialized model of a print-product surface.
6165
6031
  * @return Success
6166
6032
  */
@@ -6267,7 +6133,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
6267
6133
  * @param id Design identifier.
6268
6134
  * @param index (optional) Surface index within the surfaces list of a design.
6269
6135
  * @param privateStorageOwner (optional) Private storage owner identifier.
6270
- * @param tenantId (optional) Tenant identifier
6136
+ * @param tenantId (optional) Tenant ID.
6271
6137
  * @param body (optional) Json-serialized model of a print-prouduct surface.
6272
6138
  * @return Success
6273
6139
  */
@@ -6381,7 +6247,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6381
6247
  }
6382
6248
  /**
6383
6249
  * Apply effects to print-product item image.
6384
- * @param tenantId (optional) Tenant identifier
6250
+ * @param tenantId (optional) Tenant ID.
6385
6251
  * @param body (optional)
6386
6252
  * @return Success
6387
6253
  */
@@ -6455,7 +6321,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6455
6321
  }
6456
6322
  /**
6457
6323
  * Extracts print-product item image.
6458
- * @param tenantId (optional) Tenant identifier
6324
+ * @param tenantId (optional) Tenant ID.
6459
6325
  * @param body (optional) Extraction parameters.
6460
6326
  * @return Success
6461
6327
  */
@@ -6529,7 +6395,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6529
6395
  /**
6530
6396
  * Flattens print-product items.
6531
6397
  * @param paletteUID (optional)
6532
- * @param tenantId (optional) Tenant identifier
6398
+ * @param tenantId (optional) Tenant ID.
6533
6399
  * @param body (optional) List of print-product items to flatten.
6534
6400
  * @return Success
6535
6401
  */
@@ -6606,7 +6472,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6606
6472
  /**
6607
6473
  * Creates print-product item from input image file.
6608
6474
  * @param itemType (optional) Desired item type.
6609
- * @param tenantId (optional) Tenant identifier
6475
+ * @param tenantId (optional) Tenant ID.
6610
6476
  * @param sourceFile (optional)
6611
6477
  * @param paletteUID (optional)
6612
6478
  * @param preserveOriginalFile (optional)
@@ -6704,7 +6570,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6704
6570
  /**
6705
6571
  * Creates multiple print-product items from input image files.
6706
6572
  * @param itemType (optional) Desired print-product items type.
6707
- * @param tenantId (optional) Tenant identifier
6573
+ * @param tenantId (optional) Tenant ID.
6708
6574
  * @param sourceFiles (optional)
6709
6575
  * @param paletteUID (optional)
6710
6576
  * @param preserveOriginalFile (optional)
@@ -6802,7 +6668,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6802
6668
  /**
6803
6669
  * Creates print-product item from image file taken from storage.
6804
6670
  * @param itemType (optional) Desired item type.
6805
- * @param tenantId (optional) Tenant identifier
6671
+ * @param tenantId (optional) Tenant ID.
6806
6672
  * @param body (optional) Operation parameters.
6807
6673
  * @return Success
6808
6674
  */
@@ -6893,7 +6759,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6893
6759
  /**
6894
6760
  * Creates multiple print-product items from the specified image files in storage.
6895
6761
  * @param itemType (optional) Desired items type.
6896
- * @param tenantId (optional) Tenant identifier
6762
+ * @param tenantId (optional) Tenant ID.
6897
6763
  * @param body (optional) Operation parameters.
6898
6764
  * @return Success
6899
6765
  */
@@ -6984,7 +6850,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6984
6850
  /**
6985
6851
  * Creates print-product item from remote web image provided by URL.
6986
6852
  * @param itemType (optional) Desired item type.
6987
- * @param tenantId (optional) Tenant identifier
6853
+ * @param tenantId (optional) Tenant ID.
6988
6854
  * @param body (optional) Operation parameters.
6989
6855
  * @return Success
6990
6856
  */
@@ -7075,7 +6941,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
7075
6941
  /**
7076
6942
  * Creates multiple print-product items from remote web images provided by URLs list.
7077
6943
  * @param itemType (optional) Desired items type.
7078
- * @param tenantId (optional) Tenant identifier
6944
+ * @param tenantId (optional) Tenant ID.
7079
6945
  * @param body (optional) Operation parameters.
7080
6946
  * @return Success
7081
6947
  */
@@ -7185,7 +7051,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7185
7051
  /**
7186
7052
  * Creates new design file with specified parameters and saves it in storage.
7187
7053
  * @param privateStorageOwner (optional) Private storage owner identifier.
7188
- * @param tenantId (optional) Tenant identifier
7054
+ * @param tenantId (optional) Tenant ID.
7189
7055
  * @param body (optional) Design creation parameters.
7190
7056
  * @return Created
7191
7057
  */
@@ -7270,7 +7136,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7270
7136
  * Applies item data for a specified design file taken from storage.
7271
7137
  * @param id Design identifier.
7272
7138
  * @param privateStorageOwner (optional) Private storage owner identifier.
7273
- * @param tenantId (optional) Tenant identifier
7139
+ * @param tenantId (optional) Tenant ID.
7274
7140
  * @param body (optional) Design items data.
7275
7141
  * @return Success
7276
7142
  */
@@ -7363,7 +7229,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7363
7229
  * @param id Design identifier.
7364
7230
  * @param surfaceIndex (optional) Surface index.
7365
7231
  * @param privateStorageOwner (optional) Private storage owner identifier.
7366
- * @param tenantId (optional) Tenant identifier
7232
+ * @param tenantId (optional) Tenant ID.
7367
7233
  * @return Success
7368
7234
  */
7369
7235
  extractBackground(id, surfaceIndex, privateStorageOwner, tenantId) {
@@ -7455,7 +7321,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7455
7321
  * Sets specified editor-mockups for selected design surfaces.
7456
7322
  * @param id Design identifier.
7457
7323
  * @param privateStorageOwner (optional) Private storage owner identifier.
7458
- * @param tenantId (optional) Tenant identifier
7324
+ * @param tenantId (optional) Tenant ID.
7459
7325
  * @param body (optional) Operation parameters.
7460
7326
  * @return No Content
7461
7327
  */
@@ -7547,7 +7413,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7547
7413
  * Returns design parameters stored in product model.
7548
7414
  * @param id Design identifier.
7549
7415
  * @param privateStorageOwner (optional) Private storage owner identifier.
7550
- * @param tenantId (optional) Tenant identifier
7416
+ * @param tenantId (optional) Tenant ID.
7551
7417
  * @return Success
7552
7418
  */
7553
7419
  getDesignParameters(id, privateStorageOwner, tenantId) {
@@ -7631,7 +7497,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7631
7497
  * Loads a data schema from design file taken from storage.
7632
7498
  * @param id Design identifier.
7633
7499
  * @param privateStorageOwner (optional) Private storage owner identifier.
7634
- * @param tenantId (optional) Tenant identifier
7500
+ * @param tenantId (optional) Tenant ID.
7635
7501
  * @return Success
7636
7502
  */
7637
7503
  loadDataSchema(id, privateStorageOwner, tenantId) {
@@ -7721,7 +7587,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7721
7587
  * Loads a toggle set from design file taken from storage.
7722
7588
  * @param id Design identifier.
7723
7589
  * @param privateStorageOwner (optional) Private storage owner identifier.
7724
- * @param tenantId (optional) Tenant identifier
7590
+ * @param tenantId (optional) Tenant ID.
7725
7591
  * @return Success
7726
7592
  */
7727
7593
  loadToggleSet(id, privateStorageOwner, tenantId) {
@@ -7811,7 +7677,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7811
7677
  * Returns variable items information for design file taken from storage.
7812
7678
  * @param id Design identifier.
7813
7679
  * @param privateStorageOwner (optional) Private storage owner identifier.
7814
- * @param tenantId (optional) Tenant identifier
7680
+ * @param tenantId (optional) Tenant ID.
7815
7681
  * @return Success
7816
7682
  */
7817
7683
  getVariables(id, privateStorageOwner, tenantId) {
@@ -7895,7 +7761,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7895
7761
  * Saves variable items values for design file taken from storage.
7896
7762
  * @param id Design identifier.
7897
7763
  * @param privateStorageOwner (optional) Private storage owner identifier.
7898
- * @param tenantId (optional) Tenant identifier
7764
+ * @param tenantId (optional) Tenant ID.
7899
7765
  * @param body (optional) Design variable values.
7900
7766
  * @return Success
7901
7767
  */
@@ -7987,7 +7853,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
7987
7853
  * Loads variable data printing information from design file taken from storage.
7988
7854
  * @param id Design identifier.
7989
7855
  * @param privateStorageOwner (optional) Private storage owner identifier.
7990
- * @param tenantId (optional) Tenant identifier
7856
+ * @param tenantId (optional) Tenant ID.
7991
7857
  * @return Success
7992
7858
  */
7993
7859
  loadVdpData(id, privateStorageOwner, tenantId) {
@@ -8078,7 +7944,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8078
7944
  * Saves variable data printing information to design file and updates design in storage.
8079
7945
  * @param id Design identifier.
8080
7946
  * @param privateStorageOwner (optional) Private storage owner identifier.
8081
- * @param tenantId (optional) Tenant identifier
7947
+ * @param tenantId (optional) Tenant ID.
8082
7948
  * @param body (optional) Serialized vdp data.
8083
7949
  * @return Success
8084
7950
  */
@@ -8163,7 +8029,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8163
8029
  * Deletes variable data printing information from design file and updates design file in storage.
8164
8030
  * @param id Design identifier.
8165
8031
  * @param privateStorageOwner (optional) Private storage owner identifier.
8166
- * @param tenantId (optional) Tenant identifier
8032
+ * @param tenantId (optional) Tenant ID.
8167
8033
  * @return Success
8168
8034
  */
8169
8035
  deleteVdpData(id, privateStorageOwner, tenantId) {
@@ -8241,7 +8107,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8241
8107
  }
8242
8108
  /**
8243
8109
  * Converts colors for print-product item manipulations.
8244
- * @param tenantId (optional) Tenant identifier
8110
+ * @param tenantId (optional) Tenant ID.
8245
8111
  * @param body (optional) Convert colors operation parameters.
8246
8112
  * @return Success
8247
8113
  */
@@ -8324,7 +8190,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8324
8190
  * Loads print-product from resource file taken from storage.
8325
8191
  * @param id (optional) Resource identifier.
8326
8192
  * @param privateStorageOwner (optional) Private storage owner identifier.
8327
- * @param tenantId (optional) Tenant identifier
8193
+ * @param tenantId (optional) Tenant ID.
8328
8194
  * @return Success
8329
8195
  */
8330
8196
  loadProductFromResource(id, privateStorageOwner, tenantId) {
@@ -8414,7 +8280,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8414
8280
  * Renders a product proof image with specified parameters.
8415
8281
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
8416
8282
  (default value is 'false').
8417
- * @param tenantId (optional) Tenant identifier
8283
+ * @param tenantId (optional) Tenant ID.
8418
8284
  * @param body (optional) Preview parameters.
8419
8285
  * @return Success
8420
8286
  */
@@ -8491,7 +8357,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8491
8357
  * Renders a design preview with the specified parameters.
8492
8358
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
8493
8359
  (default value is 'false').
8494
- * @param tenantId (optional) Tenant identifier
8360
+ * @param tenantId (optional) Tenant ID.
8495
8361
  * @param body (optional) Render model with preview parameters.
8496
8362
  * @return Success
8497
8363
  */
@@ -8566,7 +8432,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8566
8432
  }
8567
8433
  /**
8568
8434
  * Renders a design preview with the specified parameters and saves rendering result as resource.
8569
- * @param tenantId (optional) Tenant identifier
8435
+ * @param tenantId (optional) Tenant ID.
8570
8436
  * @param body (optional) Render model with preview parameters.
8571
8437
  * @return Success
8572
8438
  */
@@ -8656,7 +8522,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8656
8522
  * Renders a design proof with the specified parameters.
8657
8523
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
8658
8524
  (default value is 'false').
8659
- * @param tenantId (optional) Tenant identifier
8525
+ * @param tenantId (optional) Tenant ID.
8660
8526
  * @param body (optional) Render model with proof parameters.
8661
8527
  * @return Success
8662
8528
  */
@@ -8738,7 +8604,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8738
8604
  }
8739
8605
  /**
8740
8606
  * Renders a design proof with the specified parameters and saves rendering result as resource.
8741
- * @param tenantId (optional) Tenant identifier
8607
+ * @param tenantId (optional) Tenant ID.
8742
8608
  * @param body (optional) Render model with preview parameters.
8743
8609
  * @return Success
8744
8610
  */
@@ -8821,7 +8687,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8821
8687
  * Loads print-product from design file taken from storage.
8822
8688
  * @param id Design identifier.
8823
8689
  * @param privateStorageOwner (optional) Private storage owner identifier.
8824
- * @param tenantId (optional) Tenant identifier
8690
+ * @param tenantId (optional) Tenant ID.
8825
8691
  * @return Success
8826
8692
  * @deprecated
8827
8693
  */
@@ -8906,7 +8772,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8906
8772
  * Saves print-product to design file and updates design file in storage.
8907
8773
  * @param id Design identifier.
8908
8774
  * @param privateStorageOwner (optional) Private storage owner identifier.
8909
- * @param tenantId (optional) Tenant identifier
8775
+ * @param tenantId (optional) Tenant ID.
8910
8776
  * @param body (optional) Serialized product description.
8911
8777
  * @return Success
8912
8778
  * @deprecated
@@ -8992,7 +8858,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
8992
8858
  * Patches print-product in design file.
8993
8859
  * @param id Design identifier.
8994
8860
  * @param privateStorageOwner (optional) Private storage owner identifier.
8995
- * @param tenantId (optional) Tenant identifier
8861
+ * @param tenantId (optional) Tenant ID.
8996
8862
  * @param patchType (optional)
8997
8863
  * @param replaceImageItemFileInfo_itemName (optional)
8998
8864
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -9015,9 +8881,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9015
8881
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
9016
8882
  url_ = url_.replace(/[?&]$/, "");
9017
8883
  const content_ = new FormData();
9018
- if (patchType === null || patchType === undefined)
9019
- throw new Error("The parameter 'patchType' cannot be null.");
9020
- else
8884
+ if (patchType !== null && patchType !== undefined)
9021
8885
  content_.append("patchType", patchType.toString());
9022
8886
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
9023
8887
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -9025,9 +8889,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9025
8889
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
9026
8890
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
9027
8891
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
9028
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
9029
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
9030
- else
8892
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
9031
8893
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
9032
8894
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
9033
8895
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -9096,7 +8958,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9096
8958
  /**
9097
8959
  * Creates print-product item.
9098
8960
  * @param itemType (optional) Desired item type.
9099
- * @param tenantId (optional) Tenant identifier
8961
+ * @param tenantId (optional) Tenant ID.
9100
8962
  * @param sourceType (optional)
9101
8963
  * @param sourceId (optional)
9102
8964
  * @param sourceOwnerId (optional)
@@ -9193,7 +9055,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9193
9055
  }
9194
9056
  /**
9195
9057
  * Extracts print-product item image.
9196
- * @param tenantId (optional) Tenant identifier
9058
+ * @param tenantId (optional) Tenant ID.
9197
9059
  * @param body (optional) Extraction parameters.
9198
9060
  * @return Success
9199
9061
  * @deprecated
@@ -9267,7 +9129,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9267
9129
  }
9268
9130
  /**
9269
9131
  * Flattens print-product items.
9270
- * @param tenantId (optional) Tenant identifier
9132
+ * @param tenantId (optional) Tenant ID.
9271
9133
  * @param body (optional) Items to flatten.
9272
9134
  * @return Success
9273
9135
  * @deprecated
@@ -9345,7 +9207,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9345
9207
  * @param designId (optional) Public design identifier.
9346
9208
  * @param privateDesignId (optional) Private design identifier.
9347
9209
  * @param privateStorageOwner (optional) Private storage owner identifier.
9348
- * @param tenantId (optional) Tenant identifier
9210
+ * @param tenantId (optional) Tenant ID.
9349
9211
  * @return Created
9350
9212
  * @deprecated
9351
9213
  */
@@ -9421,11 +9283,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9421
9283
  * @param resourceId (optional) Resource identifier.
9422
9284
  * @param privateDesignId (optional) Private design identifier.
9423
9285
  * @param privateStorageOwner (optional) Private storage owner identifier.
9424
- * @param tenantId (optional) Tenant identifier.
9286
+ * @param tenantIdQuery (optional) Tenant identifier.
9425
9287
  * @return Created
9426
9288
  * @deprecated
9427
9289
  */
9428
- createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantId) {
9290
+ createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery) {
9429
9291
  let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
9430
9292
  if (resourceId !== undefined && resourceId !== null)
9431
9293
  url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
@@ -9433,10 +9295,10 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
9433
9295
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
9434
9296
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
9435
9297
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
9436
- if (tenantId === null)
9437
- throw new Error("The parameter 'tenantId' cannot be null.");
9438
- else if (tenantId !== undefined)
9439
- url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
9298
+ if (tenantIdQuery === null)
9299
+ throw new Error("The parameter 'tenantIdQuery' cannot be null.");
9300
+ else if (tenantIdQuery !== undefined)
9301
+ url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
9440
9302
  url_ = url_.replace(/[?&]$/, "");
9441
9303
  let options_ = {
9442
9304
  observe: "response",
@@ -9512,7 +9374,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9512
9374
  this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
9513
9375
  }
9514
9376
  /**
9515
- * @param tenantId (optional) Tenant identifier
9377
+ * @param tenantId (optional) Tenant ID.
9516
9378
  * @param body (optional)
9517
9379
  * @return Success
9518
9380
  */
@@ -9572,11 +9434,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9572
9434
  return throwException("Unauthorized", status, _responseText, _headers);
9573
9435
  }));
9574
9436
  }
9575
- else if (status === 403) {
9576
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9577
- return throwException("Forbidden", status, _responseText, _headers);
9578
- }));
9579
- }
9580
9437
  else if (status !== 200 && status !== 204) {
9581
9438
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9582
9439
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9585,7 +9442,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9585
9442
  return of(null);
9586
9443
  }
9587
9444
  /**
9588
- * @param tenantId (optional) Tenant identifier
9445
+ * @param tenantId (optional) Tenant ID.
9589
9446
  * @return Success
9590
9447
  */
9591
9448
  fonts(psName, tenantId) {
@@ -9650,11 +9507,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9650
9507
  return throwException("Unauthorized", status, _responseText, _headers);
9651
9508
  }));
9652
9509
  }
9653
- else if (status === 403) {
9654
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9655
- return throwException("Forbidden", status, _responseText, _headers);
9656
- }));
9657
- }
9658
9510
  else if (status !== 200 && status !== 204) {
9659
9511
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9660
9512
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9663,7 +9515,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9663
9515
  return of(null);
9664
9516
  }
9665
9517
  /**
9666
- * @param tenantId (optional) Tenant identifier
9518
+ * @param tenantId (optional) Tenant ID.
9667
9519
  * @param body (optional)
9668
9520
  * @return Success
9669
9521
  */
@@ -9730,11 +9582,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9730
9582
  return throwException("Unauthorized", status, _responseText, _headers);
9731
9583
  }));
9732
9584
  }
9733
- else if (status === 403) {
9734
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9735
- return throwException("Forbidden", status, _responseText, _headers);
9736
- }));
9737
- }
9738
9585
  else if (status !== 200 && status !== 204) {
9739
9586
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9740
9587
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9743,7 +9590,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9743
9590
  return of(null);
9744
9591
  }
9745
9592
  /**
9746
- * @param tenantId (optional) Tenant identifier
9593
+ * @param tenantId (optional) Tenant ID.
9747
9594
  * @param body (optional)
9748
9595
  * @return Success
9749
9596
  */
@@ -9810,11 +9657,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9810
9657
  return throwException("Unauthorized", status, _responseText, _headers);
9811
9658
  }));
9812
9659
  }
9813
- else if (status === 403) {
9814
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9815
- return throwException("Forbidden", status, _responseText, _headers);
9816
- }));
9817
- }
9818
9660
  else if (status !== 200 && status !== 204) {
9819
9661
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9820
9662
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9824,7 +9666,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9824
9666
  }
9825
9667
  /**
9826
9668
  * @param fontKey (optional)
9827
- * @param tenantId (optional) Tenant identifier
9669
+ * @param tenantId (optional) Tenant ID.
9828
9670
  * @return Success
9829
9671
  */
9830
9672
  getCssFont(fontKey, tenantId) {
@@ -9888,11 +9730,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9888
9730
  return throwException("Unauthorized", status, _responseText, _headers);
9889
9731
  }));
9890
9732
  }
9891
- else if (status === 403) {
9892
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9893
- return throwException("Forbidden", status, _responseText, _headers);
9894
- }));
9895
- }
9896
9733
  else if (status !== 200 && status !== 204) {
9897
9734
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9898
9735
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9901,7 +9738,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9901
9738
  return of(null);
9902
9739
  }
9903
9740
  /**
9904
- * @param tenantId (optional) Tenant identifier
9741
+ * @param tenantId (optional) Tenant ID.
9905
9742
  * @return Success
9906
9743
  */
9907
9744
  getFallbackFonts(tenantId) {
@@ -9957,11 +9794,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9957
9794
  return throwException("Unauthorized", status, _responseText, _headers);
9958
9795
  }));
9959
9796
  }
9960
- else if (status === 403) {
9961
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9962
- return throwException("Forbidden", status, _responseText, _headers);
9963
- }));
9964
- }
9965
9797
  else if (status !== 200 && status !== 204) {
9966
9798
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
9967
9799
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9970,7 +9802,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
9970
9802
  return of(null);
9971
9803
  }
9972
9804
  /**
9973
- * @param tenantId (optional) Tenant identifier
9805
+ * @param tenantId (optional) Tenant ID.
9974
9806
  * @param body (optional)
9975
9807
  * @return Success
9976
9808
  */
@@ -10030,11 +9862,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10030
9862
  return throwException("Unauthorized", status, _responseText, _headers);
10031
9863
  }));
10032
9864
  }
10033
- else if (status === 403) {
10034
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10035
- return throwException("Forbidden", status, _responseText, _headers);
10036
- }));
10037
- }
10038
9865
  else if (status !== 200 && status !== 204) {
10039
9866
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10040
9867
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10043,7 +9870,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10043
9870
  return of(null);
10044
9871
  }
10045
9872
  /**
10046
- * @param tenantId (optional) Tenant identifier
9873
+ * @param tenantId (optional) Tenant ID.
10047
9874
  * @param body (optional)
10048
9875
  * @return Success
10049
9876
  */
@@ -10103,11 +9930,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10103
9930
  return throwException("Unauthorized", status, _responseText, _headers);
10104
9931
  }));
10105
9932
  }
10106
- else if (status === 403) {
10107
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10108
- return throwException("Forbidden", status, _responseText, _headers);
10109
- }));
10110
- }
10111
9933
  else if (status !== 200 && status !== 204) {
10112
9934
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10113
9935
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10116,7 +9938,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10116
9938
  return of(null);
10117
9939
  }
10118
9940
  /**
10119
- * @param tenantId (optional) Tenant identifier
9941
+ * @param tenantId (optional) Tenant ID.
10120
9942
  * @param body (optional)
10121
9943
  * @return Success
10122
9944
  */
@@ -10176,11 +9998,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10176
9998
  return throwException("Unauthorized", status, _responseText, _headers);
10177
9999
  }));
10178
10000
  }
10179
- else if (status === 403) {
10180
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10181
- return throwException("Forbidden", status, _responseText, _headers);
10182
- }));
10183
- }
10184
10001
  else if (status !== 200 && status !== 204) {
10185
10002
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10186
10003
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10207,7 +10024,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10207
10024
  * @param colorizeColor (optional)
10208
10025
  * @param rw (optional)
10209
10026
  * @param rh (optional)
10210
- * @param tenantId (optional) Tenant identifier
10027
+ * @param tenantId (optional) Tenant ID.
10211
10028
  * @return Success
10212
10029
  */
10213
10030
  img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
@@ -10310,11 +10127,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10310
10127
  return throwException("Unauthorized", status, _responseText, _headers);
10311
10128
  }));
10312
10129
  }
10313
- else if (status === 403) {
10314
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10315
- return throwException("Forbidden", status, _responseText, _headers);
10316
- }));
10317
- }
10318
10130
  else if (status !== 200 && status !== 204) {
10319
10131
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10320
10132
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10323,7 +10135,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10323
10135
  return of(null);
10324
10136
  }
10325
10137
  /**
10326
- * @param tenantId (optional) Tenant identifier
10138
+ * @param tenantId (optional) Tenant ID.
10327
10139
  * @return Success
10328
10140
  */
10329
10141
  getLicense(tenantId) {
@@ -10379,11 +10191,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10379
10191
  return throwException("Unauthorized", status, _responseText, _headers);
10380
10192
  }));
10381
10193
  }
10382
- else if (status === 403) {
10383
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10384
- return throwException("Forbidden", status, _responseText, _headers);
10385
- }));
10386
- }
10387
10194
  else if (status !== 200 && status !== 204) {
10388
10195
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10389
10196
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10393,7 +10200,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10393
10200
  }
10394
10201
  /**
10395
10202
  * @param f (optional)
10396
- * @param tenantId (optional) Tenant identifier
10203
+ * @param tenantId (optional) Tenant ID.
10397
10204
  * @return Success
10398
10205
  */
10399
10206
  pth(f, tenantId) {
@@ -10462,11 +10269,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10462
10269
  return throwException("Unauthorized", status, _responseText, _headers);
10463
10270
  }));
10464
10271
  }
10465
- else if (status === 403) {
10466
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10467
- return throwException("Forbidden", status, _responseText, _headers);
10468
- }));
10469
- }
10470
10272
  else if (status !== 200 && status !== 204) {
10471
10273
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10472
10274
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10476,7 +10278,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10476
10278
  }
10477
10279
  /**
10478
10280
  * @param image (optional)
10479
- * @param tenantId (optional) Tenant identifier
10281
+ * @param tenantId (optional) Tenant ID.
10480
10282
  * @return Success
10481
10283
  */
10482
10284
  resource(image, tenantId) {
@@ -10540,11 +10342,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10540
10342
  return throwException("Unauthorized", status, _responseText, _headers);
10541
10343
  }));
10542
10344
  }
10543
- else if (status === 403) {
10544
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10545
- return throwException("Forbidden", status, _responseText, _headers);
10546
- }));
10547
- }
10548
10345
  else if (status !== 200 && status !== 204) {
10549
10346
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10550
10347
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10571,7 +10368,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10571
10368
  * @param colorizeColor (optional)
10572
10369
  * @param rw (optional)
10573
10370
  * @param rh (optional)
10574
- * @param tenantId (optional) Tenant identifier
10371
+ * @param tenantId (optional) Tenant ID.
10575
10372
  * @return Success
10576
10373
  */
10577
10374
  svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
@@ -10674,11 +10471,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10674
10471
  return throwException("Unauthorized", status, _responseText, _headers);
10675
10472
  }));
10676
10473
  }
10677
- else if (status === 403) {
10678
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10679
- return throwException("Forbidden", status, _responseText, _headers);
10680
- }));
10681
- }
10682
10474
  else if (status !== 200 && status !== 204) {
10683
10475
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10684
10476
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10688,7 +10480,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10688
10480
  }
10689
10481
  /**
10690
10482
  * @param f (optional)
10691
- * @param tenantId (optional) Tenant identifier
10483
+ * @param tenantId (optional) Tenant ID.
10692
10484
  * @return Success
10693
10485
  */
10694
10486
  txt(f, tenantId) {
@@ -10757,11 +10549,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10757
10549
  return throwException("Unauthorized", status, _responseText, _headers);
10758
10550
  }));
10759
10551
  }
10760
- else if (status === 403) {
10761
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10762
- return throwException("Forbidden", status, _responseText, _headers);
10763
- }));
10764
- }
10765
10552
  else if (status !== 200 && status !== 204) {
10766
10553
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10767
10554
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10770,7 +10557,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10770
10557
  return of(null);
10771
10558
  }
10772
10559
  /**
10773
- * @param tenantId (optional) Tenant identifier
10560
+ * @param tenantId (optional) Tenant ID.
10774
10561
  * @param body (optional)
10775
10562
  * @return Success
10776
10563
  */
@@ -10830,11 +10617,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10830
10617
  return throwException("Unauthorized", status, _responseText, _headers);
10831
10618
  }));
10832
10619
  }
10833
- else if (status === 403) {
10834
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10835
- return throwException("Forbidden", status, _responseText, _headers);
10836
- }));
10837
- }
10838
10620
  else if (status !== 200 && status !== 204) {
10839
10621
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10840
10622
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10843,7 +10625,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10843
10625
  return of(null);
10844
10626
  }
10845
10627
  /**
10846
- * @param tenantId (optional) Tenant identifier
10628
+ * @param tenantId (optional) Tenant ID.
10847
10629
  * @param body (optional)
10848
10630
  * @return Success
10849
10631
  */
@@ -10903,11 +10685,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10903
10685
  return throwException("Unauthorized", status, _responseText, _headers);
10904
10686
  }));
10905
10687
  }
10906
- else if (status === 403) {
10907
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10908
- return throwException("Forbidden", status, _responseText, _headers);
10909
- }));
10910
- }
10911
10688
  else if (status !== 200 && status !== 204) {
10912
10689
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10913
10690
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10916,7 +10693,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10916
10693
  return of(null);
10917
10694
  }
10918
10695
  /**
10919
- * @param tenantId (optional) Tenant identifier
10696
+ * @param tenantId (optional) Tenant ID.
10920
10697
  * @param body (optional)
10921
10698
  * @return Success
10922
10699
  */
@@ -10976,11 +10753,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10976
10753
  return throwException("Unauthorized", status, _responseText, _headers);
10977
10754
  }));
10978
10755
  }
10979
- else if (status === 403) {
10980
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10981
- return throwException("Forbidden", status, _responseText, _headers);
10982
- }));
10983
- }
10984
10756
  else if (status !== 200 && status !== 204) {
10985
10757
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
10986
10758
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10989,7 +10761,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
10989
10761
  return of(null);
10990
10762
  }
10991
10763
  /**
10992
- * @param tenantId (optional) Tenant identifier
10764
+ * @param tenantId (optional) Tenant ID.
10993
10765
  * @param body (optional)
10994
10766
  * @return Success
10995
10767
  */
@@ -11049,11 +10821,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11049
10821
  return throwException("Unauthorized", status, _responseText, _headers);
11050
10822
  }));
11051
10823
  }
11052
- else if (status === 403) {
11053
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11054
- return throwException("Forbidden", status, _responseText, _headers);
11055
- }));
11056
- }
11057
10824
  else if (status !== 200 && status !== 204) {
11058
10825
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11059
10826
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11062,7 +10829,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11062
10829
  return of(null);
11063
10830
  }
11064
10831
  /**
11065
- * @param tenantId (optional) Tenant identifier
10832
+ * @param tenantId (optional) Tenant ID.
11066
10833
  * @param body (optional)
11067
10834
  * @return Success
11068
10835
  */
@@ -11122,11 +10889,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11122
10889
  return throwException("Unauthorized", status, _responseText, _headers);
11123
10890
  }));
11124
10891
  }
11125
- else if (status === 403) {
11126
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11127
- return throwException("Forbidden", status, _responseText, _headers);
11128
- }));
11129
- }
11130
10892
  else if (status !== 200 && status !== 204) {
11131
10893
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11132
10894
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11135,7 +10897,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11135
10897
  return of(null);
11136
10898
  }
11137
10899
  /**
11138
- * @param tenantId (optional) Tenant identifier
10900
+ * @param tenantId (optional) Tenant ID.
11139
10901
  * @param body (optional)
11140
10902
  * @return Success
11141
10903
  */
@@ -11195,11 +10957,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11195
10957
  return throwException("Unauthorized", status, _responseText, _headers);
11196
10958
  }));
11197
10959
  }
11198
- else if (status === 403) {
11199
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11200
- return throwException("Forbidden", status, _responseText, _headers);
11201
- }));
11202
- }
11203
10960
  else if (status !== 200 && status !== 204) {
11204
10961
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11205
10962
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11208,7 +10965,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11208
10965
  return of(null);
11209
10966
  }
11210
10967
  /**
11211
- * @param tenantId (optional) Tenant identifier
10968
+ * @param tenantId (optional) Tenant ID.
11212
10969
  * @param body (optional)
11213
10970
  * @return Success
11214
10971
  */
@@ -11268,11 +11025,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11268
11025
  return throwException("Unauthorized", status, _responseText, _headers);
11269
11026
  }));
11270
11027
  }
11271
- else if (status === 403) {
11272
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11273
- return throwException("Forbidden", status, _responseText, _headers);
11274
- }));
11275
- }
11276
11028
  else if (status !== 200 && status !== 204) {
11277
11029
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11278
11030
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11281,7 +11033,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11281
11033
  return of(null);
11282
11034
  }
11283
11035
  /**
11284
- * @param tenantId (optional) Tenant identifier
11036
+ * @param tenantId (optional) Tenant ID.
11285
11037
  * @param body (optional)
11286
11038
  * @return Success
11287
11039
  */
@@ -11341,11 +11093,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11341
11093
  return throwException("Unauthorized", status, _responseText, _headers);
11342
11094
  }));
11343
11095
  }
11344
- else if (status === 403) {
11345
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11346
- return throwException("Forbidden", status, _responseText, _headers);
11347
- }));
11348
- }
11349
11096
  else if (status !== 200 && status !== 204) {
11350
11097
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11351
11098
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11354,7 +11101,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11354
11101
  return of(null);
11355
11102
  }
11356
11103
  /**
11357
- * @param tenantId (optional) Tenant identifier
11104
+ * @param tenantId (optional) Tenant ID.
11358
11105
  * @param body (optional)
11359
11106
  * @return Success
11360
11107
  */
@@ -11414,11 +11161,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11414
11161
  return throwException("Unauthorized", status, _responseText, _headers);
11415
11162
  }));
11416
11163
  }
11417
- else if (status === 403) {
11418
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11419
- return throwException("Forbidden", status, _responseText, _headers);
11420
- }));
11421
- }
11422
11164
  else if (status !== 200 && status !== 204) {
11423
11165
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11424
11166
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11427,7 +11169,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11427
11169
  return of(null);
11428
11170
  }
11429
11171
  /**
11430
- * @param tenantId (optional) Tenant identifier
11172
+ * @param tenantId (optional) Tenant ID.
11431
11173
  * @param body (optional)
11432
11174
  * @return Success
11433
11175
  */
@@ -11487,11 +11229,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11487
11229
  return throwException("Unauthorized", status, _responseText, _headers);
11488
11230
  }));
11489
11231
  }
11490
- else if (status === 403) {
11491
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11492
- return throwException("Forbidden", status, _responseText, _headers);
11493
- }));
11494
- }
11495
11232
  else if (status !== 200 && status !== 204) {
11496
11233
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11497
11234
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -11500,7 +11237,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11500
11237
  return of(null);
11501
11238
  }
11502
11239
  /**
11503
- * @param tenantId (optional) Tenant identifier
11240
+ * @param tenantId (optional) Tenant ID.
11504
11241
  * @param body (optional)
11505
11242
  * @return Success
11506
11243
  */
@@ -11560,11 +11297,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
11560
11297
  return throwException("Unauthorized", status, _responseText, _headers);
11561
11298
  }));
11562
11299
  }
11563
- else if (status === 403) {
11564
- return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11565
- return throwException("Forbidden", status, _responseText, _headers);
11566
- }));
11567
- }
11568
11300
  else if (status !== 200 && status !== 204) {
11569
11301
  return blobToText(responseBlob).pipe(mergeMap(_responseText => {
11570
11302
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);