@aurigma/ng-design-atoms-api-client 2.68.7 → 2.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +232 -453
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +233 -454
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +232 -453
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +398 -368
- package/package.json +1 -1
|
@@ -236,11 +236,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
236
236
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
237
237
|
}));
|
|
238
238
|
}
|
|
239
|
-
else if (status === 403) {
|
|
240
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
241
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
242
|
-
}));
|
|
243
|
-
}
|
|
244
239
|
else if (status !== 200 && status !== 204) {
|
|
245
240
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
246
241
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -312,11 +307,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
312
307
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
313
308
|
}));
|
|
314
309
|
}
|
|
315
|
-
else if (status === 403) {
|
|
316
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
317
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
318
|
-
}));
|
|
319
|
-
}
|
|
320
310
|
else if (status !== 200 && status !== 204) {
|
|
321
311
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
322
312
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -390,11 +380,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
390
380
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
391
381
|
}));
|
|
392
382
|
}
|
|
393
|
-
else if (status === 403) {
|
|
394
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
395
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
396
|
-
}));
|
|
397
|
-
}
|
|
398
383
|
else if (status !== 200 && status !== 204) {
|
|
399
384
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
400
385
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -468,11 +453,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
468
453
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
469
454
|
}));
|
|
470
455
|
}
|
|
471
|
-
else if (status === 403) {
|
|
472
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
473
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
474
|
-
}));
|
|
475
|
-
}
|
|
476
456
|
else if (status !== 200 && status !== 204) {
|
|
477
457
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
478
458
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -544,11 +524,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
544
524
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
545
525
|
}));
|
|
546
526
|
}
|
|
547
|
-
else if (status === 403) {
|
|
548
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
549
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
550
|
-
}));
|
|
551
|
-
}
|
|
552
527
|
else if (status !== 200 && status !== 204) {
|
|
553
528
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
554
529
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -611,11 +586,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
611
586
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
612
587
|
}));
|
|
613
588
|
}
|
|
614
|
-
else if (status === 403) {
|
|
615
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
616
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
617
|
-
}));
|
|
618
|
-
}
|
|
619
589
|
else if (status !== 200 && status !== 204) {
|
|
620
590
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
621
591
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -682,11 +652,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
682
652
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
683
653
|
}));
|
|
684
654
|
}
|
|
685
|
-
else if (status === 403) {
|
|
686
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
687
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
688
|
-
}));
|
|
689
|
-
}
|
|
690
655
|
else if (status !== 200 && status !== 204) {
|
|
691
656
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
692
657
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -753,11 +718,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
753
718
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
754
719
|
}));
|
|
755
720
|
}
|
|
756
|
-
else if (status === 403) {
|
|
757
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
758
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
759
|
-
}));
|
|
760
|
-
}
|
|
761
721
|
else if (status !== 200 && status !== 204) {
|
|
762
722
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
763
723
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -824,11 +784,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
824
784
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
825
785
|
}));
|
|
826
786
|
}
|
|
827
|
-
else if (status === 403) {
|
|
828
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
829
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
830
|
-
}));
|
|
831
|
-
}
|
|
832
787
|
else if (status !== 200 && status !== 204) {
|
|
833
788
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
834
789
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -837,24 +792,28 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
837
792
|
return of(null);
|
|
838
793
|
}
|
|
839
794
|
/**
|
|
840
|
-
*
|
|
841
|
-
|
|
842
|
-
* @param
|
|
843
|
-
* @param
|
|
844
|
-
* @param
|
|
845
|
-
* @param
|
|
846
|
-
* @param
|
|
847
|
-
* @param
|
|
848
|
-
* @param
|
|
849
|
-
* @param
|
|
850
|
-
* @param
|
|
851
|
-
|
|
852
|
-
* @param
|
|
853
|
-
* @param
|
|
854
|
-
* @param
|
|
855
|
-
|
|
856
|
-
* @param
|
|
857
|
-
* @param
|
|
795
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
796
|
+
This method accepts query parameters that control the output of the image.
|
|
797
|
+
* @param f (optional) The identifier of the original image file.
|
|
798
|
+
* @param w (optional) Target width of the resulting image.
|
|
799
|
+
* @param h (optional) Target height of the resulting image.
|
|
800
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
801
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
802
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
803
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
804
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
805
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
806
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
807
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
808
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
809
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
810
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
811
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
812
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
813
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
814
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
815
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
816
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
858
817
|
* @return Success
|
|
859
818
|
*/
|
|
860
819
|
img(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
@@ -956,11 +915,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
956
915
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
957
916
|
}));
|
|
958
917
|
}
|
|
959
|
-
else if (status === 403) {
|
|
960
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
961
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
962
|
-
}));
|
|
963
|
-
}
|
|
964
918
|
else if (status !== 200 && status !== 204) {
|
|
965
919
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
966
920
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1023,11 +977,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1023
977
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1024
978
|
}));
|
|
1025
979
|
}
|
|
1026
|
-
else if (status === 403) {
|
|
1027
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1028
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1029
|
-
}));
|
|
1030
|
-
}
|
|
1031
980
|
else if (status !== 200 && status !== 204) {
|
|
1032
981
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1033
982
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1104,11 +1053,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1104
1053
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1105
1054
|
}));
|
|
1106
1055
|
}
|
|
1107
|
-
else if (status === 403) {
|
|
1108
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1109
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1110
|
-
}));
|
|
1111
|
-
}
|
|
1112
1056
|
else if (status !== 200 && status !== 204) {
|
|
1113
1057
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1114
1058
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1180,11 +1124,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1180
1124
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1181
1125
|
}));
|
|
1182
1126
|
}
|
|
1183
|
-
else if (status === 403) {
|
|
1184
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1185
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1186
|
-
}));
|
|
1187
|
-
}
|
|
1188
1127
|
else if (status !== 200 && status !== 204) {
|
|
1189
1128
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1190
1129
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1193,24 +1132,26 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1193
1132
|
return of(null);
|
|
1194
1133
|
}
|
|
1195
1134
|
/**
|
|
1196
|
-
* @param f (optional)
|
|
1197
|
-
* @param w (optional)
|
|
1198
|
-
* @param h (optional)
|
|
1199
|
-
* @param cmyk (optional)
|
|
1200
|
-
* @param rgb (optional)
|
|
1201
|
-
* @param grayscale (optional)
|
|
1202
|
-
* @param target (optional)
|
|
1203
|
-
* @param sq (optional)
|
|
1204
|
-
* @param effect (optional)
|
|
1205
|
-
|
|
1206
|
-
* @param
|
|
1207
|
-
* @param
|
|
1208
|
-
* @param
|
|
1209
|
-
|
|
1210
|
-
* @param
|
|
1211
|
-
* @param
|
|
1212
|
-
* @param
|
|
1213
|
-
* @param
|
|
1135
|
+
* @param f (optional) The identifier of the original image file.
|
|
1136
|
+
* @param w (optional) Target width of the resulting image.
|
|
1137
|
+
* @param h (optional) Target height of the resulting image.
|
|
1138
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
1139
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
1140
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
1141
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
1142
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
1143
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
1144
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
1145
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
1146
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
1147
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
1148
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
1149
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
1150
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
1151
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
1152
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
1153
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
1154
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
1214
1155
|
* @return Success
|
|
1215
1156
|
*/
|
|
1216
1157
|
svg(tenantId, f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh) {
|
|
@@ -1312,11 +1253,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1312
1253
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1313
1254
|
}));
|
|
1314
1255
|
}
|
|
1315
|
-
else if (status === 403) {
|
|
1316
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1317
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1318
|
-
}));
|
|
1319
|
-
}
|
|
1320
1256
|
else if (status !== 200 && status !== 204) {
|
|
1321
1257
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1322
1258
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1393,11 +1329,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1393
1329
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1394
1330
|
}));
|
|
1395
1331
|
}
|
|
1396
|
-
else if (status === 403) {
|
|
1397
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1398
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1399
|
-
}));
|
|
1400
|
-
}
|
|
1401
1332
|
else if (status !== 200 && status !== 204) {
|
|
1402
1333
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1403
1334
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1464,11 +1395,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1464
1395
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1465
1396
|
}));
|
|
1466
1397
|
}
|
|
1467
|
-
else if (status === 403) {
|
|
1468
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1469
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1470
|
-
}));
|
|
1471
|
-
}
|
|
1472
1398
|
else if (status !== 200 && status !== 204) {
|
|
1473
1399
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1474
1400
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1535,11 +1461,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1535
1461
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1536
1462
|
}));
|
|
1537
1463
|
}
|
|
1538
|
-
else if (status === 403) {
|
|
1539
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1540
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1541
|
-
}));
|
|
1542
|
-
}
|
|
1543
1464
|
else if (status !== 200 && status !== 204) {
|
|
1544
1465
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1545
1466
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1606,11 +1527,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1606
1527
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1607
1528
|
}));
|
|
1608
1529
|
}
|
|
1609
|
-
else if (status === 403) {
|
|
1610
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1611
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1612
|
-
}));
|
|
1613
|
-
}
|
|
1614
1530
|
else if (status !== 200 && status !== 204) {
|
|
1615
1531
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1616
1532
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1677,11 +1593,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1677
1593
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1678
1594
|
}));
|
|
1679
1595
|
}
|
|
1680
|
-
else if (status === 403) {
|
|
1681
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1682
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1683
|
-
}));
|
|
1684
|
-
}
|
|
1685
1596
|
else if (status !== 200 && status !== 204) {
|
|
1686
1597
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1687
1598
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1748,11 +1659,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1748
1659
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1749
1660
|
}));
|
|
1750
1661
|
}
|
|
1751
|
-
else if (status === 403) {
|
|
1752
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1753
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1754
|
-
}));
|
|
1755
|
-
}
|
|
1756
1662
|
else if (status !== 200 && status !== 204) {
|
|
1757
1663
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1758
1664
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1819,11 +1725,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1819
1725
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1820
1726
|
}));
|
|
1821
1727
|
}
|
|
1822
|
-
else if (status === 403) {
|
|
1823
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1824
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1825
|
-
}));
|
|
1826
|
-
}
|
|
1827
1728
|
else if (status !== 200 && status !== 204) {
|
|
1828
1729
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1829
1730
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1890,11 +1791,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1890
1791
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1891
1792
|
}));
|
|
1892
1793
|
}
|
|
1893
|
-
else if (status === 403) {
|
|
1894
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1895
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1896
|
-
}));
|
|
1897
|
-
}
|
|
1898
1794
|
else if (status !== 200 && status !== 204) {
|
|
1899
1795
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1900
1796
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1961,11 +1857,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1961
1857
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1962
1858
|
}));
|
|
1963
1859
|
}
|
|
1964
|
-
else if (status === 403) {
|
|
1965
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1966
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1967
|
-
}));
|
|
1968
|
-
}
|
|
1969
1860
|
else if (status !== 200 && status !== 204) {
|
|
1970
1861
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
1971
1862
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2032,11 +1923,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
2032
1923
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2033
1924
|
}));
|
|
2034
1925
|
}
|
|
2035
|
-
else if (status === 403) {
|
|
2036
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2037
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
2038
|
-
}));
|
|
2039
|
-
}
|
|
2040
1926
|
else if (status !== 200 && status !== 204) {
|
|
2041
1927
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2042
1928
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2103,11 +1989,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
2103
1989
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2104
1990
|
}));
|
|
2105
1991
|
}
|
|
2106
|
-
else if (status === 403) {
|
|
2107
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2108
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
2109
|
-
}));
|
|
2110
|
-
}
|
|
2111
1992
|
else if (status !== 200 && status !== 204) {
|
|
2112
1993
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2113
1994
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2174,11 +2055,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
2174
2055
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2175
2056
|
}));
|
|
2176
2057
|
}
|
|
2177
|
-
else if (status === 403) {
|
|
2178
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2179
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
2180
|
-
}));
|
|
2181
|
-
}
|
|
2182
2058
|
else if (status !== 200 && status !== 204) {
|
|
2183
2059
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
2184
2060
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2209,7 +2085,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2209
2085
|
* Renders a preview of an image with the specified parameters.
|
|
2210
2086
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2211
2087
|
(default value is 'false').
|
|
2212
|
-
* @param tenantId (optional) Tenant
|
|
2088
|
+
* @param tenantId (optional) Tenant ID.
|
|
2213
2089
|
* @param body (optional) Render model with preview parameters.
|
|
2214
2090
|
* @return Success
|
|
2215
2091
|
*/
|
|
@@ -2293,7 +2169,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2293
2169
|
* Renders a preview of an uploaded image with the specified parameters.
|
|
2294
2170
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2295
2171
|
(default value is 'false').
|
|
2296
|
-
* @param tenantId (optional) Tenant
|
|
2172
|
+
* @param tenantId (optional) Tenant ID.
|
|
2297
2173
|
* @param sourceFile (optional)
|
|
2298
2174
|
* @param mockupOwnerId (optional)
|
|
2299
2175
|
* @param mockupId (optional)
|
|
@@ -2394,7 +2270,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2394
2270
|
}
|
|
2395
2271
|
/**
|
|
2396
2272
|
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
2397
|
-
* @param tenantId (optional) Tenant
|
|
2273
|
+
* @param tenantId (optional) Tenant ID.
|
|
2398
2274
|
* @param resourceOwnerId (optional)
|
|
2399
2275
|
* @param resourceNamespace (optional)
|
|
2400
2276
|
* @param resourceName (optional)
|
|
@@ -2524,7 +2400,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2524
2400
|
* Renders a preview of a web image with the specified parameters.
|
|
2525
2401
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2526
2402
|
(default value is 'false').
|
|
2527
|
-
* @param tenantId (optional) Tenant
|
|
2403
|
+
* @param tenantId (optional) Tenant ID.
|
|
2528
2404
|
* @param body (optional) Render model with preview parameters.
|
|
2529
2405
|
* @return Success
|
|
2530
2406
|
*/
|
|
@@ -2606,7 +2482,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2606
2482
|
}
|
|
2607
2483
|
/**
|
|
2608
2484
|
* Renders a preview of a web image with the specified parameters and saves rendering result as resource.
|
|
2609
|
-
* @param tenantId (optional) Tenant
|
|
2485
|
+
* @param tenantId (optional) Tenant ID.
|
|
2610
2486
|
* @param body (optional) Render model with preview parameters.
|
|
2611
2487
|
* @return Success
|
|
2612
2488
|
*/
|
|
@@ -2694,7 +2570,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2694
2570
|
}
|
|
2695
2571
|
/**
|
|
2696
2572
|
* Renders a preview of an image with the specified parameters and saves rendering result as resource.
|
|
2697
|
-
* @param tenantId (optional) Tenant
|
|
2573
|
+
* @param tenantId (optional) Tenant ID.
|
|
2698
2574
|
* @param body (optional) Render model with preview parameters.
|
|
2699
2575
|
* @return Success
|
|
2700
2576
|
*/
|
|
@@ -2803,7 +2679,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2803
2679
|
* Returns a 3D-Mockup attributes.
|
|
2804
2680
|
* @param id 3D-Mockup identifier.
|
|
2805
2681
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2806
|
-
* @param tenantId (optional) Tenant
|
|
2682
|
+
* @param tenantId (optional) Tenant ID.
|
|
2807
2683
|
* @return Success
|
|
2808
2684
|
*/
|
|
2809
2685
|
getAttributes(id, ownerId, tenantId) {
|
|
@@ -2894,7 +2770,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2894
2770
|
* Returns a 3D-Mockup content as protobuf binary stream.
|
|
2895
2771
|
* @param id 3D-Mockup identifier.
|
|
2896
2772
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2897
|
-
* @param tenantId (optional) Tenant
|
|
2773
|
+
* @param tenantId (optional) Tenant ID.
|
|
2898
2774
|
* @return Success
|
|
2899
2775
|
*/
|
|
2900
2776
|
getContentAsProtobuf(id, ownerId, tenantId) {
|
|
@@ -2984,7 +2860,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2984
2860
|
* Returns a 3D-Mockup geometry as binary stream.
|
|
2985
2861
|
* @param id 3D-Mockup identifier.
|
|
2986
2862
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2987
|
-
* @param tenantId (optional) Tenant
|
|
2863
|
+
* @param tenantId (optional) Tenant ID.
|
|
2988
2864
|
* @return Success
|
|
2989
2865
|
*/
|
|
2990
2866
|
getGeometryFile(id, ownerId, tenantId) {
|
|
@@ -3092,7 +2968,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
3092
2968
|
/**
|
|
3093
2969
|
* Returns a closest color to provided color in a specified palette.
|
|
3094
2970
|
* @param paletteUID (optional) Palette UID.
|
|
3095
|
-
* @param tenantId (optional) Tenant
|
|
2971
|
+
* @param tenantId (optional) Tenant ID.
|
|
3096
2972
|
* @param body (optional) Source color.
|
|
3097
2973
|
* @return Success
|
|
3098
2974
|
*/
|
|
@@ -3191,7 +3067,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
3191
3067
|
* Returns a serialized palette model by its identifier or UID.
|
|
3192
3068
|
* @param id (optional) Palette identifier.
|
|
3193
3069
|
* @param uid (optional) Palette UID.
|
|
3194
|
-
* @param tenantId (optional) Tenant
|
|
3070
|
+
* @param tenantId (optional) Tenant ID.
|
|
3195
3071
|
* @return Success
|
|
3196
3072
|
*/
|
|
3197
3073
|
getPaletteModel(id, uid, tenantId) {
|
|
@@ -3307,7 +3183,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3307
3183
|
* Patches a print-product of the specified design file.
|
|
3308
3184
|
* @param id Design identifier.
|
|
3309
3185
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3310
|
-
* @param tenantId (optional) Tenant
|
|
3186
|
+
* @param tenantId (optional) Tenant ID.
|
|
3311
3187
|
* @param patchType (optional)
|
|
3312
3188
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
3313
3189
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -3329,9 +3205,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3329
3205
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3330
3206
|
url_ = url_.replace(/[?&]$/, "");
|
|
3331
3207
|
const content_ = new FormData();
|
|
3332
|
-
if (patchType
|
|
3333
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
3334
|
-
else
|
|
3208
|
+
if (patchType !== null && patchType !== undefined)
|
|
3335
3209
|
content_.append("patchType", patchType.toString());
|
|
3336
3210
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
3337
3211
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -3339,9 +3213,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3339
3213
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
3340
3214
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
3341
3215
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
3342
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
3343
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
3344
|
-
else
|
|
3216
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
3345
3217
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
3346
3218
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
3347
3219
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -3412,7 +3284,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3412
3284
|
* @param id Design identifier.
|
|
3413
3285
|
* @param surfaceId (optional) Print-product surface identifier.
|
|
3414
3286
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3415
|
-
* @param tenantId (optional) Tenant
|
|
3287
|
+
* @param tenantId (optional) Tenant ID.
|
|
3416
3288
|
* @return Success
|
|
3417
3289
|
*/
|
|
3418
3290
|
getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -3477,6 +3349,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3477
3349
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3478
3350
|
}));
|
|
3479
3351
|
}
|
|
3352
|
+
else if (status === 409) {
|
|
3353
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3354
|
+
let result409 = null;
|
|
3355
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3356
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3357
|
+
}));
|
|
3358
|
+
}
|
|
3480
3359
|
else if (status === 401) {
|
|
3481
3360
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3482
3361
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3499,7 +3378,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3499
3378
|
* @param id Design identifier.
|
|
3500
3379
|
* @param containerId Print-product container identifier.
|
|
3501
3380
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3502
|
-
* @param tenantId (optional) Tenant
|
|
3381
|
+
* @param tenantId (optional) Tenant ID.
|
|
3503
3382
|
* @return No Content
|
|
3504
3383
|
*/
|
|
3505
3384
|
deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId) {
|
|
@@ -3590,7 +3469,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3590
3469
|
* @param id Design identifier.
|
|
3591
3470
|
* @param containerId Print-product container identifier.
|
|
3592
3471
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3593
|
-
* @param tenantId (optional) Tenant
|
|
3472
|
+
* @param tenantId (optional) Tenant ID.
|
|
3594
3473
|
* @return Success
|
|
3595
3474
|
*/
|
|
3596
3475
|
getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId) {
|
|
@@ -3685,7 +3564,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3685
3564
|
* @param id Design identifier.
|
|
3686
3565
|
* @param containerId Print-product container identifier.
|
|
3687
3566
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3688
|
-
* @param tenantId (optional) Tenant
|
|
3567
|
+
* @param tenantId (optional) Tenant ID.
|
|
3689
3568
|
* @param body (optional) Json-serialized model of a print-product container.
|
|
3690
3569
|
* @return Success
|
|
3691
3570
|
*/
|
|
@@ -3795,7 +3674,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3795
3674
|
* @param top (optional) Y axis position.
|
|
3796
3675
|
* @param left (optional) X axis position.
|
|
3797
3676
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3798
|
-
* @param tenantId (optional) Tenant
|
|
3677
|
+
* @param tenantId (optional) Tenant ID.
|
|
3799
3678
|
* @param body (optional) Json-serialized model of a new print-product container.
|
|
3800
3679
|
* @return Success
|
|
3801
3680
|
*/
|
|
@@ -3881,6 +3760,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3881
3760
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
3882
3761
|
}));
|
|
3883
3762
|
}
|
|
3763
|
+
else if (status === 409) {
|
|
3764
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3765
|
+
let result409 = null;
|
|
3766
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
3767
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
3768
|
+
}));
|
|
3769
|
+
}
|
|
3884
3770
|
else if (status === 401) {
|
|
3885
3771
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
3886
3772
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -3905,7 +3791,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3905
3791
|
* @param containerId (optional) Print-product container identifier.
|
|
3906
3792
|
* @param parentItemId (optional) Print-product item identifier.
|
|
3907
3793
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3908
|
-
* @param tenantId (optional) Tenant
|
|
3794
|
+
* @param tenantId (optional) Tenant ID.
|
|
3909
3795
|
* @return Success
|
|
3910
3796
|
*/
|
|
3911
3797
|
getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId) {
|
|
@@ -3996,7 +3882,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3996
3882
|
* @param id Design identifier.
|
|
3997
3883
|
* @param itemId Print-product item identifier.
|
|
3998
3884
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3999
|
-
* @param tenantId (optional) Tenant
|
|
3885
|
+
* @param tenantId (optional) Tenant ID.
|
|
4000
3886
|
* @return No Content
|
|
4001
3887
|
*/
|
|
4002
3888
|
deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId) {
|
|
@@ -4087,7 +3973,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4087
3973
|
* @param id Design identifier.
|
|
4088
3974
|
* @param itemId Print-product item identifier.
|
|
4089
3975
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4090
|
-
* @param tenantId (optional) Tenant
|
|
3976
|
+
* @param tenantId (optional) Tenant ID.
|
|
4091
3977
|
* @return Success
|
|
4092
3978
|
*/
|
|
4093
3979
|
getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId) {
|
|
@@ -4182,7 +4068,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4182
4068
|
* @param id Design identifier.
|
|
4183
4069
|
* @param itemId Print-product item identifier.
|
|
4184
4070
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4185
|
-
* @param tenantId (optional) Tenant
|
|
4071
|
+
* @param tenantId (optional) Tenant ID.
|
|
4186
4072
|
* @param body (optional) Json-serialized model of a print-product item.
|
|
4187
4073
|
* @return Success
|
|
4188
4074
|
*/
|
|
@@ -4292,7 +4178,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4292
4178
|
* @param top (optional) Y axis position.
|
|
4293
4179
|
* @param left (optional) X axis position.
|
|
4294
4180
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4295
|
-
* @param tenantId (optional) Tenant
|
|
4181
|
+
* @param tenantId (optional) Tenant ID.
|
|
4296
4182
|
* @param body (optional) Json-serialized model of a new print-product item.
|
|
4297
4183
|
* @return Success
|
|
4298
4184
|
*/
|
|
@@ -4378,6 +4264,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4378
4264
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4379
4265
|
}));
|
|
4380
4266
|
}
|
|
4267
|
+
else if (status === 409) {
|
|
4268
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4269
|
+
let result409 = null;
|
|
4270
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4271
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4272
|
+
}));
|
|
4273
|
+
}
|
|
4381
4274
|
else if (status === 401) {
|
|
4382
4275
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4383
4276
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4399,7 +4292,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4399
4292
|
* Returns a print-product of the specified design file as a json-serialized model.
|
|
4400
4293
|
* @param id Design identifier.
|
|
4401
4294
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4402
|
-
* @param tenantId (optional) Tenant
|
|
4295
|
+
* @param tenantId (optional) Tenant ID.
|
|
4403
4296
|
* @return Success
|
|
4404
4297
|
*/
|
|
4405
4298
|
getDesignProductModel(id, privateStorageOwner, tenantId) {
|
|
@@ -4483,7 +4376,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4483
4376
|
* Updates a print-product provided as a json-serialized model is the specified design file.
|
|
4484
4377
|
* @param id Design identifier.
|
|
4485
4378
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4486
|
-
* @param tenantId (optional) Tenant
|
|
4379
|
+
* @param tenantId (optional) Tenant ID.
|
|
4487
4380
|
* @param body (optional) Json-serialized model of a print-product .
|
|
4488
4381
|
* @return No Content
|
|
4489
4382
|
*/
|
|
@@ -4569,7 +4462,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4569
4462
|
* @param id Design identifier.
|
|
4570
4463
|
* @param surfaceId (optional)
|
|
4571
4464
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4572
|
-
* @param tenantId (optional) Tenant
|
|
4465
|
+
* @param tenantId (optional) Tenant ID.
|
|
4573
4466
|
* @return Success
|
|
4574
4467
|
*/
|
|
4575
4468
|
getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -4656,7 +4549,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4656
4549
|
Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
|
|
4657
4550
|
* @param id Design identifier.
|
|
4658
4551
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4659
|
-
* @param tenantId (optional) Tenant
|
|
4552
|
+
* @param tenantId (optional) Tenant ID.
|
|
4660
4553
|
* @param body (optional) Print-area description model.
|
|
4661
4554
|
* @return Success
|
|
4662
4555
|
*/
|
|
@@ -4730,6 +4623,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4730
4623
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
4731
4624
|
}));
|
|
4732
4625
|
}
|
|
4626
|
+
else if (status === 409) {
|
|
4627
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4628
|
+
let result409 = null;
|
|
4629
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4630
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
4631
|
+
}));
|
|
4632
|
+
}
|
|
4733
4633
|
else if (status === 401) {
|
|
4734
4634
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
4735
4635
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -4752,7 +4652,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4752
4652
|
* @param id Design identifier.
|
|
4753
4653
|
* @param printAreaId Design print-area identifier.
|
|
4754
4654
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4755
|
-
* @param tenantId (optional) Tenant
|
|
4655
|
+
* @param tenantId (optional) Tenant ID.
|
|
4756
4656
|
* @param body (optional) Print-area description model.
|
|
4757
4657
|
* @return Success
|
|
4758
4658
|
*/
|
|
@@ -4858,7 +4758,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4858
4758
|
* @param id Design identifier.
|
|
4859
4759
|
* @param printAreaId Design print-area identifier.
|
|
4860
4760
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4861
|
-
* @param tenantId (optional) Tenant
|
|
4761
|
+
* @param tenantId (optional) Tenant ID.
|
|
4862
4762
|
* @return No Content
|
|
4863
4763
|
*/
|
|
4864
4764
|
deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId) {
|
|
@@ -4949,7 +4849,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4949
4849
|
* @param id Design identifier.
|
|
4950
4850
|
* @param printAreaId Design print-area identifier.
|
|
4951
4851
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4952
|
-
* @param tenantId (optional) Tenant
|
|
4852
|
+
* @param tenantId (optional) Tenant ID.
|
|
4953
4853
|
* @return Success
|
|
4954
4854
|
*/
|
|
4955
4855
|
getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId) {
|
|
@@ -5044,7 +4944,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5044
4944
|
* @param id Design identifier.
|
|
5045
4945
|
* @param printAreaId Design print-area identifier.
|
|
5046
4946
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5047
|
-
* @param tenantId (optional) Tenant
|
|
4947
|
+
* @param tenantId (optional) Tenant ID.
|
|
5048
4948
|
* @param body (optional) Json-serialized model of a print-area.
|
|
5049
4949
|
* @return Success
|
|
5050
4950
|
*/
|
|
@@ -5151,7 +5051,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5151
5051
|
* @param id Design identifier.
|
|
5152
5052
|
* @param surfaceId (optional) Parent surface identifier.
|
|
5153
5053
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5154
|
-
* @param tenantId (optional) Tenant
|
|
5054
|
+
* @param tenantId (optional) Tenant ID.
|
|
5155
5055
|
* @param body (optional) Json serialized model of a print-area.
|
|
5156
5056
|
* @return Success
|
|
5157
5057
|
*/
|
|
@@ -5227,6 +5127,13 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5227
5127
|
return throwException("Not Found", status, _responseText, _headers, result404);
|
|
5228
5128
|
}));
|
|
5229
5129
|
}
|
|
5130
|
+
else if (status === 409) {
|
|
5131
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5132
|
+
let result409 = null;
|
|
5133
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
5134
|
+
return throwException("Conflict", status, _responseText, _headers, result409);
|
|
5135
|
+
}));
|
|
5136
|
+
}
|
|
5230
5137
|
else if (status === 401) {
|
|
5231
5138
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
5232
5139
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
@@ -5248,7 +5155,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5248
5155
|
* Returns a list of print-product surfaces descriptions of the specified design file.
|
|
5249
5156
|
* @param id Design identifier.
|
|
5250
5157
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5251
|
-
* @param tenantId (optional) Tenant
|
|
5158
|
+
* @param tenantId (optional) Tenant ID.
|
|
5252
5159
|
* @return Success
|
|
5253
5160
|
*/
|
|
5254
5161
|
getDesignSurfaces(id, privateStorageOwner, tenantId) {
|
|
@@ -5333,7 +5240,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5333
5240
|
* @param id Design identifier.
|
|
5334
5241
|
* @param surfaceId Print-product surface identifier.
|
|
5335
5242
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5336
|
-
* @param tenantId (optional) Tenant
|
|
5243
|
+
* @param tenantId (optional) Tenant ID.
|
|
5337
5244
|
* @return No Content
|
|
5338
5245
|
*/
|
|
5339
5246
|
deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -5424,7 +5331,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5424
5331
|
* @param id Design identifier.
|
|
5425
5332
|
* @param surfaceId Print product surface identifier.
|
|
5426
5333
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5427
|
-
* @param tenantId (optional) Tenant
|
|
5334
|
+
* @param tenantId (optional) Tenant ID.
|
|
5428
5335
|
* @return Success
|
|
5429
5336
|
*/
|
|
5430
5337
|
getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -5526,7 +5433,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5526
5433
|
* @param id Design identifier.
|
|
5527
5434
|
* @param surfaceId Print-product surface identifier.
|
|
5528
5435
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5529
|
-
* @param tenantId (optional) Tenant
|
|
5436
|
+
* @param tenantId (optional) Tenant ID.
|
|
5530
5437
|
* @param position_top (optional)
|
|
5531
5438
|
* @param position_left (optional)
|
|
5532
5439
|
* @param sourceFile (optional)
|
|
@@ -5643,7 +5550,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5643
5550
|
* @param id Design identifier.
|
|
5644
5551
|
* @param surfaceId Print-product surface identifier.
|
|
5645
5552
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5646
|
-
* @param tenantId (optional) Tenant
|
|
5553
|
+
* @param tenantId (optional) Tenant ID.
|
|
5647
5554
|
* @return Success
|
|
5648
5555
|
*/
|
|
5649
5556
|
getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -5744,7 +5651,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5744
5651
|
* @param id Design identifier.
|
|
5745
5652
|
* @param surfaceId Print-product surface identifier.
|
|
5746
5653
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5747
|
-
* @param tenantId (optional) Tenant
|
|
5654
|
+
* @param tenantId (optional) Tenant ID.
|
|
5748
5655
|
* @return Success
|
|
5749
5656
|
*/
|
|
5750
5657
|
getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -5846,7 +5753,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5846
5753
|
* @param id Design identifier.
|
|
5847
5754
|
* @param surfaceId Print-product surface identifier.
|
|
5848
5755
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5849
|
-
* @param tenantId (optional) Tenant
|
|
5756
|
+
* @param tenantId (optional) Tenant ID.
|
|
5850
5757
|
* @param position_top (optional)
|
|
5851
5758
|
* @param position_left (optional)
|
|
5852
5759
|
* @param sourceFile (optional)
|
|
@@ -5963,7 +5870,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5963
5870
|
* @param id Design identifier.
|
|
5964
5871
|
* @param surfaceId Print-product surface identifier.
|
|
5965
5872
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5966
|
-
* @param tenantId (optional) Tenant
|
|
5873
|
+
* @param tenantId (optional) Tenant ID.
|
|
5967
5874
|
* @return Success
|
|
5968
5875
|
*/
|
|
5969
5876
|
getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -6064,7 +5971,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
6064
5971
|
* @param id Design identifier.
|
|
6065
5972
|
* @param surfaceId Surface identifier.
|
|
6066
5973
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6067
|
-
* @param tenantId (optional) Tenant
|
|
5974
|
+
* @param tenantId (optional) Tenant ID.
|
|
6068
5975
|
* @return Success
|
|
6069
5976
|
*/
|
|
6070
5977
|
getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId) {
|
|
@@ -6160,7 +6067,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
6160
6067
|
* @param id Design identifier.
|
|
6161
6068
|
* @param surfaceId Print-product surface identifier.
|
|
6162
6069
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6163
|
-
* @param tenantId (optional) Tenant
|
|
6070
|
+
* @param tenantId (optional) Tenant ID.
|
|
6164
6071
|
* @param body (optional) Json-serialized model of a print-product surface.
|
|
6165
6072
|
* @return Success
|
|
6166
6073
|
*/
|
|
@@ -6267,7 +6174,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
6267
6174
|
* @param id Design identifier.
|
|
6268
6175
|
* @param index (optional) Surface index within the surfaces list of a design.
|
|
6269
6176
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6270
|
-
* @param tenantId (optional) Tenant
|
|
6177
|
+
* @param tenantId (optional) Tenant ID.
|
|
6271
6178
|
* @param body (optional) Json-serialized model of a print-prouduct surface.
|
|
6272
6179
|
* @return Success
|
|
6273
6180
|
*/
|
|
@@ -6381,7 +6288,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6381
6288
|
}
|
|
6382
6289
|
/**
|
|
6383
6290
|
* Apply effects to print-product item image.
|
|
6384
|
-
* @param tenantId (optional) Tenant
|
|
6291
|
+
* @param tenantId (optional) Tenant ID.
|
|
6385
6292
|
* @param body (optional)
|
|
6386
6293
|
* @return Success
|
|
6387
6294
|
*/
|
|
@@ -6455,7 +6362,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6455
6362
|
}
|
|
6456
6363
|
/**
|
|
6457
6364
|
* Extracts print-product item image.
|
|
6458
|
-
* @param tenantId (optional) Tenant
|
|
6365
|
+
* @param tenantId (optional) Tenant ID.
|
|
6459
6366
|
* @param body (optional) Extraction parameters.
|
|
6460
6367
|
* @return Success
|
|
6461
6368
|
*/
|
|
@@ -6529,7 +6436,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6529
6436
|
/**
|
|
6530
6437
|
* Flattens print-product items.
|
|
6531
6438
|
* @param paletteUID (optional)
|
|
6532
|
-
* @param tenantId (optional) Tenant
|
|
6439
|
+
* @param tenantId (optional) Tenant ID.
|
|
6533
6440
|
* @param body (optional) List of print-product items to flatten.
|
|
6534
6441
|
* @return Success
|
|
6535
6442
|
*/
|
|
@@ -6606,7 +6513,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6606
6513
|
/**
|
|
6607
6514
|
* Creates print-product item from input image file.
|
|
6608
6515
|
* @param itemType (optional) Desired item type.
|
|
6609
|
-
* @param tenantId (optional) Tenant
|
|
6516
|
+
* @param tenantId (optional) Tenant ID.
|
|
6610
6517
|
* @param sourceFile (optional)
|
|
6611
6518
|
* @param paletteUID (optional)
|
|
6612
6519
|
* @param preserveOriginalFile (optional)
|
|
@@ -6704,7 +6611,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6704
6611
|
/**
|
|
6705
6612
|
* Creates multiple print-product items from input image files.
|
|
6706
6613
|
* @param itemType (optional) Desired print-product items type.
|
|
6707
|
-
* @param tenantId (optional) Tenant
|
|
6614
|
+
* @param tenantId (optional) Tenant ID.
|
|
6708
6615
|
* @param sourceFiles (optional)
|
|
6709
6616
|
* @param paletteUID (optional)
|
|
6710
6617
|
* @param preserveOriginalFile (optional)
|
|
@@ -6802,7 +6709,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6802
6709
|
/**
|
|
6803
6710
|
* Creates print-product item from image file taken from storage.
|
|
6804
6711
|
* @param itemType (optional) Desired item type.
|
|
6805
|
-
* @param tenantId (optional) Tenant
|
|
6712
|
+
* @param tenantId (optional) Tenant ID.
|
|
6806
6713
|
* @param body (optional) Operation parameters.
|
|
6807
6714
|
* @return Success
|
|
6808
6715
|
*/
|
|
@@ -6893,7 +6800,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6893
6800
|
/**
|
|
6894
6801
|
* Creates multiple print-product items from the specified image files in storage.
|
|
6895
6802
|
* @param itemType (optional) Desired items type.
|
|
6896
|
-
* @param tenantId (optional) Tenant
|
|
6803
|
+
* @param tenantId (optional) Tenant ID.
|
|
6897
6804
|
* @param body (optional) Operation parameters.
|
|
6898
6805
|
* @return Success
|
|
6899
6806
|
*/
|
|
@@ -6984,7 +6891,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6984
6891
|
/**
|
|
6985
6892
|
* Creates print-product item from remote web image provided by URL.
|
|
6986
6893
|
* @param itemType (optional) Desired item type.
|
|
6987
|
-
* @param tenantId (optional) Tenant
|
|
6894
|
+
* @param tenantId (optional) Tenant ID.
|
|
6988
6895
|
* @param body (optional) Operation parameters.
|
|
6989
6896
|
* @return Success
|
|
6990
6897
|
*/
|
|
@@ -7075,7 +6982,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
7075
6982
|
/**
|
|
7076
6983
|
* Creates multiple print-product items from remote web images provided by URLs list.
|
|
7077
6984
|
* @param itemType (optional) Desired items type.
|
|
7078
|
-
* @param tenantId (optional) Tenant
|
|
6985
|
+
* @param tenantId (optional) Tenant ID.
|
|
7079
6986
|
* @param body (optional) Operation parameters.
|
|
7080
6987
|
* @return Success
|
|
7081
6988
|
*/
|
|
@@ -7185,7 +7092,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7185
7092
|
/**
|
|
7186
7093
|
* Creates new design file with specified parameters and saves it in storage.
|
|
7187
7094
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7188
|
-
* @param tenantId (optional) Tenant
|
|
7095
|
+
* @param tenantId (optional) Tenant ID.
|
|
7189
7096
|
* @param body (optional) Design creation parameters.
|
|
7190
7097
|
* @return Created
|
|
7191
7098
|
*/
|
|
@@ -7270,7 +7177,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7270
7177
|
* Applies item data for a specified design file taken from storage.
|
|
7271
7178
|
* @param id Design identifier.
|
|
7272
7179
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7273
|
-
* @param tenantId (optional) Tenant
|
|
7180
|
+
* @param tenantId (optional) Tenant ID.
|
|
7274
7181
|
* @param body (optional) Design items data.
|
|
7275
7182
|
* @return Success
|
|
7276
7183
|
*/
|
|
@@ -7363,7 +7270,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7363
7270
|
* @param id Design identifier.
|
|
7364
7271
|
* @param surfaceIndex (optional) Surface index.
|
|
7365
7272
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7366
|
-
* @param tenantId (optional) Tenant
|
|
7273
|
+
* @param tenantId (optional) Tenant ID.
|
|
7367
7274
|
* @return Success
|
|
7368
7275
|
*/
|
|
7369
7276
|
extractBackground(id, surfaceIndex, privateStorageOwner, tenantId) {
|
|
@@ -7455,7 +7362,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7455
7362
|
* Sets specified editor-mockups for selected design surfaces.
|
|
7456
7363
|
* @param id Design identifier.
|
|
7457
7364
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7458
|
-
* @param tenantId (optional) Tenant
|
|
7365
|
+
* @param tenantId (optional) Tenant ID.
|
|
7459
7366
|
* @param body (optional) Operation parameters.
|
|
7460
7367
|
* @return No Content
|
|
7461
7368
|
*/
|
|
@@ -7547,7 +7454,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7547
7454
|
* Returns design parameters stored in product model.
|
|
7548
7455
|
* @param id Design identifier.
|
|
7549
7456
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7550
|
-
* @param tenantId (optional) Tenant
|
|
7457
|
+
* @param tenantId (optional) Tenant ID.
|
|
7551
7458
|
* @return Success
|
|
7552
7459
|
*/
|
|
7553
7460
|
getDesignParameters(id, privateStorageOwner, tenantId) {
|
|
@@ -7631,7 +7538,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7631
7538
|
* Loads a data schema from design file taken from storage.
|
|
7632
7539
|
* @param id Design identifier.
|
|
7633
7540
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7634
|
-
* @param tenantId (optional) Tenant
|
|
7541
|
+
* @param tenantId (optional) Tenant ID.
|
|
7635
7542
|
* @return Success
|
|
7636
7543
|
*/
|
|
7637
7544
|
loadDataSchema(id, privateStorageOwner, tenantId) {
|
|
@@ -7721,7 +7628,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7721
7628
|
* Loads a toggle set from design file taken from storage.
|
|
7722
7629
|
* @param id Design identifier.
|
|
7723
7630
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7724
|
-
* @param tenantId (optional) Tenant
|
|
7631
|
+
* @param tenantId (optional) Tenant ID.
|
|
7725
7632
|
* @return Success
|
|
7726
7633
|
*/
|
|
7727
7634
|
loadToggleSet(id, privateStorageOwner, tenantId) {
|
|
@@ -7811,7 +7718,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7811
7718
|
* Returns variable items information for design file taken from storage.
|
|
7812
7719
|
* @param id Design identifier.
|
|
7813
7720
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7814
|
-
* @param tenantId (optional) Tenant
|
|
7721
|
+
* @param tenantId (optional) Tenant ID.
|
|
7815
7722
|
* @return Success
|
|
7816
7723
|
*/
|
|
7817
7724
|
getVariables(id, privateStorageOwner, tenantId) {
|
|
@@ -7895,7 +7802,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7895
7802
|
* Saves variable items values for design file taken from storage.
|
|
7896
7803
|
* @param id Design identifier.
|
|
7897
7804
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7898
|
-
* @param tenantId (optional) Tenant
|
|
7805
|
+
* @param tenantId (optional) Tenant ID.
|
|
7899
7806
|
* @param body (optional) Design variable values.
|
|
7900
7807
|
* @return Success
|
|
7901
7808
|
*/
|
|
@@ -7987,7 +7894,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7987
7894
|
* Loads variable data printing information from design file taken from storage.
|
|
7988
7895
|
* @param id Design identifier.
|
|
7989
7896
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7990
|
-
* @param tenantId (optional) Tenant
|
|
7897
|
+
* @param tenantId (optional) Tenant ID.
|
|
7991
7898
|
* @return Success
|
|
7992
7899
|
*/
|
|
7993
7900
|
loadVdpData(id, privateStorageOwner, tenantId) {
|
|
@@ -8078,7 +7985,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8078
7985
|
* Saves variable data printing information to design file and updates design in storage.
|
|
8079
7986
|
* @param id Design identifier.
|
|
8080
7987
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8081
|
-
* @param tenantId (optional) Tenant
|
|
7988
|
+
* @param tenantId (optional) Tenant ID.
|
|
8082
7989
|
* @param body (optional) Serialized vdp data.
|
|
8083
7990
|
* @return Success
|
|
8084
7991
|
*/
|
|
@@ -8163,7 +8070,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8163
8070
|
* Deletes variable data printing information from design file and updates design file in storage.
|
|
8164
8071
|
* @param id Design identifier.
|
|
8165
8072
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8166
|
-
* @param tenantId (optional) Tenant
|
|
8073
|
+
* @param tenantId (optional) Tenant ID.
|
|
8167
8074
|
* @return Success
|
|
8168
8075
|
*/
|
|
8169
8076
|
deleteVdpData(id, privateStorageOwner, tenantId) {
|
|
@@ -8241,7 +8148,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8241
8148
|
}
|
|
8242
8149
|
/**
|
|
8243
8150
|
* Converts colors for print-product item manipulations.
|
|
8244
|
-
* @param tenantId (optional) Tenant
|
|
8151
|
+
* @param tenantId (optional) Tenant ID.
|
|
8245
8152
|
* @param body (optional) Convert colors operation parameters.
|
|
8246
8153
|
* @return Success
|
|
8247
8154
|
*/
|
|
@@ -8324,7 +8231,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8324
8231
|
* Loads print-product from resource file taken from storage.
|
|
8325
8232
|
* @param id (optional) Resource identifier.
|
|
8326
8233
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8327
|
-
* @param tenantId (optional) Tenant
|
|
8234
|
+
* @param tenantId (optional) Tenant ID.
|
|
8328
8235
|
* @return Success
|
|
8329
8236
|
*/
|
|
8330
8237
|
loadProductFromResource(id, privateStorageOwner, tenantId) {
|
|
@@ -8414,7 +8321,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8414
8321
|
* Renders a product proof image with specified parameters.
|
|
8415
8322
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
8416
8323
|
(default value is 'false').
|
|
8417
|
-
* @param tenantId (optional) Tenant
|
|
8324
|
+
* @param tenantId (optional) Tenant ID.
|
|
8418
8325
|
* @param body (optional) Preview parameters.
|
|
8419
8326
|
* @return Success
|
|
8420
8327
|
*/
|
|
@@ -8491,7 +8398,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8491
8398
|
* Renders a design preview with the specified parameters.
|
|
8492
8399
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
8493
8400
|
(default value is 'false').
|
|
8494
|
-
* @param tenantId (optional) Tenant
|
|
8401
|
+
* @param tenantId (optional) Tenant ID.
|
|
8495
8402
|
* @param body (optional) Render model with preview parameters.
|
|
8496
8403
|
* @return Success
|
|
8497
8404
|
*/
|
|
@@ -8566,7 +8473,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8566
8473
|
}
|
|
8567
8474
|
/**
|
|
8568
8475
|
* Renders a design preview with the specified parameters and saves rendering result as resource.
|
|
8569
|
-
* @param tenantId (optional) Tenant
|
|
8476
|
+
* @param tenantId (optional) Tenant ID.
|
|
8570
8477
|
* @param body (optional) Render model with preview parameters.
|
|
8571
8478
|
* @return Success
|
|
8572
8479
|
*/
|
|
@@ -8656,7 +8563,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8656
8563
|
* Renders a design proof with the specified parameters.
|
|
8657
8564
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
8658
8565
|
(default value is 'false').
|
|
8659
|
-
* @param tenantId (optional) Tenant
|
|
8566
|
+
* @param tenantId (optional) Tenant ID.
|
|
8660
8567
|
* @param body (optional) Render model with proof parameters.
|
|
8661
8568
|
* @return Success
|
|
8662
8569
|
*/
|
|
@@ -8738,7 +8645,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8738
8645
|
}
|
|
8739
8646
|
/**
|
|
8740
8647
|
* Renders a design proof with the specified parameters and saves rendering result as resource.
|
|
8741
|
-
* @param tenantId (optional) Tenant
|
|
8648
|
+
* @param tenantId (optional) Tenant ID.
|
|
8742
8649
|
* @param body (optional) Render model with preview parameters.
|
|
8743
8650
|
* @return Success
|
|
8744
8651
|
*/
|
|
@@ -8821,7 +8728,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8821
8728
|
* Loads print-product from design file taken from storage.
|
|
8822
8729
|
* @param id Design identifier.
|
|
8823
8730
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8824
|
-
* @param tenantId (optional) Tenant
|
|
8731
|
+
* @param tenantId (optional) Tenant ID.
|
|
8825
8732
|
* @return Success
|
|
8826
8733
|
* @deprecated
|
|
8827
8734
|
*/
|
|
@@ -8906,7 +8813,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8906
8813
|
* Saves print-product to design file and updates design file in storage.
|
|
8907
8814
|
* @param id Design identifier.
|
|
8908
8815
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8909
|
-
* @param tenantId (optional) Tenant
|
|
8816
|
+
* @param tenantId (optional) Tenant ID.
|
|
8910
8817
|
* @param body (optional) Serialized product description.
|
|
8911
8818
|
* @return Success
|
|
8912
8819
|
* @deprecated
|
|
@@ -8992,7 +8899,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8992
8899
|
* Patches print-product in design file.
|
|
8993
8900
|
* @param id Design identifier.
|
|
8994
8901
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8995
|
-
* @param tenantId (optional) Tenant
|
|
8902
|
+
* @param tenantId (optional) Tenant ID.
|
|
8996
8903
|
* @param patchType (optional)
|
|
8997
8904
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
8998
8905
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -9015,9 +8922,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9015
8922
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
9016
8923
|
url_ = url_.replace(/[?&]$/, "");
|
|
9017
8924
|
const content_ = new FormData();
|
|
9018
|
-
if (patchType
|
|
9019
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
9020
|
-
else
|
|
8925
|
+
if (patchType !== null && patchType !== undefined)
|
|
9021
8926
|
content_.append("patchType", patchType.toString());
|
|
9022
8927
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
9023
8928
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -9025,9 +8930,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9025
8930
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
9026
8931
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
9027
8932
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
9028
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
9029
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
9030
|
-
else
|
|
8933
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
9031
8934
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
9032
8935
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
9033
8936
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -9096,7 +8999,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9096
8999
|
/**
|
|
9097
9000
|
* Creates print-product item.
|
|
9098
9001
|
* @param itemType (optional) Desired item type.
|
|
9099
|
-
* @param tenantId (optional) Tenant
|
|
9002
|
+
* @param tenantId (optional) Tenant ID.
|
|
9100
9003
|
* @param sourceType (optional)
|
|
9101
9004
|
* @param sourceId (optional)
|
|
9102
9005
|
* @param sourceOwnerId (optional)
|
|
@@ -9193,7 +9096,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9193
9096
|
}
|
|
9194
9097
|
/**
|
|
9195
9098
|
* Extracts print-product item image.
|
|
9196
|
-
* @param tenantId (optional) Tenant
|
|
9099
|
+
* @param tenantId (optional) Tenant ID.
|
|
9197
9100
|
* @param body (optional) Extraction parameters.
|
|
9198
9101
|
* @return Success
|
|
9199
9102
|
* @deprecated
|
|
@@ -9267,7 +9170,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9267
9170
|
}
|
|
9268
9171
|
/**
|
|
9269
9172
|
* Flattens print-product items.
|
|
9270
|
-
* @param tenantId (optional) Tenant
|
|
9173
|
+
* @param tenantId (optional) Tenant ID.
|
|
9271
9174
|
* @param body (optional) Items to flatten.
|
|
9272
9175
|
* @return Success
|
|
9273
9176
|
* @deprecated
|
|
@@ -9345,7 +9248,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9345
9248
|
* @param designId (optional) Public design identifier.
|
|
9346
9249
|
* @param privateDesignId (optional) Private design identifier.
|
|
9347
9250
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
9348
|
-
* @param tenantId (optional) Tenant
|
|
9251
|
+
* @param tenantId (optional) Tenant ID.
|
|
9349
9252
|
* @return Created
|
|
9350
9253
|
* @deprecated
|
|
9351
9254
|
*/
|
|
@@ -9421,11 +9324,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9421
9324
|
* @param resourceId (optional) Resource identifier.
|
|
9422
9325
|
* @param privateDesignId (optional) Private design identifier.
|
|
9423
9326
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
9424
|
-
* @param
|
|
9327
|
+
* @param tenantIdQuery (optional) Tenant identifier.
|
|
9425
9328
|
* @return Created
|
|
9426
9329
|
* @deprecated
|
|
9427
9330
|
*/
|
|
9428
|
-
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner,
|
|
9331
|
+
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery) {
|
|
9429
9332
|
let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
|
|
9430
9333
|
if (resourceId !== undefined && resourceId !== null)
|
|
9431
9334
|
url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
|
|
@@ -9433,10 +9336,10 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
9433
9336
|
url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
|
|
9434
9337
|
if (privateStorageOwner !== undefined && privateStorageOwner !== null)
|
|
9435
9338
|
url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
|
|
9436
|
-
if (
|
|
9437
|
-
throw new Error("The parameter '
|
|
9438
|
-
else if (
|
|
9439
|
-
url_ += "tenantId=" + encodeURIComponent("" +
|
|
9339
|
+
if (tenantIdQuery === null)
|
|
9340
|
+
throw new Error("The parameter 'tenantIdQuery' cannot be null.");
|
|
9341
|
+
else if (tenantIdQuery !== undefined)
|
|
9342
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
|
|
9440
9343
|
url_ = url_.replace(/[?&]$/, "");
|
|
9441
9344
|
let options_ = {
|
|
9442
9345
|
observe: "response",
|
|
@@ -9512,7 +9415,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9512
9415
|
this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
|
|
9513
9416
|
}
|
|
9514
9417
|
/**
|
|
9515
|
-
* @param tenantId (optional) Tenant
|
|
9418
|
+
* @param tenantId (optional) Tenant ID.
|
|
9516
9419
|
* @param body (optional)
|
|
9517
9420
|
* @return Success
|
|
9518
9421
|
*/
|
|
@@ -9572,11 +9475,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9572
9475
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9573
9476
|
}));
|
|
9574
9477
|
}
|
|
9575
|
-
else if (status === 403) {
|
|
9576
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9577
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9578
|
-
}));
|
|
9579
|
-
}
|
|
9580
9478
|
else if (status !== 200 && status !== 204) {
|
|
9581
9479
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9582
9480
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9585,7 +9483,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9585
9483
|
return of(null);
|
|
9586
9484
|
}
|
|
9587
9485
|
/**
|
|
9588
|
-
* @param tenantId (optional) Tenant
|
|
9486
|
+
* @param tenantId (optional) Tenant ID.
|
|
9589
9487
|
* @return Success
|
|
9590
9488
|
*/
|
|
9591
9489
|
fonts(psName, tenantId) {
|
|
@@ -9650,11 +9548,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9650
9548
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9651
9549
|
}));
|
|
9652
9550
|
}
|
|
9653
|
-
else if (status === 403) {
|
|
9654
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9655
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9656
|
-
}));
|
|
9657
|
-
}
|
|
9658
9551
|
else if (status !== 200 && status !== 204) {
|
|
9659
9552
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9660
9553
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9663,7 +9556,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9663
9556
|
return of(null);
|
|
9664
9557
|
}
|
|
9665
9558
|
/**
|
|
9666
|
-
* @param tenantId (optional) Tenant
|
|
9559
|
+
* @param tenantId (optional) Tenant ID.
|
|
9667
9560
|
* @param body (optional)
|
|
9668
9561
|
* @return Success
|
|
9669
9562
|
*/
|
|
@@ -9730,11 +9623,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9730
9623
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9731
9624
|
}));
|
|
9732
9625
|
}
|
|
9733
|
-
else if (status === 403) {
|
|
9734
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9735
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9736
|
-
}));
|
|
9737
|
-
}
|
|
9738
9626
|
else if (status !== 200 && status !== 204) {
|
|
9739
9627
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9740
9628
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9743,7 +9631,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9743
9631
|
return of(null);
|
|
9744
9632
|
}
|
|
9745
9633
|
/**
|
|
9746
|
-
* @param tenantId (optional) Tenant
|
|
9634
|
+
* @param tenantId (optional) Tenant ID.
|
|
9747
9635
|
* @param body (optional)
|
|
9748
9636
|
* @return Success
|
|
9749
9637
|
*/
|
|
@@ -9810,11 +9698,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9810
9698
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9811
9699
|
}));
|
|
9812
9700
|
}
|
|
9813
|
-
else if (status === 403) {
|
|
9814
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9815
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9816
|
-
}));
|
|
9817
|
-
}
|
|
9818
9701
|
else if (status !== 200 && status !== 204) {
|
|
9819
9702
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9820
9703
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9824,7 +9707,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9824
9707
|
}
|
|
9825
9708
|
/**
|
|
9826
9709
|
* @param fontKey (optional)
|
|
9827
|
-
* @param tenantId (optional) Tenant
|
|
9710
|
+
* @param tenantId (optional) Tenant ID.
|
|
9828
9711
|
* @return Success
|
|
9829
9712
|
*/
|
|
9830
9713
|
getCssFont(fontKey, tenantId) {
|
|
@@ -9888,11 +9771,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9888
9771
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9889
9772
|
}));
|
|
9890
9773
|
}
|
|
9891
|
-
else if (status === 403) {
|
|
9892
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9893
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9894
|
-
}));
|
|
9895
|
-
}
|
|
9896
9774
|
else if (status !== 200 && status !== 204) {
|
|
9897
9775
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9898
9776
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9901,7 +9779,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9901
9779
|
return of(null);
|
|
9902
9780
|
}
|
|
9903
9781
|
/**
|
|
9904
|
-
* @param tenantId (optional) Tenant
|
|
9782
|
+
* @param tenantId (optional) Tenant ID.
|
|
9905
9783
|
* @return Success
|
|
9906
9784
|
*/
|
|
9907
9785
|
getFallbackFonts(tenantId) {
|
|
@@ -9957,11 +9835,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9957
9835
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9958
9836
|
}));
|
|
9959
9837
|
}
|
|
9960
|
-
else if (status === 403) {
|
|
9961
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9962
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9963
|
-
}));
|
|
9964
|
-
}
|
|
9965
9838
|
else if (status !== 200 && status !== 204) {
|
|
9966
9839
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
9967
9840
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9970,7 +9843,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9970
9843
|
return of(null);
|
|
9971
9844
|
}
|
|
9972
9845
|
/**
|
|
9973
|
-
* @param tenantId (optional) Tenant
|
|
9846
|
+
* @param tenantId (optional) Tenant ID.
|
|
9974
9847
|
* @param body (optional)
|
|
9975
9848
|
* @return Success
|
|
9976
9849
|
*/
|
|
@@ -10030,11 +9903,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10030
9903
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10031
9904
|
}));
|
|
10032
9905
|
}
|
|
10033
|
-
else if (status === 403) {
|
|
10034
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10035
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10036
|
-
}));
|
|
10037
|
-
}
|
|
10038
9906
|
else if (status !== 200 && status !== 204) {
|
|
10039
9907
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10040
9908
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10043,7 +9911,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10043
9911
|
return of(null);
|
|
10044
9912
|
}
|
|
10045
9913
|
/**
|
|
10046
|
-
* @param tenantId (optional) Tenant
|
|
9914
|
+
* @param tenantId (optional) Tenant ID.
|
|
10047
9915
|
* @param body (optional)
|
|
10048
9916
|
* @return Success
|
|
10049
9917
|
*/
|
|
@@ -10103,11 +9971,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10103
9971
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10104
9972
|
}));
|
|
10105
9973
|
}
|
|
10106
|
-
else if (status === 403) {
|
|
10107
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10108
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10109
|
-
}));
|
|
10110
|
-
}
|
|
10111
9974
|
else if (status !== 200 && status !== 204) {
|
|
10112
9975
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10113
9976
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10116,7 +9979,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10116
9979
|
return of(null);
|
|
10117
9980
|
}
|
|
10118
9981
|
/**
|
|
10119
|
-
* @param tenantId (optional) Tenant
|
|
9982
|
+
* @param tenantId (optional) Tenant ID.
|
|
10120
9983
|
* @param body (optional)
|
|
10121
9984
|
* @return Success
|
|
10122
9985
|
*/
|
|
@@ -10176,11 +10039,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10176
10039
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10177
10040
|
}));
|
|
10178
10041
|
}
|
|
10179
|
-
else if (status === 403) {
|
|
10180
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10181
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10182
|
-
}));
|
|
10183
|
-
}
|
|
10184
10042
|
else if (status !== 200 && status !== 204) {
|
|
10185
10043
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10186
10044
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10189,25 +10047,29 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10189
10047
|
return of(null);
|
|
10190
10048
|
}
|
|
10191
10049
|
/**
|
|
10192
|
-
*
|
|
10193
|
-
|
|
10194
|
-
* @param
|
|
10195
|
-
* @param
|
|
10196
|
-
* @param
|
|
10197
|
-
* @param
|
|
10198
|
-
* @param
|
|
10199
|
-
* @param
|
|
10200
|
-
* @param
|
|
10201
|
-
* @param
|
|
10202
|
-
* @param
|
|
10203
|
-
|
|
10204
|
-
* @param
|
|
10205
|
-
* @param
|
|
10206
|
-
* @param
|
|
10207
|
-
|
|
10208
|
-
* @param
|
|
10209
|
-
* @param
|
|
10210
|
-
* @param
|
|
10050
|
+
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
10051
|
+
This method accepts query parameters that control the output of the image.
|
|
10052
|
+
* @param f (optional) The identifier of the original image file.
|
|
10053
|
+
* @param w (optional) Target width of the resulting image.
|
|
10054
|
+
* @param h (optional) Target height of the resulting image.
|
|
10055
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
10056
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
10057
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
10058
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
10059
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
10060
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
10061
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
10062
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
10063
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
10064
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
10065
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
10066
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
10067
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
10068
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
10069
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
10070
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
10071
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
10072
|
+
* @param tenantId (optional) Tenant ID.
|
|
10211
10073
|
* @return Success
|
|
10212
10074
|
*/
|
|
10213
10075
|
img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
|
|
@@ -10310,11 +10172,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10310
10172
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10311
10173
|
}));
|
|
10312
10174
|
}
|
|
10313
|
-
else if (status === 403) {
|
|
10314
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10315
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10316
|
-
}));
|
|
10317
|
-
}
|
|
10318
10175
|
else if (status !== 200 && status !== 204) {
|
|
10319
10176
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10320
10177
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10323,7 +10180,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10323
10180
|
return of(null);
|
|
10324
10181
|
}
|
|
10325
10182
|
/**
|
|
10326
|
-
* @param tenantId (optional) Tenant
|
|
10183
|
+
* @param tenantId (optional) Tenant ID.
|
|
10327
10184
|
* @return Success
|
|
10328
10185
|
*/
|
|
10329
10186
|
getLicense(tenantId) {
|
|
@@ -10379,11 +10236,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10379
10236
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10380
10237
|
}));
|
|
10381
10238
|
}
|
|
10382
|
-
else if (status === 403) {
|
|
10383
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10384
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10385
|
-
}));
|
|
10386
|
-
}
|
|
10387
10239
|
else if (status !== 200 && status !== 204) {
|
|
10388
10240
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10389
10241
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10393,7 +10245,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10393
10245
|
}
|
|
10394
10246
|
/**
|
|
10395
10247
|
* @param f (optional)
|
|
10396
|
-
* @param tenantId (optional) Tenant
|
|
10248
|
+
* @param tenantId (optional) Tenant ID.
|
|
10397
10249
|
* @return Success
|
|
10398
10250
|
*/
|
|
10399
10251
|
pth(f, tenantId) {
|
|
@@ -10462,11 +10314,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10462
10314
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10463
10315
|
}));
|
|
10464
10316
|
}
|
|
10465
|
-
else if (status === 403) {
|
|
10466
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10467
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10468
|
-
}));
|
|
10469
|
-
}
|
|
10470
10317
|
else if (status !== 200 && status !== 204) {
|
|
10471
10318
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10472
10319
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10476,7 +10323,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10476
10323
|
}
|
|
10477
10324
|
/**
|
|
10478
10325
|
* @param image (optional)
|
|
10479
|
-
* @param tenantId (optional) Tenant
|
|
10326
|
+
* @param tenantId (optional) Tenant ID.
|
|
10480
10327
|
* @return Success
|
|
10481
10328
|
*/
|
|
10482
10329
|
resource(image, tenantId) {
|
|
@@ -10540,11 +10387,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10540
10387
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10541
10388
|
}));
|
|
10542
10389
|
}
|
|
10543
|
-
else if (status === 403) {
|
|
10544
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10545
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10546
|
-
}));
|
|
10547
|
-
}
|
|
10548
10390
|
else if (status !== 200 && status !== 204) {
|
|
10549
10391
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10550
10392
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10553,25 +10395,27 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10553
10395
|
return of(null);
|
|
10554
10396
|
}
|
|
10555
10397
|
/**
|
|
10556
|
-
* @param f (optional)
|
|
10557
|
-
* @param w (optional)
|
|
10558
|
-
* @param h (optional)
|
|
10559
|
-
* @param cmyk (optional)
|
|
10560
|
-
* @param rgb (optional)
|
|
10561
|
-
* @param grayscale (optional)
|
|
10562
|
-
* @param target (optional)
|
|
10563
|
-
* @param sq (optional)
|
|
10564
|
-
* @param effect (optional)
|
|
10565
|
-
|
|
10566
|
-
* @param
|
|
10567
|
-
* @param
|
|
10568
|
-
* @param
|
|
10569
|
-
|
|
10570
|
-
* @param
|
|
10571
|
-
* @param
|
|
10572
|
-
* @param
|
|
10573
|
-
* @param
|
|
10574
|
-
* @param
|
|
10398
|
+
* @param f (optional) The identifier of the original image file.
|
|
10399
|
+
* @param w (optional) Target width of the resulting image.
|
|
10400
|
+
* @param h (optional) Target height of the resulting image.
|
|
10401
|
+
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
10402
|
+
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
10403
|
+
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
10404
|
+
* @param target (optional) Target color space, one of `"Rgb"`, `"Grayscale"`, or `"Cmyk"`.
|
|
10405
|
+
* @param sq (optional) Indicates that the image is squared. The default value is `false`.
|
|
10406
|
+
* @param effect (optional) Effect applied to the image. The default value is `"None"`.
|
|
10407
|
+
Possible values: `"None"`, `"BlackAndWhite"`, `"FlipVertical"`, `"FlipHorizontal"`, `"Colorize"`, `"Grayscale"`, or `"BlackAndTransparent"`.
|
|
10408
|
+
* @param kp (optional) Indicates that image proportions should be maintained. The default value is `false`.
|
|
10409
|
+
* @param color (optional) String defining an overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string.
|
|
10410
|
+
* @param obm (optional) Overlay blend mode used for blending colors. By default, it's an empty string.
|
|
10411
|
+
Possible values: `"Normal"`, `"Multiply"`, `"Screen"`, `"Overlay"`, `"Darken"`, `"Lighten"`, `"ColorDodge"`, `"ColorBurn"`, `"HardLight"`, `"SoftLight"`, `"Difference"`, `"Exclusion"`, `"None"`, or `"LinearBurn"`.
|
|
10412
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range `[0.0,1.0]`. The default value is `null`.
|
|
10413
|
+
* @param alphaMask (optional) Enables alpha mask processing. The default value is `false`.
|
|
10414
|
+
* @param page (optional) Page index in a PDF document that needs to be processed. The default value is `0`.
|
|
10415
|
+
* @param colorizeColor (optional) Color applied for the `"Colorize"` image effect. By default, it's an empty string.
|
|
10416
|
+
* @param rw (optional) Rectangle width for area selection. The default value is `0`.
|
|
10417
|
+
* @param rh (optional) Rectangle height for area selection. The default value is `0`.
|
|
10418
|
+
* @param tenantId (optional) Tenant ID.
|
|
10575
10419
|
* @return Success
|
|
10576
10420
|
*/
|
|
10577
10421
|
svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId) {
|
|
@@ -10674,11 +10518,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10674
10518
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10675
10519
|
}));
|
|
10676
10520
|
}
|
|
10677
|
-
else if (status === 403) {
|
|
10678
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10679
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10680
|
-
}));
|
|
10681
|
-
}
|
|
10682
10521
|
else if (status !== 200 && status !== 204) {
|
|
10683
10522
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10684
10523
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10688,7 +10527,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10688
10527
|
}
|
|
10689
10528
|
/**
|
|
10690
10529
|
* @param f (optional)
|
|
10691
|
-
* @param tenantId (optional) Tenant
|
|
10530
|
+
* @param tenantId (optional) Tenant ID.
|
|
10692
10531
|
* @return Success
|
|
10693
10532
|
*/
|
|
10694
10533
|
txt(f, tenantId) {
|
|
@@ -10757,11 +10596,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10757
10596
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10758
10597
|
}));
|
|
10759
10598
|
}
|
|
10760
|
-
else if (status === 403) {
|
|
10761
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10762
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10763
|
-
}));
|
|
10764
|
-
}
|
|
10765
10599
|
else if (status !== 200 && status !== 204) {
|
|
10766
10600
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10767
10601
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10770,7 +10604,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10770
10604
|
return of(null);
|
|
10771
10605
|
}
|
|
10772
10606
|
/**
|
|
10773
|
-
* @param tenantId (optional) Tenant
|
|
10607
|
+
* @param tenantId (optional) Tenant ID.
|
|
10774
10608
|
* @param body (optional)
|
|
10775
10609
|
* @return Success
|
|
10776
10610
|
*/
|
|
@@ -10830,11 +10664,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10830
10664
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10831
10665
|
}));
|
|
10832
10666
|
}
|
|
10833
|
-
else if (status === 403) {
|
|
10834
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10835
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10836
|
-
}));
|
|
10837
|
-
}
|
|
10838
10667
|
else if (status !== 200 && status !== 204) {
|
|
10839
10668
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10840
10669
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10843,7 +10672,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10843
10672
|
return of(null);
|
|
10844
10673
|
}
|
|
10845
10674
|
/**
|
|
10846
|
-
* @param tenantId (optional) Tenant
|
|
10675
|
+
* @param tenantId (optional) Tenant ID.
|
|
10847
10676
|
* @param body (optional)
|
|
10848
10677
|
* @return Success
|
|
10849
10678
|
*/
|
|
@@ -10903,11 +10732,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10903
10732
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10904
10733
|
}));
|
|
10905
10734
|
}
|
|
10906
|
-
else if (status === 403) {
|
|
10907
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10908
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10909
|
-
}));
|
|
10910
|
-
}
|
|
10911
10735
|
else if (status !== 200 && status !== 204) {
|
|
10912
10736
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10913
10737
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10916,7 +10740,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10916
10740
|
return of(null);
|
|
10917
10741
|
}
|
|
10918
10742
|
/**
|
|
10919
|
-
* @param tenantId (optional) Tenant
|
|
10743
|
+
* @param tenantId (optional) Tenant ID.
|
|
10920
10744
|
* @param body (optional)
|
|
10921
10745
|
* @return Success
|
|
10922
10746
|
*/
|
|
@@ -10976,11 +10800,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10976
10800
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10977
10801
|
}));
|
|
10978
10802
|
}
|
|
10979
|
-
else if (status === 403) {
|
|
10980
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10981
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10982
|
-
}));
|
|
10983
|
-
}
|
|
10984
10803
|
else if (status !== 200 && status !== 204) {
|
|
10985
10804
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
10986
10805
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10989,7 +10808,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10989
10808
|
return of(null);
|
|
10990
10809
|
}
|
|
10991
10810
|
/**
|
|
10992
|
-
* @param tenantId (optional) Tenant
|
|
10811
|
+
* @param tenantId (optional) Tenant ID.
|
|
10993
10812
|
* @param body (optional)
|
|
10994
10813
|
* @return Success
|
|
10995
10814
|
*/
|
|
@@ -11049,11 +10868,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11049
10868
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11050
10869
|
}));
|
|
11051
10870
|
}
|
|
11052
|
-
else if (status === 403) {
|
|
11053
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11054
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11055
|
-
}));
|
|
11056
|
-
}
|
|
11057
10871
|
else if (status !== 200 && status !== 204) {
|
|
11058
10872
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11059
10873
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11062,7 +10876,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11062
10876
|
return of(null);
|
|
11063
10877
|
}
|
|
11064
10878
|
/**
|
|
11065
|
-
* @param tenantId (optional) Tenant
|
|
10879
|
+
* @param tenantId (optional) Tenant ID.
|
|
11066
10880
|
* @param body (optional)
|
|
11067
10881
|
* @return Success
|
|
11068
10882
|
*/
|
|
@@ -11122,11 +10936,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11122
10936
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11123
10937
|
}));
|
|
11124
10938
|
}
|
|
11125
|
-
else if (status === 403) {
|
|
11126
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11127
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11128
|
-
}));
|
|
11129
|
-
}
|
|
11130
10939
|
else if (status !== 200 && status !== 204) {
|
|
11131
10940
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11132
10941
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11135,7 +10944,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11135
10944
|
return of(null);
|
|
11136
10945
|
}
|
|
11137
10946
|
/**
|
|
11138
|
-
* @param tenantId (optional) Tenant
|
|
10947
|
+
* @param tenantId (optional) Tenant ID.
|
|
11139
10948
|
* @param body (optional)
|
|
11140
10949
|
* @return Success
|
|
11141
10950
|
*/
|
|
@@ -11195,11 +11004,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11195
11004
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11196
11005
|
}));
|
|
11197
11006
|
}
|
|
11198
|
-
else if (status === 403) {
|
|
11199
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11200
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11201
|
-
}));
|
|
11202
|
-
}
|
|
11203
11007
|
else if (status !== 200 && status !== 204) {
|
|
11204
11008
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11205
11009
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11208,7 +11012,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11208
11012
|
return of(null);
|
|
11209
11013
|
}
|
|
11210
11014
|
/**
|
|
11211
|
-
* @param tenantId (optional) Tenant
|
|
11015
|
+
* @param tenantId (optional) Tenant ID.
|
|
11212
11016
|
* @param body (optional)
|
|
11213
11017
|
* @return Success
|
|
11214
11018
|
*/
|
|
@@ -11268,11 +11072,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11268
11072
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11269
11073
|
}));
|
|
11270
11074
|
}
|
|
11271
|
-
else if (status === 403) {
|
|
11272
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11273
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11274
|
-
}));
|
|
11275
|
-
}
|
|
11276
11075
|
else if (status !== 200 && status !== 204) {
|
|
11277
11076
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11278
11077
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11281,7 +11080,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11281
11080
|
return of(null);
|
|
11282
11081
|
}
|
|
11283
11082
|
/**
|
|
11284
|
-
* @param tenantId (optional) Tenant
|
|
11083
|
+
* @param tenantId (optional) Tenant ID.
|
|
11285
11084
|
* @param body (optional)
|
|
11286
11085
|
* @return Success
|
|
11287
11086
|
*/
|
|
@@ -11341,11 +11140,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11341
11140
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11342
11141
|
}));
|
|
11343
11142
|
}
|
|
11344
|
-
else if (status === 403) {
|
|
11345
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11346
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11347
|
-
}));
|
|
11348
|
-
}
|
|
11349
11143
|
else if (status !== 200 && status !== 204) {
|
|
11350
11144
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11351
11145
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11354,7 +11148,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11354
11148
|
return of(null);
|
|
11355
11149
|
}
|
|
11356
11150
|
/**
|
|
11357
|
-
* @param tenantId (optional) Tenant
|
|
11151
|
+
* @param tenantId (optional) Tenant ID.
|
|
11358
11152
|
* @param body (optional)
|
|
11359
11153
|
* @return Success
|
|
11360
11154
|
*/
|
|
@@ -11414,11 +11208,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11414
11208
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11415
11209
|
}));
|
|
11416
11210
|
}
|
|
11417
|
-
else if (status === 403) {
|
|
11418
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11419
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11420
|
-
}));
|
|
11421
|
-
}
|
|
11422
11211
|
else if (status !== 200 && status !== 204) {
|
|
11423
11212
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11424
11213
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11427,7 +11216,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11427
11216
|
return of(null);
|
|
11428
11217
|
}
|
|
11429
11218
|
/**
|
|
11430
|
-
* @param tenantId (optional) Tenant
|
|
11219
|
+
* @param tenantId (optional) Tenant ID.
|
|
11431
11220
|
* @param body (optional)
|
|
11432
11221
|
* @return Success
|
|
11433
11222
|
*/
|
|
@@ -11487,11 +11276,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11487
11276
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11488
11277
|
}));
|
|
11489
11278
|
}
|
|
11490
|
-
else if (status === 403) {
|
|
11491
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11492
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11493
|
-
}));
|
|
11494
|
-
}
|
|
11495
11279
|
else if (status !== 200 && status !== 204) {
|
|
11496
11280
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11497
11281
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -11500,7 +11284,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11500
11284
|
return of(null);
|
|
11501
11285
|
}
|
|
11502
11286
|
/**
|
|
11503
|
-
* @param tenantId (optional) Tenant
|
|
11287
|
+
* @param tenantId (optional) Tenant ID.
|
|
11504
11288
|
* @param body (optional)
|
|
11505
11289
|
* @return Success
|
|
11506
11290
|
*/
|
|
@@ -11560,11 +11344,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
11560
11344
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
11561
11345
|
}));
|
|
11562
11346
|
}
|
|
11563
|
-
else if (status === 403) {
|
|
11564
|
-
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11565
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
11566
|
-
}));
|
|
11567
|
-
}
|
|
11568
11347
|
else if (status !== 200 && status !== 204) {
|
|
11569
11348
|
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
11570
11349
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|