@aurigma/axios-design-atoms-api-client 2.68.7 → 2.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/design-atoms-api-client.d.ts +398 -368
- package/dist/cjs/design-atoms-api-client.js +232 -401
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +398 -368
- package/dist/esm/design-atoms-api-client.js +232 -401
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -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);
|
|
@@ -772,24 +736,28 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
772
736
|
return Promise.resolve(null);
|
|
773
737
|
}
|
|
774
738
|
/**
|
|
775
|
-
*
|
|
776
|
-
|
|
777
|
-
* @param
|
|
778
|
-
* @param
|
|
779
|
-
* @param
|
|
780
|
-
* @param
|
|
781
|
-
* @param
|
|
782
|
-
* @param
|
|
783
|
-
* @param
|
|
784
|
-
* @param
|
|
785
|
-
* @param
|
|
786
|
-
|
|
787
|
-
* @param
|
|
788
|
-
* @param
|
|
789
|
-
* @param
|
|
790
|
-
|
|
791
|
-
* @param
|
|
792
|
-
* @param
|
|
739
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
740
|
+
This method accepts query parameters that control the output of the image.
|
|
741
|
+
* @param f (optional) The identifier of the original image file.
|
|
742
|
+
* @param w (optional) Target width of the resulting image.
|
|
743
|
+
* @param h (optional) Target height of the resulting image.
|
|
744
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
745
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
746
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
747
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
748
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
749
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
750
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
751
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
752
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
753
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
754
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
755
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
756
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
757
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
758
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
759
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
760
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
793
761
|
* @return Success
|
|
794
762
|
*/
|
|
795
763
|
img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
|
|
@@ -887,10 +855,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
887
855
|
const _responseText = response.data;
|
|
888
856
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
889
857
|
}
|
|
890
|
-
else if (status === 403) {
|
|
891
|
-
const _responseText = response.data;
|
|
892
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
893
|
-
}
|
|
894
858
|
else if (status !== 200 && status !== 204) {
|
|
895
859
|
const _responseText = response.data;
|
|
896
860
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -948,10 +912,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
948
912
|
const _responseText = response.data;
|
|
949
913
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
950
914
|
}
|
|
951
|
-
else if (status === 403) {
|
|
952
|
-
const _responseText = response.data;
|
|
953
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
954
|
-
}
|
|
955
915
|
else if (status !== 200 && status !== 204) {
|
|
956
916
|
const _responseText = response.data;
|
|
957
917
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1023,10 +983,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1023
983
|
const _responseText = response.data;
|
|
1024
984
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1025
985
|
}
|
|
1026
|
-
else if (status === 403) {
|
|
1027
|
-
const _responseText = response.data;
|
|
1028
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1029
|
-
}
|
|
1030
986
|
else if (status !== 200 && status !== 204) {
|
|
1031
987
|
const _responseText = response.data;
|
|
1032
988
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1094,10 +1050,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1094
1050
|
const _responseText = response.data;
|
|
1095
1051
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1096
1052
|
}
|
|
1097
|
-
else if (status === 403) {
|
|
1098
|
-
const _responseText = response.data;
|
|
1099
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1100
|
-
}
|
|
1101
1053
|
else if (status !== 200 && status !== 204) {
|
|
1102
1054
|
const _responseText = response.data;
|
|
1103
1055
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1105,24 +1057,26 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1105
1057
|
return Promise.resolve(null);
|
|
1106
1058
|
}
|
|
1107
1059
|
/**
|
|
1108
|
-
* @param f (optional)
|
|
1109
|
-
* @param w (optional)
|
|
1110
|
-
* @param h (optional)
|
|
1111
|
-
* @param cmyk (optional)
|
|
1112
|
-
* @param rgb (optional)
|
|
1113
|
-
* @param grayscale (optional)
|
|
1114
|
-
* @param target (optional)
|
|
1115
|
-
* @param sq (optional)
|
|
1116
|
-
* @param effect (optional)
|
|
1117
|
-
|
|
1118
|
-
* @param
|
|
1119
|
-
* @param
|
|
1120
|
-
* @param
|
|
1121
|
-
|
|
1122
|
-
* @param
|
|
1123
|
-
* @param
|
|
1124
|
-
* @param
|
|
1125
|
-
* @param
|
|
1060
|
+
* @param f (optional) The identifier of the original image file.
|
|
1061
|
+
* @param w (optional) Target width of the resulting image.
|
|
1062
|
+
* @param h (optional) Target height of the resulting image.
|
|
1063
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
1064
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
1065
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
1066
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
1067
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
1068
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
1069
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
1070
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
1071
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
1072
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
1073
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
1074
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
1075
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
1076
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
1077
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
1078
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
1079
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
1126
1080
|
* @return Success
|
|
1127
1081
|
*/
|
|
1128
1082
|
svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, cancelToken) {
|
|
@@ -1220,10 +1174,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1220
1174
|
const _responseText = response.data;
|
|
1221
1175
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1222
1176
|
}
|
|
1223
|
-
else if (status === 403) {
|
|
1224
|
-
const _responseText = response.data;
|
|
1225
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1226
|
-
}
|
|
1227
1177
|
else if (status !== 200 && status !== 204) {
|
|
1228
1178
|
const _responseText = response.data;
|
|
1229
1179
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1295,10 +1245,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1295
1245
|
const _responseText = response.data;
|
|
1296
1246
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1297
1247
|
}
|
|
1298
|
-
else if (status === 403) {
|
|
1299
|
-
const _responseText = response.data;
|
|
1300
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1301
|
-
}
|
|
1302
1248
|
else if (status !== 200 && status !== 204) {
|
|
1303
1249
|
const _responseText = response.data;
|
|
1304
1250
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1360,10 +1306,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1360
1306
|
const _responseText = response.data;
|
|
1361
1307
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1362
1308
|
}
|
|
1363
|
-
else if (status === 403) {
|
|
1364
|
-
const _responseText = response.data;
|
|
1365
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1366
|
-
}
|
|
1367
1309
|
else if (status !== 200 && status !== 204) {
|
|
1368
1310
|
const _responseText = response.data;
|
|
1369
1311
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1425,10 +1367,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1425
1367
|
const _responseText = response.data;
|
|
1426
1368
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1427
1369
|
}
|
|
1428
|
-
else if (status === 403) {
|
|
1429
|
-
const _responseText = response.data;
|
|
1430
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1431
|
-
}
|
|
1432
1370
|
else if (status !== 200 && status !== 204) {
|
|
1433
1371
|
const _responseText = response.data;
|
|
1434
1372
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1490,10 +1428,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1490
1428
|
const _responseText = response.data;
|
|
1491
1429
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1492
1430
|
}
|
|
1493
|
-
else if (status === 403) {
|
|
1494
|
-
const _responseText = response.data;
|
|
1495
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1496
|
-
}
|
|
1497
1431
|
else if (status !== 200 && status !== 204) {
|
|
1498
1432
|
const _responseText = response.data;
|
|
1499
1433
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1555,10 +1489,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1555
1489
|
const _responseText = response.data;
|
|
1556
1490
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1557
1491
|
}
|
|
1558
|
-
else if (status === 403) {
|
|
1559
|
-
const _responseText = response.data;
|
|
1560
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1561
|
-
}
|
|
1562
1492
|
else if (status !== 200 && status !== 204) {
|
|
1563
1493
|
const _responseText = response.data;
|
|
1564
1494
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1620,10 +1550,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1620
1550
|
const _responseText = response.data;
|
|
1621
1551
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1622
1552
|
}
|
|
1623
|
-
else if (status === 403) {
|
|
1624
|
-
const _responseText = response.data;
|
|
1625
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1626
|
-
}
|
|
1627
1553
|
else if (status !== 200 && status !== 204) {
|
|
1628
1554
|
const _responseText = response.data;
|
|
1629
1555
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1685,10 +1611,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1685
1611
|
const _responseText = response.data;
|
|
1686
1612
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1687
1613
|
}
|
|
1688
|
-
else if (status === 403) {
|
|
1689
|
-
const _responseText = response.data;
|
|
1690
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1691
|
-
}
|
|
1692
1614
|
else if (status !== 200 && status !== 204) {
|
|
1693
1615
|
const _responseText = response.data;
|
|
1694
1616
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1750,10 +1672,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1750
1672
|
const _responseText = response.data;
|
|
1751
1673
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1752
1674
|
}
|
|
1753
|
-
else if (status === 403) {
|
|
1754
|
-
const _responseText = response.data;
|
|
1755
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1756
|
-
}
|
|
1757
1675
|
else if (status !== 200 && status !== 204) {
|
|
1758
1676
|
const _responseText = response.data;
|
|
1759
1677
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1815,10 +1733,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1815
1733
|
const _responseText = response.data;
|
|
1816
1734
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1817
1735
|
}
|
|
1818
|
-
else if (status === 403) {
|
|
1819
|
-
const _responseText = response.data;
|
|
1820
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1821
|
-
}
|
|
1822
1736
|
else if (status !== 200 && status !== 204) {
|
|
1823
1737
|
const _responseText = response.data;
|
|
1824
1738
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1880,10 +1794,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1880
1794
|
const _responseText = response.data;
|
|
1881
1795
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1882
1796
|
}
|
|
1883
|
-
else if (status === 403) {
|
|
1884
|
-
const _responseText = response.data;
|
|
1885
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1886
|
-
}
|
|
1887
1797
|
else if (status !== 200 && status !== 204) {
|
|
1888
1798
|
const _responseText = response.data;
|
|
1889
1799
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1945,10 +1855,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1945
1855
|
const _responseText = response.data;
|
|
1946
1856
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1947
1857
|
}
|
|
1948
|
-
else if (status === 403) {
|
|
1949
|
-
const _responseText = response.data;
|
|
1950
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1951
|
-
}
|
|
1952
1858
|
else if (status !== 200 && status !== 204) {
|
|
1953
1859
|
const _responseText = response.data;
|
|
1954
1860
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2010,10 +1916,6 @@ export class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
2010
1916
|
const _responseText = response.data;
|
|
2011
1917
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2012
1918
|
}
|
|
2013
|
-
else if (status === 403) {
|
|
2014
|
-
const _responseText = response.data;
|
|
2015
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
2016
|
-
}
|
|
2017
1919
|
else if (status !== 200 && status !== 204) {
|
|
2018
1920
|
const _responseText = response.data;
|
|
2019
1921
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2034,7 +1936,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2034
1936
|
* Renders a preview of an image with the specified parameters.
|
|
2035
1937
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2036
1938
|
(default value is 'false').
|
|
2037
|
-
* @param tenantId (optional) Tenant
|
|
1939
|
+
* @param tenantId (optional) Tenant ID.
|
|
2038
1940
|
* @param body (optional) Render model with preview parameters.
|
|
2039
1941
|
* @return Success
|
|
2040
1942
|
*/
|
|
@@ -2113,7 +2015,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2113
2015
|
* Renders a preview of an uploaded image with the specified parameters.
|
|
2114
2016
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2115
2017
|
(default value is 'false').
|
|
2116
|
-
* @param tenantId (optional) Tenant
|
|
2018
|
+
* @param tenantId (optional) Tenant ID.
|
|
2117
2019
|
* @param sourceFile (optional)
|
|
2118
2020
|
* @param mockupOwnerId (optional)
|
|
2119
2021
|
* @param mockupId (optional)
|
|
@@ -2209,7 +2111,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2209
2111
|
}
|
|
2210
2112
|
/**
|
|
2211
2113
|
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
2212
|
-
* @param tenantId (optional) Tenant
|
|
2114
|
+
* @param tenantId (optional) Tenant ID.
|
|
2213
2115
|
* @param resourceOwnerId (optional)
|
|
2214
2116
|
* @param resourceNamespace (optional)
|
|
2215
2117
|
* @param resourceName (optional)
|
|
@@ -2333,7 +2235,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2333
2235
|
* Renders a preview of a web image with the specified parameters.
|
|
2334
2236
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2335
2237
|
(default value is 'false').
|
|
2336
|
-
* @param tenantId (optional) Tenant
|
|
2238
|
+
* @param tenantId (optional) Tenant ID.
|
|
2337
2239
|
* @param body (optional) Render model with preview parameters.
|
|
2338
2240
|
* @return Success
|
|
2339
2241
|
*/
|
|
@@ -2410,7 +2312,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2410
2312
|
}
|
|
2411
2313
|
/**
|
|
2412
2314
|
* Renders a preview of a web image with the specified parameters and saves rendering result as resource.
|
|
2413
|
-
* @param tenantId (optional) Tenant
|
|
2315
|
+
* @param tenantId (optional) Tenant ID.
|
|
2414
2316
|
* @param body (optional) Render model with preview parameters.
|
|
2415
2317
|
* @return Success
|
|
2416
2318
|
*/
|
|
@@ -2492,7 +2394,7 @@ export class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2492
2394
|
}
|
|
2493
2395
|
/**
|
|
2494
2396
|
* Renders a preview of an image with the specified parameters and saves rendering result as resource.
|
|
2495
|
-
* @param tenantId (optional) Tenant
|
|
2397
|
+
* @param tenantId (optional) Tenant ID.
|
|
2496
2398
|
* @param body (optional) Render model with preview parameters.
|
|
2497
2399
|
* @return Success
|
|
2498
2400
|
*/
|
|
@@ -2586,7 +2488,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2586
2488
|
* Returns a 3D-Mockup attributes.
|
|
2587
2489
|
* @param id 3D-Mockup identifier.
|
|
2588
2490
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2589
|
-
* @param tenantId (optional) Tenant
|
|
2491
|
+
* @param tenantId (optional) Tenant ID.
|
|
2590
2492
|
* @return Success
|
|
2591
2493
|
*/
|
|
2592
2494
|
getAttributes(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2671,7 +2573,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2671
2573
|
* Returns a 3D-Mockup content as protobuf binary stream.
|
|
2672
2574
|
* @param id 3D-Mockup identifier.
|
|
2673
2575
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2674
|
-
* @param tenantId (optional) Tenant
|
|
2576
|
+
* @param tenantId (optional) Tenant ID.
|
|
2675
2577
|
* @return Success
|
|
2676
2578
|
*/
|
|
2677
2579
|
getContentAsProtobuf(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2756,7 +2658,7 @@ export class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2756
2658
|
* Returns a 3D-Mockup geometry as binary stream.
|
|
2757
2659
|
* @param id 3D-Mockup identifier.
|
|
2758
2660
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2759
|
-
* @param tenantId (optional) Tenant
|
|
2661
|
+
* @param tenantId (optional) Tenant ID.
|
|
2760
2662
|
* @return Success
|
|
2761
2663
|
*/
|
|
2762
2664
|
getGeometryFile(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2850,7 +2752,7 @@ export class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
2850
2752
|
/**
|
|
2851
2753
|
* Returns a closest color to provided color in a specified palette.
|
|
2852
2754
|
* @param paletteUID (optional) Palette UID.
|
|
2853
|
-
* @param tenantId (optional) Tenant
|
|
2755
|
+
* @param tenantId (optional) Tenant ID.
|
|
2854
2756
|
* @param body (optional) Source color.
|
|
2855
2757
|
* @return Success
|
|
2856
2758
|
*/
|
|
@@ -2943,7 +2845,7 @@ export class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
2943
2845
|
* Returns a serialized palette model by its identifier or UID.
|
|
2944
2846
|
* @param id (optional) Palette identifier.
|
|
2945
2847
|
* @param uid (optional) Palette UID.
|
|
2946
|
-
* @param tenantId (optional) Tenant
|
|
2848
|
+
* @param tenantId (optional) Tenant ID.
|
|
2947
2849
|
* @return Success
|
|
2948
2850
|
*/
|
|
2949
2851
|
getPaletteModel(id, uid, tenantId, cancelToken) {
|
|
@@ -3044,7 +2946,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3044
2946
|
* Patches a print-product of the specified design file.
|
|
3045
2947
|
* @param id Design identifier.
|
|
3046
2948
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3047
|
-
* @param tenantId (optional) Tenant
|
|
2949
|
+
* @param tenantId (optional) Tenant ID.
|
|
3048
2950
|
* @param patchType (optional)
|
|
3049
2951
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
3050
2952
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -3066,9 +2968,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3066
2968
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3067
2969
|
url_ = url_.replace(/[?&]$/, "");
|
|
3068
2970
|
const content_ = new FormData();
|
|
3069
|
-
if (patchType
|
|
3070
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
3071
|
-
else
|
|
2971
|
+
if (patchType !== null && patchType !== undefined)
|
|
3072
2972
|
content_.append("patchType", patchType.toString());
|
|
3073
2973
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
3074
2974
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -3076,9 +2976,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3076
2976
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
3077
2977
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
3078
2978
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
3079
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
3080
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
3081
|
-
else
|
|
2979
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
3082
2980
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
3083
2981
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
3084
2982
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -3142,7 +3040,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3142
3040
|
* @param id Design identifier.
|
|
3143
3041
|
* @param surfaceId (optional) Print-product surface identifier.
|
|
3144
3042
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3145
|
-
* @param tenantId (optional) Tenant
|
|
3043
|
+
* @param tenantId (optional) Tenant ID.
|
|
3146
3044
|
* @return Success
|
|
3147
3045
|
*/
|
|
3148
3046
|
getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3204,6 +3102,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3204
3102
|
result404 = JSON.parse(resultData404);
|
|
3205
3103
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3206
3104
|
}
|
|
3105
|
+
else if (status === 409) {
|
|
3106
|
+
const _responseText = response.data;
|
|
3107
|
+
let result409 = null;
|
|
3108
|
+
let resultData409 = _responseText;
|
|
3109
|
+
result409 = JSON.parse(resultData409);
|
|
3110
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3111
|
+
}
|
|
3207
3112
|
else if (status === 401) {
|
|
3208
3113
|
const _responseText = response.data;
|
|
3209
3114
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3223,7 +3128,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3223
3128
|
* @param id Design identifier.
|
|
3224
3129
|
* @param containerId Print-product container identifier.
|
|
3225
3130
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3226
|
-
* @param tenantId (optional) Tenant
|
|
3131
|
+
* @param tenantId (optional) Tenant ID.
|
|
3227
3132
|
* @return No Content
|
|
3228
3133
|
*/
|
|
3229
3134
|
deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3307,7 +3212,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3307
3212
|
* @param id Design identifier.
|
|
3308
3213
|
* @param containerId Print-product container identifier.
|
|
3309
3214
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3310
|
-
* @param tenantId (optional) Tenant
|
|
3215
|
+
* @param tenantId (optional) Tenant ID.
|
|
3311
3216
|
* @return Success
|
|
3312
3217
|
*/
|
|
3313
3218
|
getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3396,7 +3301,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3396
3301
|
* @param id Design identifier.
|
|
3397
3302
|
* @param containerId Print-product container identifier.
|
|
3398
3303
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3399
|
-
* @param tenantId (optional) Tenant
|
|
3304
|
+
* @param tenantId (optional) Tenant ID.
|
|
3400
3305
|
* @param body (optional) Json-serialized model of a print-product container.
|
|
3401
3306
|
* @return Success
|
|
3402
3307
|
*/
|
|
@@ -3500,7 +3405,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3500
3405
|
* @param top (optional) Y axis position.
|
|
3501
3406
|
* @param left (optional) X axis position.
|
|
3502
3407
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3503
|
-
* @param tenantId (optional) Tenant
|
|
3408
|
+
* @param tenantId (optional) Tenant ID.
|
|
3504
3409
|
* @param body (optional) Json-serialized model of a new print-product container.
|
|
3505
3410
|
* @return Success
|
|
3506
3411
|
*/
|
|
@@ -3583,6 +3488,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3583
3488
|
result404 = JSON.parse(resultData404);
|
|
3584
3489
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3585
3490
|
}
|
|
3491
|
+
else if (status === 409) {
|
|
3492
|
+
const _responseText = response.data;
|
|
3493
|
+
let result409 = null;
|
|
3494
|
+
let resultData409 = _responseText;
|
|
3495
|
+
result409 = JSON.parse(resultData409);
|
|
3496
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3497
|
+
}
|
|
3586
3498
|
else if (status === 401) {
|
|
3587
3499
|
const _responseText = response.data;
|
|
3588
3500
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3604,7 +3516,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3604
3516
|
* @param containerId (optional) Print-product container identifier.
|
|
3605
3517
|
* @param parentItemId (optional) Print-product item identifier.
|
|
3606
3518
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3607
|
-
* @param tenantId (optional) Tenant
|
|
3519
|
+
* @param tenantId (optional) Tenant ID.
|
|
3608
3520
|
* @return Success
|
|
3609
3521
|
*/
|
|
3610
3522
|
getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3689,7 +3601,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3689
3601
|
* @param id Design identifier.
|
|
3690
3602
|
* @param itemId Print-product item identifier.
|
|
3691
3603
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3692
|
-
* @param tenantId (optional) Tenant
|
|
3604
|
+
* @param tenantId (optional) Tenant ID.
|
|
3693
3605
|
* @return No Content
|
|
3694
3606
|
*/
|
|
3695
3607
|
deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3773,7 +3685,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3773
3685
|
* @param id Design identifier.
|
|
3774
3686
|
* @param itemId Print-product item identifier.
|
|
3775
3687
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3776
|
-
* @param tenantId (optional) Tenant
|
|
3688
|
+
* @param tenantId (optional) Tenant ID.
|
|
3777
3689
|
* @return Success
|
|
3778
3690
|
*/
|
|
3779
3691
|
getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3862,7 +3774,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3862
3774
|
* @param id Design identifier.
|
|
3863
3775
|
* @param itemId Print-product item identifier.
|
|
3864
3776
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3865
|
-
* @param tenantId (optional) Tenant
|
|
3777
|
+
* @param tenantId (optional) Tenant ID.
|
|
3866
3778
|
* @param body (optional) Json-serialized model of a print-product item.
|
|
3867
3779
|
* @return Success
|
|
3868
3780
|
*/
|
|
@@ -3966,7 +3878,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3966
3878
|
* @param top (optional) Y axis position.
|
|
3967
3879
|
* @param left (optional) X axis position.
|
|
3968
3880
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3969
|
-
* @param tenantId (optional) Tenant
|
|
3881
|
+
* @param tenantId (optional) Tenant ID.
|
|
3970
3882
|
* @param body (optional) Json-serialized model of a new print-product item.
|
|
3971
3883
|
* @return Success
|
|
3972
3884
|
*/
|
|
@@ -4049,6 +3961,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4049
3961
|
result404 = JSON.parse(resultData404);
|
|
4050
3962
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4051
3963
|
}
|
|
3964
|
+
else if (status === 409) {
|
|
3965
|
+
const _responseText = response.data;
|
|
3966
|
+
let result409 = null;
|
|
3967
|
+
let resultData409 = _responseText;
|
|
3968
|
+
result409 = JSON.parse(resultData409);
|
|
3969
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3970
|
+
}
|
|
4052
3971
|
else if (status === 401) {
|
|
4053
3972
|
const _responseText = response.data;
|
|
4054
3973
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4067,7 +3986,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4067
3986
|
* Returns a print-product of the specified design file as a json-serialized model.
|
|
4068
3987
|
* @param id Design identifier.
|
|
4069
3988
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4070
|
-
* @param tenantId (optional) Tenant
|
|
3989
|
+
* @param tenantId (optional) Tenant ID.
|
|
4071
3990
|
* @return Success
|
|
4072
3991
|
*/
|
|
4073
3992
|
getDesignProductModel(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4145,7 +4064,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4145
4064
|
* Updates a print-product provided as a json-serialized model is the specified design file.
|
|
4146
4065
|
* @param id Design identifier.
|
|
4147
4066
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4148
|
-
* @param tenantId (optional) Tenant
|
|
4067
|
+
* @param tenantId (optional) Tenant ID.
|
|
4149
4068
|
* @param body (optional) Json-serialized model of a print-product .
|
|
4150
4069
|
* @return No Content
|
|
4151
4070
|
*/
|
|
@@ -4224,7 +4143,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4224
4143
|
* @param id Design identifier.
|
|
4225
4144
|
* @param surfaceId (optional)
|
|
4226
4145
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4227
|
-
* @param tenantId (optional) Tenant
|
|
4146
|
+
* @param tenantId (optional) Tenant ID.
|
|
4228
4147
|
* @return Success
|
|
4229
4148
|
*/
|
|
4230
4149
|
getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4305,7 +4224,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4305
4224
|
Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
|
|
4306
4225
|
* @param id Design identifier.
|
|
4307
4226
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4308
|
-
* @param tenantId (optional) Tenant
|
|
4227
|
+
* @param tenantId (optional) Tenant ID.
|
|
4309
4228
|
* @param body (optional) Print-area description model.
|
|
4310
4229
|
* @return Success
|
|
4311
4230
|
*/
|
|
@@ -4376,6 +4295,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4376
4295
|
result404 = JSON.parse(resultData404);
|
|
4377
4296
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4378
4297
|
}
|
|
4298
|
+
else if (status === 409) {
|
|
4299
|
+
const _responseText = response.data;
|
|
4300
|
+
let result409 = null;
|
|
4301
|
+
let resultData409 = _responseText;
|
|
4302
|
+
result409 = JSON.parse(resultData409);
|
|
4303
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4304
|
+
}
|
|
4379
4305
|
else if (status === 401) {
|
|
4380
4306
|
const _responseText = response.data;
|
|
4381
4307
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4395,7 +4321,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4395
4321
|
* @param id Design identifier.
|
|
4396
4322
|
* @param printAreaId Design print-area identifier.
|
|
4397
4323
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4398
|
-
* @param tenantId (optional) Tenant
|
|
4324
|
+
* @param tenantId (optional) Tenant ID.
|
|
4399
4325
|
* @param body (optional) Print-area description model.
|
|
4400
4326
|
* @return Success
|
|
4401
4327
|
*/
|
|
@@ -4495,7 +4421,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4495
4421
|
* @param id Design identifier.
|
|
4496
4422
|
* @param printAreaId Design print-area identifier.
|
|
4497
4423
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4498
|
-
* @param tenantId (optional) Tenant
|
|
4424
|
+
* @param tenantId (optional) Tenant ID.
|
|
4499
4425
|
* @return No Content
|
|
4500
4426
|
*/
|
|
4501
4427
|
deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4579,7 +4505,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4579
4505
|
* @param id Design identifier.
|
|
4580
4506
|
* @param printAreaId Design print-area identifier.
|
|
4581
4507
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4582
|
-
* @param tenantId (optional) Tenant
|
|
4508
|
+
* @param tenantId (optional) Tenant ID.
|
|
4583
4509
|
* @return Success
|
|
4584
4510
|
*/
|
|
4585
4511
|
getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4668,7 +4594,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4668
4594
|
* @param id Design identifier.
|
|
4669
4595
|
* @param printAreaId Design print-area identifier.
|
|
4670
4596
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4671
|
-
* @param tenantId (optional) Tenant
|
|
4597
|
+
* @param tenantId (optional) Tenant ID.
|
|
4672
4598
|
* @param body (optional) Json-serialized model of a print-area.
|
|
4673
4599
|
* @return Success
|
|
4674
4600
|
*/
|
|
@@ -4769,7 +4695,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4769
4695
|
* @param id Design identifier.
|
|
4770
4696
|
* @param surfaceId (optional) Parent surface identifier.
|
|
4771
4697
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4772
|
-
* @param tenantId (optional) Tenant
|
|
4698
|
+
* @param tenantId (optional) Tenant ID.
|
|
4773
4699
|
* @param body (optional) Json serialized model of a print-area.
|
|
4774
4700
|
* @return Success
|
|
4775
4701
|
*/
|
|
@@ -4842,6 +4768,13 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4842
4768
|
result404 = JSON.parse(resultData404);
|
|
4843
4769
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4844
4770
|
}
|
|
4771
|
+
else if (status === 409) {
|
|
4772
|
+
const _responseText = response.data;
|
|
4773
|
+
let result409 = null;
|
|
4774
|
+
let resultData409 = _responseText;
|
|
4775
|
+
result409 = JSON.parse(resultData409);
|
|
4776
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4777
|
+
}
|
|
4845
4778
|
else if (status === 401) {
|
|
4846
4779
|
const _responseText = response.data;
|
|
4847
4780
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4860,7 +4793,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4860
4793
|
* Returns a list of print-product surfaces descriptions of the specified design file.
|
|
4861
4794
|
* @param id Design identifier.
|
|
4862
4795
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4863
|
-
* @param tenantId (optional) Tenant
|
|
4796
|
+
* @param tenantId (optional) Tenant ID.
|
|
4864
4797
|
* @return Success
|
|
4865
4798
|
*/
|
|
4866
4799
|
getDesignSurfaces(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4939,7 +4872,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4939
4872
|
* @param id Design identifier.
|
|
4940
4873
|
* @param surfaceId Print-product surface identifier.
|
|
4941
4874
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4942
|
-
* @param tenantId (optional) Tenant
|
|
4875
|
+
* @param tenantId (optional) Tenant ID.
|
|
4943
4876
|
* @return No Content
|
|
4944
4877
|
*/
|
|
4945
4878
|
deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5023,7 +4956,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5023
4956
|
* @param id Design identifier.
|
|
5024
4957
|
* @param surfaceId Print product surface identifier.
|
|
5025
4958
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5026
|
-
* @param tenantId (optional) Tenant
|
|
4959
|
+
* @param tenantId (optional) Tenant ID.
|
|
5027
4960
|
* @return Success
|
|
5028
4961
|
*/
|
|
5029
4962
|
getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5119,7 +5052,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5119
5052
|
* @param id Design identifier.
|
|
5120
5053
|
* @param surfaceId Print-product surface identifier.
|
|
5121
5054
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5122
|
-
* @param tenantId (optional) Tenant
|
|
5055
|
+
* @param tenantId (optional) Tenant ID.
|
|
5123
5056
|
* @param position_top (optional)
|
|
5124
5057
|
* @param position_left (optional)
|
|
5125
5058
|
* @param sourceFile (optional)
|
|
@@ -5230,7 +5163,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5230
5163
|
* @param id Design identifier.
|
|
5231
5164
|
* @param surfaceId Print-product surface identifier.
|
|
5232
5165
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5233
|
-
* @param tenantId (optional) Tenant
|
|
5166
|
+
* @param tenantId (optional) Tenant ID.
|
|
5234
5167
|
* @return Success
|
|
5235
5168
|
*/
|
|
5236
5169
|
getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5326,7 +5259,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5326
5259
|
* @param id Design identifier.
|
|
5327
5260
|
* @param surfaceId Print-product surface identifier.
|
|
5328
5261
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5329
|
-
* @param tenantId (optional) Tenant
|
|
5262
|
+
* @param tenantId (optional) Tenant ID.
|
|
5330
5263
|
* @return Success
|
|
5331
5264
|
*/
|
|
5332
5265
|
getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5422,7 +5355,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5422
5355
|
* @param id Design identifier.
|
|
5423
5356
|
* @param surfaceId Print-product surface identifier.
|
|
5424
5357
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5425
|
-
* @param tenantId (optional) Tenant
|
|
5358
|
+
* @param tenantId (optional) Tenant ID.
|
|
5426
5359
|
* @param position_top (optional)
|
|
5427
5360
|
* @param position_left (optional)
|
|
5428
5361
|
* @param sourceFile (optional)
|
|
@@ -5533,7 +5466,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5533
5466
|
* @param id Design identifier.
|
|
5534
5467
|
* @param surfaceId Print-product surface identifier.
|
|
5535
5468
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5536
|
-
* @param tenantId (optional) Tenant
|
|
5469
|
+
* @param tenantId (optional) Tenant ID.
|
|
5537
5470
|
* @return Success
|
|
5538
5471
|
*/
|
|
5539
5472
|
getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5629,7 +5562,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5629
5562
|
* @param id Design identifier.
|
|
5630
5563
|
* @param surfaceId Surface identifier.
|
|
5631
5564
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5632
|
-
* @param tenantId (optional) Tenant
|
|
5565
|
+
* @param tenantId (optional) Tenant ID.
|
|
5633
5566
|
* @return Success
|
|
5634
5567
|
*/
|
|
5635
5568
|
getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5719,7 +5652,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5719
5652
|
* @param id Design identifier.
|
|
5720
5653
|
* @param surfaceId Print-product surface identifier.
|
|
5721
5654
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5722
|
-
* @param tenantId (optional) Tenant
|
|
5655
|
+
* @param tenantId (optional) Tenant ID.
|
|
5723
5656
|
* @param body (optional) Json-serialized model of a print-product surface.
|
|
5724
5657
|
* @return Success
|
|
5725
5658
|
*/
|
|
@@ -5820,7 +5753,7 @@ export class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5820
5753
|
* @param id Design identifier.
|
|
5821
5754
|
* @param index (optional) Surface index within the surfaces list of a design.
|
|
5822
5755
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5823
|
-
* @param tenantId (optional) Tenant
|
|
5756
|
+
* @param tenantId (optional) Tenant ID.
|
|
5824
5757
|
* @param body (optional) Json-serialized model of a print-prouduct surface.
|
|
5825
5758
|
* @return Success
|
|
5826
5759
|
*/
|
|
@@ -5919,7 +5852,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
5919
5852
|
}
|
|
5920
5853
|
/**
|
|
5921
5854
|
* Apply effects to print-product item image.
|
|
5922
|
-
* @param tenantId (optional) Tenant
|
|
5855
|
+
* @param tenantId (optional) Tenant ID.
|
|
5923
5856
|
* @param body (optional)
|
|
5924
5857
|
* @return Success
|
|
5925
5858
|
*/
|
|
@@ -5987,7 +5920,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
5987
5920
|
}
|
|
5988
5921
|
/**
|
|
5989
5922
|
* Extracts print-product item image.
|
|
5990
|
-
* @param tenantId (optional) Tenant
|
|
5923
|
+
* @param tenantId (optional) Tenant ID.
|
|
5991
5924
|
* @param body (optional) Extraction parameters.
|
|
5992
5925
|
* @return Success
|
|
5993
5926
|
*/
|
|
@@ -6056,7 +5989,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6056
5989
|
/**
|
|
6057
5990
|
* Flattens print-product items.
|
|
6058
5991
|
* @param paletteUID (optional)
|
|
6059
|
-
* @param tenantId (optional) Tenant
|
|
5992
|
+
* @param tenantId (optional) Tenant ID.
|
|
6060
5993
|
* @param body (optional) List of print-product items to flatten.
|
|
6061
5994
|
* @return Success
|
|
6062
5995
|
*/
|
|
@@ -6127,7 +6060,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6127
6060
|
/**
|
|
6128
6061
|
* Creates print-product item from input image file.
|
|
6129
6062
|
* @param itemType (optional) Desired item type.
|
|
6130
|
-
* @param tenantId (optional) Tenant
|
|
6063
|
+
* @param tenantId (optional) Tenant ID.
|
|
6131
6064
|
* @param sourceFile (optional)
|
|
6132
6065
|
* @param paletteUID (optional)
|
|
6133
6066
|
* @param preserveOriginalFile (optional)
|
|
@@ -6219,7 +6152,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6219
6152
|
/**
|
|
6220
6153
|
* Creates multiple print-product items from input image files.
|
|
6221
6154
|
* @param itemType (optional) Desired print-product items type.
|
|
6222
|
-
* @param tenantId (optional) Tenant
|
|
6155
|
+
* @param tenantId (optional) Tenant ID.
|
|
6223
6156
|
* @param sourceFiles (optional)
|
|
6224
6157
|
* @param paletteUID (optional)
|
|
6225
6158
|
* @param preserveOriginalFile (optional)
|
|
@@ -6311,7 +6244,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6311
6244
|
/**
|
|
6312
6245
|
* Creates print-product item from image file taken from storage.
|
|
6313
6246
|
* @param itemType (optional) Desired item type.
|
|
6314
|
-
* @param tenantId (optional) Tenant
|
|
6247
|
+
* @param tenantId (optional) Tenant ID.
|
|
6315
6248
|
* @param body (optional) Operation parameters.
|
|
6316
6249
|
* @return Success
|
|
6317
6250
|
*/
|
|
@@ -6396,7 +6329,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6396
6329
|
/**
|
|
6397
6330
|
* Creates multiple print-product items from the specified image files in storage.
|
|
6398
6331
|
* @param itemType (optional) Desired items type.
|
|
6399
|
-
* @param tenantId (optional) Tenant
|
|
6332
|
+
* @param tenantId (optional) Tenant ID.
|
|
6400
6333
|
* @param body (optional) Operation parameters.
|
|
6401
6334
|
* @return Success
|
|
6402
6335
|
*/
|
|
@@ -6481,7 +6414,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6481
6414
|
/**
|
|
6482
6415
|
* Creates print-product item from remote web image provided by URL.
|
|
6483
6416
|
* @param itemType (optional) Desired item type.
|
|
6484
|
-
* @param tenantId (optional) Tenant
|
|
6417
|
+
* @param tenantId (optional) Tenant ID.
|
|
6485
6418
|
* @param body (optional) Operation parameters.
|
|
6486
6419
|
* @return Success
|
|
6487
6420
|
*/
|
|
@@ -6566,7 +6499,7 @@ export class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6566
6499
|
/**
|
|
6567
6500
|
* Creates multiple print-product items from remote web images provided by URLs list.
|
|
6568
6501
|
* @param itemType (optional) Desired items type.
|
|
6569
|
-
* @param tenantId (optional) Tenant
|
|
6502
|
+
* @param tenantId (optional) Tenant ID.
|
|
6570
6503
|
* @param body (optional) Operation parameters.
|
|
6571
6504
|
* @return Success
|
|
6572
6505
|
*/
|
|
@@ -6661,7 +6594,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6661
6594
|
/**
|
|
6662
6595
|
* Creates new design file with specified parameters and saves it in storage.
|
|
6663
6596
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6664
|
-
* @param tenantId (optional) Tenant
|
|
6597
|
+
* @param tenantId (optional) Tenant ID.
|
|
6665
6598
|
* @param body (optional) Design creation parameters.
|
|
6666
6599
|
* @return Created
|
|
6667
6600
|
*/
|
|
@@ -6740,7 +6673,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6740
6673
|
* Applies item data for a specified design file taken from storage.
|
|
6741
6674
|
* @param id Design identifier.
|
|
6742
6675
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6743
|
-
* @param tenantId (optional) Tenant
|
|
6676
|
+
* @param tenantId (optional) Tenant ID.
|
|
6744
6677
|
* @param body (optional) Design items data.
|
|
6745
6678
|
* @return Success
|
|
6746
6679
|
*/
|
|
@@ -6826,7 +6759,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6826
6759
|
* @param id Design identifier.
|
|
6827
6760
|
* @param surfaceIndex (optional) Surface index.
|
|
6828
6761
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6829
|
-
* @param tenantId (optional) Tenant
|
|
6762
|
+
* @param tenantId (optional) Tenant ID.
|
|
6830
6763
|
* @return Success
|
|
6831
6764
|
*/
|
|
6832
6765
|
extractBackground(id, surfaceIndex, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -6913,7 +6846,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6913
6846
|
* Sets specified editor-mockups for selected design surfaces.
|
|
6914
6847
|
* @param id Design identifier.
|
|
6915
6848
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6916
|
-
* @param tenantId (optional) Tenant
|
|
6849
|
+
* @param tenantId (optional) Tenant ID.
|
|
6917
6850
|
* @param body (optional) Operation parameters.
|
|
6918
6851
|
* @return No Content
|
|
6919
6852
|
*/
|
|
@@ -6998,7 +6931,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6998
6931
|
* Returns design parameters stored in product model.
|
|
6999
6932
|
* @param id Design identifier.
|
|
7000
6933
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7001
|
-
* @param tenantId (optional) Tenant
|
|
6934
|
+
* @param tenantId (optional) Tenant ID.
|
|
7002
6935
|
* @return Success
|
|
7003
6936
|
*/
|
|
7004
6937
|
getDesignParameters(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7076,7 +7009,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7076
7009
|
* Loads a data schema from design file taken from storage.
|
|
7077
7010
|
* @param id Design identifier.
|
|
7078
7011
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7079
|
-
* @param tenantId (optional) Tenant
|
|
7012
|
+
* @param tenantId (optional) Tenant ID.
|
|
7080
7013
|
* @return Success
|
|
7081
7014
|
*/
|
|
7082
7015
|
loadDataSchema(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7161,7 +7094,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7161
7094
|
* Loads a toggle set from design file taken from storage.
|
|
7162
7095
|
* @param id Design identifier.
|
|
7163
7096
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7164
|
-
* @param tenantId (optional) Tenant
|
|
7097
|
+
* @param tenantId (optional) Tenant ID.
|
|
7165
7098
|
* @return Success
|
|
7166
7099
|
*/
|
|
7167
7100
|
loadToggleSet(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7246,7 +7179,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7246
7179
|
* Returns variable items information for design file taken from storage.
|
|
7247
7180
|
* @param id Design identifier.
|
|
7248
7181
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7249
|
-
* @param tenantId (optional) Tenant
|
|
7182
|
+
* @param tenantId (optional) Tenant ID.
|
|
7250
7183
|
* @return Success
|
|
7251
7184
|
*/
|
|
7252
7185
|
getVariables(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7324,7 +7257,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7324
7257
|
* Saves variable items values for design file taken from storage.
|
|
7325
7258
|
* @param id Design identifier.
|
|
7326
7259
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7327
|
-
* @param tenantId (optional) Tenant
|
|
7260
|
+
* @param tenantId (optional) Tenant ID.
|
|
7328
7261
|
* @param body (optional) Design variable values.
|
|
7329
7262
|
* @return Success
|
|
7330
7263
|
*/
|
|
@@ -7409,7 +7342,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7409
7342
|
* Loads variable data printing information from design file taken from storage.
|
|
7410
7343
|
* @param id Design identifier.
|
|
7411
7344
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7412
|
-
* @param tenantId (optional) Tenant
|
|
7345
|
+
* @param tenantId (optional) Tenant ID.
|
|
7413
7346
|
* @return Success
|
|
7414
7347
|
*/
|
|
7415
7348
|
loadVdpData(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7494,7 +7427,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7494
7427
|
* Saves variable data printing information to design file and updates design in storage.
|
|
7495
7428
|
* @param id Design identifier.
|
|
7496
7429
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7497
|
-
* @param tenantId (optional) Tenant
|
|
7430
|
+
* @param tenantId (optional) Tenant ID.
|
|
7498
7431
|
* @param body (optional) Serialized vdp data.
|
|
7499
7432
|
* @return Success
|
|
7500
7433
|
*/
|
|
@@ -7572,7 +7505,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7572
7505
|
* Deletes variable data printing information from design file and updates design file in storage.
|
|
7573
7506
|
* @param id Design identifier.
|
|
7574
7507
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7575
|
-
* @param tenantId (optional) Tenant
|
|
7508
|
+
* @param tenantId (optional) Tenant ID.
|
|
7576
7509
|
* @return Success
|
|
7577
7510
|
*/
|
|
7578
7511
|
deleteVdpData(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7643,7 +7576,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7643
7576
|
}
|
|
7644
7577
|
/**
|
|
7645
7578
|
* Converts colors for print-product item manipulations.
|
|
7646
|
-
* @param tenantId (optional) Tenant
|
|
7579
|
+
* @param tenantId (optional) Tenant ID.
|
|
7647
7580
|
* @param body (optional) Convert colors operation parameters.
|
|
7648
7581
|
* @return Success
|
|
7649
7582
|
*/
|
|
@@ -7720,7 +7653,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7720
7653
|
* Loads print-product from resource file taken from storage.
|
|
7721
7654
|
* @param id (optional) Resource identifier.
|
|
7722
7655
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7723
|
-
* @param tenantId (optional) Tenant
|
|
7656
|
+
* @param tenantId (optional) Tenant ID.
|
|
7724
7657
|
* @return Success
|
|
7725
7658
|
*/
|
|
7726
7659
|
loadProductFromResource(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7804,7 +7737,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7804
7737
|
* Renders a product proof image with specified parameters.
|
|
7805
7738
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
7806
7739
|
(default value is 'false').
|
|
7807
|
-
* @param tenantId (optional) Tenant
|
|
7740
|
+
* @param tenantId (optional) Tenant ID.
|
|
7808
7741
|
* @param body (optional) Preview parameters.
|
|
7809
7742
|
* @return Success
|
|
7810
7743
|
*/
|
|
@@ -7876,7 +7809,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7876
7809
|
* Renders a design preview with the specified parameters.
|
|
7877
7810
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
7878
7811
|
(default value is 'false').
|
|
7879
|
-
* @param tenantId (optional) Tenant
|
|
7812
|
+
* @param tenantId (optional) Tenant ID.
|
|
7880
7813
|
* @param body (optional) Render model with preview parameters.
|
|
7881
7814
|
* @return Success
|
|
7882
7815
|
*/
|
|
@@ -7946,7 +7879,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7946
7879
|
}
|
|
7947
7880
|
/**
|
|
7948
7881
|
* Renders a design preview with the specified parameters and saves rendering result as resource.
|
|
7949
|
-
* @param tenantId (optional) Tenant
|
|
7882
|
+
* @param tenantId (optional) Tenant ID.
|
|
7950
7883
|
* @param body (optional) Render model with preview parameters.
|
|
7951
7884
|
* @return Success
|
|
7952
7885
|
*/
|
|
@@ -8030,7 +7963,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8030
7963
|
* Renders a design proof with the specified parameters.
|
|
8031
7964
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
8032
7965
|
(default value is 'false').
|
|
8033
|
-
* @param tenantId (optional) Tenant
|
|
7966
|
+
* @param tenantId (optional) Tenant ID.
|
|
8034
7967
|
* @param body (optional) Render model with proof parameters.
|
|
8035
7968
|
* @return Success
|
|
8036
7969
|
*/
|
|
@@ -8107,7 +8040,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8107
8040
|
}
|
|
8108
8041
|
/**
|
|
8109
8042
|
* Renders a design proof with the specified parameters and saves rendering result as resource.
|
|
8110
|
-
* @param tenantId (optional) Tenant
|
|
8043
|
+
* @param tenantId (optional) Tenant ID.
|
|
8111
8044
|
* @param body (optional) Render model with preview parameters.
|
|
8112
8045
|
* @return Success
|
|
8113
8046
|
*/
|
|
@@ -8184,7 +8117,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8184
8117
|
* Loads print-product from design file taken from storage.
|
|
8185
8118
|
* @param id Design identifier.
|
|
8186
8119
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8187
|
-
* @param tenantId (optional) Tenant
|
|
8120
|
+
* @param tenantId (optional) Tenant ID.
|
|
8188
8121
|
* @return Success
|
|
8189
8122
|
* @deprecated
|
|
8190
8123
|
*/
|
|
@@ -8263,7 +8196,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8263
8196
|
* Saves print-product to design file and updates design file in storage.
|
|
8264
8197
|
* @param id Design identifier.
|
|
8265
8198
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8266
|
-
* @param tenantId (optional) Tenant
|
|
8199
|
+
* @param tenantId (optional) Tenant ID.
|
|
8267
8200
|
* @param body (optional) Serialized product description.
|
|
8268
8201
|
* @return Success
|
|
8269
8202
|
* @deprecated
|
|
@@ -8342,7 +8275,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8342
8275
|
* Patches print-product in design file.
|
|
8343
8276
|
* @param id Design identifier.
|
|
8344
8277
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8345
|
-
* @param tenantId (optional) Tenant
|
|
8278
|
+
* @param tenantId (optional) Tenant ID.
|
|
8346
8279
|
* @param patchType (optional)
|
|
8347
8280
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
8348
8281
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -8365,9 +8298,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8365
8298
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
8366
8299
|
url_ = url_.replace(/[?&]$/, "");
|
|
8367
8300
|
const content_ = new FormData();
|
|
8368
|
-
if (patchType
|
|
8369
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
8370
|
-
else
|
|
8301
|
+
if (patchType !== null && patchType !== undefined)
|
|
8371
8302
|
content_.append("patchType", patchType.toString());
|
|
8372
8303
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
8373
8304
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -8375,9 +8306,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8375
8306
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
8376
8307
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
8377
8308
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
8378
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
8379
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
8380
|
-
else
|
|
8309
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
8381
8310
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
8382
8311
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
8383
8312
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -8439,7 +8368,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8439
8368
|
/**
|
|
8440
8369
|
* Creates print-product item.
|
|
8441
8370
|
* @param itemType (optional) Desired item type.
|
|
8442
|
-
* @param tenantId (optional) Tenant
|
|
8371
|
+
* @param tenantId (optional) Tenant ID.
|
|
8443
8372
|
* @param sourceType (optional)
|
|
8444
8373
|
* @param sourceId (optional)
|
|
8445
8374
|
* @param sourceOwnerId (optional)
|
|
@@ -8530,7 +8459,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8530
8459
|
}
|
|
8531
8460
|
/**
|
|
8532
8461
|
* Extracts print-product item image.
|
|
8533
|
-
* @param tenantId (optional) Tenant
|
|
8462
|
+
* @param tenantId (optional) Tenant ID.
|
|
8534
8463
|
* @param body (optional) Extraction parameters.
|
|
8535
8464
|
* @return Success
|
|
8536
8465
|
* @deprecated
|
|
@@ -8599,7 +8528,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8599
8528
|
}
|
|
8600
8529
|
/**
|
|
8601
8530
|
* Flattens print-product items.
|
|
8602
|
-
* @param tenantId (optional) Tenant
|
|
8531
|
+
* @param tenantId (optional) Tenant ID.
|
|
8603
8532
|
* @param body (optional) Items to flatten.
|
|
8604
8533
|
* @return Success
|
|
8605
8534
|
* @deprecated
|
|
@@ -8671,7 +8600,7 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8671
8600
|
* @param designId (optional) Public design identifier.
|
|
8672
8601
|
* @param privateDesignId (optional) Private design identifier.
|
|
8673
8602
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8674
|
-
* @param tenantId (optional) Tenant
|
|
8603
|
+
* @param tenantId (optional) Tenant ID.
|
|
8675
8604
|
* @return Created
|
|
8676
8605
|
* @deprecated
|
|
8677
8606
|
*/
|
|
@@ -8740,11 +8669,11 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8740
8669
|
* @param resourceId (optional) Resource identifier.
|
|
8741
8670
|
* @param privateDesignId (optional) Private design identifier.
|
|
8742
8671
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8743
|
-
* @param
|
|
8672
|
+
* @param tenantIdQuery (optional) Tenant identifier.
|
|
8744
8673
|
* @return Created
|
|
8745
8674
|
* @deprecated
|
|
8746
8675
|
*/
|
|
8747
|
-
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner,
|
|
8676
|
+
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery, cancelToken) {
|
|
8748
8677
|
let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
|
|
8749
8678
|
if (resourceId !== undefined && resourceId !== null)
|
|
8750
8679
|
url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
|
|
@@ -8752,10 +8681,10 @@ export class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8752
8681
|
url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
|
|
8753
8682
|
if (privateStorageOwner !== undefined && privateStorageOwner !== null)
|
|
8754
8683
|
url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
|
|
8755
|
-
if (
|
|
8756
|
-
throw new Error("The parameter '
|
|
8757
|
-
else if (
|
|
8758
|
-
url_ += "tenantId=" + encodeURIComponent("" +
|
|
8684
|
+
if (tenantIdQuery === null)
|
|
8685
|
+
throw new Error("The parameter 'tenantIdQuery' cannot be null.");
|
|
8686
|
+
else if (tenantIdQuery !== undefined)
|
|
8687
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
|
|
8759
8688
|
url_ = url_.replace(/[?&]$/, "");
|
|
8760
8689
|
let options_ = {
|
|
8761
8690
|
method: "POST",
|
|
@@ -8815,7 +8744,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8815
8744
|
this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
|
|
8816
8745
|
}
|
|
8817
8746
|
/**
|
|
8818
|
-
* @param tenantId (optional) Tenant
|
|
8747
|
+
* @param tenantId (optional) Tenant ID.
|
|
8819
8748
|
* @param body (optional)
|
|
8820
8749
|
* @return Success
|
|
8821
8750
|
*/
|
|
@@ -8871,10 +8800,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8871
8800
|
const _responseText = response.data;
|
|
8872
8801
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8873
8802
|
}
|
|
8874
|
-
else if (status === 403) {
|
|
8875
|
-
const _responseText = response.data;
|
|
8876
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
8877
|
-
}
|
|
8878
8803
|
else if (status !== 200 && status !== 204) {
|
|
8879
8804
|
const _responseText = response.data;
|
|
8880
8805
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -8882,7 +8807,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8882
8807
|
return Promise.resolve(null);
|
|
8883
8808
|
}
|
|
8884
8809
|
/**
|
|
8885
|
-
* @param tenantId (optional) Tenant
|
|
8810
|
+
* @param tenantId (optional) Tenant ID.
|
|
8886
8811
|
* @return Success
|
|
8887
8812
|
*/
|
|
8888
8813
|
fonts(psName, tenantId, cancelToken) {
|
|
@@ -8944,10 +8869,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8944
8869
|
const _responseText = response.data;
|
|
8945
8870
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8946
8871
|
}
|
|
8947
|
-
else if (status === 403) {
|
|
8948
|
-
const _responseText = response.data;
|
|
8949
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
8950
|
-
}
|
|
8951
8872
|
else if (status !== 200 && status !== 204) {
|
|
8952
8873
|
const _responseText = response.data;
|
|
8953
8874
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -8955,7 +8876,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8955
8876
|
return Promise.resolve(null);
|
|
8956
8877
|
}
|
|
8957
8878
|
/**
|
|
8958
|
-
* @param tenantId (optional) Tenant
|
|
8879
|
+
* @param tenantId (optional) Tenant ID.
|
|
8959
8880
|
* @param body (optional)
|
|
8960
8881
|
* @return Success
|
|
8961
8882
|
*/
|
|
@@ -9018,10 +8939,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9018
8939
|
const _responseText = response.data;
|
|
9019
8940
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9020
8941
|
}
|
|
9021
|
-
else if (status === 403) {
|
|
9022
|
-
const _responseText = response.data;
|
|
9023
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9024
|
-
}
|
|
9025
8942
|
else if (status !== 200 && status !== 204) {
|
|
9026
8943
|
const _responseText = response.data;
|
|
9027
8944
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9029,7 +8946,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9029
8946
|
return Promise.resolve(null);
|
|
9030
8947
|
}
|
|
9031
8948
|
/**
|
|
9032
|
-
* @param tenantId (optional) Tenant
|
|
8949
|
+
* @param tenantId (optional) Tenant ID.
|
|
9033
8950
|
* @param body (optional)
|
|
9034
8951
|
* @return Success
|
|
9035
8952
|
*/
|
|
@@ -9092,10 +9009,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9092
9009
|
const _responseText = response.data;
|
|
9093
9010
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9094
9011
|
}
|
|
9095
|
-
else if (status === 403) {
|
|
9096
|
-
const _responseText = response.data;
|
|
9097
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9098
|
-
}
|
|
9099
9012
|
else if (status !== 200 && status !== 204) {
|
|
9100
9013
|
const _responseText = response.data;
|
|
9101
9014
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9104,7 +9017,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9104
9017
|
}
|
|
9105
9018
|
/**
|
|
9106
9019
|
* @param fontKey (optional)
|
|
9107
|
-
* @param tenantId (optional) Tenant
|
|
9020
|
+
* @param tenantId (optional) Tenant ID.
|
|
9108
9021
|
* @return Success
|
|
9109
9022
|
*/
|
|
9110
9023
|
getCssFont(fontKey, tenantId, cancelToken) {
|
|
@@ -9165,10 +9078,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9165
9078
|
const _responseText = response.data;
|
|
9166
9079
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9167
9080
|
}
|
|
9168
|
-
else if (status === 403) {
|
|
9169
|
-
const _responseText = response.data;
|
|
9170
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9171
|
-
}
|
|
9172
9081
|
else if (status !== 200 && status !== 204) {
|
|
9173
9082
|
const _responseText = response.data;
|
|
9174
9083
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9176,7 +9085,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9176
9085
|
return Promise.resolve(null);
|
|
9177
9086
|
}
|
|
9178
9087
|
/**
|
|
9179
|
-
* @param tenantId (optional) Tenant
|
|
9088
|
+
* @param tenantId (optional) Tenant ID.
|
|
9180
9089
|
* @return Success
|
|
9181
9090
|
*/
|
|
9182
9091
|
getFallbackFonts(tenantId, cancelToken) {
|
|
@@ -9228,10 +9137,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9228
9137
|
const _responseText = response.data;
|
|
9229
9138
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9230
9139
|
}
|
|
9231
|
-
else if (status === 403) {
|
|
9232
|
-
const _responseText = response.data;
|
|
9233
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9234
|
-
}
|
|
9235
9140
|
else if (status !== 200 && status !== 204) {
|
|
9236
9141
|
const _responseText = response.data;
|
|
9237
9142
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9239,7 +9144,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9239
9144
|
return Promise.resolve(null);
|
|
9240
9145
|
}
|
|
9241
9146
|
/**
|
|
9242
|
-
* @param tenantId (optional) Tenant
|
|
9147
|
+
* @param tenantId (optional) Tenant ID.
|
|
9243
9148
|
* @param body (optional)
|
|
9244
9149
|
* @return Success
|
|
9245
9150
|
*/
|
|
@@ -9295,10 +9200,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9295
9200
|
const _responseText = response.data;
|
|
9296
9201
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9297
9202
|
}
|
|
9298
|
-
else if (status === 403) {
|
|
9299
|
-
const _responseText = response.data;
|
|
9300
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9301
|
-
}
|
|
9302
9203
|
else if (status !== 200 && status !== 204) {
|
|
9303
9204
|
const _responseText = response.data;
|
|
9304
9205
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9306,7 +9207,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9306
9207
|
return Promise.resolve(null);
|
|
9307
9208
|
}
|
|
9308
9209
|
/**
|
|
9309
|
-
* @param tenantId (optional) Tenant
|
|
9210
|
+
* @param tenantId (optional) Tenant ID.
|
|
9310
9211
|
* @param body (optional)
|
|
9311
9212
|
* @return Success
|
|
9312
9213
|
*/
|
|
@@ -9362,10 +9263,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9362
9263
|
const _responseText = response.data;
|
|
9363
9264
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9364
9265
|
}
|
|
9365
|
-
else if (status === 403) {
|
|
9366
|
-
const _responseText = response.data;
|
|
9367
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9368
|
-
}
|
|
9369
9266
|
else if (status !== 200 && status !== 204) {
|
|
9370
9267
|
const _responseText = response.data;
|
|
9371
9268
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9373,7 +9270,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9373
9270
|
return Promise.resolve(null);
|
|
9374
9271
|
}
|
|
9375
9272
|
/**
|
|
9376
|
-
* @param tenantId (optional) Tenant
|
|
9273
|
+
* @param tenantId (optional) Tenant ID.
|
|
9377
9274
|
* @param body (optional)
|
|
9378
9275
|
* @return Success
|
|
9379
9276
|
*/
|
|
@@ -9429,10 +9326,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9429
9326
|
const _responseText = response.data;
|
|
9430
9327
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9431
9328
|
}
|
|
9432
|
-
else if (status === 403) {
|
|
9433
|
-
const _responseText = response.data;
|
|
9434
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9435
|
-
}
|
|
9436
9329
|
else if (status !== 200 && status !== 204) {
|
|
9437
9330
|
const _responseText = response.data;
|
|
9438
9331
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9440,25 +9333,29 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9440
9333
|
return Promise.resolve(null);
|
|
9441
9334
|
}
|
|
9442
9335
|
/**
|
|
9443
|
-
*
|
|
9444
|
-
|
|
9445
|
-
* @param
|
|
9446
|
-
* @param
|
|
9447
|
-
* @param
|
|
9448
|
-
* @param
|
|
9449
|
-
* @param
|
|
9450
|
-
* @param
|
|
9451
|
-
* @param
|
|
9452
|
-
* @param
|
|
9453
|
-
* @param
|
|
9454
|
-
|
|
9455
|
-
* @param
|
|
9456
|
-
* @param
|
|
9457
|
-
* @param
|
|
9458
|
-
|
|
9459
|
-
* @param
|
|
9460
|
-
* @param
|
|
9461
|
-
* @param
|
|
9336
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
9337
|
+
This method accepts query parameters that control the output of the image.
|
|
9338
|
+
* @param f (optional) The identifier of the original image file.
|
|
9339
|
+
* @param w (optional) Target width of the resulting image.
|
|
9340
|
+
* @param h (optional) Target height of the resulting image.
|
|
9341
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
9342
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
9343
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
9344
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
9345
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
9346
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
9347
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
9348
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
9349
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
9350
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
9351
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
9352
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
9353
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
9354
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
9355
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
9356
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
9357
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
9358
|
+
* @param tenantId (optional) Tenant ID.
|
|
9462
9359
|
* @return Success
|
|
9463
9360
|
*/
|
|
9464
9361
|
img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
|
|
@@ -9557,10 +9454,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9557
9454
|
const _responseText = response.data;
|
|
9558
9455
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9559
9456
|
}
|
|
9560
|
-
else if (status === 403) {
|
|
9561
|
-
const _responseText = response.data;
|
|
9562
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9563
|
-
}
|
|
9564
9457
|
else if (status !== 200 && status !== 204) {
|
|
9565
9458
|
const _responseText = response.data;
|
|
9566
9459
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9568,7 +9461,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9568
9461
|
return Promise.resolve(null);
|
|
9569
9462
|
}
|
|
9570
9463
|
/**
|
|
9571
|
-
* @param tenantId (optional) Tenant
|
|
9464
|
+
* @param tenantId (optional) Tenant ID.
|
|
9572
9465
|
* @return Success
|
|
9573
9466
|
*/
|
|
9574
9467
|
getLicense(tenantId, cancelToken) {
|
|
@@ -9620,10 +9513,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9620
9513
|
const _responseText = response.data;
|
|
9621
9514
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9622
9515
|
}
|
|
9623
|
-
else if (status === 403) {
|
|
9624
|
-
const _responseText = response.data;
|
|
9625
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9626
|
-
}
|
|
9627
9516
|
else if (status !== 200 && status !== 204) {
|
|
9628
9517
|
const _responseText = response.data;
|
|
9629
9518
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9632,7 +9521,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9632
9521
|
}
|
|
9633
9522
|
/**
|
|
9634
9523
|
* @param f (optional)
|
|
9635
|
-
* @param tenantId (optional) Tenant
|
|
9524
|
+
* @param tenantId (optional) Tenant ID.
|
|
9636
9525
|
* @return Success
|
|
9637
9526
|
*/
|
|
9638
9527
|
pth(f, tenantId, cancelToken) {
|
|
@@ -9697,10 +9586,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9697
9586
|
const _responseText = response.data;
|
|
9698
9587
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9699
9588
|
}
|
|
9700
|
-
else if (status === 403) {
|
|
9701
|
-
const _responseText = response.data;
|
|
9702
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9703
|
-
}
|
|
9704
9589
|
else if (status !== 200 && status !== 204) {
|
|
9705
9590
|
const _responseText = response.data;
|
|
9706
9591
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9709,7 +9594,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9709
9594
|
}
|
|
9710
9595
|
/**
|
|
9711
9596
|
* @param image (optional)
|
|
9712
|
-
* @param tenantId (optional) Tenant
|
|
9597
|
+
* @param tenantId (optional) Tenant ID.
|
|
9713
9598
|
* @return Success
|
|
9714
9599
|
*/
|
|
9715
9600
|
resource(image, tenantId, cancelToken) {
|
|
@@ -9770,10 +9655,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9770
9655
|
const _responseText = response.data;
|
|
9771
9656
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9772
9657
|
}
|
|
9773
|
-
else if (status === 403) {
|
|
9774
|
-
const _responseText = response.data;
|
|
9775
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9776
|
-
}
|
|
9777
9658
|
else if (status !== 200 && status !== 204) {
|
|
9778
9659
|
const _responseText = response.data;
|
|
9779
9660
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9781,25 +9662,27 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9781
9662
|
return Promise.resolve(null);
|
|
9782
9663
|
}
|
|
9783
9664
|
/**
|
|
9784
|
-
* @param f (optional)
|
|
9785
|
-
* @param w (optional)
|
|
9786
|
-
* @param h (optional)
|
|
9787
|
-
* @param cmyk (optional)
|
|
9788
|
-
* @param rgb (optional)
|
|
9789
|
-
* @param grayscale (optional)
|
|
9790
|
-
* @param target (optional)
|
|
9791
|
-
* @param sq (optional)
|
|
9792
|
-
* @param effect (optional)
|
|
9793
|
-
|
|
9794
|
-
* @param
|
|
9795
|
-
* @param
|
|
9796
|
-
* @param
|
|
9797
|
-
|
|
9798
|
-
* @param
|
|
9799
|
-
* @param
|
|
9800
|
-
* @param
|
|
9801
|
-
* @param
|
|
9802
|
-
* @param
|
|
9665
|
+
* @param f (optional) The identifier of the original image file.
|
|
9666
|
+
* @param w (optional) Target width of the resulting image.
|
|
9667
|
+
* @param h (optional) Target height of the resulting image.
|
|
9668
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
9669
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
9670
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
9671
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
9672
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
9673
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
9674
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
9675
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
9676
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
9677
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
9678
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
9679
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
9680
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
9681
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
9682
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
9683
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
9684
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
9685
|
+
* @param tenantId (optional) Tenant ID.
|
|
9803
9686
|
* @return Success
|
|
9804
9687
|
*/
|
|
9805
9688
|
svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
|
|
@@ -9898,10 +9781,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9898
9781
|
const _responseText = response.data;
|
|
9899
9782
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9900
9783
|
}
|
|
9901
|
-
else if (status === 403) {
|
|
9902
|
-
const _responseText = response.data;
|
|
9903
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9904
|
-
}
|
|
9905
9784
|
else if (status !== 200 && status !== 204) {
|
|
9906
9785
|
const _responseText = response.data;
|
|
9907
9786
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9910,7 +9789,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9910
9789
|
}
|
|
9911
9790
|
/**
|
|
9912
9791
|
* @param f (optional)
|
|
9913
|
-
* @param tenantId (optional) Tenant
|
|
9792
|
+
* @param tenantId (optional) Tenant ID.
|
|
9914
9793
|
* @return Success
|
|
9915
9794
|
*/
|
|
9916
9795
|
txt(f, tenantId, cancelToken) {
|
|
@@ -9975,10 +9854,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9975
9854
|
const _responseText = response.data;
|
|
9976
9855
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9977
9856
|
}
|
|
9978
|
-
else if (status === 403) {
|
|
9979
|
-
const _responseText = response.data;
|
|
9980
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9981
|
-
}
|
|
9982
9857
|
else if (status !== 200 && status !== 204) {
|
|
9983
9858
|
const _responseText = response.data;
|
|
9984
9859
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9986,7 +9861,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9986
9861
|
return Promise.resolve(null);
|
|
9987
9862
|
}
|
|
9988
9863
|
/**
|
|
9989
|
-
* @param tenantId (optional) Tenant
|
|
9864
|
+
* @param tenantId (optional) Tenant ID.
|
|
9990
9865
|
* @param body (optional)
|
|
9991
9866
|
* @return Success
|
|
9992
9867
|
*/
|
|
@@ -10042,10 +9917,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10042
9917
|
const _responseText = response.data;
|
|
10043
9918
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10044
9919
|
}
|
|
10045
|
-
else if (status === 403) {
|
|
10046
|
-
const _responseText = response.data;
|
|
10047
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10048
|
-
}
|
|
10049
9920
|
else if (status !== 200 && status !== 204) {
|
|
10050
9921
|
const _responseText = response.data;
|
|
10051
9922
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10053,7 +9924,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10053
9924
|
return Promise.resolve(null);
|
|
10054
9925
|
}
|
|
10055
9926
|
/**
|
|
10056
|
-
* @param tenantId (optional) Tenant
|
|
9927
|
+
* @param tenantId (optional) Tenant ID.
|
|
10057
9928
|
* @param body (optional)
|
|
10058
9929
|
* @return Success
|
|
10059
9930
|
*/
|
|
@@ -10109,10 +9980,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10109
9980
|
const _responseText = response.data;
|
|
10110
9981
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10111
9982
|
}
|
|
10112
|
-
else if (status === 403) {
|
|
10113
|
-
const _responseText = response.data;
|
|
10114
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10115
|
-
}
|
|
10116
9983
|
else if (status !== 200 && status !== 204) {
|
|
10117
9984
|
const _responseText = response.data;
|
|
10118
9985
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10120,7 +9987,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10120
9987
|
return Promise.resolve(null);
|
|
10121
9988
|
}
|
|
10122
9989
|
/**
|
|
10123
|
-
* @param tenantId (optional) Tenant
|
|
9990
|
+
* @param tenantId (optional) Tenant ID.
|
|
10124
9991
|
* @param body (optional)
|
|
10125
9992
|
* @return Success
|
|
10126
9993
|
*/
|
|
@@ -10176,10 +10043,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10176
10043
|
const _responseText = response.data;
|
|
10177
10044
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10178
10045
|
}
|
|
10179
|
-
else if (status === 403) {
|
|
10180
|
-
const _responseText = response.data;
|
|
10181
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10182
|
-
}
|
|
10183
10046
|
else if (status !== 200 && status !== 204) {
|
|
10184
10047
|
const _responseText = response.data;
|
|
10185
10048
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10187,7 +10050,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10187
10050
|
return Promise.resolve(null);
|
|
10188
10051
|
}
|
|
10189
10052
|
/**
|
|
10190
|
-
* @param tenantId (optional) Tenant
|
|
10053
|
+
* @param tenantId (optional) Tenant ID.
|
|
10191
10054
|
* @param body (optional)
|
|
10192
10055
|
* @return Success
|
|
10193
10056
|
*/
|
|
@@ -10243,10 +10106,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10243
10106
|
const _responseText = response.data;
|
|
10244
10107
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10245
10108
|
}
|
|
10246
|
-
else if (status === 403) {
|
|
10247
|
-
const _responseText = response.data;
|
|
10248
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10249
|
-
}
|
|
10250
10109
|
else if (status !== 200 && status !== 204) {
|
|
10251
10110
|
const _responseText = response.data;
|
|
10252
10111
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10254,7 +10113,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10254
10113
|
return Promise.resolve(null);
|
|
10255
10114
|
}
|
|
10256
10115
|
/**
|
|
10257
|
-
* @param tenantId (optional) Tenant
|
|
10116
|
+
* @param tenantId (optional) Tenant ID.
|
|
10258
10117
|
* @param body (optional)
|
|
10259
10118
|
* @return Success
|
|
10260
10119
|
*/
|
|
@@ -10310,10 +10169,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10310
10169
|
const _responseText = response.data;
|
|
10311
10170
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10312
10171
|
}
|
|
10313
|
-
else if (status === 403) {
|
|
10314
|
-
const _responseText = response.data;
|
|
10315
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10316
|
-
}
|
|
10317
10172
|
else if (status !== 200 && status !== 204) {
|
|
10318
10173
|
const _responseText = response.data;
|
|
10319
10174
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10321,7 +10176,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10321
10176
|
return Promise.resolve(null);
|
|
10322
10177
|
}
|
|
10323
10178
|
/**
|
|
10324
|
-
* @param tenantId (optional) Tenant
|
|
10179
|
+
* @param tenantId (optional) Tenant ID.
|
|
10325
10180
|
* @param body (optional)
|
|
10326
10181
|
* @return Success
|
|
10327
10182
|
*/
|
|
@@ -10377,10 +10232,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10377
10232
|
const _responseText = response.data;
|
|
10378
10233
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10379
10234
|
}
|
|
10380
|
-
else if (status === 403) {
|
|
10381
|
-
const _responseText = response.data;
|
|
10382
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10383
|
-
}
|
|
10384
10235
|
else if (status !== 200 && status !== 204) {
|
|
10385
10236
|
const _responseText = response.data;
|
|
10386
10237
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10388,7 +10239,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10388
10239
|
return Promise.resolve(null);
|
|
10389
10240
|
}
|
|
10390
10241
|
/**
|
|
10391
|
-
* @param tenantId (optional) Tenant
|
|
10242
|
+
* @param tenantId (optional) Tenant ID.
|
|
10392
10243
|
* @param body (optional)
|
|
10393
10244
|
* @return Success
|
|
10394
10245
|
*/
|
|
@@ -10444,10 +10295,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10444
10295
|
const _responseText = response.data;
|
|
10445
10296
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10446
10297
|
}
|
|
10447
|
-
else if (status === 403) {
|
|
10448
|
-
const _responseText = response.data;
|
|
10449
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10450
|
-
}
|
|
10451
10298
|
else if (status !== 200 && status !== 204) {
|
|
10452
10299
|
const _responseText = response.data;
|
|
10453
10300
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10455,7 +10302,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10455
10302
|
return Promise.resolve(null);
|
|
10456
10303
|
}
|
|
10457
10304
|
/**
|
|
10458
|
-
* @param tenantId (optional) Tenant
|
|
10305
|
+
* @param tenantId (optional) Tenant ID.
|
|
10459
10306
|
* @param body (optional)
|
|
10460
10307
|
* @return Success
|
|
10461
10308
|
*/
|
|
@@ -10511,10 +10358,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10511
10358
|
const _responseText = response.data;
|
|
10512
10359
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10513
10360
|
}
|
|
10514
|
-
else if (status === 403) {
|
|
10515
|
-
const _responseText = response.data;
|
|
10516
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10517
|
-
}
|
|
10518
10361
|
else if (status !== 200 && status !== 204) {
|
|
10519
10362
|
const _responseText = response.data;
|
|
10520
10363
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10522,7 +10365,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10522
10365
|
return Promise.resolve(null);
|
|
10523
10366
|
}
|
|
10524
10367
|
/**
|
|
10525
|
-
* @param tenantId (optional) Tenant
|
|
10368
|
+
* @param tenantId (optional) Tenant ID.
|
|
10526
10369
|
* @param body (optional)
|
|
10527
10370
|
* @return Success
|
|
10528
10371
|
*/
|
|
@@ -10578,10 +10421,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10578
10421
|
const _responseText = response.data;
|
|
10579
10422
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10580
10423
|
}
|
|
10581
|
-
else if (status === 403) {
|
|
10582
|
-
const _responseText = response.data;
|
|
10583
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10584
|
-
}
|
|
10585
10424
|
else if (status !== 200 && status !== 204) {
|
|
10586
10425
|
const _responseText = response.data;
|
|
10587
10426
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10589,7 +10428,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10589
10428
|
return Promise.resolve(null);
|
|
10590
10429
|
}
|
|
10591
10430
|
/**
|
|
10592
|
-
* @param tenantId (optional) Tenant
|
|
10431
|
+
* @param tenantId (optional) Tenant ID.
|
|
10593
10432
|
* @param body (optional)
|
|
10594
10433
|
* @return Success
|
|
10595
10434
|
*/
|
|
@@ -10645,10 +10484,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10645
10484
|
const _responseText = response.data;
|
|
10646
10485
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10647
10486
|
}
|
|
10648
|
-
else if (status === 403) {
|
|
10649
|
-
const _responseText = response.data;
|
|
10650
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10651
|
-
}
|
|
10652
10487
|
else if (status !== 200 && status !== 204) {
|
|
10653
10488
|
const _responseText = response.data;
|
|
10654
10489
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10656,7 +10491,7 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10656
10491
|
return Promise.resolve(null);
|
|
10657
10492
|
}
|
|
10658
10493
|
/**
|
|
10659
|
-
* @param tenantId (optional) Tenant
|
|
10494
|
+
* @param tenantId (optional) Tenant ID.
|
|
10660
10495
|
* @param body (optional)
|
|
10661
10496
|
* @return Success
|
|
10662
10497
|
*/
|
|
@@ -10712,10 +10547,6 @@ export class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10712
10547
|
const _responseText = response.data;
|
|
10713
10548
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10714
10549
|
}
|
|
10715
|
-
else if (status === 403) {
|
|
10716
|
-
const _responseText = response.data;
|
|
10717
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10718
|
-
}
|
|
10719
10550
|
else if (status !== 200 && status !== 204) {
|
|
10720
10551
|
const _responseText = response.data;
|
|
10721
10552
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|