@aurigma/axios-design-atoms-api-client 2.68.1 → 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.
@@ -219,10 +219,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
219
219
  const _responseText = response.data;
220
220
  return throwException("Unauthorized", status, _responseText, _headers);
221
221
  }
222
- else if (status === 403) {
223
- const _responseText = response.data;
224
- return throwException("Forbidden", status, _responseText, _headers);
225
- }
226
222
  else if (status !== 200 && status !== 204) {
227
223
  const _responseText = response.data;
228
224
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -290,10 +286,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
290
286
  const _responseText = response.data;
291
287
  return throwException("Unauthorized", status, _responseText, _headers);
292
288
  }
293
- else if (status === 403) {
294
- const _responseText = response.data;
295
- return throwException("Forbidden", status, _responseText, _headers);
296
- }
297
289
  else if (status !== 200 && status !== 204) {
298
290
  const _responseText = response.data;
299
291
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -362,10 +354,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
362
354
  const _responseText = response.data;
363
355
  return throwException("Unauthorized", status, _responseText, _headers);
364
356
  }
365
- else if (status === 403) {
366
- const _responseText = response.data;
367
- return throwException("Forbidden", status, _responseText, _headers);
368
- }
369
357
  else if (status !== 200 && status !== 204) {
370
358
  const _responseText = response.data;
371
359
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -434,10 +422,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
434
422
  const _responseText = response.data;
435
423
  return throwException("Unauthorized", status, _responseText, _headers);
436
424
  }
437
- else if (status === 403) {
438
- const _responseText = response.data;
439
- return throwException("Forbidden", status, _responseText, _headers);
440
- }
441
425
  else if (status !== 200 && status !== 204) {
442
426
  const _responseText = response.data;
443
427
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -505,10 +489,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
505
489
  const _responseText = response.data;
506
490
  return throwException("Unauthorized", status, _responseText, _headers);
507
491
  }
508
- else if (status === 403) {
509
- const _responseText = response.data;
510
- return throwException("Forbidden", status, _responseText, _headers);
511
- }
512
492
  else if (status !== 200 && status !== 204) {
513
493
  const _responseText = response.data;
514
494
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -566,10 +546,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
566
546
  const _responseText = response.data;
567
547
  return throwException("Unauthorized", status, _responseText, _headers);
568
548
  }
569
- else if (status === 403) {
570
- const _responseText = response.data;
571
- return throwException("Forbidden", status, _responseText, _headers);
572
- }
573
549
  else if (status !== 200 && status !== 204) {
574
550
  const _responseText = response.data;
575
551
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -631,10 +607,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
631
607
  const _responseText = response.data;
632
608
  return throwException("Unauthorized", status, _responseText, _headers);
633
609
  }
634
- else if (status === 403) {
635
- const _responseText = response.data;
636
- return throwException("Forbidden", status, _responseText, _headers);
637
- }
638
610
  else if (status !== 200 && status !== 204) {
639
611
  const _responseText = response.data;
640
612
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -696,10 +668,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
696
668
  const _responseText = response.data;
697
669
  return throwException("Unauthorized", status, _responseText, _headers);
698
670
  }
699
- else if (status === 403) {
700
- const _responseText = response.data;
701
- return throwException("Forbidden", status, _responseText, _headers);
702
- }
703
671
  else if (status !== 200 && status !== 204) {
704
672
  const _responseText = response.data;
705
673
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -761,10 +729,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
761
729
  const _responseText = response.data;
762
730
  return throwException("Unauthorized", status, _responseText, _headers);
763
731
  }
764
- else if (status === 403) {
765
- const _responseText = response.data;
766
- return throwException("Forbidden", status, _responseText, _headers);
767
- }
768
732
  else if (status !== 200 && status !== 204) {
769
733
  const _responseText = response.data;
770
734
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -887,10 +851,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
887
851
  const _responseText = response.data;
888
852
  return throwException("Unauthorized", status, _responseText, _headers);
889
853
  }
890
- else if (status === 403) {
891
- const _responseText = response.data;
892
- return throwException("Forbidden", status, _responseText, _headers);
893
- }
894
854
  else if (status !== 200 && status !== 204) {
895
855
  const _responseText = response.data;
896
856
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -948,10 +908,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
948
908
  const _responseText = response.data;
949
909
  return throwException("Unauthorized", status, _responseText, _headers);
950
910
  }
951
- else if (status === 403) {
952
- const _responseText = response.data;
953
- return throwException("Forbidden", status, _responseText, _headers);
954
- }
955
911
  else if (status !== 200 && status !== 204) {
956
912
  const _responseText = response.data;
957
913
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1023,10 +979,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1023
979
  const _responseText = response.data;
1024
980
  return throwException("Unauthorized", status, _responseText, _headers);
1025
981
  }
1026
- else if (status === 403) {
1027
- const _responseText = response.data;
1028
- return throwException("Forbidden", status, _responseText, _headers);
1029
- }
1030
982
  else if (status !== 200 && status !== 204) {
1031
983
  const _responseText = response.data;
1032
984
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1094,10 +1046,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1094
1046
  const _responseText = response.data;
1095
1047
  return throwException("Unauthorized", status, _responseText, _headers);
1096
1048
  }
1097
- else if (status === 403) {
1098
- const _responseText = response.data;
1099
- return throwException("Forbidden", status, _responseText, _headers);
1100
- }
1101
1049
  else if (status !== 200 && status !== 204) {
1102
1050
  const _responseText = response.data;
1103
1051
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1220,10 +1168,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1220
1168
  const _responseText = response.data;
1221
1169
  return throwException("Unauthorized", status, _responseText, _headers);
1222
1170
  }
1223
- else if (status === 403) {
1224
- const _responseText = response.data;
1225
- return throwException("Forbidden", status, _responseText, _headers);
1226
- }
1227
1171
  else if (status !== 200 && status !== 204) {
1228
1172
  const _responseText = response.data;
1229
1173
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1295,10 +1239,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1295
1239
  const _responseText = response.data;
1296
1240
  return throwException("Unauthorized", status, _responseText, _headers);
1297
1241
  }
1298
- else if (status === 403) {
1299
- const _responseText = response.data;
1300
- return throwException("Forbidden", status, _responseText, _headers);
1301
- }
1302
1242
  else if (status !== 200 && status !== 204) {
1303
1243
  const _responseText = response.data;
1304
1244
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1360,10 +1300,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1360
1300
  const _responseText = response.data;
1361
1301
  return throwException("Unauthorized", status, _responseText, _headers);
1362
1302
  }
1363
- else if (status === 403) {
1364
- const _responseText = response.data;
1365
- return throwException("Forbidden", status, _responseText, _headers);
1366
- }
1367
1303
  else if (status !== 200 && status !== 204) {
1368
1304
  const _responseText = response.data;
1369
1305
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1425,10 +1361,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1425
1361
  const _responseText = response.data;
1426
1362
  return throwException("Unauthorized", status, _responseText, _headers);
1427
1363
  }
1428
- else if (status === 403) {
1429
- const _responseText = response.data;
1430
- return throwException("Forbidden", status, _responseText, _headers);
1431
- }
1432
1364
  else if (status !== 200 && status !== 204) {
1433
1365
  const _responseText = response.data;
1434
1366
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1490,10 +1422,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1490
1422
  const _responseText = response.data;
1491
1423
  return throwException("Unauthorized", status, _responseText, _headers);
1492
1424
  }
1493
- else if (status === 403) {
1494
- const _responseText = response.data;
1495
- return throwException("Forbidden", status, _responseText, _headers);
1496
- }
1497
1425
  else if (status !== 200 && status !== 204) {
1498
1426
  const _responseText = response.data;
1499
1427
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1555,10 +1483,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1555
1483
  const _responseText = response.data;
1556
1484
  return throwException("Unauthorized", status, _responseText, _headers);
1557
1485
  }
1558
- else if (status === 403) {
1559
- const _responseText = response.data;
1560
- return throwException("Forbidden", status, _responseText, _headers);
1561
- }
1562
1486
  else if (status !== 200 && status !== 204) {
1563
1487
  const _responseText = response.data;
1564
1488
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1620,10 +1544,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1620
1544
  const _responseText = response.data;
1621
1545
  return throwException("Unauthorized", status, _responseText, _headers);
1622
1546
  }
1623
- else if (status === 403) {
1624
- const _responseText = response.data;
1625
- return throwException("Forbidden", status, _responseText, _headers);
1626
- }
1627
1547
  else if (status !== 200 && status !== 204) {
1628
1548
  const _responseText = response.data;
1629
1549
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1685,10 +1605,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1685
1605
  const _responseText = response.data;
1686
1606
  return throwException("Unauthorized", status, _responseText, _headers);
1687
1607
  }
1688
- else if (status === 403) {
1689
- const _responseText = response.data;
1690
- return throwException("Forbidden", status, _responseText, _headers);
1691
- }
1692
1608
  else if (status !== 200 && status !== 204) {
1693
1609
  const _responseText = response.data;
1694
1610
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1750,10 +1666,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1750
1666
  const _responseText = response.data;
1751
1667
  return throwException("Unauthorized", status, _responseText, _headers);
1752
1668
  }
1753
- else if (status === 403) {
1754
- const _responseText = response.data;
1755
- return throwException("Forbidden", status, _responseText, _headers);
1756
- }
1757
1669
  else if (status !== 200 && status !== 204) {
1758
1670
  const _responseText = response.data;
1759
1671
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1815,10 +1727,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1815
1727
  const _responseText = response.data;
1816
1728
  return throwException("Unauthorized", status, _responseText, _headers);
1817
1729
  }
1818
- else if (status === 403) {
1819
- const _responseText = response.data;
1820
- return throwException("Forbidden", status, _responseText, _headers);
1821
- }
1822
1730
  else if (status !== 200 && status !== 204) {
1823
1731
  const _responseText = response.data;
1824
1732
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1880,10 +1788,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1880
1788
  const _responseText = response.data;
1881
1789
  return throwException("Unauthorized", status, _responseText, _headers);
1882
1790
  }
1883
- else if (status === 403) {
1884
- const _responseText = response.data;
1885
- return throwException("Forbidden", status, _responseText, _headers);
1886
- }
1887
1791
  else if (status !== 200 && status !== 204) {
1888
1792
  const _responseText = response.data;
1889
1793
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -1945,10 +1849,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
1945
1849
  const _responseText = response.data;
1946
1850
  return throwException("Unauthorized", status, _responseText, _headers);
1947
1851
  }
1948
- else if (status === 403) {
1949
- const _responseText = response.data;
1950
- return throwException("Forbidden", status, _responseText, _headers);
1951
- }
1952
1852
  else if (status !== 200 && status !== 204) {
1953
1853
  const _responseText = response.data;
1954
1854
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2010,10 +1910,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
2010
1910
  const _responseText = response.data;
2011
1911
  return throwException("Unauthorized", status, _responseText, _headers);
2012
1912
  }
2013
- else if (status === 403) {
2014
- const _responseText = response.data;
2015
- return throwException("Forbidden", status, _responseText, _headers);
2016
- }
2017
1913
  else if (status !== 200 && status !== 204) {
2018
1914
  const _responseText = response.data;
2019
1915
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -2034,7 +1930,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2034
1930
  * Renders a preview of an image with the specified parameters.
2035
1931
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2036
1932
  (default value is 'false').
2037
- * @param tenantId (optional) Tenant identifier
1933
+ * @param tenantId (optional) Tenant ID.
2038
1934
  * @param body (optional) Render model with preview parameters.
2039
1935
  * @return Success
2040
1936
  */
@@ -2113,7 +2009,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2113
2009
  * Renders a preview of an uploaded image with the specified parameters.
2114
2010
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2115
2011
  (default value is 'false').
2116
- * @param tenantId (optional) Tenant identifier
2012
+ * @param tenantId (optional) Tenant ID.
2117
2013
  * @param sourceFile (optional)
2118
2014
  * @param mockupOwnerId (optional)
2119
2015
  * @param mockupId (optional)
@@ -2209,7 +2105,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2209
2105
  }
2210
2106
  /**
2211
2107
  * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
2212
- * @param tenantId (optional) Tenant identifier
2108
+ * @param tenantId (optional) Tenant ID.
2213
2109
  * @param resourceOwnerId (optional)
2214
2110
  * @param resourceNamespace (optional)
2215
2111
  * @param resourceName (optional)
@@ -2333,7 +2229,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2333
2229
  * Renders a preview of a web image with the specified parameters.
2334
2230
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
2335
2231
  (default value is 'false').
2336
- * @param tenantId (optional) Tenant identifier
2232
+ * @param tenantId (optional) Tenant ID.
2337
2233
  * @param body (optional) Render model with preview parameters.
2338
2234
  * @return Success
2339
2235
  */
@@ -2410,7 +2306,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2410
2306
  }
2411
2307
  /**
2412
2308
  * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
2413
- * @param tenantId (optional) Tenant identifier
2309
+ * @param tenantId (optional) Tenant ID.
2414
2310
  * @param body (optional) Render model with preview parameters.
2415
2311
  * @return Success
2416
2312
  */
@@ -2492,7 +2388,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
2492
2388
  }
2493
2389
  /**
2494
2390
  * Renders a preview of an image with the specified parameters and saves rendering result as resource.
2495
- * @param tenantId (optional) Tenant identifier
2391
+ * @param tenantId (optional) Tenant ID.
2496
2392
  * @param body (optional) Render model with preview parameters.
2497
2393
  * @return Success
2498
2394
  */
@@ -2586,7 +2482,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
2586
2482
  * Returns a 3D-Mockup attributes.
2587
2483
  * @param id 3D-Mockup identifier.
2588
2484
  * @param ownerId (optional) Private mockup owner identifier.
2589
- * @param tenantId (optional) Tenant identifier
2485
+ * @param tenantId (optional) Tenant ID.
2590
2486
  * @return Success
2591
2487
  */
2592
2488
  getAttributes(id, ownerId, tenantId, cancelToken) {
@@ -2671,7 +2567,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
2671
2567
  * Returns a 3D-Mockup content as protobuf binary stream.
2672
2568
  * @param id 3D-Mockup identifier.
2673
2569
  * @param ownerId (optional) Private mockup owner identifier.
2674
- * @param tenantId (optional) Tenant identifier
2570
+ * @param tenantId (optional) Tenant ID.
2675
2571
  * @return Success
2676
2572
  */
2677
2573
  getContentAsProtobuf(id, ownerId, tenantId, cancelToken) {
@@ -2756,7 +2652,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
2756
2652
  * Returns a 3D-Mockup geometry as binary stream.
2757
2653
  * @param id 3D-Mockup identifier.
2758
2654
  * @param ownerId (optional) Private mockup owner identifier.
2759
- * @param tenantId (optional) Tenant identifier
2655
+ * @param tenantId (optional) Tenant ID.
2760
2656
  * @return Success
2761
2657
  */
2762
2658
  getGeometryFile(id, ownerId, tenantId, cancelToken) {
@@ -2850,7 +2746,7 @@ export class DesignAtomsPalettesApiClient extends ApiClientBase {
2850
2746
  /**
2851
2747
  * Returns a closest color to provided color in a specified palette.
2852
2748
  * @param paletteUID (optional) Palette UID.
2853
- * @param tenantId (optional) Tenant identifier
2749
+ * @param tenantId (optional) Tenant ID.
2854
2750
  * @param body (optional) Source color.
2855
2751
  * @return Success
2856
2752
  */
@@ -2943,7 +2839,7 @@ export class DesignAtomsPalettesApiClient extends ApiClientBase {
2943
2839
  * Returns a serialized palette model by its identifier or UID.
2944
2840
  * @param id (optional) Palette identifier.
2945
2841
  * @param uid (optional) Palette UID.
2946
- * @param tenantId (optional) Tenant identifier
2842
+ * @param tenantId (optional) Tenant ID.
2947
2843
  * @return Success
2948
2844
  */
2949
2845
  getPaletteModel(id, uid, tenantId, cancelToken) {
@@ -3044,7 +2940,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3044
2940
  * Patches a print-product of the specified design file.
3045
2941
  * @param id Design identifier.
3046
2942
  * @param privateStorageOwner (optional) Private storage owner identifier.
3047
- * @param tenantId (optional) Tenant identifier
2943
+ * @param tenantId (optional) Tenant ID.
3048
2944
  * @param patchType (optional)
3049
2945
  * @param replaceImageItemFileInfo_itemName (optional)
3050
2946
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -3066,9 +2962,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3066
2962
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
3067
2963
  url_ = url_.replace(/[?&]$/, "");
3068
2964
  const content_ = new FormData();
3069
- if (patchType === null || patchType === undefined)
3070
- throw new Error("The parameter 'patchType' cannot be null.");
3071
- else
2965
+ if (patchType !== null && patchType !== undefined)
3072
2966
  content_.append("patchType", patchType.toString());
3073
2967
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
3074
2968
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -3076,9 +2970,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3076
2970
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
3077
2971
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
3078
2972
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
3079
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
3080
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
3081
- else
2973
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
3082
2974
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
3083
2975
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
3084
2976
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -3142,7 +3034,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3142
3034
  * @param id Design identifier.
3143
3035
  * @param surfaceId (optional) Print-product surface identifier.
3144
3036
  * @param privateStorageOwner (optional) Private storage owner identifier.
3145
- * @param tenantId (optional) Tenant identifier
3037
+ * @param tenantId (optional) Tenant ID.
3146
3038
  * @return Success
3147
3039
  */
3148
3040
  getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -3223,7 +3115,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3223
3115
  * @param id Design identifier.
3224
3116
  * @param containerId Print-product container identifier.
3225
3117
  * @param privateStorageOwner (optional) Private storage owner identifier.
3226
- * @param tenantId (optional) Tenant identifier
3118
+ * @param tenantId (optional) Tenant ID.
3227
3119
  * @return No Content
3228
3120
  */
3229
3121
  deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId, cancelToken) {
@@ -3307,7 +3199,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3307
3199
  * @param id Design identifier.
3308
3200
  * @param containerId Print-product container identifier.
3309
3201
  * @param privateStorageOwner (optional) Private storage owner identifier.
3310
- * @param tenantId (optional) Tenant identifier
3202
+ * @param tenantId (optional) Tenant ID.
3311
3203
  * @return Success
3312
3204
  */
3313
3205
  getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId, cancelToken) {
@@ -3396,7 +3288,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3396
3288
  * @param id Design identifier.
3397
3289
  * @param containerId Print-product container identifier.
3398
3290
  * @param privateStorageOwner (optional) Private storage owner identifier.
3399
- * @param tenantId (optional) Tenant identifier
3291
+ * @param tenantId (optional) Tenant ID.
3400
3292
  * @param body (optional) Json-serialized model of a print-product container.
3401
3293
  * @return Success
3402
3294
  */
@@ -3500,7 +3392,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3500
3392
  * @param top (optional) Y axis position.
3501
3393
  * @param left (optional) X axis position.
3502
3394
  * @param privateStorageOwner (optional) Private storage owner identifier.
3503
- * @param tenantId (optional) Tenant identifier
3395
+ * @param tenantId (optional) Tenant ID.
3504
3396
  * @param body (optional) Json-serialized model of a new print-product container.
3505
3397
  * @return Success
3506
3398
  */
@@ -3604,7 +3496,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3604
3496
  * @param containerId (optional) Print-product container identifier.
3605
3497
  * @param parentItemId (optional) Print-product item identifier.
3606
3498
  * @param privateStorageOwner (optional) Private storage owner identifier.
3607
- * @param tenantId (optional) Tenant identifier
3499
+ * @param tenantId (optional) Tenant ID.
3608
3500
  * @return Success
3609
3501
  */
3610
3502
  getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3689,7 +3581,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3689
3581
  * @param id Design identifier.
3690
3582
  * @param itemId Print-product item identifier.
3691
3583
  * @param privateStorageOwner (optional) Private storage owner identifier.
3692
- * @param tenantId (optional) Tenant identifier
3584
+ * @param tenantId (optional) Tenant ID.
3693
3585
  * @return No Content
3694
3586
  */
3695
3587
  deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3773,7 +3665,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3773
3665
  * @param id Design identifier.
3774
3666
  * @param itemId Print-product item identifier.
3775
3667
  * @param privateStorageOwner (optional) Private storage owner identifier.
3776
- * @param tenantId (optional) Tenant identifier
3668
+ * @param tenantId (optional) Tenant ID.
3777
3669
  * @return Success
3778
3670
  */
3779
3671
  getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId, cancelToken) {
@@ -3862,7 +3754,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3862
3754
  * @param id Design identifier.
3863
3755
  * @param itemId Print-product item identifier.
3864
3756
  * @param privateStorageOwner (optional) Private storage owner identifier.
3865
- * @param tenantId (optional) Tenant identifier
3757
+ * @param tenantId (optional) Tenant ID.
3866
3758
  * @param body (optional) Json-serialized model of a print-product item.
3867
3759
  * @return Success
3868
3760
  */
@@ -3966,7 +3858,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
3966
3858
  * @param top (optional) Y axis position.
3967
3859
  * @param left (optional) X axis position.
3968
3860
  * @param privateStorageOwner (optional) Private storage owner identifier.
3969
- * @param tenantId (optional) Tenant identifier
3861
+ * @param tenantId (optional) Tenant ID.
3970
3862
  * @param body (optional) Json-serialized model of a new print-product item.
3971
3863
  * @return Success
3972
3864
  */
@@ -4067,7 +3959,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4067
3959
  * Returns a print-product of the specified design file as a json-serialized model.
4068
3960
  * @param id Design identifier.
4069
3961
  * @param privateStorageOwner (optional) Private storage owner identifier.
4070
- * @param tenantId (optional) Tenant identifier
3962
+ * @param tenantId (optional) Tenant ID.
4071
3963
  * @return Success
4072
3964
  */
4073
3965
  getDesignProductModel(id, privateStorageOwner, tenantId, cancelToken) {
@@ -4145,7 +4037,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4145
4037
  * Updates a print-product provided as a json-serialized model is the specified design file.
4146
4038
  * @param id Design identifier.
4147
4039
  * @param privateStorageOwner (optional) Private storage owner identifier.
4148
- * @param tenantId (optional) Tenant identifier
4040
+ * @param tenantId (optional) Tenant ID.
4149
4041
  * @param body (optional) Json-serialized model of a print-product .
4150
4042
  * @return No Content
4151
4043
  */
@@ -4224,7 +4116,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4224
4116
  * @param id Design identifier.
4225
4117
  * @param surfaceId (optional)
4226
4118
  * @param privateStorageOwner (optional) Private storage owner identifier.
4227
- * @param tenantId (optional) Tenant identifier
4119
+ * @param tenantId (optional) Tenant ID.
4228
4120
  * @return Success
4229
4121
  */
4230
4122
  getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -4305,7 +4197,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4305
4197
  Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
4306
4198
  * @param id Design identifier.
4307
4199
  * @param privateStorageOwner (optional) Private storage owner identifier.
4308
- * @param tenantId (optional) Tenant identifier
4200
+ * @param tenantId (optional) Tenant ID.
4309
4201
  * @param body (optional) Print-area description model.
4310
4202
  * @return Success
4311
4203
  */
@@ -4395,7 +4287,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4395
4287
  * @param id Design identifier.
4396
4288
  * @param printAreaId Design print-area identifier.
4397
4289
  * @param privateStorageOwner (optional) Private storage owner identifier.
4398
- * @param tenantId (optional) Tenant identifier
4290
+ * @param tenantId (optional) Tenant ID.
4399
4291
  * @param body (optional) Print-area description model.
4400
4292
  * @return Success
4401
4293
  */
@@ -4495,7 +4387,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4495
4387
  * @param id Design identifier.
4496
4388
  * @param printAreaId Design print-area identifier.
4497
4389
  * @param privateStorageOwner (optional) Private storage owner identifier.
4498
- * @param tenantId (optional) Tenant identifier
4390
+ * @param tenantId (optional) Tenant ID.
4499
4391
  * @return No Content
4500
4392
  */
4501
4393
  deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
@@ -4579,7 +4471,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4579
4471
  * @param id Design identifier.
4580
4472
  * @param printAreaId Design print-area identifier.
4581
4473
  * @param privateStorageOwner (optional) Private storage owner identifier.
4582
- * @param tenantId (optional) Tenant identifier
4474
+ * @param tenantId (optional) Tenant ID.
4583
4475
  * @return Success
4584
4476
  */
4585
4477
  getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
@@ -4668,7 +4560,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4668
4560
  * @param id Design identifier.
4669
4561
  * @param printAreaId Design print-area identifier.
4670
4562
  * @param privateStorageOwner (optional) Private storage owner identifier.
4671
- * @param tenantId (optional) Tenant identifier
4563
+ * @param tenantId (optional) Tenant ID.
4672
4564
  * @param body (optional) Json-serialized model of a print-area.
4673
4565
  * @return Success
4674
4566
  */
@@ -4769,7 +4661,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4769
4661
  * @param id Design identifier.
4770
4662
  * @param surfaceId (optional) Parent surface identifier.
4771
4663
  * @param privateStorageOwner (optional) Private storage owner identifier.
4772
- * @param tenantId (optional) Tenant identifier
4664
+ * @param tenantId (optional) Tenant ID.
4773
4665
  * @param body (optional) Json serialized model of a print-area.
4774
4666
  * @return Success
4775
4667
  */
@@ -4860,7 +4752,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4860
4752
  * Returns a list of print-product surfaces descriptions of the specified design file.
4861
4753
  * @param id Design identifier.
4862
4754
  * @param privateStorageOwner (optional) Private storage owner identifier.
4863
- * @param tenantId (optional) Tenant identifier
4755
+ * @param tenantId (optional) Tenant ID.
4864
4756
  * @return Success
4865
4757
  */
4866
4758
  getDesignSurfaces(id, privateStorageOwner, tenantId, cancelToken) {
@@ -4939,7 +4831,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
4939
4831
  * @param id Design identifier.
4940
4832
  * @param surfaceId Print-product surface identifier.
4941
4833
  * @param privateStorageOwner (optional) Private storage owner identifier.
4942
- * @param tenantId (optional) Tenant identifier
4834
+ * @param tenantId (optional) Tenant ID.
4943
4835
  * @return No Content
4944
4836
  */
4945
4837
  deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5023,7 +4915,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5023
4915
  * @param id Design identifier.
5024
4916
  * @param surfaceId Print product surface identifier.
5025
4917
  * @param privateStorageOwner (optional) Private storage owner identifier.
5026
- * @param tenantId (optional) Tenant identifier
4918
+ * @param tenantId (optional) Tenant ID.
5027
4919
  * @return Success
5028
4920
  */
5029
4921
  getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5119,7 +5011,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5119
5011
  * @param id Design identifier.
5120
5012
  * @param surfaceId Print-product surface identifier.
5121
5013
  * @param privateStorageOwner (optional) Private storage owner identifier.
5122
- * @param tenantId (optional) Tenant identifier
5014
+ * @param tenantId (optional) Tenant ID.
5123
5015
  * @param position_top (optional)
5124
5016
  * @param position_left (optional)
5125
5017
  * @param sourceFile (optional)
@@ -5230,7 +5122,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5230
5122
  * @param id Design identifier.
5231
5123
  * @param surfaceId Print-product surface identifier.
5232
5124
  * @param privateStorageOwner (optional) Private storage owner identifier.
5233
- * @param tenantId (optional) Tenant identifier
5125
+ * @param tenantId (optional) Tenant ID.
5234
5126
  * @return Success
5235
5127
  */
5236
5128
  getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5326,7 +5218,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5326
5218
  * @param id Design identifier.
5327
5219
  * @param surfaceId Print-product surface identifier.
5328
5220
  * @param privateStorageOwner (optional) Private storage owner identifier.
5329
- * @param tenantId (optional) Tenant identifier
5221
+ * @param tenantId (optional) Tenant ID.
5330
5222
  * @return Success
5331
5223
  */
5332
5224
  getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5422,7 +5314,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5422
5314
  * @param id Design identifier.
5423
5315
  * @param surfaceId Print-product surface identifier.
5424
5316
  * @param privateStorageOwner (optional) Private storage owner identifier.
5425
- * @param tenantId (optional) Tenant identifier
5317
+ * @param tenantId (optional) Tenant ID.
5426
5318
  * @param position_top (optional)
5427
5319
  * @param position_left (optional)
5428
5320
  * @param sourceFile (optional)
@@ -5533,7 +5425,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5533
5425
  * @param id Design identifier.
5534
5426
  * @param surfaceId Print-product surface identifier.
5535
5427
  * @param privateStorageOwner (optional) Private storage owner identifier.
5536
- * @param tenantId (optional) Tenant identifier
5428
+ * @param tenantId (optional) Tenant ID.
5537
5429
  * @return Success
5538
5430
  */
5539
5431
  getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5629,7 +5521,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5629
5521
  * @param id Design identifier.
5630
5522
  * @param surfaceId Surface identifier.
5631
5523
  * @param privateStorageOwner (optional) Private storage owner identifier.
5632
- * @param tenantId (optional) Tenant identifier
5524
+ * @param tenantId (optional) Tenant ID.
5633
5525
  * @return Success
5634
5526
  */
5635
5527
  getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
@@ -5719,7 +5611,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5719
5611
  * @param id Design identifier.
5720
5612
  * @param surfaceId Print-product surface identifier.
5721
5613
  * @param privateStorageOwner (optional) Private storage owner identifier.
5722
- * @param tenantId (optional) Tenant identifier
5614
+ * @param tenantId (optional) Tenant ID.
5723
5615
  * @param body (optional) Json-serialized model of a print-product surface.
5724
5616
  * @return Success
5725
5617
  */
@@ -5820,7 +5712,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
5820
5712
  * @param id Design identifier.
5821
5713
  * @param index (optional) Surface index within the surfaces list of a design.
5822
5714
  * @param privateStorageOwner (optional) Private storage owner identifier.
5823
- * @param tenantId (optional) Tenant identifier
5715
+ * @param tenantId (optional) Tenant ID.
5824
5716
  * @param body (optional) Json-serialized model of a print-prouduct surface.
5825
5717
  * @return Success
5826
5718
  */
@@ -5919,7 +5811,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
5919
5811
  }
5920
5812
  /**
5921
5813
  * Apply effects to print-product item image.
5922
- * @param tenantId (optional) Tenant identifier
5814
+ * @param tenantId (optional) Tenant ID.
5923
5815
  * @param body (optional)
5924
5816
  * @return Success
5925
5817
  */
@@ -5987,7 +5879,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
5987
5879
  }
5988
5880
  /**
5989
5881
  * Extracts print-product item image.
5990
- * @param tenantId (optional) Tenant identifier
5882
+ * @param tenantId (optional) Tenant ID.
5991
5883
  * @param body (optional) Extraction parameters.
5992
5884
  * @return Success
5993
5885
  */
@@ -6056,7 +5948,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6056
5948
  /**
6057
5949
  * Flattens print-product items.
6058
5950
  * @param paletteUID (optional)
6059
- * @param tenantId (optional) Tenant identifier
5951
+ * @param tenantId (optional) Tenant ID.
6060
5952
  * @param body (optional) List of print-product items to flatten.
6061
5953
  * @return Success
6062
5954
  */
@@ -6127,7 +6019,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6127
6019
  /**
6128
6020
  * Creates print-product item from input image file.
6129
6021
  * @param itemType (optional) Desired item type.
6130
- * @param tenantId (optional) Tenant identifier
6022
+ * @param tenantId (optional) Tenant ID.
6131
6023
  * @param sourceFile (optional)
6132
6024
  * @param paletteUID (optional)
6133
6025
  * @param preserveOriginalFile (optional)
@@ -6219,7 +6111,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6219
6111
  /**
6220
6112
  * Creates multiple print-product items from input image files.
6221
6113
  * @param itemType (optional) Desired print-product items type.
6222
- * @param tenantId (optional) Tenant identifier
6114
+ * @param tenantId (optional) Tenant ID.
6223
6115
  * @param sourceFiles (optional)
6224
6116
  * @param paletteUID (optional)
6225
6117
  * @param preserveOriginalFile (optional)
@@ -6311,7 +6203,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6311
6203
  /**
6312
6204
  * Creates print-product item from image file taken from storage.
6313
6205
  * @param itemType (optional) Desired item type.
6314
- * @param tenantId (optional) Tenant identifier
6206
+ * @param tenantId (optional) Tenant ID.
6315
6207
  * @param body (optional) Operation parameters.
6316
6208
  * @return Success
6317
6209
  */
@@ -6396,7 +6288,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6396
6288
  /**
6397
6289
  * Creates multiple print-product items from the specified image files in storage.
6398
6290
  * @param itemType (optional) Desired items type.
6399
- * @param tenantId (optional) Tenant identifier
6291
+ * @param tenantId (optional) Tenant ID.
6400
6292
  * @param body (optional) Operation parameters.
6401
6293
  * @return Success
6402
6294
  */
@@ -6481,7 +6373,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6481
6373
  /**
6482
6374
  * Creates print-product item from remote web image provided by URL.
6483
6375
  * @param itemType (optional) Desired item type.
6484
- * @param tenantId (optional) Tenant identifier
6376
+ * @param tenantId (optional) Tenant ID.
6485
6377
  * @param body (optional) Operation parameters.
6486
6378
  * @return Success
6487
6379
  */
@@ -6566,7 +6458,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
6566
6458
  /**
6567
6459
  * Creates multiple print-product items from remote web images provided by URLs list.
6568
6460
  * @param itemType (optional) Desired items type.
6569
- * @param tenantId (optional) Tenant identifier
6461
+ * @param tenantId (optional) Tenant ID.
6570
6462
  * @param body (optional) Operation parameters.
6571
6463
  * @return Success
6572
6464
  */
@@ -6661,7 +6553,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
6661
6553
  /**
6662
6554
  * Creates new design file with specified parameters and saves it in storage.
6663
6555
  * @param privateStorageOwner (optional) Private storage owner identifier.
6664
- * @param tenantId (optional) Tenant identifier
6556
+ * @param tenantId (optional) Tenant ID.
6665
6557
  * @param body (optional) Design creation parameters.
6666
6558
  * @return Created
6667
6559
  */
@@ -6736,12 +6628,97 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
6736
6628
  }
6737
6629
  return Promise.resolve(null);
6738
6630
  }
6631
+ /**
6632
+ * Applies item data for a specified design file taken from storage.
6633
+ * @param id Design identifier.
6634
+ * @param privateStorageOwner (optional) Private storage owner identifier.
6635
+ * @param tenantId (optional) Tenant ID.
6636
+ * @param body (optional) Design items data.
6637
+ * @return Success
6638
+ */
6639
+ applyItemsData(id, privateStorageOwner, tenantId, body, cancelToken) {
6640
+ let url_ = this.baseUrl + "/api/atoms/v1/designs/{id}/apply-items-data?";
6641
+ if (id === undefined || id === null)
6642
+ throw new Error("The parameter 'id' must be defined.");
6643
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
6644
+ if (privateStorageOwner !== undefined && privateStorageOwner !== null)
6645
+ url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
6646
+ if (tenantId === null)
6647
+ throw new Error("The parameter 'tenantId' cannot be null.");
6648
+ else if (tenantId !== undefined)
6649
+ url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
6650
+ url_ = url_.replace(/[?&]$/, "");
6651
+ const content_ = JSON.stringify(body);
6652
+ let options_ = {
6653
+ data: content_,
6654
+ method: "POST",
6655
+ url: url_,
6656
+ headers: {
6657
+ "Content-Type": "application/json",
6658
+ },
6659
+ cancelToken
6660
+ };
6661
+ return this.transformOptions(options_).then(transformedOptions_ => {
6662
+ return this.instance.request(transformedOptions_);
6663
+ }).catch((_error) => {
6664
+ if (isAxiosError(_error) && _error.response) {
6665
+ return _error.response;
6666
+ }
6667
+ else {
6668
+ throw _error;
6669
+ }
6670
+ }).then((_response) => {
6671
+ return this.transformResult(url_, _response, (_response) => this.processApplyItemsData(_response));
6672
+ });
6673
+ }
6674
+ processApplyItemsData(response) {
6675
+ const status = response.status;
6676
+ let _headers = {};
6677
+ if (response.headers && typeof response.headers === "object") {
6678
+ for (let k in response.headers) {
6679
+ if (response.headers.hasOwnProperty(k)) {
6680
+ _headers[k] = response.headers[k];
6681
+ }
6682
+ }
6683
+ }
6684
+ if (status === 200) {
6685
+ const _responseText = response.data;
6686
+ return Promise.resolve(null);
6687
+ }
6688
+ else if (status === 404) {
6689
+ const _responseText = response.data;
6690
+ let result404 = null;
6691
+ let resultData404 = _responseText;
6692
+ result404 = JSON.parse(resultData404);
6693
+ return throwException("Not Found", status, _responseText, _headers, result404);
6694
+ }
6695
+ else if (status === 409) {
6696
+ const _responseText = response.data;
6697
+ let result409 = null;
6698
+ let resultData409 = _responseText;
6699
+ result409 = JSON.parse(resultData409);
6700
+ return throwException("Conflict", status, _responseText, _headers, result409);
6701
+ }
6702
+ else if (status === 401) {
6703
+ const _responseText = response.data;
6704
+ return throwException("Unauthorized", status, _responseText, _headers);
6705
+ }
6706
+ else if (status === 403) {
6707
+ const _responseText = response.data;
6708
+ return throwException("Forbidden", status, _responseText, _headers);
6709
+ }
6710
+ else if (status !== 200 && status !== 204) {
6711
+ const _responseText = response.data;
6712
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
6713
+ }
6714
+ return Promise.resolve(null);
6715
+ }
6739
6716
  /**
6740
6717
  * Returns image content of the background.
6741
6718
  * @param id Design identifier.
6742
6719
  * @param surfaceIndex (optional) Surface index.
6743
6720
  * @param privateStorageOwner (optional) Private storage owner identifier.
6744
- * @param tenantId (optional) Tenant identifier
6721
+ * @param tenantId (optional) Tenant ID.
6745
6722
  * @return Success
6746
6723
  */
6747
6724
  extractBackground(id, surfaceIndex, privateStorageOwner, tenantId, cancelToken) {
@@ -6828,7 +6805,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
6828
6805
  * Sets specified editor-mockups for selected design surfaces.
6829
6806
  * @param id Design identifier.
6830
6807
  * @param privateStorageOwner (optional) Private storage owner identifier.
6831
- * @param tenantId (optional) Tenant identifier
6808
+ * @param tenantId (optional) Tenant ID.
6832
6809
  * @param body (optional) Operation parameters.
6833
6810
  * @return No Content
6834
6811
  */
@@ -6913,7 +6890,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
6913
6890
  * Returns design parameters stored in product model.
6914
6891
  * @param id Design identifier.
6915
6892
  * @param privateStorageOwner (optional) Private storage owner identifier.
6916
- * @param tenantId (optional) Tenant identifier
6893
+ * @param tenantId (optional) Tenant ID.
6917
6894
  * @return Success
6918
6895
  */
6919
6896
  getDesignParameters(id, privateStorageOwner, tenantId, cancelToken) {
@@ -6991,7 +6968,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
6991
6968
  * Loads a data schema from design file taken from storage.
6992
6969
  * @param id Design identifier.
6993
6970
  * @param privateStorageOwner (optional) Private storage owner identifier.
6994
- * @param tenantId (optional) Tenant identifier
6971
+ * @param tenantId (optional) Tenant ID.
6995
6972
  * @return Success
6996
6973
  */
6997
6974
  loadDataSchema(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7076,7 +7053,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7076
7053
  * Loads a toggle set from design file taken from storage.
7077
7054
  * @param id Design identifier.
7078
7055
  * @param privateStorageOwner (optional) Private storage owner identifier.
7079
- * @param tenantId (optional) Tenant identifier
7056
+ * @param tenantId (optional) Tenant ID.
7080
7057
  * @return Success
7081
7058
  */
7082
7059
  loadToggleSet(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7161,7 +7138,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7161
7138
  * Returns variable items information for design file taken from storage.
7162
7139
  * @param id Design identifier.
7163
7140
  * @param privateStorageOwner (optional) Private storage owner identifier.
7164
- * @param tenantId (optional) Tenant identifier
7141
+ * @param tenantId (optional) Tenant ID.
7165
7142
  * @return Success
7166
7143
  */
7167
7144
  getVariables(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7239,7 +7216,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7239
7216
  * Saves variable items values for design file taken from storage.
7240
7217
  * @param id Design identifier.
7241
7218
  * @param privateStorageOwner (optional) Private storage owner identifier.
7242
- * @param tenantId (optional) Tenant identifier
7219
+ * @param tenantId (optional) Tenant ID.
7243
7220
  * @param body (optional) Design variable values.
7244
7221
  * @return Success
7245
7222
  */
@@ -7324,7 +7301,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7324
7301
  * Loads variable data printing information from design file taken from storage.
7325
7302
  * @param id Design identifier.
7326
7303
  * @param privateStorageOwner (optional) Private storage owner identifier.
7327
- * @param tenantId (optional) Tenant identifier
7304
+ * @param tenantId (optional) Tenant ID.
7328
7305
  * @return Success
7329
7306
  */
7330
7307
  loadVdpData(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7409,7 +7386,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7409
7386
  * Saves variable data printing information to design file and updates design in storage.
7410
7387
  * @param id Design identifier.
7411
7388
  * @param privateStorageOwner (optional) Private storage owner identifier.
7412
- * @param tenantId (optional) Tenant identifier
7389
+ * @param tenantId (optional) Tenant ID.
7413
7390
  * @param body (optional) Serialized vdp data.
7414
7391
  * @return Success
7415
7392
  */
@@ -7487,7 +7464,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7487
7464
  * Deletes variable data printing information from design file and updates design file in storage.
7488
7465
  * @param id Design identifier.
7489
7466
  * @param privateStorageOwner (optional) Private storage owner identifier.
7490
- * @param tenantId (optional) Tenant identifier
7467
+ * @param tenantId (optional) Tenant ID.
7491
7468
  * @return Success
7492
7469
  */
7493
7470
  deleteVdpData(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7558,7 +7535,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7558
7535
  }
7559
7536
  /**
7560
7537
  * Converts colors for print-product item manipulations.
7561
- * @param tenantId (optional) Tenant identifier
7538
+ * @param tenantId (optional) Tenant ID.
7562
7539
  * @param body (optional) Convert colors operation parameters.
7563
7540
  * @return Success
7564
7541
  */
@@ -7635,7 +7612,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7635
7612
  * Loads print-product from resource file taken from storage.
7636
7613
  * @param id (optional) Resource identifier.
7637
7614
  * @param privateStorageOwner (optional) Private storage owner identifier.
7638
- * @param tenantId (optional) Tenant identifier
7615
+ * @param tenantId (optional) Tenant ID.
7639
7616
  * @return Success
7640
7617
  */
7641
7618
  loadProductFromResource(id, privateStorageOwner, tenantId, cancelToken) {
@@ -7719,7 +7696,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7719
7696
  * Renders a product proof image with specified parameters.
7720
7697
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
7721
7698
  (default value is 'false').
7722
- * @param tenantId (optional) Tenant identifier
7699
+ * @param tenantId (optional) Tenant ID.
7723
7700
  * @param body (optional) Preview parameters.
7724
7701
  * @return Success
7725
7702
  */
@@ -7791,7 +7768,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7791
7768
  * Renders a design preview with the specified parameters.
7792
7769
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
7793
7770
  (default value is 'false').
7794
- * @param tenantId (optional) Tenant identifier
7771
+ * @param tenantId (optional) Tenant ID.
7795
7772
  * @param body (optional) Render model with preview parameters.
7796
7773
  * @return Success
7797
7774
  */
@@ -7861,7 +7838,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7861
7838
  }
7862
7839
  /**
7863
7840
  * Renders a design preview with the specified parameters and saves rendering result as resource.
7864
- * @param tenantId (optional) Tenant identifier
7841
+ * @param tenantId (optional) Tenant ID.
7865
7842
  * @param body (optional) Render model with preview parameters.
7866
7843
  * @return Success
7867
7844
  */
@@ -7945,7 +7922,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
7945
7922
  * Renders a design proof with the specified parameters.
7946
7923
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
7947
7924
  (default value is 'false').
7948
- * @param tenantId (optional) Tenant identifier
7925
+ * @param tenantId (optional) Tenant ID.
7949
7926
  * @param body (optional) Render model with proof parameters.
7950
7927
  * @return Success
7951
7928
  */
@@ -8022,7 +7999,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8022
7999
  }
8023
8000
  /**
8024
8001
  * Renders a design proof with the specified parameters and saves rendering result as resource.
8025
- * @param tenantId (optional) Tenant identifier
8002
+ * @param tenantId (optional) Tenant ID.
8026
8003
  * @param body (optional) Render model with preview parameters.
8027
8004
  * @return Success
8028
8005
  */
@@ -8099,7 +8076,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8099
8076
  * Loads print-product from design file taken from storage.
8100
8077
  * @param id Design identifier.
8101
8078
  * @param privateStorageOwner (optional) Private storage owner identifier.
8102
- * @param tenantId (optional) Tenant identifier
8079
+ * @param tenantId (optional) Tenant ID.
8103
8080
  * @return Success
8104
8081
  * @deprecated
8105
8082
  */
@@ -8178,7 +8155,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8178
8155
  * Saves print-product to design file and updates design file in storage.
8179
8156
  * @param id Design identifier.
8180
8157
  * @param privateStorageOwner (optional) Private storage owner identifier.
8181
- * @param tenantId (optional) Tenant identifier
8158
+ * @param tenantId (optional) Tenant ID.
8182
8159
  * @param body (optional) Serialized product description.
8183
8160
  * @return Success
8184
8161
  * @deprecated
@@ -8257,7 +8234,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8257
8234
  * Patches print-product in design file.
8258
8235
  * @param id Design identifier.
8259
8236
  * @param privateStorageOwner (optional) Private storage owner identifier.
8260
- * @param tenantId (optional) Tenant identifier
8237
+ * @param tenantId (optional) Tenant ID.
8261
8238
  * @param patchType (optional)
8262
8239
  * @param replaceImageItemFileInfo_itemName (optional)
8263
8240
  * @param replaceImageItemFileInfo_sourceFile (optional)
@@ -8280,9 +8257,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8280
8257
  url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8281
8258
  url_ = url_.replace(/[?&]$/, "");
8282
8259
  const content_ = new FormData();
8283
- if (patchType === null || patchType === undefined)
8284
- throw new Error("The parameter 'patchType' cannot be null.");
8285
- else
8260
+ if (patchType !== null && patchType !== undefined)
8286
8261
  content_.append("patchType", patchType.toString());
8287
8262
  if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
8288
8263
  content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
@@ -8290,9 +8265,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8290
8265
  content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
8291
8266
  if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
8292
8267
  content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
8293
- if (replacePlaceholderItemContentInfo_newContentType === null || replacePlaceholderItemContentInfo_newContentType === undefined)
8294
- throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
8295
- else
8268
+ if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
8296
8269
  content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
8297
8270
  if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
8298
8271
  content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
@@ -8354,7 +8327,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8354
8327
  /**
8355
8328
  * Creates print-product item.
8356
8329
  * @param itemType (optional) Desired item type.
8357
- * @param tenantId (optional) Tenant identifier
8330
+ * @param tenantId (optional) Tenant ID.
8358
8331
  * @param sourceType (optional)
8359
8332
  * @param sourceId (optional)
8360
8333
  * @param sourceOwnerId (optional)
@@ -8445,7 +8418,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8445
8418
  }
8446
8419
  /**
8447
8420
  * Extracts print-product item image.
8448
- * @param tenantId (optional) Tenant identifier
8421
+ * @param tenantId (optional) Tenant ID.
8449
8422
  * @param body (optional) Extraction parameters.
8450
8423
  * @return Success
8451
8424
  * @deprecated
@@ -8514,7 +8487,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8514
8487
  }
8515
8488
  /**
8516
8489
  * Flattens print-product items.
8517
- * @param tenantId (optional) Tenant identifier
8490
+ * @param tenantId (optional) Tenant ID.
8518
8491
  * @param body (optional) Items to flatten.
8519
8492
  * @return Success
8520
8493
  * @deprecated
@@ -8586,7 +8559,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8586
8559
  * @param designId (optional) Public design identifier.
8587
8560
  * @param privateDesignId (optional) Private design identifier.
8588
8561
  * @param privateStorageOwner (optional) Private storage owner identifier.
8589
- * @param tenantId (optional) Tenant identifier
8562
+ * @param tenantId (optional) Tenant ID.
8590
8563
  * @return Created
8591
8564
  * @deprecated
8592
8565
  */
@@ -8655,11 +8628,11 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8655
8628
  * @param resourceId (optional) Resource identifier.
8656
8629
  * @param privateDesignId (optional) Private design identifier.
8657
8630
  * @param privateStorageOwner (optional) Private storage owner identifier.
8658
- * @param tenantId (optional) Tenant identifier.
8631
+ * @param tenantIdQuery (optional) Tenant identifier.
8659
8632
  * @return Created
8660
8633
  * @deprecated
8661
8634
  */
8662
- createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantId, cancelToken) {
8635
+ createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery, cancelToken) {
8663
8636
  let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
8664
8637
  if (resourceId !== undefined && resourceId !== null)
8665
8638
  url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
@@ -8667,10 +8640,10 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
8667
8640
  url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
8668
8641
  if (privateStorageOwner !== undefined && privateStorageOwner !== null)
8669
8642
  url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
8670
- if (tenantId === null)
8671
- throw new Error("The parameter 'tenantId' cannot be null.");
8672
- else if (tenantId !== undefined)
8673
- url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
8643
+ if (tenantIdQuery === null)
8644
+ throw new Error("The parameter 'tenantIdQuery' cannot be null.");
8645
+ else if (tenantIdQuery !== undefined)
8646
+ url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
8674
8647
  url_ = url_.replace(/[?&]$/, "");
8675
8648
  let options_ = {
8676
8649
  method: "POST",
@@ -8730,7 +8703,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8730
8703
  this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
8731
8704
  }
8732
8705
  /**
8733
- * @param tenantId (optional) Tenant identifier
8706
+ * @param tenantId (optional) Tenant ID.
8734
8707
  * @param body (optional)
8735
8708
  * @return Success
8736
8709
  */
@@ -8786,10 +8759,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8786
8759
  const _responseText = response.data;
8787
8760
  return throwException("Unauthorized", status, _responseText, _headers);
8788
8761
  }
8789
- else if (status === 403) {
8790
- const _responseText = response.data;
8791
- return throwException("Forbidden", status, _responseText, _headers);
8792
- }
8793
8762
  else if (status !== 200 && status !== 204) {
8794
8763
  const _responseText = response.data;
8795
8764
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -8797,7 +8766,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8797
8766
  return Promise.resolve(null);
8798
8767
  }
8799
8768
  /**
8800
- * @param tenantId (optional) Tenant identifier
8769
+ * @param tenantId (optional) Tenant ID.
8801
8770
  * @return Success
8802
8771
  */
8803
8772
  fonts(psName, tenantId, cancelToken) {
@@ -8859,10 +8828,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8859
8828
  const _responseText = response.data;
8860
8829
  return throwException("Unauthorized", status, _responseText, _headers);
8861
8830
  }
8862
- else if (status === 403) {
8863
- const _responseText = response.data;
8864
- return throwException("Forbidden", status, _responseText, _headers);
8865
- }
8866
8831
  else if (status !== 200 && status !== 204) {
8867
8832
  const _responseText = response.data;
8868
8833
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -8870,7 +8835,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8870
8835
  return Promise.resolve(null);
8871
8836
  }
8872
8837
  /**
8873
- * @param tenantId (optional) Tenant identifier
8838
+ * @param tenantId (optional) Tenant ID.
8874
8839
  * @param body (optional)
8875
8840
  * @return Success
8876
8841
  */
@@ -8933,10 +8898,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8933
8898
  const _responseText = response.data;
8934
8899
  return throwException("Unauthorized", status, _responseText, _headers);
8935
8900
  }
8936
- else if (status === 403) {
8937
- const _responseText = response.data;
8938
- return throwException("Forbidden", status, _responseText, _headers);
8939
- }
8940
8901
  else if (status !== 200 && status !== 204) {
8941
8902
  const _responseText = response.data;
8942
8903
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -8944,7 +8905,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
8944
8905
  return Promise.resolve(null);
8945
8906
  }
8946
8907
  /**
8947
- * @param tenantId (optional) Tenant identifier
8908
+ * @param tenantId (optional) Tenant ID.
8948
8909
  * @param body (optional)
8949
8910
  * @return Success
8950
8911
  */
@@ -9007,10 +8968,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9007
8968
  const _responseText = response.data;
9008
8969
  return throwException("Unauthorized", status, _responseText, _headers);
9009
8970
  }
9010
- else if (status === 403) {
9011
- const _responseText = response.data;
9012
- return throwException("Forbidden", status, _responseText, _headers);
9013
- }
9014
8971
  else if (status !== 200 && status !== 204) {
9015
8972
  const _responseText = response.data;
9016
8973
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9019,7 +8976,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9019
8976
  }
9020
8977
  /**
9021
8978
  * @param fontKey (optional)
9022
- * @param tenantId (optional) Tenant identifier
8979
+ * @param tenantId (optional) Tenant ID.
9023
8980
  * @return Success
9024
8981
  */
9025
8982
  getCssFont(fontKey, tenantId, cancelToken) {
@@ -9080,10 +9037,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9080
9037
  const _responseText = response.data;
9081
9038
  return throwException("Unauthorized", status, _responseText, _headers);
9082
9039
  }
9083
- else if (status === 403) {
9084
- const _responseText = response.data;
9085
- return throwException("Forbidden", status, _responseText, _headers);
9086
- }
9087
9040
  else if (status !== 200 && status !== 204) {
9088
9041
  const _responseText = response.data;
9089
9042
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9091,7 +9044,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9091
9044
  return Promise.resolve(null);
9092
9045
  }
9093
9046
  /**
9094
- * @param tenantId (optional) Tenant identifier
9047
+ * @param tenantId (optional) Tenant ID.
9095
9048
  * @return Success
9096
9049
  */
9097
9050
  getFallbackFonts(tenantId, cancelToken) {
@@ -9143,10 +9096,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9143
9096
  const _responseText = response.data;
9144
9097
  return throwException("Unauthorized", status, _responseText, _headers);
9145
9098
  }
9146
- else if (status === 403) {
9147
- const _responseText = response.data;
9148
- return throwException("Forbidden", status, _responseText, _headers);
9149
- }
9150
9099
  else if (status !== 200 && status !== 204) {
9151
9100
  const _responseText = response.data;
9152
9101
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9154,7 +9103,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9154
9103
  return Promise.resolve(null);
9155
9104
  }
9156
9105
  /**
9157
- * @param tenantId (optional) Tenant identifier
9106
+ * @param tenantId (optional) Tenant ID.
9158
9107
  * @param body (optional)
9159
9108
  * @return Success
9160
9109
  */
@@ -9210,10 +9159,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9210
9159
  const _responseText = response.data;
9211
9160
  return throwException("Unauthorized", status, _responseText, _headers);
9212
9161
  }
9213
- else if (status === 403) {
9214
- const _responseText = response.data;
9215
- return throwException("Forbidden", status, _responseText, _headers);
9216
- }
9217
9162
  else if (status !== 200 && status !== 204) {
9218
9163
  const _responseText = response.data;
9219
9164
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9221,7 +9166,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9221
9166
  return Promise.resolve(null);
9222
9167
  }
9223
9168
  /**
9224
- * @param tenantId (optional) Tenant identifier
9169
+ * @param tenantId (optional) Tenant ID.
9225
9170
  * @param body (optional)
9226
9171
  * @return Success
9227
9172
  */
@@ -9277,10 +9222,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9277
9222
  const _responseText = response.data;
9278
9223
  return throwException("Unauthorized", status, _responseText, _headers);
9279
9224
  }
9280
- else if (status === 403) {
9281
- const _responseText = response.data;
9282
- return throwException("Forbidden", status, _responseText, _headers);
9283
- }
9284
9225
  else if (status !== 200 && status !== 204) {
9285
9226
  const _responseText = response.data;
9286
9227
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9288,7 +9229,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9288
9229
  return Promise.resolve(null);
9289
9230
  }
9290
9231
  /**
9291
- * @param tenantId (optional) Tenant identifier
9232
+ * @param tenantId (optional) Tenant ID.
9292
9233
  * @param body (optional)
9293
9234
  * @return Success
9294
9235
  */
@@ -9344,10 +9285,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9344
9285
  const _responseText = response.data;
9345
9286
  return throwException("Unauthorized", status, _responseText, _headers);
9346
9287
  }
9347
- else if (status === 403) {
9348
- const _responseText = response.data;
9349
- return throwException("Forbidden", status, _responseText, _headers);
9350
- }
9351
9288
  else if (status !== 200 && status !== 204) {
9352
9289
  const _responseText = response.data;
9353
9290
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9373,7 +9310,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9373
9310
  * @param colorizeColor (optional)
9374
9311
  * @param rw (optional)
9375
9312
  * @param rh (optional)
9376
- * @param tenantId (optional) Tenant identifier
9313
+ * @param tenantId (optional) Tenant ID.
9377
9314
  * @return Success
9378
9315
  */
9379
9316
  img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
@@ -9472,10 +9409,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9472
9409
  const _responseText = response.data;
9473
9410
  return throwException("Unauthorized", status, _responseText, _headers);
9474
9411
  }
9475
- else if (status === 403) {
9476
- const _responseText = response.data;
9477
- return throwException("Forbidden", status, _responseText, _headers);
9478
- }
9479
9412
  else if (status !== 200 && status !== 204) {
9480
9413
  const _responseText = response.data;
9481
9414
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9483,7 +9416,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9483
9416
  return Promise.resolve(null);
9484
9417
  }
9485
9418
  /**
9486
- * @param tenantId (optional) Tenant identifier
9419
+ * @param tenantId (optional) Tenant ID.
9487
9420
  * @return Success
9488
9421
  */
9489
9422
  getLicense(tenantId, cancelToken) {
@@ -9535,10 +9468,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9535
9468
  const _responseText = response.data;
9536
9469
  return throwException("Unauthorized", status, _responseText, _headers);
9537
9470
  }
9538
- else if (status === 403) {
9539
- const _responseText = response.data;
9540
- return throwException("Forbidden", status, _responseText, _headers);
9541
- }
9542
9471
  else if (status !== 200 && status !== 204) {
9543
9472
  const _responseText = response.data;
9544
9473
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9547,7 +9476,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9547
9476
  }
9548
9477
  /**
9549
9478
  * @param f (optional)
9550
- * @param tenantId (optional) Tenant identifier
9479
+ * @param tenantId (optional) Tenant ID.
9551
9480
  * @return Success
9552
9481
  */
9553
9482
  pth(f, tenantId, cancelToken) {
@@ -9612,10 +9541,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9612
9541
  const _responseText = response.data;
9613
9542
  return throwException("Unauthorized", status, _responseText, _headers);
9614
9543
  }
9615
- else if (status === 403) {
9616
- const _responseText = response.data;
9617
- return throwException("Forbidden", status, _responseText, _headers);
9618
- }
9619
9544
  else if (status !== 200 && status !== 204) {
9620
9545
  const _responseText = response.data;
9621
9546
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9624,7 +9549,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9624
9549
  }
9625
9550
  /**
9626
9551
  * @param image (optional)
9627
- * @param tenantId (optional) Tenant identifier
9552
+ * @param tenantId (optional) Tenant ID.
9628
9553
  * @return Success
9629
9554
  */
9630
9555
  resource(image, tenantId, cancelToken) {
@@ -9685,10 +9610,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9685
9610
  const _responseText = response.data;
9686
9611
  return throwException("Unauthorized", status, _responseText, _headers);
9687
9612
  }
9688
- else if (status === 403) {
9689
- const _responseText = response.data;
9690
- return throwException("Forbidden", status, _responseText, _headers);
9691
- }
9692
9613
  else if (status !== 200 && status !== 204) {
9693
9614
  const _responseText = response.data;
9694
9615
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9714,7 +9635,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9714
9635
  * @param colorizeColor (optional)
9715
9636
  * @param rw (optional)
9716
9637
  * @param rh (optional)
9717
- * @param tenantId (optional) Tenant identifier
9638
+ * @param tenantId (optional) Tenant ID.
9718
9639
  * @return Success
9719
9640
  */
9720
9641
  svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
@@ -9813,10 +9734,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9813
9734
  const _responseText = response.data;
9814
9735
  return throwException("Unauthorized", status, _responseText, _headers);
9815
9736
  }
9816
- else if (status === 403) {
9817
- const _responseText = response.data;
9818
- return throwException("Forbidden", status, _responseText, _headers);
9819
- }
9820
9737
  else if (status !== 200 && status !== 204) {
9821
9738
  const _responseText = response.data;
9822
9739
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9825,7 +9742,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9825
9742
  }
9826
9743
  /**
9827
9744
  * @param f (optional)
9828
- * @param tenantId (optional) Tenant identifier
9745
+ * @param tenantId (optional) Tenant ID.
9829
9746
  * @return Success
9830
9747
  */
9831
9748
  txt(f, tenantId, cancelToken) {
@@ -9890,10 +9807,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9890
9807
  const _responseText = response.data;
9891
9808
  return throwException("Unauthorized", status, _responseText, _headers);
9892
9809
  }
9893
- else if (status === 403) {
9894
- const _responseText = response.data;
9895
- return throwException("Forbidden", status, _responseText, _headers);
9896
- }
9897
9810
  else if (status !== 200 && status !== 204) {
9898
9811
  const _responseText = response.data;
9899
9812
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9901,7 +9814,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9901
9814
  return Promise.resolve(null);
9902
9815
  }
9903
9816
  /**
9904
- * @param tenantId (optional) Tenant identifier
9817
+ * @param tenantId (optional) Tenant ID.
9905
9818
  * @param body (optional)
9906
9819
  * @return Success
9907
9820
  */
@@ -9957,10 +9870,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9957
9870
  const _responseText = response.data;
9958
9871
  return throwException("Unauthorized", status, _responseText, _headers);
9959
9872
  }
9960
- else if (status === 403) {
9961
- const _responseText = response.data;
9962
- return throwException("Forbidden", status, _responseText, _headers);
9963
- }
9964
9873
  else if (status !== 200 && status !== 204) {
9965
9874
  const _responseText = response.data;
9966
9875
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -9968,7 +9877,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
9968
9877
  return Promise.resolve(null);
9969
9878
  }
9970
9879
  /**
9971
- * @param tenantId (optional) Tenant identifier
9880
+ * @param tenantId (optional) Tenant ID.
9972
9881
  * @param body (optional)
9973
9882
  * @return Success
9974
9883
  */
@@ -10024,10 +9933,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10024
9933
  const _responseText = response.data;
10025
9934
  return throwException("Unauthorized", status, _responseText, _headers);
10026
9935
  }
10027
- else if (status === 403) {
10028
- const _responseText = response.data;
10029
- return throwException("Forbidden", status, _responseText, _headers);
10030
- }
10031
9936
  else if (status !== 200 && status !== 204) {
10032
9937
  const _responseText = response.data;
10033
9938
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10035,7 +9940,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10035
9940
  return Promise.resolve(null);
10036
9941
  }
10037
9942
  /**
10038
- * @param tenantId (optional) Tenant identifier
9943
+ * @param tenantId (optional) Tenant ID.
10039
9944
  * @param body (optional)
10040
9945
  * @return Success
10041
9946
  */
@@ -10091,10 +9996,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10091
9996
  const _responseText = response.data;
10092
9997
  return throwException("Unauthorized", status, _responseText, _headers);
10093
9998
  }
10094
- else if (status === 403) {
10095
- const _responseText = response.data;
10096
- return throwException("Forbidden", status, _responseText, _headers);
10097
- }
10098
9999
  else if (status !== 200 && status !== 204) {
10099
10000
  const _responseText = response.data;
10100
10001
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10102,7 +10003,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10102
10003
  return Promise.resolve(null);
10103
10004
  }
10104
10005
  /**
10105
- * @param tenantId (optional) Tenant identifier
10006
+ * @param tenantId (optional) Tenant ID.
10106
10007
  * @param body (optional)
10107
10008
  * @return Success
10108
10009
  */
@@ -10158,10 +10059,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10158
10059
  const _responseText = response.data;
10159
10060
  return throwException("Unauthorized", status, _responseText, _headers);
10160
10061
  }
10161
- else if (status === 403) {
10162
- const _responseText = response.data;
10163
- return throwException("Forbidden", status, _responseText, _headers);
10164
- }
10165
10062
  else if (status !== 200 && status !== 204) {
10166
10063
  const _responseText = response.data;
10167
10064
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10169,7 +10066,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10169
10066
  return Promise.resolve(null);
10170
10067
  }
10171
10068
  /**
10172
- * @param tenantId (optional) Tenant identifier
10069
+ * @param tenantId (optional) Tenant ID.
10173
10070
  * @param body (optional)
10174
10071
  * @return Success
10175
10072
  */
@@ -10225,10 +10122,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10225
10122
  const _responseText = response.data;
10226
10123
  return throwException("Unauthorized", status, _responseText, _headers);
10227
10124
  }
10228
- else if (status === 403) {
10229
- const _responseText = response.data;
10230
- return throwException("Forbidden", status, _responseText, _headers);
10231
- }
10232
10125
  else if (status !== 200 && status !== 204) {
10233
10126
  const _responseText = response.data;
10234
10127
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10236,7 +10129,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10236
10129
  return Promise.resolve(null);
10237
10130
  }
10238
10131
  /**
10239
- * @param tenantId (optional) Tenant identifier
10132
+ * @param tenantId (optional) Tenant ID.
10240
10133
  * @param body (optional)
10241
10134
  * @return Success
10242
10135
  */
@@ -10292,10 +10185,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10292
10185
  const _responseText = response.data;
10293
10186
  return throwException("Unauthorized", status, _responseText, _headers);
10294
10187
  }
10295
- else if (status === 403) {
10296
- const _responseText = response.data;
10297
- return throwException("Forbidden", status, _responseText, _headers);
10298
- }
10299
10188
  else if (status !== 200 && status !== 204) {
10300
10189
  const _responseText = response.data;
10301
10190
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10303,7 +10192,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10303
10192
  return Promise.resolve(null);
10304
10193
  }
10305
10194
  /**
10306
- * @param tenantId (optional) Tenant identifier
10195
+ * @param tenantId (optional) Tenant ID.
10307
10196
  * @param body (optional)
10308
10197
  * @return Success
10309
10198
  */
@@ -10359,10 +10248,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10359
10248
  const _responseText = response.data;
10360
10249
  return throwException("Unauthorized", status, _responseText, _headers);
10361
10250
  }
10362
- else if (status === 403) {
10363
- const _responseText = response.data;
10364
- return throwException("Forbidden", status, _responseText, _headers);
10365
- }
10366
10251
  else if (status !== 200 && status !== 204) {
10367
10252
  const _responseText = response.data;
10368
10253
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10370,7 +10255,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10370
10255
  return Promise.resolve(null);
10371
10256
  }
10372
10257
  /**
10373
- * @param tenantId (optional) Tenant identifier
10258
+ * @param tenantId (optional) Tenant ID.
10374
10259
  * @param body (optional)
10375
10260
  * @return Success
10376
10261
  */
@@ -10426,10 +10311,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10426
10311
  const _responseText = response.data;
10427
10312
  return throwException("Unauthorized", status, _responseText, _headers);
10428
10313
  }
10429
- else if (status === 403) {
10430
- const _responseText = response.data;
10431
- return throwException("Forbidden", status, _responseText, _headers);
10432
- }
10433
10314
  else if (status !== 200 && status !== 204) {
10434
10315
  const _responseText = response.data;
10435
10316
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10437,7 +10318,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10437
10318
  return Promise.resolve(null);
10438
10319
  }
10439
10320
  /**
10440
- * @param tenantId (optional) Tenant identifier
10321
+ * @param tenantId (optional) Tenant ID.
10441
10322
  * @param body (optional)
10442
10323
  * @return Success
10443
10324
  */
@@ -10493,10 +10374,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10493
10374
  const _responseText = response.data;
10494
10375
  return throwException("Unauthorized", status, _responseText, _headers);
10495
10376
  }
10496
- else if (status === 403) {
10497
- const _responseText = response.data;
10498
- return throwException("Forbidden", status, _responseText, _headers);
10499
- }
10500
10377
  else if (status !== 200 && status !== 204) {
10501
10378
  const _responseText = response.data;
10502
10379
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10504,7 +10381,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10504
10381
  return Promise.resolve(null);
10505
10382
  }
10506
10383
  /**
10507
- * @param tenantId (optional) Tenant identifier
10384
+ * @param tenantId (optional) Tenant ID.
10508
10385
  * @param body (optional)
10509
10386
  * @return Success
10510
10387
  */
@@ -10560,10 +10437,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10560
10437
  const _responseText = response.data;
10561
10438
  return throwException("Unauthorized", status, _responseText, _headers);
10562
10439
  }
10563
- else if (status === 403) {
10564
- const _responseText = response.data;
10565
- return throwException("Forbidden", status, _responseText, _headers);
10566
- }
10567
10440
  else if (status !== 200 && status !== 204) {
10568
10441
  const _responseText = response.data;
10569
10442
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10571,7 +10444,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10571
10444
  return Promise.resolve(null);
10572
10445
  }
10573
10446
  /**
10574
- * @param tenantId (optional) Tenant identifier
10447
+ * @param tenantId (optional) Tenant ID.
10575
10448
  * @param body (optional)
10576
10449
  * @return Success
10577
10450
  */
@@ -10627,10 +10500,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
10627
10500
  const _responseText = response.data;
10628
10501
  return throwException("Unauthorized", status, _responseText, _headers);
10629
10502
  }
10630
- else if (status === 403) {
10631
- const _responseText = response.data;
10632
- return throwException("Forbidden", status, _responseText, _headers);
10633
- }
10634
10503
  else if (status !== 200 && status !== 204) {
10635
10504
  const _responseText = response.data;
10636
10505
  return throwException("An unexpected server error occurred.", status, _responseText, _headers);
@@ -10723,6 +10592,24 @@ export var ProductProofInterpolationMode;
10723
10592
  ProductProofInterpolationMode["Anisotropic9"] = "Anisotropic9";
10724
10593
  ProductProofInterpolationMode["Lanczos3"] = "Lanczos3";
10725
10594
  })(ProductProofInterpolationMode || (ProductProofInterpolationMode = {}));
10595
+ /** Text item content alignment. */
10596
+ export var TextAlignment;
10597
+ (function (TextAlignment) {
10598
+ TextAlignment["Left"] = "Left";
10599
+ TextAlignment["Center"] = "Center";
10600
+ TextAlignment["Right"] = "Right";
10601
+ TextAlignment["All"] = "All";
10602
+ TextAlignment["LastLeft"] = "LastLeft";
10603
+ TextAlignment["LastRight"] = "LastRight";
10604
+ TextAlignment["LastCenter"] = "LastCenter";
10605
+ })(TextAlignment || (TextAlignment = {}));
10606
+ /** Text item content vertical alignment. */
10607
+ export var TextVerticalAlignment;
10608
+ (function (TextVerticalAlignment) {
10609
+ TextVerticalAlignment["Top"] = "Top";
10610
+ TextVerticalAlignment["Center"] = "Center";
10611
+ TextVerticalAlignment["Bottom"] = "Bottom";
10612
+ })(TextVerticalAlignment || (TextVerticalAlignment = {}));
10726
10613
  export class ApiException extends Error {
10727
10614
  message;
10728
10615
  status;