edge-impulse-api 1.66.26 → 1.66.28
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/build/library/sdk/api/adminApi.js +166 -83
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/authApi.js +4 -2
- package/build/library/sdk/api/authApi.js.map +1 -1
- package/build/library/sdk/api/cDNApi.js +2 -1
- package/build/library/sdk/api/cDNApi.js.map +1 -1
- package/build/library/sdk/api/canaryApi.js +2 -1
- package/build/library/sdk/api/canaryApi.js.map +1 -1
- package/build/library/sdk/api/classifyApi.js +20 -10
- package/build/library/sdk/api/classifyApi.js.map +1 -1
- package/build/library/sdk/api/dSPApi.js +38 -19
- package/build/library/sdk/api/dSPApi.js.map +1 -1
- package/build/library/sdk/api/deploymentApi.js +22 -11
- package/build/library/sdk/api/deploymentApi.js.map +1 -1
- package/build/library/sdk/api/devicesApi.js +24 -12
- package/build/library/sdk/api/devicesApi.js.map +1 -1
- package/build/library/sdk/api/emailVerificationApi.js +8 -4
- package/build/library/sdk/api/emailVerificationApi.js.map +1 -1
- package/build/library/sdk/api/exportApi.js +2 -1
- package/build/library/sdk/api/exportApi.js.map +1 -1
- package/build/library/sdk/api/featureFlagsApi.js +2 -1
- package/build/library/sdk/api/featureFlagsApi.js.map +1 -1
- package/build/library/sdk/api/healthApi.js +4 -2
- package/build/library/sdk/api/healthApi.js.map +1 -1
- package/build/library/sdk/api/impulseApi.js +30 -15
- package/build/library/sdk/api/impulseApi.js.map +1 -1
- package/build/library/sdk/api/jobsApi.js +86 -43
- package/build/library/sdk/api/jobsApi.js.map +1 -1
- package/build/library/sdk/api/learnApi.js +46 -23
- package/build/library/sdk/api/learnApi.js.map +1 -1
- package/build/library/sdk/api/loginApi.js +2 -1
- package/build/library/sdk/api/loginApi.js.map +1 -1
- package/build/library/sdk/api/metricsApi.js +6 -3
- package/build/library/sdk/api/metricsApi.js.map +1 -1
- package/build/library/sdk/api/optimizationApi.js +34 -17
- package/build/library/sdk/api/optimizationApi.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.js +60 -30
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/organizationCreateProjectApi.js +26 -13
- package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataApi.js +78 -39
- package/build/library/sdk/api/organizationDataApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataCampaignsApi.js +24 -12
- package/build/library/sdk/api/organizationDataCampaignsApi.js.map +1 -1
- package/build/library/sdk/api/organizationJobsApi.js +16 -8
- package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
- package/build/library/sdk/api/organizationPipelinesApi.js +16 -8
- package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
- package/build/library/sdk/api/organizationPortalsApi.js +14 -7
- package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
- package/build/library/sdk/api/organizationsApi.js +156 -78
- package/build/library/sdk/api/organizationsApi.js.map +1 -1
- package/build/library/sdk/api/performanceCalibrationApi.js +22 -11
- package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.js +110 -55
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/api/rawDataApi.js +112 -56
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/api/themesApi.js +12 -6
- package/build/library/sdk/api/themesApi.js.map +1 -1
- package/build/library/sdk/api/thirdPartyAuthApi.js +14 -7
- package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
- package/build/library/sdk/api/uploadPortalApi.js +14 -7
- package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
- package/build/library/sdk/api/userApi.js +96 -48
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/api/whitelabelsApi.js +16 -8
- package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
- package/package.json +1 -1
|
@@ -198,14 +198,15 @@ class RawDataApi {
|
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
200
200
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
201
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
202
201
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
202
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
203
203
|
reject(new Error(body.error || errString));
|
|
204
204
|
}
|
|
205
205
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
206
206
|
resolve(body);
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
209
210
|
reject(errString);
|
|
210
211
|
}
|
|
211
212
|
}
|
|
@@ -331,14 +332,15 @@ class RawDataApi {
|
|
|
331
332
|
}
|
|
332
333
|
else {
|
|
333
334
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
334
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
335
335
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
336
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
336
337
|
reject(new Error(body.error || errString));
|
|
337
338
|
}
|
|
338
339
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
339
340
|
resolve(body);
|
|
340
341
|
}
|
|
341
342
|
else {
|
|
343
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
342
344
|
reject(errString);
|
|
343
345
|
}
|
|
344
346
|
}
|
|
@@ -470,14 +472,15 @@ class RawDataApi {
|
|
|
470
472
|
}
|
|
471
473
|
else {
|
|
472
474
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
473
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
474
475
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
476
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
475
477
|
reject(new Error(body.error || errString));
|
|
476
478
|
}
|
|
477
479
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
478
480
|
resolve(body);
|
|
479
481
|
}
|
|
480
482
|
else {
|
|
483
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
481
484
|
reject(errString);
|
|
482
485
|
}
|
|
483
486
|
}
|
|
@@ -603,14 +606,15 @@ class RawDataApi {
|
|
|
603
606
|
}
|
|
604
607
|
else {
|
|
605
608
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
606
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
607
609
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
610
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
608
611
|
reject(new Error(body.error || errString));
|
|
609
612
|
}
|
|
610
613
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
611
614
|
resolve(body);
|
|
612
615
|
}
|
|
613
616
|
else {
|
|
617
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
614
618
|
reject(errString);
|
|
615
619
|
}
|
|
616
620
|
}
|
|
@@ -736,14 +740,15 @@ class RawDataApi {
|
|
|
736
740
|
}
|
|
737
741
|
else {
|
|
738
742
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
739
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
740
743
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
744
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
741
745
|
reject(new Error(body.error || errString));
|
|
742
746
|
}
|
|
743
747
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
744
748
|
resolve(body);
|
|
745
749
|
}
|
|
746
750
|
else {
|
|
751
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
747
752
|
reject(errString);
|
|
748
753
|
}
|
|
749
754
|
}
|
|
@@ -875,14 +880,15 @@ class RawDataApi {
|
|
|
875
880
|
}
|
|
876
881
|
else {
|
|
877
882
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
878
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
879
883
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
884
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
880
885
|
reject(new Error(body.error || errString));
|
|
881
886
|
}
|
|
882
887
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
883
888
|
resolve(body);
|
|
884
889
|
}
|
|
885
890
|
else {
|
|
891
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
886
892
|
reject(errString);
|
|
887
893
|
}
|
|
888
894
|
}
|
|
@@ -1008,14 +1014,15 @@ class RawDataApi {
|
|
|
1008
1014
|
}
|
|
1009
1015
|
else {
|
|
1010
1016
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
1011
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1012
1017
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1018
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1013
1019
|
reject(new Error(body.error || errString));
|
|
1014
1020
|
}
|
|
1015
1021
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1016
1022
|
resolve(body);
|
|
1017
1023
|
}
|
|
1018
1024
|
else {
|
|
1025
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1019
1026
|
reject(errString);
|
|
1020
1027
|
}
|
|
1021
1028
|
}
|
|
@@ -1147,14 +1154,15 @@ class RawDataApi {
|
|
|
1147
1154
|
}
|
|
1148
1155
|
else {
|
|
1149
1156
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
1150
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1151
1157
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1158
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1152
1159
|
reject(new Error(body.error || errString));
|
|
1153
1160
|
}
|
|
1154
1161
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1155
1162
|
resolve(body);
|
|
1156
1163
|
}
|
|
1157
1164
|
else {
|
|
1165
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1158
1166
|
reject(errString);
|
|
1159
1167
|
}
|
|
1160
1168
|
}
|
|
@@ -1232,14 +1240,15 @@ class RawDataApi {
|
|
|
1232
1240
|
}
|
|
1233
1241
|
else {
|
|
1234
1242
|
body = models_1.ObjectSerializer.deserialize(body, "ObjectDetectionAutoLabelResponse");
|
|
1235
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1236
1243
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1244
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1237
1245
|
reject(new Error(body.error || errString));
|
|
1238
1246
|
}
|
|
1239
1247
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1240
1248
|
resolve(body);
|
|
1241
1249
|
}
|
|
1242
1250
|
else {
|
|
1251
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1243
1252
|
reject(errString);
|
|
1244
1253
|
}
|
|
1245
1254
|
}
|
|
@@ -1305,14 +1314,15 @@ class RawDataApi {
|
|
|
1305
1314
|
}
|
|
1306
1315
|
else {
|
|
1307
1316
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1308
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1309
1317
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1318
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1310
1319
|
reject(new Error(body.error || errString));
|
|
1311
1320
|
}
|
|
1312
1321
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1313
1322
|
resolve(body);
|
|
1314
1323
|
}
|
|
1315
1324
|
else {
|
|
1325
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1316
1326
|
reject(errString);
|
|
1317
1327
|
}
|
|
1318
1328
|
}
|
|
@@ -1378,14 +1388,15 @@ class RawDataApi {
|
|
|
1378
1388
|
}
|
|
1379
1389
|
else {
|
|
1380
1390
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1381
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1382
1391
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1392
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1383
1393
|
reject(new Error(body.error || errString));
|
|
1384
1394
|
}
|
|
1385
1395
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1386
1396
|
resolve(body);
|
|
1387
1397
|
}
|
|
1388
1398
|
else {
|
|
1399
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1389
1400
|
reject(errString);
|
|
1390
1401
|
}
|
|
1391
1402
|
}
|
|
@@ -1503,14 +1514,15 @@ class RawDataApi {
|
|
|
1503
1514
|
}
|
|
1504
1515
|
else {
|
|
1505
1516
|
body = models_1.ObjectSerializer.deserialize(body, "CountSamplesResponse");
|
|
1506
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1507
1517
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1518
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1508
1519
|
reject(new Error(body.error || errString));
|
|
1509
1520
|
}
|
|
1510
1521
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1511
1522
|
resolve(body);
|
|
1512
1523
|
}
|
|
1513
1524
|
else {
|
|
1525
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1514
1526
|
reject(errString);
|
|
1515
1527
|
}
|
|
1516
1528
|
}
|
|
@@ -1588,14 +1600,15 @@ class RawDataApi {
|
|
|
1588
1600
|
}
|
|
1589
1601
|
else {
|
|
1590
1602
|
body = models_1.ObjectSerializer.deserialize(body, "CropSampleResponse");
|
|
1591
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1592
1603
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1604
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1593
1605
|
reject(new Error(body.error || errString));
|
|
1594
1606
|
}
|
|
1595
1607
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1596
1608
|
resolve(body);
|
|
1597
1609
|
}
|
|
1598
1610
|
else {
|
|
1611
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1599
1612
|
reject(errString);
|
|
1600
1613
|
}
|
|
1601
1614
|
}
|
|
@@ -1661,14 +1674,15 @@ class RawDataApi {
|
|
|
1661
1674
|
}
|
|
1662
1675
|
else {
|
|
1663
1676
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1664
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1665
1677
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1678
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1666
1679
|
reject(new Error(body.error || errString));
|
|
1667
1680
|
}
|
|
1668
1681
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1669
1682
|
resolve(body);
|
|
1670
1683
|
}
|
|
1671
1684
|
else {
|
|
1685
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1672
1686
|
reject(errString);
|
|
1673
1687
|
}
|
|
1674
1688
|
}
|
|
@@ -1740,14 +1754,15 @@ class RawDataApi {
|
|
|
1740
1754
|
}
|
|
1741
1755
|
else {
|
|
1742
1756
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1743
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1744
1757
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1758
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1745
1759
|
reject(new Error(body.error || errString));
|
|
1746
1760
|
}
|
|
1747
1761
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1748
1762
|
resolve(body);
|
|
1749
1763
|
}
|
|
1750
1764
|
else {
|
|
1765
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1751
1766
|
reject(errString);
|
|
1752
1767
|
}
|
|
1753
1768
|
}
|
|
@@ -1819,14 +1834,15 @@ class RawDataApi {
|
|
|
1819
1834
|
}
|
|
1820
1835
|
else {
|
|
1821
1836
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1822
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1823
1837
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1838
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1824
1839
|
reject(new Error(body.error || errString));
|
|
1825
1840
|
}
|
|
1826
1841
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1827
1842
|
resolve(body);
|
|
1828
1843
|
}
|
|
1829
1844
|
else {
|
|
1845
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1830
1846
|
reject(errString);
|
|
1831
1847
|
}
|
|
1832
1848
|
}
|
|
@@ -1898,14 +1914,15 @@ class RawDataApi {
|
|
|
1898
1914
|
}
|
|
1899
1915
|
else {
|
|
1900
1916
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1901
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1902
1917
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
1918
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1903
1919
|
reject(new Error(body.error || errString));
|
|
1904
1920
|
}
|
|
1905
1921
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1906
1922
|
resolve(body);
|
|
1907
1923
|
}
|
|
1908
1924
|
else {
|
|
1925
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1909
1926
|
reject(errString);
|
|
1910
1927
|
}
|
|
1911
1928
|
}
|
|
@@ -1983,14 +2000,15 @@ class RawDataApi {
|
|
|
1983
2000
|
}
|
|
1984
2001
|
else {
|
|
1985
2002
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
1986
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1987
2003
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2004
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1988
2005
|
reject(new Error(body.error || errString));
|
|
1989
2006
|
}
|
|
1990
2007
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1991
2008
|
resolve(body);
|
|
1992
2009
|
}
|
|
1993
2010
|
else {
|
|
2011
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
1994
2012
|
reject(errString);
|
|
1995
2013
|
}
|
|
1996
2014
|
}
|
|
@@ -2062,14 +2080,15 @@ class RawDataApi {
|
|
|
2062
2080
|
}
|
|
2063
2081
|
else {
|
|
2064
2082
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
2065
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2066
2083
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2084
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2067
2085
|
reject(new Error(body.error || errString));
|
|
2068
2086
|
}
|
|
2069
2087
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2070
2088
|
resolve(body);
|
|
2071
2089
|
}
|
|
2072
2090
|
else {
|
|
2091
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2073
2092
|
reject(errString);
|
|
2074
2093
|
}
|
|
2075
2094
|
}
|
|
@@ -2147,14 +2166,15 @@ class RawDataApi {
|
|
|
2147
2166
|
}
|
|
2148
2167
|
else {
|
|
2149
2168
|
body = models_1.ObjectSerializer.deserialize(body, "FindSegmentSampleResponse");
|
|
2150
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2151
2169
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2170
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2152
2171
|
reject(new Error(body.error || errString));
|
|
2153
2172
|
}
|
|
2154
2173
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2155
2174
|
resolve(body);
|
|
2156
2175
|
}
|
|
2157
2176
|
else {
|
|
2177
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2158
2178
|
reject(errString);
|
|
2159
2179
|
}
|
|
2160
2180
|
}
|
|
@@ -2226,14 +2246,15 @@ class RawDataApi {
|
|
|
2226
2246
|
}
|
|
2227
2247
|
else {
|
|
2228
2248
|
body = models_1.ObjectSerializer.deserialize(body, "GetAIActionsProposedChangesResponse");
|
|
2229
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2230
2249
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2250
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2231
2251
|
reject(new Error(body.error || errString));
|
|
2232
2252
|
}
|
|
2233
2253
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2234
2254
|
resolve(body);
|
|
2235
2255
|
}
|
|
2236
2256
|
else {
|
|
2257
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2237
2258
|
reject(errString);
|
|
2238
2259
|
}
|
|
2239
2260
|
}
|
|
@@ -2307,14 +2328,15 @@ class RawDataApi {
|
|
|
2307
2328
|
}
|
|
2308
2329
|
else {
|
|
2309
2330
|
body = models_1.ObjectSerializer.deserialize(body, "GetAllImportedFromResponse");
|
|
2310
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2311
2331
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2332
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2312
2333
|
reject(new Error(body.error || errString));
|
|
2313
2334
|
}
|
|
2314
2335
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2315
2336
|
resolve(body);
|
|
2316
2337
|
}
|
|
2317
2338
|
else {
|
|
2339
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2318
2340
|
reject(errString);
|
|
2319
2341
|
}
|
|
2320
2342
|
}
|
|
@@ -2380,14 +2402,15 @@ class RawDataApi {
|
|
|
2380
2402
|
}
|
|
2381
2403
|
else {
|
|
2382
2404
|
body = models_1.ObjectSerializer.deserialize(body, "GetDataExplorerFeaturesResponse");
|
|
2383
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2384
2405
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2406
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2385
2407
|
reject(new Error(body.error || errString));
|
|
2386
2408
|
}
|
|
2387
2409
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2388
2410
|
resolve(body);
|
|
2389
2411
|
}
|
|
2390
2412
|
else {
|
|
2413
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2391
2414
|
reject(errString);
|
|
2392
2415
|
}
|
|
2393
2416
|
}
|
|
@@ -2453,14 +2476,15 @@ class RawDataApi {
|
|
|
2453
2476
|
}
|
|
2454
2477
|
else {
|
|
2455
2478
|
body = models_1.ObjectSerializer.deserialize(body, "DataExplorerPredictionsResponse");
|
|
2456
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2457
2479
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2480
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2458
2481
|
reject(new Error(body.error || errString));
|
|
2459
2482
|
}
|
|
2460
2483
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2461
2484
|
resolve(body);
|
|
2462
2485
|
}
|
|
2463
2486
|
else {
|
|
2487
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2464
2488
|
reject(errString);
|
|
2465
2489
|
}
|
|
2466
2490
|
}
|
|
@@ -2526,14 +2550,15 @@ class RawDataApi {
|
|
|
2526
2550
|
}
|
|
2527
2551
|
else {
|
|
2528
2552
|
body = models_1.ObjectSerializer.deserialize(body, "GetDataExplorerSettingsResponse");
|
|
2529
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2530
2553
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2554
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2531
2555
|
reject(new Error(body.error || errString));
|
|
2532
2556
|
}
|
|
2533
2557
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2534
2558
|
resolve(body);
|
|
2535
2559
|
}
|
|
2536
2560
|
else {
|
|
2561
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2537
2562
|
reject(errString);
|
|
2538
2563
|
}
|
|
2539
2564
|
}
|
|
@@ -2599,14 +2624,15 @@ class RawDataApi {
|
|
|
2599
2624
|
}
|
|
2600
2625
|
else {
|
|
2601
2626
|
body = models_1.ObjectSerializer.deserialize(body, "GetDiversityDataResponse");
|
|
2602
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2603
2627
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2628
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2604
2629
|
reject(new Error(body.error || errString));
|
|
2605
2630
|
}
|
|
2606
2631
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2607
2632
|
resolve(body);
|
|
2608
2633
|
}
|
|
2609
2634
|
else {
|
|
2635
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2610
2636
|
reject(errString);
|
|
2611
2637
|
}
|
|
2612
2638
|
}
|
|
@@ -2672,14 +2698,15 @@ class RawDataApi {
|
|
|
2672
2698
|
}
|
|
2673
2699
|
else {
|
|
2674
2700
|
body = models_1.ObjectSerializer.deserialize(body, "GetLabelNoiseDataResponse");
|
|
2675
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2676
2701
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2702
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2677
2703
|
reject(new Error(body.error || errString));
|
|
2678
2704
|
}
|
|
2679
2705
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2680
2706
|
resolve(body);
|
|
2681
2707
|
}
|
|
2682
2708
|
else {
|
|
2709
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2683
2710
|
reject(errString);
|
|
2684
2711
|
}
|
|
2685
2712
|
}
|
|
@@ -2745,14 +2772,15 @@ class RawDataApi {
|
|
|
2745
2772
|
}
|
|
2746
2773
|
else {
|
|
2747
2774
|
body = models_1.ObjectSerializer.deserialize(body, "ObjectDetectionLabelQueueResponse");
|
|
2748
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2749
2775
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2776
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2750
2777
|
reject(new Error(body.error || errString));
|
|
2751
2778
|
}
|
|
2752
2779
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2753
2780
|
resolve(body);
|
|
2754
2781
|
}
|
|
2755
2782
|
else {
|
|
2783
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2756
2784
|
reject(errString);
|
|
2757
2785
|
}
|
|
2758
2786
|
}
|
|
@@ -2818,14 +2846,15 @@ class RawDataApi {
|
|
|
2818
2846
|
}
|
|
2819
2847
|
else {
|
|
2820
2848
|
body = models_1.ObjectSerializer.deserialize(body, "ObjectDetectionLabelQueueCountResponse");
|
|
2821
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2822
2849
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2850
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2823
2851
|
reject(new Error(body.error || errString));
|
|
2824
2852
|
}
|
|
2825
2853
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2826
2854
|
resolve(body);
|
|
2827
2855
|
}
|
|
2828
2856
|
else {
|
|
2857
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2829
2858
|
reject(errString);
|
|
2830
2859
|
}
|
|
2831
2860
|
}
|
|
@@ -2913,14 +2942,15 @@ class RawDataApi {
|
|
|
2913
2942
|
}
|
|
2914
2943
|
else {
|
|
2915
2944
|
body = models_1.ObjectSerializer.deserialize(body, "GetSampleResponse");
|
|
2916
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2917
2945
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
2946
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2918
2947
|
reject(new Error(body.error || errString));
|
|
2919
2948
|
}
|
|
2920
2949
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2921
2950
|
resolve(body);
|
|
2922
2951
|
}
|
|
2923
2952
|
else {
|
|
2953
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
2924
2954
|
reject(errString);
|
|
2925
2955
|
}
|
|
2926
2956
|
}
|
|
@@ -3012,14 +3042,15 @@ class RawDataApi {
|
|
|
3012
3042
|
}
|
|
3013
3043
|
else {
|
|
3014
3044
|
body = models_1.ObjectSerializer.deserialize(body, "Buffer");
|
|
3015
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3016
3045
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3046
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3017
3047
|
reject(new Error(body.error || errString));
|
|
3018
3048
|
}
|
|
3019
3049
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3020
3050
|
resolve(body);
|
|
3021
3051
|
}
|
|
3022
3052
|
else {
|
|
3053
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3023
3054
|
reject(errString);
|
|
3024
3055
|
}
|
|
3025
3056
|
}
|
|
@@ -3103,14 +3134,15 @@ class RawDataApi {
|
|
|
3103
3134
|
}
|
|
3104
3135
|
else {
|
|
3105
3136
|
body = models_1.ObjectSerializer.deserialize(body, "Buffer");
|
|
3106
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3107
3137
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3138
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3108
3139
|
reject(new Error(body.error || errString));
|
|
3109
3140
|
}
|
|
3110
3141
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3111
3142
|
resolve(body);
|
|
3112
3143
|
}
|
|
3113
3144
|
else {
|
|
3145
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3114
3146
|
reject(errString);
|
|
3115
3147
|
}
|
|
3116
3148
|
}
|
|
@@ -3182,14 +3214,15 @@ class RawDataApi {
|
|
|
3182
3214
|
}
|
|
3183
3215
|
else {
|
|
3184
3216
|
body = models_1.ObjectSerializer.deserialize(body, "Buffer");
|
|
3185
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3186
3217
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3218
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3187
3219
|
reject(new Error(body.error || errString));
|
|
3188
3220
|
}
|
|
3189
3221
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3190
3222
|
resolve(body);
|
|
3191
3223
|
}
|
|
3192
3224
|
else {
|
|
3225
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3193
3226
|
reject(errString);
|
|
3194
3227
|
}
|
|
3195
3228
|
}
|
|
@@ -3273,14 +3306,15 @@ class RawDataApi {
|
|
|
3273
3306
|
}
|
|
3274
3307
|
else {
|
|
3275
3308
|
body = models_1.ObjectSerializer.deserialize(body, "Buffer");
|
|
3276
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3277
3309
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3310
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3278
3311
|
reject(new Error(body.error || errString));
|
|
3279
3312
|
}
|
|
3280
3313
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3281
3314
|
resolve(body);
|
|
3282
3315
|
}
|
|
3283
3316
|
else {
|
|
3317
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3284
3318
|
reject(errString);
|
|
3285
3319
|
}
|
|
3286
3320
|
}
|
|
@@ -3354,14 +3388,15 @@ class RawDataApi {
|
|
|
3354
3388
|
}
|
|
3355
3389
|
else {
|
|
3356
3390
|
body = models_1.ObjectSerializer.deserialize(body, "GetSampleMetadataResponse");
|
|
3357
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3358
3391
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3392
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3359
3393
|
reject(new Error(body.error || errString));
|
|
3360
3394
|
}
|
|
3361
3395
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3362
3396
|
resolve(body);
|
|
3363
3397
|
}
|
|
3364
3398
|
else {
|
|
3399
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3365
3400
|
reject(errString);
|
|
3366
3401
|
}
|
|
3367
3402
|
}
|
|
@@ -3449,14 +3484,15 @@ class RawDataApi {
|
|
|
3449
3484
|
}
|
|
3450
3485
|
else {
|
|
3451
3486
|
body = models_1.ObjectSerializer.deserialize(body, "GetSampleResponse");
|
|
3452
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3453
3487
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3488
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3454
3489
|
reject(new Error(body.error || errString));
|
|
3455
3490
|
}
|
|
3456
3491
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3457
3492
|
resolve(body);
|
|
3458
3493
|
}
|
|
3459
3494
|
else {
|
|
3495
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3460
3496
|
reject(errString);
|
|
3461
3497
|
}
|
|
3462
3498
|
}
|
|
@@ -3544,14 +3580,15 @@ class RawDataApi {
|
|
|
3544
3580
|
}
|
|
3545
3581
|
else {
|
|
3546
3582
|
body = models_1.ObjectSerializer.deserialize(body, "GetSampleResponse");
|
|
3547
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3548
3583
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3584
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3549
3585
|
reject(new Error(body.error || errString));
|
|
3550
3586
|
}
|
|
3551
3587
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3552
3588
|
resolve(body);
|
|
3553
3589
|
}
|
|
3554
3590
|
else {
|
|
3591
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3555
3592
|
reject(errString);
|
|
3556
3593
|
}
|
|
3557
3594
|
}
|
|
@@ -3617,14 +3654,15 @@ class RawDataApi {
|
|
|
3617
3654
|
}
|
|
3618
3655
|
else {
|
|
3619
3656
|
body = models_1.ObjectSerializer.deserialize(body, "HasDataExplorerFeaturesResponse");
|
|
3620
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3621
3657
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3658
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3622
3659
|
reject(new Error(body.error || errString));
|
|
3623
3660
|
}
|
|
3624
3661
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3625
3662
|
resolve(body);
|
|
3626
3663
|
}
|
|
3627
3664
|
else {
|
|
3665
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3628
3666
|
reject(errString);
|
|
3629
3667
|
}
|
|
3630
3668
|
}
|
|
@@ -3690,14 +3728,15 @@ class RawDataApi {
|
|
|
3690
3728
|
}
|
|
3691
3729
|
else {
|
|
3692
3730
|
body = models_1.ObjectSerializer.deserialize(body, "HasDataExplorerFeaturesResponse");
|
|
3693
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3694
3731
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3732
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3695
3733
|
reject(new Error(body.error || errString));
|
|
3696
3734
|
}
|
|
3697
3735
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3698
3736
|
resolve(body);
|
|
3699
3737
|
}
|
|
3700
3738
|
else {
|
|
3739
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3701
3740
|
reject(errString);
|
|
3702
3741
|
}
|
|
3703
3742
|
}
|
|
@@ -3763,14 +3802,15 @@ class RawDataApi {
|
|
|
3763
3802
|
}
|
|
3764
3803
|
else {
|
|
3765
3804
|
body = models_1.ObjectSerializer.deserialize(body, "HasDataExplorerFeaturesResponse");
|
|
3766
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3767
3805
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3806
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3768
3807
|
reject(new Error(body.error || errString));
|
|
3769
3808
|
}
|
|
3770
3809
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3771
3810
|
resolve(body);
|
|
3772
3811
|
}
|
|
3773
3812
|
else {
|
|
3813
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3774
3814
|
reject(errString);
|
|
3775
3815
|
}
|
|
3776
3816
|
}
|
|
@@ -3904,14 +3944,15 @@ class RawDataApi {
|
|
|
3904
3944
|
}
|
|
3905
3945
|
else {
|
|
3906
3946
|
body = models_1.ObjectSerializer.deserialize(body, "ListSamplesResponse");
|
|
3907
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3908
3947
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
3948
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3909
3949
|
reject(new Error(body.error || errString));
|
|
3910
3950
|
}
|
|
3911
3951
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3912
3952
|
resolve(body);
|
|
3913
3953
|
}
|
|
3914
3954
|
else {
|
|
3955
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3915
3956
|
reject(errString);
|
|
3916
3957
|
}
|
|
3917
3958
|
}
|
|
@@ -3989,14 +4030,15 @@ class RawDataApi {
|
|
|
3989
4030
|
}
|
|
3990
4031
|
else {
|
|
3991
4032
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
3992
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3993
4033
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4034
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
3994
4035
|
reject(new Error(body.error || errString));
|
|
3995
4036
|
}
|
|
3996
4037
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
3997
4038
|
resolve(body);
|
|
3998
4039
|
}
|
|
3999
4040
|
else {
|
|
4041
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4000
4042
|
reject(errString);
|
|
4001
4043
|
}
|
|
4002
4044
|
}
|
|
@@ -4068,14 +4110,15 @@ class RawDataApi {
|
|
|
4068
4110
|
}
|
|
4069
4111
|
else {
|
|
4070
4112
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4071
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4072
4113
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4114
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4073
4115
|
reject(new Error(body.error || errString));
|
|
4074
4116
|
}
|
|
4075
4117
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4076
4118
|
resolve(body);
|
|
4077
4119
|
}
|
|
4078
4120
|
else {
|
|
4121
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4079
4122
|
reject(errString);
|
|
4080
4123
|
}
|
|
4081
4124
|
}
|
|
@@ -4141,14 +4184,15 @@ class RawDataApi {
|
|
|
4141
4184
|
}
|
|
4142
4185
|
else {
|
|
4143
4186
|
body = models_1.ObjectSerializer.deserialize(body, "RebalanceDatasetResponse");
|
|
4144
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4145
4187
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4188
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4146
4189
|
reject(new Error(body.error || errString));
|
|
4147
4190
|
}
|
|
4148
4191
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4149
4192
|
resolve(body);
|
|
4150
4193
|
}
|
|
4151
4194
|
else {
|
|
4195
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4152
4196
|
reject(errString);
|
|
4153
4197
|
}
|
|
4154
4198
|
}
|
|
@@ -4226,14 +4270,15 @@ class RawDataApi {
|
|
|
4226
4270
|
}
|
|
4227
4271
|
else {
|
|
4228
4272
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4229
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4230
4273
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4274
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4231
4275
|
reject(new Error(body.error || errString));
|
|
4232
4276
|
}
|
|
4233
4277
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4234
4278
|
resolve(body);
|
|
4235
4279
|
}
|
|
4236
4280
|
else {
|
|
4281
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4237
4282
|
reject(errString);
|
|
4238
4283
|
}
|
|
4239
4284
|
}
|
|
@@ -4305,14 +4350,15 @@ class RawDataApi {
|
|
|
4305
4350
|
}
|
|
4306
4351
|
else {
|
|
4307
4352
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4308
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4309
4353
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4354
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4310
4355
|
reject(new Error(body.error || errString));
|
|
4311
4356
|
}
|
|
4312
4357
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4313
4358
|
resolve(body);
|
|
4314
4359
|
}
|
|
4315
4360
|
else {
|
|
4361
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4316
4362
|
reject(errString);
|
|
4317
4363
|
}
|
|
4318
4364
|
}
|
|
@@ -4390,14 +4436,15 @@ class RawDataApi {
|
|
|
4390
4436
|
}
|
|
4391
4437
|
else {
|
|
4392
4438
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4393
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4394
4439
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4440
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4395
4441
|
reject(new Error(body.error || errString));
|
|
4396
4442
|
}
|
|
4397
4443
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4398
4444
|
resolve(body);
|
|
4399
4445
|
}
|
|
4400
4446
|
else {
|
|
4447
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4401
4448
|
reject(errString);
|
|
4402
4449
|
}
|
|
4403
4450
|
}
|
|
@@ -4469,14 +4516,15 @@ class RawDataApi {
|
|
|
4469
4516
|
}
|
|
4470
4517
|
else {
|
|
4471
4518
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4472
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4473
4519
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4520
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4474
4521
|
reject(new Error(body.error || errString));
|
|
4475
4522
|
}
|
|
4476
4523
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4477
4524
|
resolve(body);
|
|
4478
4525
|
}
|
|
4479
4526
|
else {
|
|
4527
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4480
4528
|
reject(errString);
|
|
4481
4529
|
}
|
|
4482
4530
|
}
|
|
@@ -4554,14 +4602,15 @@ class RawDataApi {
|
|
|
4554
4602
|
}
|
|
4555
4603
|
else {
|
|
4556
4604
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4557
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4558
4605
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4606
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4559
4607
|
reject(new Error(body.error || errString));
|
|
4560
4608
|
}
|
|
4561
4609
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4562
4610
|
resolve(body);
|
|
4563
4611
|
}
|
|
4564
4612
|
else {
|
|
4613
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4565
4614
|
reject(errString);
|
|
4566
4615
|
}
|
|
4567
4616
|
}
|
|
@@ -4639,14 +4688,15 @@ class RawDataApi {
|
|
|
4639
4688
|
}
|
|
4640
4689
|
else {
|
|
4641
4690
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4642
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4643
4691
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4692
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4644
4693
|
reject(new Error(body.error || errString));
|
|
4645
4694
|
}
|
|
4646
4695
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4647
4696
|
resolve(body);
|
|
4648
4697
|
}
|
|
4649
4698
|
else {
|
|
4699
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4650
4700
|
reject(errString);
|
|
4651
4701
|
}
|
|
4652
4702
|
}
|
|
@@ -4724,14 +4774,15 @@ class RawDataApi {
|
|
|
4724
4774
|
}
|
|
4725
4775
|
else {
|
|
4726
4776
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4727
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4728
4777
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4778
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4729
4779
|
reject(new Error(body.error || errString));
|
|
4730
4780
|
}
|
|
4731
4781
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4732
4782
|
resolve(body);
|
|
4733
4783
|
}
|
|
4734
4784
|
else {
|
|
4785
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4735
4786
|
reject(errString);
|
|
4736
4787
|
}
|
|
4737
4788
|
}
|
|
@@ -4809,14 +4860,15 @@ class RawDataApi {
|
|
|
4809
4860
|
}
|
|
4810
4861
|
else {
|
|
4811
4862
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4812
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4813
4863
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4864
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4814
4865
|
reject(new Error(body.error || errString));
|
|
4815
4866
|
}
|
|
4816
4867
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4817
4868
|
resolve(body);
|
|
4818
4869
|
}
|
|
4819
4870
|
else {
|
|
4871
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4820
4872
|
reject(errString);
|
|
4821
4873
|
}
|
|
4822
4874
|
}
|
|
@@ -4894,14 +4946,15 @@ class RawDataApi {
|
|
|
4894
4946
|
}
|
|
4895
4947
|
else {
|
|
4896
4948
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse | StartJobResponse");
|
|
4897
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4898
4949
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
4950
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4899
4951
|
reject(new Error(body.error || errString));
|
|
4900
4952
|
}
|
|
4901
4953
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4902
4954
|
resolve(body);
|
|
4903
4955
|
}
|
|
4904
4956
|
else {
|
|
4957
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4905
4958
|
reject(errString);
|
|
4906
4959
|
}
|
|
4907
4960
|
}
|
|
@@ -4973,14 +5026,15 @@ class RawDataApi {
|
|
|
4973
5026
|
}
|
|
4974
5027
|
else {
|
|
4975
5028
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
4976
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4977
5029
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
5030
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4978
5031
|
reject(new Error(body.error || errString));
|
|
4979
5032
|
}
|
|
4980
5033
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
4981
5034
|
resolve(body);
|
|
4982
5035
|
}
|
|
4983
5036
|
else {
|
|
5037
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
4984
5038
|
reject(errString);
|
|
4985
5039
|
}
|
|
4986
5040
|
}
|
|
@@ -5052,14 +5106,15 @@ class RawDataApi {
|
|
|
5052
5106
|
}
|
|
5053
5107
|
else {
|
|
5054
5108
|
body = models_1.ObjectSerializer.deserialize(body, "TrackObjectsResponse");
|
|
5055
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5056
5109
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
5110
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5057
5111
|
reject(new Error(body.error || errString));
|
|
5058
5112
|
}
|
|
5059
5113
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
5060
5114
|
resolve(body);
|
|
5061
5115
|
}
|
|
5062
5116
|
else {
|
|
5117
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5063
5118
|
reject(errString);
|
|
5064
5119
|
}
|
|
5065
5120
|
}
|
|
@@ -5134,14 +5189,15 @@ class RawDataApi {
|
|
|
5134
5189
|
}
|
|
5135
5190
|
else {
|
|
5136
5191
|
body = models_1.ObjectSerializer.deserialize(body, "GenericApiResponse");
|
|
5137
|
-
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5138
5192
|
if (typeof body.success === 'boolean' && !body.success) {
|
|
5193
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5139
5194
|
reject(new Error(body.error || errString));
|
|
5140
5195
|
}
|
|
5141
5196
|
else if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
5142
5197
|
resolve(body);
|
|
5143
5198
|
}
|
|
5144
5199
|
else {
|
|
5200
|
+
const errString = `Failed to call "${localVarPath}", returned ${response.statusCode}: ` + response.body;
|
|
5145
5201
|
reject(errString);
|
|
5146
5202
|
}
|
|
5147
5203
|
}
|