edge-impulse-api 1.22.0 → 1.22.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/build/library/sdk/api/adminApi.js +78 -26
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/allowsReadOnlyApi.js +123 -41
- package/build/library/sdk/api/allowsReadOnlyApi.js.map +1 -1
- package/build/library/sdk/api/authApi.js +6 -2
- package/build/library/sdk/api/authApi.js.map +1 -1
- package/build/library/sdk/api/cDNApi.js +3 -1
- package/build/library/sdk/api/cDNApi.js.map +1 -1
- package/build/library/sdk/api/classifyApi.js +9 -3
- package/build/library/sdk/api/classifyApi.js.map +1 -1
- package/build/library/sdk/api/contentDispositionInlineApi.js +3 -1
- package/build/library/sdk/api/contentDispositionInlineApi.js.map +1 -1
- package/build/library/sdk/api/dSPApi.js +51 -100
- package/build/library/sdk/api/dSPApi.js.map +1 -1
- package/build/library/sdk/api/deploymentApi.js +33 -11
- package/build/library/sdk/api/deploymentApi.js.map +1 -1
- package/build/library/sdk/api/devicesApi.js +18 -6
- package/build/library/sdk/api/devicesApi.js.map +1 -1
- package/build/library/sdk/api/exportApi.js +3 -1
- package/build/library/sdk/api/exportApi.js.map +1 -1
- package/build/library/sdk/api/healthApi.js +6 -2
- package/build/library/sdk/api/healthApi.js.map +1 -1
- package/build/library/sdk/api/impulseApi.js +24 -8
- package/build/library/sdk/api/impulseApi.js.map +1 -1
- package/build/library/sdk/api/jobsApi.js +183 -36
- package/build/library/sdk/api/jobsApi.js.map +1 -1
- package/build/library/sdk/api/learnApi.js +70 -21
- package/build/library/sdk/api/learnApi.js.map +1 -1
- package/build/library/sdk/api/loginApi.js +3 -1
- package/build/library/sdk/api/loginApi.js.map +1 -1
- package/build/library/sdk/api/metricsApi.js +71 -1
- package/build/library/sdk/api/metricsApi.js.map +1 -1
- package/build/library/sdk/api/optimizationApi.js +33 -11
- package/build/library/sdk/api/optimizationApi.js.map +1 -1
- package/build/library/sdk/api/organizationAllowDeveloperProfileApi.js +132 -44
- package/build/library/sdk/api/organizationAllowDeveloperProfileApi.js.map +1 -1
- package/build/library/sdk/api/organizationAllowGuestAccessApi.js +27 -9
- package/build/library/sdk/api/organizationAllowGuestAccessApi.js.map +1 -1
- package/build/library/sdk/api/organizationBlocksApi.js +60 -20
- package/build/library/sdk/api/organizationBlocksApi.js.map +1 -1
- package/build/library/sdk/api/organizationCreateProjectApi.js +39 -13
- package/build/library/sdk/api/organizationCreateProjectApi.js.map +1 -1
- package/build/library/sdk/api/organizationDataApi.js +99 -33
- package/build/library/sdk/api/organizationDataApi.js.map +1 -1
- package/build/library/sdk/api/organizationJobsApi.js +24 -8
- package/build/library/sdk/api/organizationJobsApi.js.map +1 -1
- package/build/library/sdk/api/organizationPipelinesApi.js +21 -7
- package/build/library/sdk/api/organizationPipelinesApi.js.map +1 -1
- package/build/library/sdk/api/organizationPortalsApi.js +21 -7
- package/build/library/sdk/api/organizationPortalsApi.js.map +1 -1
- package/build/library/sdk/api/organizationRequiresAdminApi.js +78 -26
- package/build/library/sdk/api/organizationRequiresAdminApi.js.map +1 -1
- package/build/library/sdk/api/organizationRequiresWhitelabelAdminApi.js +36 -12
- package/build/library/sdk/api/organizationRequiresWhitelabelAdminApi.js.map +1 -1
- package/build/library/sdk/api/organizationsApi.js +96 -32
- package/build/library/sdk/api/organizationsApi.js.map +1 -1
- package/build/library/sdk/api/performanceCalibrationApi.js +27 -9
- package/build/library/sdk/api/performanceCalibrationApi.js.map +1 -1
- package/build/library/sdk/api/projectsApi.js +178 -35
- package/build/library/sdk/api/projectsApi.js.map +1 -1
- package/build/library/sdk/api/rawDataApi.js +129 -43
- package/build/library/sdk/api/rawDataApi.js.map +1 -1
- package/build/library/sdk/api/requiresSudoApi.js +123 -41
- package/build/library/sdk/api/requiresSudoApi.js.map +1 -1
- package/build/library/sdk/api/requiresThirdPartyAuthApiKeyApi.js +3 -1
- package/build/library/sdk/api/requiresThirdPartyAuthApiKeyApi.js.map +1 -1
- package/build/library/sdk/api/supportsRangeApi.js +6 -2
- package/build/library/sdk/api/supportsRangeApi.js.map +1 -1
- package/build/library/sdk/api/themesApi.js +18 -6
- package/build/library/sdk/api/themesApi.js.map +1 -1
- package/build/library/sdk/api/thirdPartyAuthApi.js +21 -7
- package/build/library/sdk/api/thirdPartyAuthApi.js.map +1 -1
- package/build/library/sdk/api/uploadPortalApi.js +21 -7
- package/build/library/sdk/api/uploadPortalApi.js.map +1 -1
- package/build/library/sdk/api/userApi.js +102 -34
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/api/whitelabelsApi.js +21 -7
- package/build/library/sdk/api/whitelabelsApi.js.map +1 -1
- package/build/library/sdk/model/createUserRequest.js +5 -0
- package/build/library/sdk/model/createUserRequest.js.map +1 -1
- package/build/library/sdk/model/deployPretrainedModelRequest.js +13 -2
- package/build/library/sdk/model/deployPretrainedModelRequest.js.map +1 -1
- package/build/library/sdk/model/deploymentTarget.js +5 -0
- package/build/library/sdk/model/deploymentTarget.js.map +1 -1
- package/build/library/sdk/model/getJWTTokenRequest.js +5 -0
- package/build/library/sdk/model/getJWTTokenRequest.js.map +1 -1
- package/build/library/sdk/model/getPretrainedModelResponse.js +10 -0
- package/build/library/sdk/model/getPretrainedModelResponse.js.map +1 -1
- package/build/library/sdk/model/getPretrainedModelResponseAllOf.js +10 -0
- package/build/library/sdk/model/getPretrainedModelResponseAllOf.js.map +1 -1
- package/build/library/sdk/model/getPretrainedModelResponseAllOfModel.js +6 -1
- package/build/library/sdk/model/getPretrainedModelResponseAllOfModel.js.map +1 -1
- package/build/library/sdk/model/kerasModelMetadataMetrics.js +10 -0
- package/build/library/sdk/model/kerasModelMetadataMetrics.js.map +1 -1
- package/build/library/sdk/model/logWebsitePageviewRequest.js +42 -0
- package/build/library/sdk/model/logWebsitePageviewRequest.js.map +1 -0
- package/build/library/sdk/model/models.js +32 -7
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/profileTfLiteRequest.js +1 -7
- package/build/library/sdk/model/profileTfLiteRequest.js.map +1 -1
- package/build/library/sdk/model/projectDeploymentTarget.js +5 -0
- package/build/library/sdk/model/projectDeploymentTarget.js.map +1 -1
- package/build/library/sdk/model/projectInfoResponse.js +6 -6
- package/build/library/sdk/model/projectInfoResponse.js.map +1 -1
- package/build/library/sdk/model/projectInfoResponseAllOf.js +6 -6
- package/build/library/sdk/model/projectInfoResponseAllOf.js.map +1 -1
- package/build/library/sdk/model/updateProjectRequest.js +5 -5
- package/build/library/sdk/model/updateProjectRequest.js.map +1 -1
- package/build/library/sdk/model/uploadPretrainedModelRequest.js +11 -1
- package/build/library/sdk/model/uploadPretrainedModelRequest.js.map +1 -1
- package/package.json +1 -1
|
@@ -84,7 +84,9 @@ class RequiresSudoApi {
|
|
|
84
84
|
const localVarPath = this.basePath + '/api/admin/sso/{domainName}'
|
|
85
85
|
.replace('{' + 'domainName' + '}', encodeURIComponent(String(domainName)));
|
|
86
86
|
let localVarQueryParameters = {};
|
|
87
|
-
let localVarHeaderParams = Object.assign({
|
|
87
|
+
let localVarHeaderParams = Object.assign({
|
|
88
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
89
|
+
}, this.defaultHeaders);
|
|
88
90
|
const produces = ['application/json'];
|
|
89
91
|
// give precedence to 'application/json'
|
|
90
92
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -161,7 +163,9 @@ class RequiresSudoApi {
|
|
|
161
163
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}/members'
|
|
162
164
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
163
165
|
let localVarQueryParameters = {};
|
|
164
|
-
let localVarHeaderParams = Object.assign({
|
|
166
|
+
let localVarHeaderParams = Object.assign({
|
|
167
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
168
|
+
}, this.defaultHeaders);
|
|
165
169
|
const produces = ['application/json'];
|
|
166
170
|
// give precedence to 'application/json'
|
|
167
171
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -233,7 +237,9 @@ class RequiresSudoApi {
|
|
|
233
237
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}/add'
|
|
234
238
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
235
239
|
let localVarQueryParameters = {};
|
|
236
|
-
let localVarHeaderParams = Object.assign({
|
|
240
|
+
let localVarHeaderParams = Object.assign({
|
|
241
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
242
|
+
}, this.defaultHeaders);
|
|
237
243
|
const produces = ['application/json'];
|
|
238
244
|
// give precedence to 'application/json'
|
|
239
245
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -303,7 +309,9 @@ class RequiresSudoApi {
|
|
|
303
309
|
async adminCreateOrganization(adminCreateOrganizationRequest, options = { headers: {} }) {
|
|
304
310
|
const localVarPath = this.basePath + '/api/admin/organizations';
|
|
305
311
|
let localVarQueryParameters = {};
|
|
306
|
-
let localVarHeaderParams = Object.assign({
|
|
312
|
+
let localVarHeaderParams = Object.assign({
|
|
313
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
314
|
+
}, this.defaultHeaders);
|
|
307
315
|
const produces = ['application/json'];
|
|
308
316
|
// give precedence to 'application/json'
|
|
309
317
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -376,7 +384,9 @@ class RequiresSudoApi {
|
|
|
376
384
|
const localVarPath = this.basePath + '/api/admin/organizations/{organizationId}'
|
|
377
385
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
378
386
|
let localVarQueryParameters = {};
|
|
379
|
-
let localVarHeaderParams = Object.assign({
|
|
387
|
+
let localVarHeaderParams = Object.assign({
|
|
388
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
389
|
+
}, this.defaultHeaders);
|
|
380
390
|
const produces = ['application/json'];
|
|
381
391
|
// give precedence to 'application/json'
|
|
382
392
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -450,7 +460,9 @@ class RequiresSudoApi {
|
|
|
450
460
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}'
|
|
451
461
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
452
462
|
let localVarQueryParameters = {};
|
|
453
|
-
let localVarHeaderParams = Object.assign({
|
|
463
|
+
let localVarHeaderParams = Object.assign({
|
|
464
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
465
|
+
}, this.defaultHeaders);
|
|
454
466
|
const produces = ['application/json'];
|
|
455
467
|
// give precedence to 'application/json'
|
|
456
468
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -521,7 +533,9 @@ class RequiresSudoApi {
|
|
|
521
533
|
const localVarPath = this.basePath + '/api/admin/sso/{domainName}'
|
|
522
534
|
.replace('{' + 'domainName' + '}', encodeURIComponent(String(domainName)));
|
|
523
535
|
let localVarQueryParameters = {};
|
|
524
|
-
let localVarHeaderParams = Object.assign({
|
|
536
|
+
let localVarHeaderParams = Object.assign({
|
|
537
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
538
|
+
}, this.defaultHeaders);
|
|
525
539
|
const produces = ['application/json'];
|
|
526
540
|
// give precedence to 'application/json'
|
|
527
541
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -593,7 +607,9 @@ class RequiresSudoApi {
|
|
|
593
607
|
const localVarPath = this.basePath + '/api/admin/users/{userId}'
|
|
594
608
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
595
609
|
let localVarQueryParameters = {};
|
|
596
|
-
let localVarHeaderParams = Object.assign({
|
|
610
|
+
let localVarHeaderParams = Object.assign({
|
|
611
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
612
|
+
}, this.defaultHeaders);
|
|
597
613
|
const produces = ['application/json'];
|
|
598
614
|
// give precedence to 'application/json'
|
|
599
615
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -666,7 +682,9 @@ class RequiresSudoApi {
|
|
|
666
682
|
async adminFindUser(queryParams, options = { headers: {} }) {
|
|
667
683
|
const localVarPath = this.basePath + '/api/admin/find-user';
|
|
668
684
|
let localVarQueryParameters = {};
|
|
669
|
-
let localVarHeaderParams = Object.assign({
|
|
685
|
+
let localVarHeaderParams = Object.assign({
|
|
686
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
687
|
+
}, this.defaultHeaders);
|
|
670
688
|
const produces = ['application/json'];
|
|
671
689
|
// give precedence to 'application/json'
|
|
672
690
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -738,7 +756,9 @@ class RequiresSudoApi {
|
|
|
738
756
|
async adminGetAllActiveUserIds(options = { headers: {} }) {
|
|
739
757
|
const localVarPath = this.basePath + '/api/admin/users-ids/active';
|
|
740
758
|
let localVarQueryParameters = {};
|
|
741
|
-
let localVarHeaderParams = Object.assign({
|
|
759
|
+
let localVarHeaderParams = Object.assign({
|
|
760
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
761
|
+
}, this.defaultHeaders);
|
|
742
762
|
const produces = ['application/json'];
|
|
743
763
|
// give precedence to 'application/json'
|
|
744
764
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -803,7 +823,9 @@ class RequiresSudoApi {
|
|
|
803
823
|
async adminGetAllUserIds(options = { headers: {} }) {
|
|
804
824
|
const localVarPath = this.basePath + '/api/admin/users-ids';
|
|
805
825
|
let localVarQueryParameters = {};
|
|
806
|
-
let localVarHeaderParams = Object.assign({
|
|
826
|
+
let localVarHeaderParams = Object.assign({
|
|
827
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
828
|
+
}, this.defaultHeaders);
|
|
807
829
|
const produces = ['application/json'];
|
|
808
830
|
// give precedence to 'application/json'
|
|
809
831
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -868,7 +890,9 @@ class RequiresSudoApi {
|
|
|
868
890
|
async adminGetMetrics(options = { headers: {} }) {
|
|
869
891
|
const localVarPath = this.basePath + '/api/admin/metrics';
|
|
870
892
|
let localVarQueryParameters = {};
|
|
871
|
-
let localVarHeaderParams = Object.assign({
|
|
893
|
+
let localVarHeaderParams = Object.assign({
|
|
894
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
895
|
+
}, this.defaultHeaders);
|
|
872
896
|
const produces = ['application/json'];
|
|
873
897
|
// give precedence to 'application/json'
|
|
874
898
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -935,7 +959,9 @@ class RequiresSudoApi {
|
|
|
935
959
|
const localVarPath = this.basePath + '/api/admin/organizations/{organizationId}'
|
|
936
960
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
937
961
|
let localVarQueryParameters = {};
|
|
938
|
-
let localVarHeaderParams = Object.assign({
|
|
962
|
+
let localVarHeaderParams = Object.assign({
|
|
963
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
964
|
+
}, this.defaultHeaders);
|
|
939
965
|
const produces = ['application/json'];
|
|
940
966
|
// give precedence to 'application/json'
|
|
941
967
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1009,7 +1035,9 @@ class RequiresSudoApi {
|
|
|
1009
1035
|
async adminGetOrganizations(queryParams, options = { headers: {} }) {
|
|
1010
1036
|
const localVarPath = this.basePath + '/api/admin/organizations';
|
|
1011
1037
|
let localVarQueryParameters = {};
|
|
1012
|
-
let localVarHeaderParams = Object.assign({
|
|
1038
|
+
let localVarHeaderParams = Object.assign({
|
|
1039
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1040
|
+
}, this.defaultHeaders);
|
|
1013
1041
|
const produces = ['application/json'];
|
|
1014
1042
|
// give precedence to 'application/json'
|
|
1015
1043
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1091,7 +1119,9 @@ class RequiresSudoApi {
|
|
|
1091
1119
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}'
|
|
1092
1120
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
1093
1121
|
let localVarQueryParameters = {};
|
|
1094
|
-
let localVarHeaderParams = Object.assign({
|
|
1122
|
+
let localVarHeaderParams = Object.assign({
|
|
1123
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1124
|
+
}, this.defaultHeaders);
|
|
1095
1125
|
const produces = ['application/json'];
|
|
1096
1126
|
// give precedence to 'application/json'
|
|
1097
1127
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1165,7 +1195,9 @@ class RequiresSudoApi {
|
|
|
1165
1195
|
async adminGetProjects(queryParams, options = { headers: {} }) {
|
|
1166
1196
|
const localVarPath = this.basePath + '/api/admin/projects';
|
|
1167
1197
|
let localVarQueryParameters = {};
|
|
1168
|
-
let localVarHeaderParams = Object.assign({
|
|
1198
|
+
let localVarHeaderParams = Object.assign({
|
|
1199
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1200
|
+
}, this.defaultHeaders);
|
|
1169
1201
|
const produces = ['application/json'];
|
|
1170
1202
|
// give precedence to 'application/json'
|
|
1171
1203
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1247,7 +1279,9 @@ class RequiresSudoApi {
|
|
|
1247
1279
|
const localVarPath = this.basePath + '/api/admin/sso/{domainName}'
|
|
1248
1280
|
.replace('{' + 'domainName' + '}', encodeURIComponent(String(domainName)));
|
|
1249
1281
|
let localVarQueryParameters = {};
|
|
1250
|
-
let localVarHeaderParams = Object.assign({
|
|
1282
|
+
let localVarHeaderParams = Object.assign({
|
|
1283
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1284
|
+
}, this.defaultHeaders);
|
|
1251
1285
|
const produces = ['application/json'];
|
|
1252
1286
|
// give precedence to 'application/json'
|
|
1253
1287
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1316,7 +1350,9 @@ class RequiresSudoApi {
|
|
|
1316
1350
|
async adminGetSSOSettings(options = { headers: {} }) {
|
|
1317
1351
|
const localVarPath = this.basePath + '/api/admin/sso';
|
|
1318
1352
|
let localVarQueryParameters = {};
|
|
1319
|
-
let localVarHeaderParams = Object.assign({
|
|
1353
|
+
let localVarHeaderParams = Object.assign({
|
|
1354
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1355
|
+
}, this.defaultHeaders);
|
|
1320
1356
|
const produces = ['application/json'];
|
|
1321
1357
|
// give precedence to 'application/json'
|
|
1322
1358
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1383,7 +1419,9 @@ class RequiresSudoApi {
|
|
|
1383
1419
|
const localVarPath = this.basePath + '/api/admin/users/{userId}'
|
|
1384
1420
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1385
1421
|
let localVarQueryParameters = {};
|
|
1386
|
-
let localVarHeaderParams = Object.assign({
|
|
1422
|
+
let localVarHeaderParams = Object.assign({
|
|
1423
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1424
|
+
}, this.defaultHeaders);
|
|
1387
1425
|
const produces = ['application/json'];
|
|
1388
1426
|
// give precedence to 'application/json'
|
|
1389
1427
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1454,7 +1492,9 @@ class RequiresSudoApi {
|
|
|
1454
1492
|
const localVarPath = this.basePath + '/api/admin/users/{userId}/metrics'
|
|
1455
1493
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1456
1494
|
let localVarQueryParameters = {};
|
|
1457
|
-
let localVarHeaderParams = Object.assign({
|
|
1495
|
+
let localVarHeaderParams = Object.assign({
|
|
1496
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1497
|
+
}, this.defaultHeaders);
|
|
1458
1498
|
const produces = ['application/json'];
|
|
1459
1499
|
// give precedence to 'application/json'
|
|
1460
1500
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1530,7 +1570,9 @@ class RequiresSudoApi {
|
|
|
1530
1570
|
async adminGetUsers(queryParams, options = { headers: {} }) {
|
|
1531
1571
|
const localVarPath = this.basePath + '/api/admin/users';
|
|
1532
1572
|
let localVarQueryParameters = {};
|
|
1533
|
-
let localVarHeaderParams = Object.assign({
|
|
1573
|
+
let localVarHeaderParams = Object.assign({
|
|
1574
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1575
|
+
}, this.defaultHeaders);
|
|
1534
1576
|
const produces = ['application/json'];
|
|
1535
1577
|
// give precedence to 'application/json'
|
|
1536
1578
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1620,7 +1662,9 @@ class RequiresSudoApi {
|
|
|
1620
1662
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
1621
1663
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1622
1664
|
let localVarQueryParameters = {};
|
|
1623
|
-
let localVarHeaderParams = Object.assign({
|
|
1665
|
+
let localVarHeaderParams = Object.assign({
|
|
1666
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1667
|
+
}, this.defaultHeaders);
|
|
1624
1668
|
const produces = ['application/json'];
|
|
1625
1669
|
// give precedence to 'application/json'
|
|
1626
1670
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1695,7 +1739,9 @@ class RequiresSudoApi {
|
|
|
1695
1739
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}/remove'
|
|
1696
1740
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
1697
1741
|
let localVarQueryParameters = {};
|
|
1698
|
-
let localVarHeaderParams = Object.assign({
|
|
1742
|
+
let localVarHeaderParams = Object.assign({
|
|
1743
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1744
|
+
}, this.defaultHeaders);
|
|
1699
1745
|
const produces = ['application/json'];
|
|
1700
1746
|
// give precedence to 'application/json'
|
|
1701
1747
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1767,7 +1813,9 @@ class RequiresSudoApi {
|
|
|
1767
1813
|
const localVarPath = this.basePath + '/api/admin/organizations/{organizationId}'
|
|
1768
1814
|
.replace('{' + 'organizationId' + '}', encodeURIComponent(String(organizationId)));
|
|
1769
1815
|
let localVarQueryParameters = {};
|
|
1770
|
-
let localVarHeaderParams = Object.assign({
|
|
1816
|
+
let localVarHeaderParams = Object.assign({
|
|
1817
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1818
|
+
}, this.defaultHeaders);
|
|
1771
1819
|
const produces = ['application/json'];
|
|
1772
1820
|
// give precedence to 'application/json'
|
|
1773
1821
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1844,7 +1892,9 @@ class RequiresSudoApi {
|
|
|
1844
1892
|
const localVarPath = this.basePath + '/api/admin/projects/{projectId}'
|
|
1845
1893
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
1846
1894
|
let localVarQueryParameters = {};
|
|
1847
|
-
let localVarHeaderParams = Object.assign({
|
|
1895
|
+
let localVarHeaderParams = Object.assign({
|
|
1896
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1897
|
+
}, this.defaultHeaders);
|
|
1848
1898
|
const produces = ['application/json'];
|
|
1849
1899
|
// give precedence to 'application/json'
|
|
1850
1900
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1921,7 +1971,9 @@ class RequiresSudoApi {
|
|
|
1921
1971
|
const localVarPath = this.basePath + '/api/admin/users/{userId}'
|
|
1922
1972
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1923
1973
|
let localVarQueryParameters = {};
|
|
1924
|
-
let localVarHeaderParams = Object.assign({
|
|
1974
|
+
let localVarHeaderParams = Object.assign({
|
|
1975
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1976
|
+
}, this.defaultHeaders);
|
|
1925
1977
|
const produces = ['application/json'];
|
|
1926
1978
|
// give precedence to 'application/json'
|
|
1927
1979
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1996,7 +2048,9 @@ class RequiresSudoApi {
|
|
|
1996
2048
|
async createThirdPartyAuth(createThirdPartyAuthRequest, options = { headers: {} }) {
|
|
1997
2049
|
const localVarPath = this.basePath + '/api/third-party-auth';
|
|
1998
2050
|
let localVarQueryParameters = {};
|
|
1999
|
-
let localVarHeaderParams = Object.assign({
|
|
2051
|
+
let localVarHeaderParams = Object.assign({
|
|
2052
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2053
|
+
}, this.defaultHeaders);
|
|
2000
2054
|
const produces = ['application/json'];
|
|
2001
2055
|
// give precedence to 'application/json'
|
|
2002
2056
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2067,7 +2121,9 @@ class RequiresSudoApi {
|
|
|
2067
2121
|
async createWhitelabel(createWhitelabelRequest, options = { headers: {} }) {
|
|
2068
2122
|
const localVarPath = this.basePath + '/api/whitelabels';
|
|
2069
2123
|
let localVarQueryParameters = {};
|
|
2070
|
-
let localVarHeaderParams = Object.assign({
|
|
2124
|
+
let localVarHeaderParams = Object.assign({
|
|
2125
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2126
|
+
}, this.defaultHeaders);
|
|
2071
2127
|
const produces = ['application/json'];
|
|
2072
2128
|
// give precedence to 'application/json'
|
|
2073
2129
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2139,7 +2195,9 @@ class RequiresSudoApi {
|
|
|
2139
2195
|
const localVarPath = this.basePath + '/api/third-party-auth/{authId}'
|
|
2140
2196
|
.replace('{' + 'authId' + '}', encodeURIComponent(String(authId)));
|
|
2141
2197
|
let localVarQueryParameters = {};
|
|
2142
|
-
let localVarHeaderParams = Object.assign({
|
|
2198
|
+
let localVarHeaderParams = Object.assign({
|
|
2199
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2200
|
+
}, this.defaultHeaders);
|
|
2143
2201
|
const produces = ['application/json'];
|
|
2144
2202
|
// give precedence to 'application/json'
|
|
2145
2203
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2210,7 +2268,9 @@ class RequiresSudoApi {
|
|
|
2210
2268
|
const localVarPath = this.basePath + '/api/whitelabel/{whitelabelIdentifier}'
|
|
2211
2269
|
.replace('{' + 'whitelabelIdentifier' + '}', encodeURIComponent(String(whitelabelIdentifier)));
|
|
2212
2270
|
let localVarQueryParameters = {};
|
|
2213
|
-
let localVarHeaderParams = Object.assign({
|
|
2271
|
+
let localVarHeaderParams = Object.assign({
|
|
2272
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2273
|
+
}, this.defaultHeaders);
|
|
2214
2274
|
const produces = ['application/json'];
|
|
2215
2275
|
// give precedence to 'application/json'
|
|
2216
2276
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2281,7 +2341,9 @@ class RequiresSudoApi {
|
|
|
2281
2341
|
const localVarPath = this.basePath + '/api/whitelabel/{whitelabelIdentifier}/impulse/blocks'
|
|
2282
2342
|
.replace('{' + 'whitelabelIdentifier' + '}', encodeURIComponent(String(whitelabelIdentifier)));
|
|
2283
2343
|
let localVarQueryParameters = {};
|
|
2284
|
-
let localVarHeaderParams = Object.assign({
|
|
2344
|
+
let localVarHeaderParams = Object.assign({
|
|
2345
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2346
|
+
}, this.defaultHeaders);
|
|
2285
2347
|
const produces = ['application/json'];
|
|
2286
2348
|
// give precedence to 'application/json'
|
|
2287
2349
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2350,7 +2412,9 @@ class RequiresSudoApi {
|
|
|
2350
2412
|
async getAllThirdPartyAuth(options = { headers: {} }) {
|
|
2351
2413
|
const localVarPath = this.basePath + '/api/third-party-auth';
|
|
2352
2414
|
let localVarQueryParameters = {};
|
|
2353
|
-
let localVarHeaderParams = Object.assign({
|
|
2415
|
+
let localVarHeaderParams = Object.assign({
|
|
2416
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2417
|
+
}, this.defaultHeaders);
|
|
2354
2418
|
const produces = ['application/json'];
|
|
2355
2419
|
// give precedence to 'application/json'
|
|
2356
2420
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2415,7 +2479,9 @@ class RequiresSudoApi {
|
|
|
2415
2479
|
async getAllWhitelabels(options = { headers: {} }) {
|
|
2416
2480
|
const localVarPath = this.basePath + '/api/whitelabels';
|
|
2417
2481
|
let localVarQueryParameters = {};
|
|
2418
|
-
let localVarHeaderParams = Object.assign({
|
|
2482
|
+
let localVarHeaderParams = Object.assign({
|
|
2483
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2484
|
+
}, this.defaultHeaders);
|
|
2419
2485
|
const produces = ['application/json'];
|
|
2420
2486
|
// give precedence to 'application/json'
|
|
2421
2487
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2482,7 +2548,9 @@ class RequiresSudoApi {
|
|
|
2482
2548
|
const localVarPath = this.basePath + '/api/whitelabel/{whitelabelIdentifier}'
|
|
2483
2549
|
.replace('{' + 'whitelabelIdentifier' + '}', encodeURIComponent(String(whitelabelIdentifier)));
|
|
2484
2550
|
let localVarQueryParameters = {};
|
|
2485
|
-
let localVarHeaderParams = Object.assign({
|
|
2551
|
+
let localVarHeaderParams = Object.assign({
|
|
2552
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2553
|
+
}, this.defaultHeaders);
|
|
2486
2554
|
const produces = ['application/json'];
|
|
2487
2555
|
// give precedence to 'application/json'
|
|
2488
2556
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2551,7 +2619,9 @@ class RequiresSudoApi {
|
|
|
2551
2619
|
async listEmailsCurrentUser(options = { headers: {} }) {
|
|
2552
2620
|
const localVarPath = this.basePath + '/api/user/emails';
|
|
2553
2621
|
let localVarQueryParameters = {};
|
|
2554
|
-
let localVarHeaderParams = Object.assign({
|
|
2622
|
+
let localVarHeaderParams = Object.assign({
|
|
2623
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2624
|
+
}, this.defaultHeaders);
|
|
2555
2625
|
const produces = ['application/json'];
|
|
2556
2626
|
// give precedence to 'application/json'
|
|
2557
2627
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2618,7 +2688,9 @@ class RequiresSudoApi {
|
|
|
2618
2688
|
const localVarPath = this.basePath + '/api/users/{userId}/emails'
|
|
2619
2689
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
2620
2690
|
let localVarQueryParameters = {};
|
|
2621
|
-
let localVarHeaderParams = Object.assign({
|
|
2691
|
+
let localVarHeaderParams = Object.assign({
|
|
2692
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2693
|
+
}, this.defaultHeaders);
|
|
2622
2694
|
const produces = ['application/json'];
|
|
2623
2695
|
// give precedence to 'application/json'
|
|
2624
2696
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2690,7 +2762,9 @@ class RequiresSudoApi {
|
|
|
2690
2762
|
const localVarPath = this.basePath + '/api/{projectId}/compute-time-limit'
|
|
2691
2763
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
2692
2764
|
let localVarQueryParameters = {};
|
|
2693
|
-
let localVarHeaderParams = Object.assign({
|
|
2765
|
+
let localVarHeaderParams = Object.assign({
|
|
2766
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2767
|
+
}, this.defaultHeaders);
|
|
2694
2768
|
const produces = ['application/json'];
|
|
2695
2769
|
// give precedence to 'application/json'
|
|
2696
2770
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2767,7 +2841,9 @@ class RequiresSudoApi {
|
|
|
2767
2841
|
const localVarPath = this.basePath + '/api/{projectId}/dsp-file-size-limit'
|
|
2768
2842
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)));
|
|
2769
2843
|
let localVarQueryParameters = {};
|
|
2770
|
-
let localVarHeaderParams = Object.assign({
|
|
2844
|
+
let localVarHeaderParams = Object.assign({
|
|
2845
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2846
|
+
}, this.defaultHeaders);
|
|
2771
2847
|
const produces = ['application/json'];
|
|
2772
2848
|
// give precedence to 'application/json'
|
|
2773
2849
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2844,7 +2920,9 @@ class RequiresSudoApi {
|
|
|
2844
2920
|
const localVarPath = this.basePath + '/api/whitelabel/{whitelabelIdentifier}/deploymentTargets'
|
|
2845
2921
|
.replace('{' + 'whitelabelIdentifier' + '}', encodeURIComponent(String(whitelabelIdentifier)));
|
|
2846
2922
|
let localVarQueryParameters = {};
|
|
2847
|
-
let localVarHeaderParams = Object.assign({
|
|
2923
|
+
let localVarHeaderParams = Object.assign({
|
|
2924
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2925
|
+
}, this.defaultHeaders);
|
|
2848
2926
|
const produces = ['application/json'];
|
|
2849
2927
|
// give precedence to 'application/json'
|
|
2850
2928
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2921,7 +2999,9 @@ class RequiresSudoApi {
|
|
|
2921
2999
|
const localVarPath = this.basePath + '/api/third-party-auth/{authId}'
|
|
2922
3000
|
.replace('{' + 'authId' + '}', encodeURIComponent(String(authId)));
|
|
2923
3001
|
let localVarQueryParameters = {};
|
|
2924
|
-
let localVarHeaderParams = Object.assign({
|
|
3002
|
+
let localVarHeaderParams = Object.assign({
|
|
3003
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
3004
|
+
}, this.defaultHeaders);
|
|
2925
3005
|
const produces = ['application/json'];
|
|
2926
3006
|
// give precedence to 'application/json'
|
|
2927
3007
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -3000,7 +3080,9 @@ class RequiresSudoApi {
|
|
|
3000
3080
|
.replace('{' + 'projectId' + '}', encodeURIComponent(String(projectId)))
|
|
3001
3081
|
.replace('{' + 'learnId' + '}', encodeURIComponent(String(learnId)));
|
|
3002
3082
|
let localVarQueryParameters = {};
|
|
3003
|
-
let localVarHeaderParams = Object.assign({
|
|
3083
|
+
let localVarHeaderParams = Object.assign({
|
|
3084
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
3085
|
+
}, this.defaultHeaders);
|
|
3004
3086
|
const produces = ['application/json'];
|
|
3005
3087
|
// give precedence to 'application/json'
|
|
3006
3088
|
if (produces.indexOf('application/json') >= 0) {
|