@aurigma/axios-design-atoms-api-client 2.68.7 → 2.69.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/design-atoms-api-client.d.ts +214 -214
- package/dist/cjs/design-atoms-api-client.js +113 -329
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +214 -214
- package/dist/esm/design-atoms-api-client.js +113 -329
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +1 -1
|
@@ -225,10 +225,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
225
225
|
const _responseText = response.data;
|
|
226
226
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
227
227
|
}
|
|
228
|
-
else if (status === 403) {
|
|
229
|
-
const _responseText = response.data;
|
|
230
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
231
|
-
}
|
|
232
228
|
else if (status !== 200 && status !== 204) {
|
|
233
229
|
const _responseText = response.data;
|
|
234
230
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -296,10 +292,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
296
292
|
const _responseText = response.data;
|
|
297
293
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
298
294
|
}
|
|
299
|
-
else if (status === 403) {
|
|
300
|
-
const _responseText = response.data;
|
|
301
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
302
|
-
}
|
|
303
295
|
else if (status !== 200 && status !== 204) {
|
|
304
296
|
const _responseText = response.data;
|
|
305
297
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -368,10 +360,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
368
360
|
const _responseText = response.data;
|
|
369
361
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
370
362
|
}
|
|
371
|
-
else if (status === 403) {
|
|
372
|
-
const _responseText = response.data;
|
|
373
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
374
|
-
}
|
|
375
363
|
else if (status !== 200 && status !== 204) {
|
|
376
364
|
const _responseText = response.data;
|
|
377
365
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -440,10 +428,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
440
428
|
const _responseText = response.data;
|
|
441
429
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
442
430
|
}
|
|
443
|
-
else if (status === 403) {
|
|
444
|
-
const _responseText = response.data;
|
|
445
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
446
|
-
}
|
|
447
431
|
else if (status !== 200 && status !== 204) {
|
|
448
432
|
const _responseText = response.data;
|
|
449
433
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -511,10 +495,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
511
495
|
const _responseText = response.data;
|
|
512
496
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
513
497
|
}
|
|
514
|
-
else if (status === 403) {
|
|
515
|
-
const _responseText = response.data;
|
|
516
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
517
|
-
}
|
|
518
498
|
else if (status !== 200 && status !== 204) {
|
|
519
499
|
const _responseText = response.data;
|
|
520
500
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -572,10 +552,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
572
552
|
const _responseText = response.data;
|
|
573
553
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
574
554
|
}
|
|
575
|
-
else if (status === 403) {
|
|
576
|
-
const _responseText = response.data;
|
|
577
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
578
|
-
}
|
|
579
555
|
else if (status !== 200 && status !== 204) {
|
|
580
556
|
const _responseText = response.data;
|
|
581
557
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -637,10 +613,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
637
613
|
const _responseText = response.data;
|
|
638
614
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
639
615
|
}
|
|
640
|
-
else if (status === 403) {
|
|
641
|
-
const _responseText = response.data;
|
|
642
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
643
|
-
}
|
|
644
616
|
else if (status !== 200 && status !== 204) {
|
|
645
617
|
const _responseText = response.data;
|
|
646
618
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -702,10 +674,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
702
674
|
const _responseText = response.data;
|
|
703
675
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
704
676
|
}
|
|
705
|
-
else if (status === 403) {
|
|
706
|
-
const _responseText = response.data;
|
|
707
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
708
|
-
}
|
|
709
677
|
else if (status !== 200 && status !== 204) {
|
|
710
678
|
const _responseText = response.data;
|
|
711
679
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -767,10 +735,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
767
735
|
const _responseText = response.data;
|
|
768
736
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
769
737
|
}
|
|
770
|
-
else if (status === 403) {
|
|
771
|
-
const _responseText = response.data;
|
|
772
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
773
|
-
}
|
|
774
738
|
else if (status !== 200 && status !== 204) {
|
|
775
739
|
const _responseText = response.data;
|
|
776
740
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -893,10 +857,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
893
857
|
const _responseText = response.data;
|
|
894
858
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
895
859
|
}
|
|
896
|
-
else if (status === 403) {
|
|
897
|
-
const _responseText = response.data;
|
|
898
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
899
|
-
}
|
|
900
860
|
else if (status !== 200 && status !== 204) {
|
|
901
861
|
const _responseText = response.data;
|
|
902
862
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -954,10 +914,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
954
914
|
const _responseText = response.data;
|
|
955
915
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
956
916
|
}
|
|
957
|
-
else if (status === 403) {
|
|
958
|
-
const _responseText = response.data;
|
|
959
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
960
|
-
}
|
|
961
917
|
else if (status !== 200 && status !== 204) {
|
|
962
918
|
const _responseText = response.data;
|
|
963
919
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1029,10 +985,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1029
985
|
const _responseText = response.data;
|
|
1030
986
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1031
987
|
}
|
|
1032
|
-
else if (status === 403) {
|
|
1033
|
-
const _responseText = response.data;
|
|
1034
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1035
|
-
}
|
|
1036
988
|
else if (status !== 200 && status !== 204) {
|
|
1037
989
|
const _responseText = response.data;
|
|
1038
990
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1100,10 +1052,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1100
1052
|
const _responseText = response.data;
|
|
1101
1053
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1102
1054
|
}
|
|
1103
|
-
else if (status === 403) {
|
|
1104
|
-
const _responseText = response.data;
|
|
1105
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1106
|
-
}
|
|
1107
1055
|
else if (status !== 200 && status !== 204) {
|
|
1108
1056
|
const _responseText = response.data;
|
|
1109
1057
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1226,10 +1174,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1226
1174
|
const _responseText = response.data;
|
|
1227
1175
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1228
1176
|
}
|
|
1229
|
-
else if (status === 403) {
|
|
1230
|
-
const _responseText = response.data;
|
|
1231
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1232
|
-
}
|
|
1233
1177
|
else if (status !== 200 && status !== 204) {
|
|
1234
1178
|
const _responseText = response.data;
|
|
1235
1179
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1301,10 +1245,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1301
1245
|
const _responseText = response.data;
|
|
1302
1246
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1303
1247
|
}
|
|
1304
|
-
else if (status === 403) {
|
|
1305
|
-
const _responseText = response.data;
|
|
1306
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1307
|
-
}
|
|
1308
1248
|
else if (status !== 200 && status !== 204) {
|
|
1309
1249
|
const _responseText = response.data;
|
|
1310
1250
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1366,10 +1306,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1366
1306
|
const _responseText = response.data;
|
|
1367
1307
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1368
1308
|
}
|
|
1369
|
-
else if (status === 403) {
|
|
1370
|
-
const _responseText = response.data;
|
|
1371
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1372
|
-
}
|
|
1373
1309
|
else if (status !== 200 && status !== 204) {
|
|
1374
1310
|
const _responseText = response.data;
|
|
1375
1311
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1431,10 +1367,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1431
1367
|
const _responseText = response.data;
|
|
1432
1368
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1433
1369
|
}
|
|
1434
|
-
else if (status === 403) {
|
|
1435
|
-
const _responseText = response.data;
|
|
1436
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1437
|
-
}
|
|
1438
1370
|
else if (status !== 200 && status !== 204) {
|
|
1439
1371
|
const _responseText = response.data;
|
|
1440
1372
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1496,10 +1428,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1496
1428
|
const _responseText = response.data;
|
|
1497
1429
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1498
1430
|
}
|
|
1499
|
-
else if (status === 403) {
|
|
1500
|
-
const _responseText = response.data;
|
|
1501
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1502
|
-
}
|
|
1503
1431
|
else if (status !== 200 && status !== 204) {
|
|
1504
1432
|
const _responseText = response.data;
|
|
1505
1433
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1561,10 +1489,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1561
1489
|
const _responseText = response.data;
|
|
1562
1490
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1563
1491
|
}
|
|
1564
|
-
else if (status === 403) {
|
|
1565
|
-
const _responseText = response.data;
|
|
1566
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1567
|
-
}
|
|
1568
1492
|
else if (status !== 200 && status !== 204) {
|
|
1569
1493
|
const _responseText = response.data;
|
|
1570
1494
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1626,10 +1550,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1626
1550
|
const _responseText = response.data;
|
|
1627
1551
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1628
1552
|
}
|
|
1629
|
-
else if (status === 403) {
|
|
1630
|
-
const _responseText = response.data;
|
|
1631
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1632
|
-
}
|
|
1633
1553
|
else if (status !== 200 && status !== 204) {
|
|
1634
1554
|
const _responseText = response.data;
|
|
1635
1555
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1691,10 +1611,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1691
1611
|
const _responseText = response.data;
|
|
1692
1612
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1693
1613
|
}
|
|
1694
|
-
else if (status === 403) {
|
|
1695
|
-
const _responseText = response.data;
|
|
1696
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1697
|
-
}
|
|
1698
1614
|
else if (status !== 200 && status !== 204) {
|
|
1699
1615
|
const _responseText = response.data;
|
|
1700
1616
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1756,10 +1672,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1756
1672
|
const _responseText = response.data;
|
|
1757
1673
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1758
1674
|
}
|
|
1759
|
-
else if (status === 403) {
|
|
1760
|
-
const _responseText = response.data;
|
|
1761
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1762
|
-
}
|
|
1763
1675
|
else if (status !== 200 && status !== 204) {
|
|
1764
1676
|
const _responseText = response.data;
|
|
1765
1677
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1821,10 +1733,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1821
1733
|
const _responseText = response.data;
|
|
1822
1734
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1823
1735
|
}
|
|
1824
|
-
else if (status === 403) {
|
|
1825
|
-
const _responseText = response.data;
|
|
1826
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1827
|
-
}
|
|
1828
1736
|
else if (status !== 200 && status !== 204) {
|
|
1829
1737
|
const _responseText = response.data;
|
|
1830
1738
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1886,10 +1794,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1886
1794
|
const _responseText = response.data;
|
|
1887
1795
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1888
1796
|
}
|
|
1889
|
-
else if (status === 403) {
|
|
1890
|
-
const _responseText = response.data;
|
|
1891
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1892
|
-
}
|
|
1893
1797
|
else if (status !== 200 && status !== 204) {
|
|
1894
1798
|
const _responseText = response.data;
|
|
1895
1799
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -1951,10 +1855,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
1951
1855
|
const _responseText = response.data;
|
|
1952
1856
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
1953
1857
|
}
|
|
1954
|
-
else if (status === 403) {
|
|
1955
|
-
const _responseText = response.data;
|
|
1956
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
1957
|
-
}
|
|
1958
1858
|
else if (status !== 200 && status !== 204) {
|
|
1959
1859
|
const _responseText = response.data;
|
|
1960
1860
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2016,10 +1916,6 @@ class DesignAtomsCompatibilityApiClient extends ApiClientBase {
|
|
|
2016
1916
|
const _responseText = response.data;
|
|
2017
1917
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
2018
1918
|
}
|
|
2019
|
-
else if (status === 403) {
|
|
2020
|
-
const _responseText = response.data;
|
|
2021
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
2022
|
-
}
|
|
2023
1919
|
else if (status !== 200 && status !== 204) {
|
|
2024
1920
|
const _responseText = response.data;
|
|
2025
1921
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -2041,7 +1937,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2041
1937
|
* Renders a preview of an image with the specified parameters.
|
|
2042
1938
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2043
1939
|
(default value is 'false').
|
|
2044
|
-
* @param tenantId (optional) Tenant
|
|
1940
|
+
* @param tenantId (optional) Tenant ID.
|
|
2045
1941
|
* @param body (optional) Render model with preview parameters.
|
|
2046
1942
|
* @return Success
|
|
2047
1943
|
*/
|
|
@@ -2120,7 +2016,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2120
2016
|
* Renders a preview of an uploaded image with the specified parameters.
|
|
2121
2017
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2122
2018
|
(default value is 'false').
|
|
2123
|
-
* @param tenantId (optional) Tenant
|
|
2019
|
+
* @param tenantId (optional) Tenant ID.
|
|
2124
2020
|
* @param sourceFile (optional)
|
|
2125
2021
|
* @param mockupOwnerId (optional)
|
|
2126
2022
|
* @param mockupId (optional)
|
|
@@ -2216,7 +2112,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2216
2112
|
}
|
|
2217
2113
|
/**
|
|
2218
2114
|
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
2219
|
-
* @param tenantId (optional) Tenant
|
|
2115
|
+
* @param tenantId (optional) Tenant ID.
|
|
2220
2116
|
* @param resourceOwnerId (optional)
|
|
2221
2117
|
* @param resourceNamespace (optional)
|
|
2222
2118
|
* @param resourceName (optional)
|
|
@@ -2340,7 +2236,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2340
2236
|
* Renders a preview of a web image with the specified parameters.
|
|
2341
2237
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
2342
2238
|
(default value is 'false').
|
|
2343
|
-
* @param tenantId (optional) Tenant
|
|
2239
|
+
* @param tenantId (optional) Tenant ID.
|
|
2344
2240
|
* @param body (optional) Render model with preview parameters.
|
|
2345
2241
|
* @return Success
|
|
2346
2242
|
*/
|
|
@@ -2417,7 +2313,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2417
2313
|
}
|
|
2418
2314
|
/**
|
|
2419
2315
|
* Renders a preview of a web image with the specified parameters and saves rendering result as resource.
|
|
2420
|
-
* @param tenantId (optional) Tenant
|
|
2316
|
+
* @param tenantId (optional) Tenant ID.
|
|
2421
2317
|
* @param body (optional) Render model with preview parameters.
|
|
2422
2318
|
* @return Success
|
|
2423
2319
|
*/
|
|
@@ -2499,7 +2395,7 @@ class DesignAtomsImagesApiClient extends ApiClientBase {
|
|
|
2499
2395
|
}
|
|
2500
2396
|
/**
|
|
2501
2397
|
* Renders a preview of an image with the specified parameters and saves rendering result as resource.
|
|
2502
|
-
* @param tenantId (optional) Tenant
|
|
2398
|
+
* @param tenantId (optional) Tenant ID.
|
|
2503
2399
|
* @param body (optional) Render model with preview parameters.
|
|
2504
2400
|
* @return Success
|
|
2505
2401
|
*/
|
|
@@ -2594,7 +2490,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2594
2490
|
* Returns a 3D-Mockup attributes.
|
|
2595
2491
|
* @param id 3D-Mockup identifier.
|
|
2596
2492
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2597
|
-
* @param tenantId (optional) Tenant
|
|
2493
|
+
* @param tenantId (optional) Tenant ID.
|
|
2598
2494
|
* @return Success
|
|
2599
2495
|
*/
|
|
2600
2496
|
getAttributes(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2679,7 +2575,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2679
2575
|
* Returns a 3D-Mockup content as protobuf binary stream.
|
|
2680
2576
|
* @param id 3D-Mockup identifier.
|
|
2681
2577
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2682
|
-
* @param tenantId (optional) Tenant
|
|
2578
|
+
* @param tenantId (optional) Tenant ID.
|
|
2683
2579
|
* @return Success
|
|
2684
2580
|
*/
|
|
2685
2581
|
getContentAsProtobuf(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2764,7 +2660,7 @@ class DesignAtomsMockups3dApiClient extends ApiClientBase {
|
|
|
2764
2660
|
* Returns a 3D-Mockup geometry as binary stream.
|
|
2765
2661
|
* @param id 3D-Mockup identifier.
|
|
2766
2662
|
* @param ownerId (optional) Private mockup owner identifier.
|
|
2767
|
-
* @param tenantId (optional) Tenant
|
|
2663
|
+
* @param tenantId (optional) Tenant ID.
|
|
2768
2664
|
* @return Success
|
|
2769
2665
|
*/
|
|
2770
2666
|
getGeometryFile(id, ownerId, tenantId, cancelToken) {
|
|
@@ -2859,7 +2755,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
2859
2755
|
/**
|
|
2860
2756
|
* Returns a closest color to provided color in a specified palette.
|
|
2861
2757
|
* @param paletteUID (optional) Palette UID.
|
|
2862
|
-
* @param tenantId (optional) Tenant
|
|
2758
|
+
* @param tenantId (optional) Tenant ID.
|
|
2863
2759
|
* @param body (optional) Source color.
|
|
2864
2760
|
* @return Success
|
|
2865
2761
|
*/
|
|
@@ -2952,7 +2848,7 @@ class DesignAtomsPalettesApiClient extends ApiClientBase {
|
|
|
2952
2848
|
* Returns a serialized palette model by its identifier or UID.
|
|
2953
2849
|
* @param id (optional) Palette identifier.
|
|
2954
2850
|
* @param uid (optional) Palette UID.
|
|
2955
|
-
* @param tenantId (optional) Tenant
|
|
2851
|
+
* @param tenantId (optional) Tenant ID.
|
|
2956
2852
|
* @return Success
|
|
2957
2853
|
*/
|
|
2958
2854
|
getPaletteModel(id, uid, tenantId, cancelToken) {
|
|
@@ -3054,7 +2950,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3054
2950
|
* Patches a print-product of the specified design file.
|
|
3055
2951
|
* @param id Design identifier.
|
|
3056
2952
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3057
|
-
* @param tenantId (optional) Tenant
|
|
2953
|
+
* @param tenantId (optional) Tenant ID.
|
|
3058
2954
|
* @param patchType (optional)
|
|
3059
2955
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
3060
2956
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -3076,9 +2972,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3076
2972
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
3077
2973
|
url_ = url_.replace(/[?&]$/, "");
|
|
3078
2974
|
const content_ = new FormData();
|
|
3079
|
-
if (patchType
|
|
3080
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
3081
|
-
else
|
|
2975
|
+
if (patchType !== null && patchType !== undefined)
|
|
3082
2976
|
content_.append("patchType", patchType.toString());
|
|
3083
2977
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
3084
2978
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -3086,9 +2980,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3086
2980
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
3087
2981
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
3088
2982
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
3089
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
3090
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
3091
|
-
else
|
|
2983
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
3092
2984
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
3093
2985
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
3094
2986
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -3152,7 +3044,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3152
3044
|
* @param id Design identifier.
|
|
3153
3045
|
* @param surfaceId (optional) Print-product surface identifier.
|
|
3154
3046
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3155
|
-
* @param tenantId (optional) Tenant
|
|
3047
|
+
* @param tenantId (optional) Tenant ID.
|
|
3156
3048
|
* @return Success
|
|
3157
3049
|
*/
|
|
3158
3050
|
getDesignSurfaceContainers(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3233,7 +3125,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3233
3125
|
* @param id Design identifier.
|
|
3234
3126
|
* @param containerId Print-product container identifier.
|
|
3235
3127
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3236
|
-
* @param tenantId (optional) Tenant
|
|
3128
|
+
* @param tenantId (optional) Tenant ID.
|
|
3237
3129
|
* @return No Content
|
|
3238
3130
|
*/
|
|
3239
3131
|
deleteDesignSurfaceContainer(id, containerId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3317,7 +3209,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3317
3209
|
* @param id Design identifier.
|
|
3318
3210
|
* @param containerId Print-product container identifier.
|
|
3319
3211
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3320
|
-
* @param tenantId (optional) Tenant
|
|
3212
|
+
* @param tenantId (optional) Tenant ID.
|
|
3321
3213
|
* @return Success
|
|
3322
3214
|
*/
|
|
3323
3215
|
getDesignSurfaceContainerModel(id, containerId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3406,7 +3298,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3406
3298
|
* @param id Design identifier.
|
|
3407
3299
|
* @param containerId Print-product container identifier.
|
|
3408
3300
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3409
|
-
* @param tenantId (optional) Tenant
|
|
3301
|
+
* @param tenantId (optional) Tenant ID.
|
|
3410
3302
|
* @param body (optional) Json-serialized model of a print-product container.
|
|
3411
3303
|
* @return Success
|
|
3412
3304
|
*/
|
|
@@ -3510,7 +3402,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3510
3402
|
* @param top (optional) Y axis position.
|
|
3511
3403
|
* @param left (optional) X axis position.
|
|
3512
3404
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3513
|
-
* @param tenantId (optional) Tenant
|
|
3405
|
+
* @param tenantId (optional) Tenant ID.
|
|
3514
3406
|
* @param body (optional) Json-serialized model of a new print-product container.
|
|
3515
3407
|
* @return Success
|
|
3516
3408
|
*/
|
|
@@ -3614,7 +3506,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3614
3506
|
* @param containerId (optional) Print-product container identifier.
|
|
3615
3507
|
* @param parentItemId (optional) Print-product item identifier.
|
|
3616
3508
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3617
|
-
* @param tenantId (optional) Tenant
|
|
3509
|
+
* @param tenantId (optional) Tenant ID.
|
|
3618
3510
|
* @return Success
|
|
3619
3511
|
*/
|
|
3620
3512
|
getDesignSurfaceItems(id, surfaceId, containerId, parentItemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3699,7 +3591,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3699
3591
|
* @param id Design identifier.
|
|
3700
3592
|
* @param itemId Print-product item identifier.
|
|
3701
3593
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3702
|
-
* @param tenantId (optional) Tenant
|
|
3594
|
+
* @param tenantId (optional) Tenant ID.
|
|
3703
3595
|
* @return No Content
|
|
3704
3596
|
*/
|
|
3705
3597
|
deleteDesignSurfaceItem(id, itemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3783,7 +3675,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3783
3675
|
* @param id Design identifier.
|
|
3784
3676
|
* @param itemId Print-product item identifier.
|
|
3785
3677
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3786
|
-
* @param tenantId (optional) Tenant
|
|
3678
|
+
* @param tenantId (optional) Tenant ID.
|
|
3787
3679
|
* @return Success
|
|
3788
3680
|
*/
|
|
3789
3681
|
getDesignSurfaceItemModel(id, itemId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -3872,7 +3764,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3872
3764
|
* @param id Design identifier.
|
|
3873
3765
|
* @param itemId Print-product item identifier.
|
|
3874
3766
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3875
|
-
* @param tenantId (optional) Tenant
|
|
3767
|
+
* @param tenantId (optional) Tenant ID.
|
|
3876
3768
|
* @param body (optional) Json-serialized model of a print-product item.
|
|
3877
3769
|
* @return Success
|
|
3878
3770
|
*/
|
|
@@ -3976,7 +3868,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
3976
3868
|
* @param top (optional) Y axis position.
|
|
3977
3869
|
* @param left (optional) X axis position.
|
|
3978
3870
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
3979
|
-
* @param tenantId (optional) Tenant
|
|
3871
|
+
* @param tenantId (optional) Tenant ID.
|
|
3980
3872
|
* @param body (optional) Json-serialized model of a new print-product item.
|
|
3981
3873
|
* @return Success
|
|
3982
3874
|
*/
|
|
@@ -4077,7 +3969,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4077
3969
|
* Returns a print-product of the specified design file as a json-serialized model.
|
|
4078
3970
|
* @param id Design identifier.
|
|
4079
3971
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4080
|
-
* @param tenantId (optional) Tenant
|
|
3972
|
+
* @param tenantId (optional) Tenant ID.
|
|
4081
3973
|
* @return Success
|
|
4082
3974
|
*/
|
|
4083
3975
|
getDesignProductModel(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4155,7 +4047,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4155
4047
|
* Updates a print-product provided as a json-serialized model is the specified design file.
|
|
4156
4048
|
* @param id Design identifier.
|
|
4157
4049
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4158
|
-
* @param tenantId (optional) Tenant
|
|
4050
|
+
* @param tenantId (optional) Tenant ID.
|
|
4159
4051
|
* @param body (optional) Json-serialized model of a print-product .
|
|
4160
4052
|
* @return No Content
|
|
4161
4053
|
*/
|
|
@@ -4234,7 +4126,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4234
4126
|
* @param id Design identifier.
|
|
4235
4127
|
* @param surfaceId (optional)
|
|
4236
4128
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4237
|
-
* @param tenantId (optional) Tenant
|
|
4129
|
+
* @param tenantId (optional) Tenant ID.
|
|
4238
4130
|
* @return Success
|
|
4239
4131
|
*/
|
|
4240
4132
|
getDesignPrintAreas(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4315,7 +4207,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4315
4207
|
Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
|
|
4316
4208
|
* @param id Design identifier.
|
|
4317
4209
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4318
|
-
* @param tenantId (optional) Tenant
|
|
4210
|
+
* @param tenantId (optional) Tenant ID.
|
|
4319
4211
|
* @param body (optional) Print-area description model.
|
|
4320
4212
|
* @return Success
|
|
4321
4213
|
*/
|
|
@@ -4405,7 +4297,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4405
4297
|
* @param id Design identifier.
|
|
4406
4298
|
* @param printAreaId Design print-area identifier.
|
|
4407
4299
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4408
|
-
* @param tenantId (optional) Tenant
|
|
4300
|
+
* @param tenantId (optional) Tenant ID.
|
|
4409
4301
|
* @param body (optional) Print-area description model.
|
|
4410
4302
|
* @return Success
|
|
4411
4303
|
*/
|
|
@@ -4505,7 +4397,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4505
4397
|
* @param id Design identifier.
|
|
4506
4398
|
* @param printAreaId Design print-area identifier.
|
|
4507
4399
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4508
|
-
* @param tenantId (optional) Tenant
|
|
4400
|
+
* @param tenantId (optional) Tenant ID.
|
|
4509
4401
|
* @return No Content
|
|
4510
4402
|
*/
|
|
4511
4403
|
deleteDesignPrintArea(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4589,7 +4481,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4589
4481
|
* @param id Design identifier.
|
|
4590
4482
|
* @param printAreaId Design print-area identifier.
|
|
4591
4483
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4592
|
-
* @param tenantId (optional) Tenant
|
|
4484
|
+
* @param tenantId (optional) Tenant ID.
|
|
4593
4485
|
* @return Success
|
|
4594
4486
|
*/
|
|
4595
4487
|
getDesignPrintAreaModel(id, printAreaId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4678,7 +4570,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4678
4570
|
* @param id Design identifier.
|
|
4679
4571
|
* @param printAreaId Design print-area identifier.
|
|
4680
4572
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4681
|
-
* @param tenantId (optional) Tenant
|
|
4573
|
+
* @param tenantId (optional) Tenant ID.
|
|
4682
4574
|
* @param body (optional) Json-serialized model of a print-area.
|
|
4683
4575
|
* @return Success
|
|
4684
4576
|
*/
|
|
@@ -4779,7 +4671,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4779
4671
|
* @param id Design identifier.
|
|
4780
4672
|
* @param surfaceId (optional) Parent surface identifier.
|
|
4781
4673
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4782
|
-
* @param tenantId (optional) Tenant
|
|
4674
|
+
* @param tenantId (optional) Tenant ID.
|
|
4783
4675
|
* @param body (optional) Json serialized model of a print-area.
|
|
4784
4676
|
* @return Success
|
|
4785
4677
|
*/
|
|
@@ -4870,7 +4762,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4870
4762
|
* Returns a list of print-product surfaces descriptions of the specified design file.
|
|
4871
4763
|
* @param id Design identifier.
|
|
4872
4764
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4873
|
-
* @param tenantId (optional) Tenant
|
|
4765
|
+
* @param tenantId (optional) Tenant ID.
|
|
4874
4766
|
* @return Success
|
|
4875
4767
|
*/
|
|
4876
4768
|
getDesignSurfaces(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -4949,7 +4841,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
4949
4841
|
* @param id Design identifier.
|
|
4950
4842
|
* @param surfaceId Print-product surface identifier.
|
|
4951
4843
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
4952
|
-
* @param tenantId (optional) Tenant
|
|
4844
|
+
* @param tenantId (optional) Tenant ID.
|
|
4953
4845
|
* @return No Content
|
|
4954
4846
|
*/
|
|
4955
4847
|
deleteDesignSurface(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5033,7 +4925,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5033
4925
|
* @param id Design identifier.
|
|
5034
4926
|
* @param surfaceId Print product surface identifier.
|
|
5035
4927
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5036
|
-
* @param tenantId (optional) Tenant
|
|
4928
|
+
* @param tenantId (optional) Tenant ID.
|
|
5037
4929
|
* @return Success
|
|
5038
4930
|
*/
|
|
5039
4931
|
getDesignSurfaceDownMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5129,7 +5021,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5129
5021
|
* @param id Design identifier.
|
|
5130
5022
|
* @param surfaceId Print-product surface identifier.
|
|
5131
5023
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5132
|
-
* @param tenantId (optional) Tenant
|
|
5024
|
+
* @param tenantId (optional) Tenant ID.
|
|
5133
5025
|
* @param position_top (optional)
|
|
5134
5026
|
* @param position_left (optional)
|
|
5135
5027
|
* @param sourceFile (optional)
|
|
@@ -5240,7 +5132,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5240
5132
|
* @param id Design identifier.
|
|
5241
5133
|
* @param surfaceId Print-product surface identifier.
|
|
5242
5134
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5243
|
-
* @param tenantId (optional) Tenant
|
|
5135
|
+
* @param tenantId (optional) Tenant ID.
|
|
5244
5136
|
* @return Success
|
|
5245
5137
|
*/
|
|
5246
5138
|
getDesignSurfaceDownMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5336,7 +5228,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5336
5228
|
* @param id Design identifier.
|
|
5337
5229
|
* @param surfaceId Print-product surface identifier.
|
|
5338
5230
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5339
|
-
* @param tenantId (optional) Tenant
|
|
5231
|
+
* @param tenantId (optional) Tenant ID.
|
|
5340
5232
|
* @return Success
|
|
5341
5233
|
*/
|
|
5342
5234
|
getDesignSurfaceUpMockup(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5432,7 +5324,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5432
5324
|
* @param id Design identifier.
|
|
5433
5325
|
* @param surfaceId Print-product surface identifier.
|
|
5434
5326
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5435
|
-
* @param tenantId (optional) Tenant
|
|
5327
|
+
* @param tenantId (optional) Tenant ID.
|
|
5436
5328
|
* @param position_top (optional)
|
|
5437
5329
|
* @param position_left (optional)
|
|
5438
5330
|
* @param sourceFile (optional)
|
|
@@ -5543,7 +5435,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5543
5435
|
* @param id Design identifier.
|
|
5544
5436
|
* @param surfaceId Print-product surface identifier.
|
|
5545
5437
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5546
|
-
* @param tenantId (optional) Tenant
|
|
5438
|
+
* @param tenantId (optional) Tenant ID.
|
|
5547
5439
|
* @return Success
|
|
5548
5440
|
*/
|
|
5549
5441
|
getDesignSurfaceUpMockupContent(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5639,7 +5531,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5639
5531
|
* @param id Design identifier.
|
|
5640
5532
|
* @param surfaceId Surface identifier.
|
|
5641
5533
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5642
|
-
* @param tenantId (optional) Tenant
|
|
5534
|
+
* @param tenantId (optional) Tenant ID.
|
|
5643
5535
|
* @return Success
|
|
5644
5536
|
*/
|
|
5645
5537
|
getDesignSurfaceModel(id, surfaceId, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -5729,7 +5621,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5729
5621
|
* @param id Design identifier.
|
|
5730
5622
|
* @param surfaceId Print-product surface identifier.
|
|
5731
5623
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5732
|
-
* @param tenantId (optional) Tenant
|
|
5624
|
+
* @param tenantId (optional) Tenant ID.
|
|
5733
5625
|
* @param body (optional) Json-serialized model of a print-product surface.
|
|
5734
5626
|
* @return Success
|
|
5735
5627
|
*/
|
|
@@ -5830,7 +5722,7 @@ class DesignAtomsPrintProductApiClient extends ApiClientBase {
|
|
|
5830
5722
|
* @param id Design identifier.
|
|
5831
5723
|
* @param index (optional) Surface index within the surfaces list of a design.
|
|
5832
5724
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
5833
|
-
* @param tenantId (optional) Tenant
|
|
5725
|
+
* @param tenantId (optional) Tenant ID.
|
|
5834
5726
|
* @param body (optional) Json-serialized model of a print-prouduct surface.
|
|
5835
5727
|
* @return Success
|
|
5836
5728
|
*/
|
|
@@ -5930,7 +5822,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
5930
5822
|
}
|
|
5931
5823
|
/**
|
|
5932
5824
|
* Apply effects to print-product item image.
|
|
5933
|
-
* @param tenantId (optional) Tenant
|
|
5825
|
+
* @param tenantId (optional) Tenant ID.
|
|
5934
5826
|
* @param body (optional)
|
|
5935
5827
|
* @return Success
|
|
5936
5828
|
*/
|
|
@@ -5998,7 +5890,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
5998
5890
|
}
|
|
5999
5891
|
/**
|
|
6000
5892
|
* Extracts print-product item image.
|
|
6001
|
-
* @param tenantId (optional) Tenant
|
|
5893
|
+
* @param tenantId (optional) Tenant ID.
|
|
6002
5894
|
* @param body (optional) Extraction parameters.
|
|
6003
5895
|
* @return Success
|
|
6004
5896
|
*/
|
|
@@ -6067,7 +5959,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6067
5959
|
/**
|
|
6068
5960
|
* Flattens print-product items.
|
|
6069
5961
|
* @param paletteUID (optional)
|
|
6070
|
-
* @param tenantId (optional) Tenant
|
|
5962
|
+
* @param tenantId (optional) Tenant ID.
|
|
6071
5963
|
* @param body (optional) List of print-product items to flatten.
|
|
6072
5964
|
* @return Success
|
|
6073
5965
|
*/
|
|
@@ -6138,7 +6030,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6138
6030
|
/**
|
|
6139
6031
|
* Creates print-product item from input image file.
|
|
6140
6032
|
* @param itemType (optional) Desired item type.
|
|
6141
|
-
* @param tenantId (optional) Tenant
|
|
6033
|
+
* @param tenantId (optional) Tenant ID.
|
|
6142
6034
|
* @param sourceFile (optional)
|
|
6143
6035
|
* @param paletteUID (optional)
|
|
6144
6036
|
* @param preserveOriginalFile (optional)
|
|
@@ -6230,7 +6122,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6230
6122
|
/**
|
|
6231
6123
|
* Creates multiple print-product items from input image files.
|
|
6232
6124
|
* @param itemType (optional) Desired print-product items type.
|
|
6233
|
-
* @param tenantId (optional) Tenant
|
|
6125
|
+
* @param tenantId (optional) Tenant ID.
|
|
6234
6126
|
* @param sourceFiles (optional)
|
|
6235
6127
|
* @param paletteUID (optional)
|
|
6236
6128
|
* @param preserveOriginalFile (optional)
|
|
@@ -6322,7 +6214,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6322
6214
|
/**
|
|
6323
6215
|
* Creates print-product item from image file taken from storage.
|
|
6324
6216
|
* @param itemType (optional) Desired item type.
|
|
6325
|
-
* @param tenantId (optional) Tenant
|
|
6217
|
+
* @param tenantId (optional) Tenant ID.
|
|
6326
6218
|
* @param body (optional) Operation parameters.
|
|
6327
6219
|
* @return Success
|
|
6328
6220
|
*/
|
|
@@ -6407,7 +6299,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6407
6299
|
/**
|
|
6408
6300
|
* Creates multiple print-product items from the specified image files in storage.
|
|
6409
6301
|
* @param itemType (optional) Desired items type.
|
|
6410
|
-
* @param tenantId (optional) Tenant
|
|
6302
|
+
* @param tenantId (optional) Tenant ID.
|
|
6411
6303
|
* @param body (optional) Operation parameters.
|
|
6412
6304
|
* @return Success
|
|
6413
6305
|
*/
|
|
@@ -6492,7 +6384,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6492
6384
|
/**
|
|
6493
6385
|
* Creates print-product item from remote web image provided by URL.
|
|
6494
6386
|
* @param itemType (optional) Desired item type.
|
|
6495
|
-
* @param tenantId (optional) Tenant
|
|
6387
|
+
* @param tenantId (optional) Tenant ID.
|
|
6496
6388
|
* @param body (optional) Operation parameters.
|
|
6497
6389
|
* @return Success
|
|
6498
6390
|
*/
|
|
@@ -6577,7 +6469,7 @@ class DesignAtomsPrintProductItemsApiClient extends ApiClientBase {
|
|
|
6577
6469
|
/**
|
|
6578
6470
|
* Creates multiple print-product items from remote web images provided by URLs list.
|
|
6579
6471
|
* @param itemType (optional) Desired items type.
|
|
6580
|
-
* @param tenantId (optional) Tenant
|
|
6472
|
+
* @param tenantId (optional) Tenant ID.
|
|
6581
6473
|
* @param body (optional) Operation parameters.
|
|
6582
6474
|
* @return Success
|
|
6583
6475
|
*/
|
|
@@ -6673,7 +6565,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6673
6565
|
/**
|
|
6674
6566
|
* Creates new design file with specified parameters and saves it in storage.
|
|
6675
6567
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6676
|
-
* @param tenantId (optional) Tenant
|
|
6568
|
+
* @param tenantId (optional) Tenant ID.
|
|
6677
6569
|
* @param body (optional) Design creation parameters.
|
|
6678
6570
|
* @return Created
|
|
6679
6571
|
*/
|
|
@@ -6752,7 +6644,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6752
6644
|
* Applies item data for a specified design file taken from storage.
|
|
6753
6645
|
* @param id Design identifier.
|
|
6754
6646
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6755
|
-
* @param tenantId (optional) Tenant
|
|
6647
|
+
* @param tenantId (optional) Tenant ID.
|
|
6756
6648
|
* @param body (optional) Design items data.
|
|
6757
6649
|
* @return Success
|
|
6758
6650
|
*/
|
|
@@ -6838,7 +6730,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6838
6730
|
* @param id Design identifier.
|
|
6839
6731
|
* @param surfaceIndex (optional) Surface index.
|
|
6840
6732
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6841
|
-
* @param tenantId (optional) Tenant
|
|
6733
|
+
* @param tenantId (optional) Tenant ID.
|
|
6842
6734
|
* @return Success
|
|
6843
6735
|
*/
|
|
6844
6736
|
extractBackground(id, surfaceIndex, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -6925,7 +6817,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
6925
6817
|
* Sets specified editor-mockups for selected design surfaces.
|
|
6926
6818
|
* @param id Design identifier.
|
|
6927
6819
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
6928
|
-
* @param tenantId (optional) Tenant
|
|
6820
|
+
* @param tenantId (optional) Tenant ID.
|
|
6929
6821
|
* @param body (optional) Operation parameters.
|
|
6930
6822
|
* @return No Content
|
|
6931
6823
|
*/
|
|
@@ -7010,7 +6902,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7010
6902
|
* Returns design parameters stored in product model.
|
|
7011
6903
|
* @param id Design identifier.
|
|
7012
6904
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7013
|
-
* @param tenantId (optional) Tenant
|
|
6905
|
+
* @param tenantId (optional) Tenant ID.
|
|
7014
6906
|
* @return Success
|
|
7015
6907
|
*/
|
|
7016
6908
|
getDesignParameters(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7088,7 +6980,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7088
6980
|
* Loads a data schema from design file taken from storage.
|
|
7089
6981
|
* @param id Design identifier.
|
|
7090
6982
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7091
|
-
* @param tenantId (optional) Tenant
|
|
6983
|
+
* @param tenantId (optional) Tenant ID.
|
|
7092
6984
|
* @return Success
|
|
7093
6985
|
*/
|
|
7094
6986
|
loadDataSchema(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7173,7 +7065,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7173
7065
|
* Loads a toggle set from design file taken from storage.
|
|
7174
7066
|
* @param id Design identifier.
|
|
7175
7067
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7176
|
-
* @param tenantId (optional) Tenant
|
|
7068
|
+
* @param tenantId (optional) Tenant ID.
|
|
7177
7069
|
* @return Success
|
|
7178
7070
|
*/
|
|
7179
7071
|
loadToggleSet(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7258,7 +7150,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7258
7150
|
* Returns variable items information for design file taken from storage.
|
|
7259
7151
|
* @param id Design identifier.
|
|
7260
7152
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7261
|
-
* @param tenantId (optional) Tenant
|
|
7153
|
+
* @param tenantId (optional) Tenant ID.
|
|
7262
7154
|
* @return Success
|
|
7263
7155
|
*/
|
|
7264
7156
|
getVariables(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7336,7 +7228,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7336
7228
|
* Saves variable items values for design file taken from storage.
|
|
7337
7229
|
* @param id Design identifier.
|
|
7338
7230
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7339
|
-
* @param tenantId (optional) Tenant
|
|
7231
|
+
* @param tenantId (optional) Tenant ID.
|
|
7340
7232
|
* @param body (optional) Design variable values.
|
|
7341
7233
|
* @return Success
|
|
7342
7234
|
*/
|
|
@@ -7421,7 +7313,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7421
7313
|
* Loads variable data printing information from design file taken from storage.
|
|
7422
7314
|
* @param id Design identifier.
|
|
7423
7315
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7424
|
-
* @param tenantId (optional) Tenant
|
|
7316
|
+
* @param tenantId (optional) Tenant ID.
|
|
7425
7317
|
* @return Success
|
|
7426
7318
|
*/
|
|
7427
7319
|
loadVdpData(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7506,7 +7398,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7506
7398
|
* Saves variable data printing information to design file and updates design in storage.
|
|
7507
7399
|
* @param id Design identifier.
|
|
7508
7400
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7509
|
-
* @param tenantId (optional) Tenant
|
|
7401
|
+
* @param tenantId (optional) Tenant ID.
|
|
7510
7402
|
* @param body (optional) Serialized vdp data.
|
|
7511
7403
|
* @return Success
|
|
7512
7404
|
*/
|
|
@@ -7584,7 +7476,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7584
7476
|
* Deletes variable data printing information from design file and updates design file in storage.
|
|
7585
7477
|
* @param id Design identifier.
|
|
7586
7478
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7587
|
-
* @param tenantId (optional) Tenant
|
|
7479
|
+
* @param tenantId (optional) Tenant ID.
|
|
7588
7480
|
* @return Success
|
|
7589
7481
|
*/
|
|
7590
7482
|
deleteVdpData(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7655,7 +7547,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7655
7547
|
}
|
|
7656
7548
|
/**
|
|
7657
7549
|
* Converts colors for print-product item manipulations.
|
|
7658
|
-
* @param tenantId (optional) Tenant
|
|
7550
|
+
* @param tenantId (optional) Tenant ID.
|
|
7659
7551
|
* @param body (optional) Convert colors operation parameters.
|
|
7660
7552
|
* @return Success
|
|
7661
7553
|
*/
|
|
@@ -7732,7 +7624,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7732
7624
|
* Loads print-product from resource file taken from storage.
|
|
7733
7625
|
* @param id (optional) Resource identifier.
|
|
7734
7626
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
7735
|
-
* @param tenantId (optional) Tenant
|
|
7627
|
+
* @param tenantId (optional) Tenant ID.
|
|
7736
7628
|
* @return Success
|
|
7737
7629
|
*/
|
|
7738
7630
|
loadProductFromResource(id, privateStorageOwner, tenantId, cancelToken) {
|
|
@@ -7816,7 +7708,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7816
7708
|
* Renders a product proof image with specified parameters.
|
|
7817
7709
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
7818
7710
|
(default value is 'false').
|
|
7819
|
-
* @param tenantId (optional) Tenant
|
|
7711
|
+
* @param tenantId (optional) Tenant ID.
|
|
7820
7712
|
* @param body (optional) Preview parameters.
|
|
7821
7713
|
* @return Success
|
|
7822
7714
|
*/
|
|
@@ -7888,7 +7780,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7888
7780
|
* Renders a design preview with the specified parameters.
|
|
7889
7781
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
7890
7782
|
(default value is 'false').
|
|
7891
|
-
* @param tenantId (optional) Tenant
|
|
7783
|
+
* @param tenantId (optional) Tenant ID.
|
|
7892
7784
|
* @param body (optional) Render model with preview parameters.
|
|
7893
7785
|
* @return Success
|
|
7894
7786
|
*/
|
|
@@ -7958,7 +7850,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
7958
7850
|
}
|
|
7959
7851
|
/**
|
|
7960
7852
|
* Renders a design preview with the specified parameters and saves rendering result as resource.
|
|
7961
|
-
* @param tenantId (optional) Tenant
|
|
7853
|
+
* @param tenantId (optional) Tenant ID.
|
|
7962
7854
|
* @param body (optional) Render model with preview parameters.
|
|
7963
7855
|
* @return Success
|
|
7964
7856
|
*/
|
|
@@ -8042,7 +7934,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8042
7934
|
* Renders a design proof with the specified parameters.
|
|
8043
7935
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
8044
7936
|
(default value is 'false').
|
|
8045
|
-
* @param tenantId (optional) Tenant
|
|
7937
|
+
* @param tenantId (optional) Tenant ID.
|
|
8046
7938
|
* @param body (optional) Render model with proof parameters.
|
|
8047
7939
|
* @return Success
|
|
8048
7940
|
*/
|
|
@@ -8119,7 +8011,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8119
8011
|
}
|
|
8120
8012
|
/**
|
|
8121
8013
|
* Renders a design proof with the specified parameters and saves rendering result as resource.
|
|
8122
|
-
* @param tenantId (optional) Tenant
|
|
8014
|
+
* @param tenantId (optional) Tenant ID.
|
|
8123
8015
|
* @param body (optional) Render model with preview parameters.
|
|
8124
8016
|
* @return Success
|
|
8125
8017
|
*/
|
|
@@ -8196,7 +8088,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8196
8088
|
* Loads print-product from design file taken from storage.
|
|
8197
8089
|
* @param id Design identifier.
|
|
8198
8090
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8199
|
-
* @param tenantId (optional) Tenant
|
|
8091
|
+
* @param tenantId (optional) Tenant ID.
|
|
8200
8092
|
* @return Success
|
|
8201
8093
|
* @deprecated
|
|
8202
8094
|
*/
|
|
@@ -8275,7 +8167,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8275
8167
|
* Saves print-product to design file and updates design file in storage.
|
|
8276
8168
|
* @param id Design identifier.
|
|
8277
8169
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8278
|
-
* @param tenantId (optional) Tenant
|
|
8170
|
+
* @param tenantId (optional) Tenant ID.
|
|
8279
8171
|
* @param body (optional) Serialized product description.
|
|
8280
8172
|
* @return Success
|
|
8281
8173
|
* @deprecated
|
|
@@ -8354,7 +8246,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8354
8246
|
* Patches print-product in design file.
|
|
8355
8247
|
* @param id Design identifier.
|
|
8356
8248
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8357
|
-
* @param tenantId (optional) Tenant
|
|
8249
|
+
* @param tenantId (optional) Tenant ID.
|
|
8358
8250
|
* @param patchType (optional)
|
|
8359
8251
|
* @param replaceImageItemFileInfo_itemName (optional)
|
|
8360
8252
|
* @param replaceImageItemFileInfo_sourceFile (optional)
|
|
@@ -8377,9 +8269,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8377
8269
|
url_ += "tenantId=" + encodeURIComponent("" + tenantId) + "&";
|
|
8378
8270
|
url_ = url_.replace(/[?&]$/, "");
|
|
8379
8271
|
const content_ = new FormData();
|
|
8380
|
-
if (patchType
|
|
8381
|
-
throw new Error("The parameter 'patchType' cannot be null.");
|
|
8382
|
-
else
|
|
8272
|
+
if (patchType !== null && patchType !== undefined)
|
|
8383
8273
|
content_.append("patchType", patchType.toString());
|
|
8384
8274
|
if (replaceImageItemFileInfo_itemName !== null && replaceImageItemFileInfo_itemName !== undefined)
|
|
8385
8275
|
content_.append("replaceImageItemFileInfo.itemName", replaceImageItemFileInfo_itemName.toString());
|
|
@@ -8387,9 +8277,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8387
8277
|
content_.append("replaceImageItemFileInfo.sourceFile", replaceImageItemFileInfo_sourceFile.data, replaceImageItemFileInfo_sourceFile.fileName ? replaceImageItemFileInfo_sourceFile.fileName : "replaceImageItemFileInfo.sourceFile");
|
|
8388
8278
|
if (replacePlaceholderItemContentInfo_placeholderItemName !== null && replacePlaceholderItemContentInfo_placeholderItemName !== undefined)
|
|
8389
8279
|
content_.append("replacePlaceholderItemContentInfo.placeholderItemName", replacePlaceholderItemContentInfo_placeholderItemName.toString());
|
|
8390
|
-
if (replacePlaceholderItemContentInfo_newContentType
|
|
8391
|
-
throw new Error("The parameter 'replacePlaceholderItemContentInfo_newContentType' cannot be null.");
|
|
8392
|
-
else
|
|
8280
|
+
if (replacePlaceholderItemContentInfo_newContentType !== null && replacePlaceholderItemContentInfo_newContentType !== undefined)
|
|
8393
8281
|
content_.append("replacePlaceholderItemContentInfo.newContentType", replacePlaceholderItemContentInfo_newContentType.toString());
|
|
8394
8282
|
if (replacePlaceholderItemContentInfo_sourceFile !== null && replacePlaceholderItemContentInfo_sourceFile !== undefined)
|
|
8395
8283
|
content_.append("replacePlaceholderItemContentInfo.sourceFile", replacePlaceholderItemContentInfo_sourceFile.data, replacePlaceholderItemContentInfo_sourceFile.fileName ? replacePlaceholderItemContentInfo_sourceFile.fileName : "replacePlaceholderItemContentInfo.sourceFile");
|
|
@@ -8451,7 +8339,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8451
8339
|
/**
|
|
8452
8340
|
* Creates print-product item.
|
|
8453
8341
|
* @param itemType (optional) Desired item type.
|
|
8454
|
-
* @param tenantId (optional) Tenant
|
|
8342
|
+
* @param tenantId (optional) Tenant ID.
|
|
8455
8343
|
* @param sourceType (optional)
|
|
8456
8344
|
* @param sourceId (optional)
|
|
8457
8345
|
* @param sourceOwnerId (optional)
|
|
@@ -8542,7 +8430,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8542
8430
|
}
|
|
8543
8431
|
/**
|
|
8544
8432
|
* Extracts print-product item image.
|
|
8545
|
-
* @param tenantId (optional) Tenant
|
|
8433
|
+
* @param tenantId (optional) Tenant ID.
|
|
8546
8434
|
* @param body (optional) Extraction parameters.
|
|
8547
8435
|
* @return Success
|
|
8548
8436
|
* @deprecated
|
|
@@ -8611,7 +8499,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8611
8499
|
}
|
|
8612
8500
|
/**
|
|
8613
8501
|
* Flattens print-product items.
|
|
8614
|
-
* @param tenantId (optional) Tenant
|
|
8502
|
+
* @param tenantId (optional) Tenant ID.
|
|
8615
8503
|
* @param body (optional) Items to flatten.
|
|
8616
8504
|
* @return Success
|
|
8617
8505
|
* @deprecated
|
|
@@ -8683,7 +8571,7 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8683
8571
|
* @param designId (optional) Public design identifier.
|
|
8684
8572
|
* @param privateDesignId (optional) Private design identifier.
|
|
8685
8573
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8686
|
-
* @param tenantId (optional) Tenant
|
|
8574
|
+
* @param tenantId (optional) Tenant ID.
|
|
8687
8575
|
* @return Created
|
|
8688
8576
|
* @deprecated
|
|
8689
8577
|
*/
|
|
@@ -8752,11 +8640,11 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8752
8640
|
* @param resourceId (optional) Resource identifier.
|
|
8753
8641
|
* @param privateDesignId (optional) Private design identifier.
|
|
8754
8642
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
8755
|
-
* @param
|
|
8643
|
+
* @param tenantIdQuery (optional) Tenant identifier.
|
|
8756
8644
|
* @return Created
|
|
8757
8645
|
* @deprecated
|
|
8758
8646
|
*/
|
|
8759
|
-
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner,
|
|
8647
|
+
createPrivateDesignFromResource(resourceId, privateDesignId, privateStorageOwner, tenantIdQuery, cancelToken) {
|
|
8760
8648
|
let url_ = this.baseUrl + "/api/atoms/v1/private-designs/from-resource?";
|
|
8761
8649
|
if (resourceId !== undefined && resourceId !== null)
|
|
8762
8650
|
url_ += "resourceId=" + encodeURIComponent("" + resourceId) + "&";
|
|
@@ -8764,10 +8652,10 @@ class DesignAtomsServiceApiClient extends ApiClientBase {
|
|
|
8764
8652
|
url_ += "privateDesignId=" + encodeURIComponent("" + privateDesignId) + "&";
|
|
8765
8653
|
if (privateStorageOwner !== undefined && privateStorageOwner !== null)
|
|
8766
8654
|
url_ += "privateStorageOwner=" + encodeURIComponent("" + privateStorageOwner) + "&";
|
|
8767
|
-
if (
|
|
8768
|
-
throw new Error("The parameter '
|
|
8769
|
-
else if (
|
|
8770
|
-
url_ += "tenantId=" + encodeURIComponent("" +
|
|
8655
|
+
if (tenantIdQuery === null)
|
|
8656
|
+
throw new Error("The parameter 'tenantIdQuery' cannot be null.");
|
|
8657
|
+
else if (tenantIdQuery !== undefined)
|
|
8658
|
+
url_ += "tenantId=" + encodeURIComponent("" + tenantIdQuery) + "&";
|
|
8771
8659
|
url_ = url_.replace(/[?&]$/, "");
|
|
8772
8660
|
let options_ = {
|
|
8773
8661
|
method: "POST",
|
|
@@ -8828,7 +8716,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8828
8716
|
this.baseUrl = baseUrl !== undefined && baseUrl !== null ? baseUrl : this.getBaseUrl("");
|
|
8829
8717
|
}
|
|
8830
8718
|
/**
|
|
8831
|
-
* @param tenantId (optional) Tenant
|
|
8719
|
+
* @param tenantId (optional) Tenant ID.
|
|
8832
8720
|
* @param body (optional)
|
|
8833
8721
|
* @return Success
|
|
8834
8722
|
*/
|
|
@@ -8884,10 +8772,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8884
8772
|
const _responseText = response.data;
|
|
8885
8773
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8886
8774
|
}
|
|
8887
|
-
else if (status === 403) {
|
|
8888
|
-
const _responseText = response.data;
|
|
8889
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
8890
|
-
}
|
|
8891
8775
|
else if (status !== 200 && status !== 204) {
|
|
8892
8776
|
const _responseText = response.data;
|
|
8893
8777
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -8895,7 +8779,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8895
8779
|
return Promise.resolve(null);
|
|
8896
8780
|
}
|
|
8897
8781
|
/**
|
|
8898
|
-
* @param tenantId (optional) Tenant
|
|
8782
|
+
* @param tenantId (optional) Tenant ID.
|
|
8899
8783
|
* @return Success
|
|
8900
8784
|
*/
|
|
8901
8785
|
fonts(psName, tenantId, cancelToken) {
|
|
@@ -8957,10 +8841,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8957
8841
|
const _responseText = response.data;
|
|
8958
8842
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
8959
8843
|
}
|
|
8960
|
-
else if (status === 403) {
|
|
8961
|
-
const _responseText = response.data;
|
|
8962
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
8963
|
-
}
|
|
8964
8844
|
else if (status !== 200 && status !== 204) {
|
|
8965
8845
|
const _responseText = response.data;
|
|
8966
8846
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -8968,7 +8848,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
8968
8848
|
return Promise.resolve(null);
|
|
8969
8849
|
}
|
|
8970
8850
|
/**
|
|
8971
|
-
* @param tenantId (optional) Tenant
|
|
8851
|
+
* @param tenantId (optional) Tenant ID.
|
|
8972
8852
|
* @param body (optional)
|
|
8973
8853
|
* @return Success
|
|
8974
8854
|
*/
|
|
@@ -9031,10 +8911,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9031
8911
|
const _responseText = response.data;
|
|
9032
8912
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9033
8913
|
}
|
|
9034
|
-
else if (status === 403) {
|
|
9035
|
-
const _responseText = response.data;
|
|
9036
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9037
|
-
}
|
|
9038
8914
|
else if (status !== 200 && status !== 204) {
|
|
9039
8915
|
const _responseText = response.data;
|
|
9040
8916
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9042,7 +8918,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9042
8918
|
return Promise.resolve(null);
|
|
9043
8919
|
}
|
|
9044
8920
|
/**
|
|
9045
|
-
* @param tenantId (optional) Tenant
|
|
8921
|
+
* @param tenantId (optional) Tenant ID.
|
|
9046
8922
|
* @param body (optional)
|
|
9047
8923
|
* @return Success
|
|
9048
8924
|
*/
|
|
@@ -9105,10 +8981,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9105
8981
|
const _responseText = response.data;
|
|
9106
8982
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9107
8983
|
}
|
|
9108
|
-
else if (status === 403) {
|
|
9109
|
-
const _responseText = response.data;
|
|
9110
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9111
|
-
}
|
|
9112
8984
|
else if (status !== 200 && status !== 204) {
|
|
9113
8985
|
const _responseText = response.data;
|
|
9114
8986
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9117,7 +8989,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9117
8989
|
}
|
|
9118
8990
|
/**
|
|
9119
8991
|
* @param fontKey (optional)
|
|
9120
|
-
* @param tenantId (optional) Tenant
|
|
8992
|
+
* @param tenantId (optional) Tenant ID.
|
|
9121
8993
|
* @return Success
|
|
9122
8994
|
*/
|
|
9123
8995
|
getCssFont(fontKey, tenantId, cancelToken) {
|
|
@@ -9178,10 +9050,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9178
9050
|
const _responseText = response.data;
|
|
9179
9051
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9180
9052
|
}
|
|
9181
|
-
else if (status === 403) {
|
|
9182
|
-
const _responseText = response.data;
|
|
9183
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9184
|
-
}
|
|
9185
9053
|
else if (status !== 200 && status !== 204) {
|
|
9186
9054
|
const _responseText = response.data;
|
|
9187
9055
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9189,7 +9057,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9189
9057
|
return Promise.resolve(null);
|
|
9190
9058
|
}
|
|
9191
9059
|
/**
|
|
9192
|
-
* @param tenantId (optional) Tenant
|
|
9060
|
+
* @param tenantId (optional) Tenant ID.
|
|
9193
9061
|
* @return Success
|
|
9194
9062
|
*/
|
|
9195
9063
|
getFallbackFonts(tenantId, cancelToken) {
|
|
@@ -9241,10 +9109,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9241
9109
|
const _responseText = response.data;
|
|
9242
9110
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9243
9111
|
}
|
|
9244
|
-
else if (status === 403) {
|
|
9245
|
-
const _responseText = response.data;
|
|
9246
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9247
|
-
}
|
|
9248
9112
|
else if (status !== 200 && status !== 204) {
|
|
9249
9113
|
const _responseText = response.data;
|
|
9250
9114
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9252,7 +9116,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9252
9116
|
return Promise.resolve(null);
|
|
9253
9117
|
}
|
|
9254
9118
|
/**
|
|
9255
|
-
* @param tenantId (optional) Tenant
|
|
9119
|
+
* @param tenantId (optional) Tenant ID.
|
|
9256
9120
|
* @param body (optional)
|
|
9257
9121
|
* @return Success
|
|
9258
9122
|
*/
|
|
@@ -9308,10 +9172,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9308
9172
|
const _responseText = response.data;
|
|
9309
9173
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9310
9174
|
}
|
|
9311
|
-
else if (status === 403) {
|
|
9312
|
-
const _responseText = response.data;
|
|
9313
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9314
|
-
}
|
|
9315
9175
|
else if (status !== 200 && status !== 204) {
|
|
9316
9176
|
const _responseText = response.data;
|
|
9317
9177
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9319,7 +9179,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9319
9179
|
return Promise.resolve(null);
|
|
9320
9180
|
}
|
|
9321
9181
|
/**
|
|
9322
|
-
* @param tenantId (optional) Tenant
|
|
9182
|
+
* @param tenantId (optional) Tenant ID.
|
|
9323
9183
|
* @param body (optional)
|
|
9324
9184
|
* @return Success
|
|
9325
9185
|
*/
|
|
@@ -9375,10 +9235,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9375
9235
|
const _responseText = response.data;
|
|
9376
9236
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9377
9237
|
}
|
|
9378
|
-
else if (status === 403) {
|
|
9379
|
-
const _responseText = response.data;
|
|
9380
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9381
|
-
}
|
|
9382
9238
|
else if (status !== 200 && status !== 204) {
|
|
9383
9239
|
const _responseText = response.data;
|
|
9384
9240
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9386,7 +9242,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9386
9242
|
return Promise.resolve(null);
|
|
9387
9243
|
}
|
|
9388
9244
|
/**
|
|
9389
|
-
* @param tenantId (optional) Tenant
|
|
9245
|
+
* @param tenantId (optional) Tenant ID.
|
|
9390
9246
|
* @param body (optional)
|
|
9391
9247
|
* @return Success
|
|
9392
9248
|
*/
|
|
@@ -9442,10 +9298,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9442
9298
|
const _responseText = response.data;
|
|
9443
9299
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9444
9300
|
}
|
|
9445
|
-
else if (status === 403) {
|
|
9446
|
-
const _responseText = response.data;
|
|
9447
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9448
|
-
}
|
|
9449
9301
|
else if (status !== 200 && status !== 204) {
|
|
9450
9302
|
const _responseText = response.data;
|
|
9451
9303
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9471,7 +9323,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9471
9323
|
* @param colorizeColor (optional)
|
|
9472
9324
|
* @param rw (optional)
|
|
9473
9325
|
* @param rh (optional)
|
|
9474
|
-
* @param tenantId (optional) Tenant
|
|
9326
|
+
* @param tenantId (optional) Tenant ID.
|
|
9475
9327
|
* @return Success
|
|
9476
9328
|
*/
|
|
9477
9329
|
img(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
|
|
@@ -9570,10 +9422,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9570
9422
|
const _responseText = response.data;
|
|
9571
9423
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9572
9424
|
}
|
|
9573
|
-
else if (status === 403) {
|
|
9574
|
-
const _responseText = response.data;
|
|
9575
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9576
|
-
}
|
|
9577
9425
|
else if (status !== 200 && status !== 204) {
|
|
9578
9426
|
const _responseText = response.data;
|
|
9579
9427
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9581,7 +9429,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9581
9429
|
return Promise.resolve(null);
|
|
9582
9430
|
}
|
|
9583
9431
|
/**
|
|
9584
|
-
* @param tenantId (optional) Tenant
|
|
9432
|
+
* @param tenantId (optional) Tenant ID.
|
|
9585
9433
|
* @return Success
|
|
9586
9434
|
*/
|
|
9587
9435
|
getLicense(tenantId, cancelToken) {
|
|
@@ -9633,10 +9481,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9633
9481
|
const _responseText = response.data;
|
|
9634
9482
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9635
9483
|
}
|
|
9636
|
-
else if (status === 403) {
|
|
9637
|
-
const _responseText = response.data;
|
|
9638
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9639
|
-
}
|
|
9640
9484
|
else if (status !== 200 && status !== 204) {
|
|
9641
9485
|
const _responseText = response.data;
|
|
9642
9486
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9645,7 +9489,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9645
9489
|
}
|
|
9646
9490
|
/**
|
|
9647
9491
|
* @param f (optional)
|
|
9648
|
-
* @param tenantId (optional) Tenant
|
|
9492
|
+
* @param tenantId (optional) Tenant ID.
|
|
9649
9493
|
* @return Success
|
|
9650
9494
|
*/
|
|
9651
9495
|
pth(f, tenantId, cancelToken) {
|
|
@@ -9710,10 +9554,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9710
9554
|
const _responseText = response.data;
|
|
9711
9555
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9712
9556
|
}
|
|
9713
|
-
else if (status === 403) {
|
|
9714
|
-
const _responseText = response.data;
|
|
9715
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9716
|
-
}
|
|
9717
9557
|
else if (status !== 200 && status !== 204) {
|
|
9718
9558
|
const _responseText = response.data;
|
|
9719
9559
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9722,7 +9562,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9722
9562
|
}
|
|
9723
9563
|
/**
|
|
9724
9564
|
* @param image (optional)
|
|
9725
|
-
* @param tenantId (optional) Tenant
|
|
9565
|
+
* @param tenantId (optional) Tenant ID.
|
|
9726
9566
|
* @return Success
|
|
9727
9567
|
*/
|
|
9728
9568
|
resource(image, tenantId, cancelToken) {
|
|
@@ -9783,10 +9623,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9783
9623
|
const _responseText = response.data;
|
|
9784
9624
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9785
9625
|
}
|
|
9786
|
-
else if (status === 403) {
|
|
9787
|
-
const _responseText = response.data;
|
|
9788
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9789
|
-
}
|
|
9790
9626
|
else if (status !== 200 && status !== 204) {
|
|
9791
9627
|
const _responseText = response.data;
|
|
9792
9628
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9812,7 +9648,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9812
9648
|
* @param colorizeColor (optional)
|
|
9813
9649
|
* @param rw (optional)
|
|
9814
9650
|
* @param rh (optional)
|
|
9815
|
-
* @param tenantId (optional) Tenant
|
|
9651
|
+
* @param tenantId (optional) Tenant ID.
|
|
9816
9652
|
* @return Success
|
|
9817
9653
|
*/
|
|
9818
9654
|
svg(f, w, h, cmyk, rgb, grayscale, target, sq, effect, kp, color, obm, oo, alphaMask, page, colorizeColor, rw, rh, tenantId, cancelToken) {
|
|
@@ -9911,10 +9747,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9911
9747
|
const _responseText = response.data;
|
|
9912
9748
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9913
9749
|
}
|
|
9914
|
-
else if (status === 403) {
|
|
9915
|
-
const _responseText = response.data;
|
|
9916
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9917
|
-
}
|
|
9918
9750
|
else if (status !== 200 && status !== 204) {
|
|
9919
9751
|
const _responseText = response.data;
|
|
9920
9752
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9923,7 +9755,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9923
9755
|
}
|
|
9924
9756
|
/**
|
|
9925
9757
|
* @param f (optional)
|
|
9926
|
-
* @param tenantId (optional) Tenant
|
|
9758
|
+
* @param tenantId (optional) Tenant ID.
|
|
9927
9759
|
* @return Success
|
|
9928
9760
|
*/
|
|
9929
9761
|
txt(f, tenantId, cancelToken) {
|
|
@@ -9988,10 +9820,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9988
9820
|
const _responseText = response.data;
|
|
9989
9821
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
9990
9822
|
}
|
|
9991
|
-
else if (status === 403) {
|
|
9992
|
-
const _responseText = response.data;
|
|
9993
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
9994
|
-
}
|
|
9995
9823
|
else if (status !== 200 && status !== 204) {
|
|
9996
9824
|
const _responseText = response.data;
|
|
9997
9825
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -9999,7 +9827,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
9999
9827
|
return Promise.resolve(null);
|
|
10000
9828
|
}
|
|
10001
9829
|
/**
|
|
10002
|
-
* @param tenantId (optional) Tenant
|
|
9830
|
+
* @param tenantId (optional) Tenant ID.
|
|
10003
9831
|
* @param body (optional)
|
|
10004
9832
|
* @return Success
|
|
10005
9833
|
*/
|
|
@@ -10055,10 +9883,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10055
9883
|
const _responseText = response.data;
|
|
10056
9884
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10057
9885
|
}
|
|
10058
|
-
else if (status === 403) {
|
|
10059
|
-
const _responseText = response.data;
|
|
10060
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10061
|
-
}
|
|
10062
9886
|
else if (status !== 200 && status !== 204) {
|
|
10063
9887
|
const _responseText = response.data;
|
|
10064
9888
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10066,7 +9890,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10066
9890
|
return Promise.resolve(null);
|
|
10067
9891
|
}
|
|
10068
9892
|
/**
|
|
10069
|
-
* @param tenantId (optional) Tenant
|
|
9893
|
+
* @param tenantId (optional) Tenant ID.
|
|
10070
9894
|
* @param body (optional)
|
|
10071
9895
|
* @return Success
|
|
10072
9896
|
*/
|
|
@@ -10122,10 +9946,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10122
9946
|
const _responseText = response.data;
|
|
10123
9947
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10124
9948
|
}
|
|
10125
|
-
else if (status === 403) {
|
|
10126
|
-
const _responseText = response.data;
|
|
10127
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10128
|
-
}
|
|
10129
9949
|
else if (status !== 200 && status !== 204) {
|
|
10130
9950
|
const _responseText = response.data;
|
|
10131
9951
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10133,7 +9953,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10133
9953
|
return Promise.resolve(null);
|
|
10134
9954
|
}
|
|
10135
9955
|
/**
|
|
10136
|
-
* @param tenantId (optional) Tenant
|
|
9956
|
+
* @param tenantId (optional) Tenant ID.
|
|
10137
9957
|
* @param body (optional)
|
|
10138
9958
|
* @return Success
|
|
10139
9959
|
*/
|
|
@@ -10189,10 +10009,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10189
10009
|
const _responseText = response.data;
|
|
10190
10010
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10191
10011
|
}
|
|
10192
|
-
else if (status === 403) {
|
|
10193
|
-
const _responseText = response.data;
|
|
10194
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10195
|
-
}
|
|
10196
10012
|
else if (status !== 200 && status !== 204) {
|
|
10197
10013
|
const _responseText = response.data;
|
|
10198
10014
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10200,7 +10016,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10200
10016
|
return Promise.resolve(null);
|
|
10201
10017
|
}
|
|
10202
10018
|
/**
|
|
10203
|
-
* @param tenantId (optional) Tenant
|
|
10019
|
+
* @param tenantId (optional) Tenant ID.
|
|
10204
10020
|
* @param body (optional)
|
|
10205
10021
|
* @return Success
|
|
10206
10022
|
*/
|
|
@@ -10256,10 +10072,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10256
10072
|
const _responseText = response.data;
|
|
10257
10073
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10258
10074
|
}
|
|
10259
|
-
else if (status === 403) {
|
|
10260
|
-
const _responseText = response.data;
|
|
10261
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10262
|
-
}
|
|
10263
10075
|
else if (status !== 200 && status !== 204) {
|
|
10264
10076
|
const _responseText = response.data;
|
|
10265
10077
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10267,7 +10079,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10267
10079
|
return Promise.resolve(null);
|
|
10268
10080
|
}
|
|
10269
10081
|
/**
|
|
10270
|
-
* @param tenantId (optional) Tenant
|
|
10082
|
+
* @param tenantId (optional) Tenant ID.
|
|
10271
10083
|
* @param body (optional)
|
|
10272
10084
|
* @return Success
|
|
10273
10085
|
*/
|
|
@@ -10323,10 +10135,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10323
10135
|
const _responseText = response.data;
|
|
10324
10136
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10325
10137
|
}
|
|
10326
|
-
else if (status === 403) {
|
|
10327
|
-
const _responseText = response.data;
|
|
10328
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10329
|
-
}
|
|
10330
10138
|
else if (status !== 200 && status !== 204) {
|
|
10331
10139
|
const _responseText = response.data;
|
|
10332
10140
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10334,7 +10142,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10334
10142
|
return Promise.resolve(null);
|
|
10335
10143
|
}
|
|
10336
10144
|
/**
|
|
10337
|
-
* @param tenantId (optional) Tenant
|
|
10145
|
+
* @param tenantId (optional) Tenant ID.
|
|
10338
10146
|
* @param body (optional)
|
|
10339
10147
|
* @return Success
|
|
10340
10148
|
*/
|
|
@@ -10390,10 +10198,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10390
10198
|
const _responseText = response.data;
|
|
10391
10199
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10392
10200
|
}
|
|
10393
|
-
else if (status === 403) {
|
|
10394
|
-
const _responseText = response.data;
|
|
10395
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10396
|
-
}
|
|
10397
10201
|
else if (status !== 200 && status !== 204) {
|
|
10398
10202
|
const _responseText = response.data;
|
|
10399
10203
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10401,7 +10205,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10401
10205
|
return Promise.resolve(null);
|
|
10402
10206
|
}
|
|
10403
10207
|
/**
|
|
10404
|
-
* @param tenantId (optional) Tenant
|
|
10208
|
+
* @param tenantId (optional) Tenant ID.
|
|
10405
10209
|
* @param body (optional)
|
|
10406
10210
|
* @return Success
|
|
10407
10211
|
*/
|
|
@@ -10457,10 +10261,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10457
10261
|
const _responseText = response.data;
|
|
10458
10262
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10459
10263
|
}
|
|
10460
|
-
else if (status === 403) {
|
|
10461
|
-
const _responseText = response.data;
|
|
10462
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10463
|
-
}
|
|
10464
10264
|
else if (status !== 200 && status !== 204) {
|
|
10465
10265
|
const _responseText = response.data;
|
|
10466
10266
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10468,7 +10268,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10468
10268
|
return Promise.resolve(null);
|
|
10469
10269
|
}
|
|
10470
10270
|
/**
|
|
10471
|
-
* @param tenantId (optional) Tenant
|
|
10271
|
+
* @param tenantId (optional) Tenant ID.
|
|
10472
10272
|
* @param body (optional)
|
|
10473
10273
|
* @return Success
|
|
10474
10274
|
*/
|
|
@@ -10524,10 +10324,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10524
10324
|
const _responseText = response.data;
|
|
10525
10325
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10526
10326
|
}
|
|
10527
|
-
else if (status === 403) {
|
|
10528
|
-
const _responseText = response.data;
|
|
10529
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10530
|
-
}
|
|
10531
10327
|
else if (status !== 200 && status !== 204) {
|
|
10532
10328
|
const _responseText = response.data;
|
|
10533
10329
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10535,7 +10331,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10535
10331
|
return Promise.resolve(null);
|
|
10536
10332
|
}
|
|
10537
10333
|
/**
|
|
10538
|
-
* @param tenantId (optional) Tenant
|
|
10334
|
+
* @param tenantId (optional) Tenant ID.
|
|
10539
10335
|
* @param body (optional)
|
|
10540
10336
|
* @return Success
|
|
10541
10337
|
*/
|
|
@@ -10591,10 +10387,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10591
10387
|
const _responseText = response.data;
|
|
10592
10388
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10593
10389
|
}
|
|
10594
|
-
else if (status === 403) {
|
|
10595
|
-
const _responseText = response.data;
|
|
10596
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10597
|
-
}
|
|
10598
10390
|
else if (status !== 200 && status !== 204) {
|
|
10599
10391
|
const _responseText = response.data;
|
|
10600
10392
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10602,7 +10394,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10602
10394
|
return Promise.resolve(null);
|
|
10603
10395
|
}
|
|
10604
10396
|
/**
|
|
10605
|
-
* @param tenantId (optional) Tenant
|
|
10397
|
+
* @param tenantId (optional) Tenant ID.
|
|
10606
10398
|
* @param body (optional)
|
|
10607
10399
|
* @return Success
|
|
10608
10400
|
*/
|
|
@@ -10658,10 +10450,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10658
10450
|
const _responseText = response.data;
|
|
10659
10451
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10660
10452
|
}
|
|
10661
|
-
else if (status === 403) {
|
|
10662
|
-
const _responseText = response.data;
|
|
10663
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10664
|
-
}
|
|
10665
10453
|
else if (status !== 200 && status !== 204) {
|
|
10666
10454
|
const _responseText = response.data;
|
|
10667
10455
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
@@ -10669,7 +10457,7 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10669
10457
|
return Promise.resolve(null);
|
|
10670
10458
|
}
|
|
10671
10459
|
/**
|
|
10672
|
-
* @param tenantId (optional) Tenant
|
|
10460
|
+
* @param tenantId (optional) Tenant ID.
|
|
10673
10461
|
* @param body (optional)
|
|
10674
10462
|
* @return Success
|
|
10675
10463
|
*/
|
|
@@ -10725,10 +10513,6 @@ class DesignAtomsViewerApiClient extends ApiClientBase {
|
|
|
10725
10513
|
const _responseText = response.data;
|
|
10726
10514
|
return throwException("Unauthorized", status, _responseText, _headers);
|
|
10727
10515
|
}
|
|
10728
|
-
else if (status === 403) {
|
|
10729
|
-
const _responseText = response.data;
|
|
10730
|
-
return throwException("Forbidden", status, _responseText, _headers);
|
|
10731
|
-
}
|
|
10732
10516
|
else if (status !== 200 && status !== 204) {
|
|
10733
10517
|
const _responseText = response.data;
|
|
10734
10518
|
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|