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
|
@@ -81,7 +81,9 @@ class UserApi {
|
|
|
81
81
|
async acceptTermsOfService(options = { headers: {} }) {
|
|
82
82
|
const localVarPath = this.basePath + '/api/user/accept-tos';
|
|
83
83
|
let localVarQueryParameters = {};
|
|
84
|
-
let localVarHeaderParams = Object.assign({
|
|
84
|
+
let localVarHeaderParams = Object.assign({
|
|
85
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
86
|
+
}, this.defaultHeaders);
|
|
85
87
|
const produces = ['application/json'];
|
|
86
88
|
// give precedence to 'application/json'
|
|
87
89
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -147,7 +149,9 @@ class UserApi {
|
|
|
147
149
|
async activateCurrentUser(activateUserRequest, options = { headers: {} }) {
|
|
148
150
|
const localVarPath = this.basePath + '/api/user/activate';
|
|
149
151
|
let localVarQueryParameters = {};
|
|
150
|
-
let localVarHeaderParams = Object.assign({
|
|
152
|
+
let localVarHeaderParams = Object.assign({
|
|
153
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
154
|
+
}, this.defaultHeaders);
|
|
151
155
|
const produces = ['application/json'];
|
|
152
156
|
// give precedence to 'application/json'
|
|
153
157
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -220,7 +224,9 @@ class UserApi {
|
|
|
220
224
|
const localVarPath = this.basePath + '/api/users/{userId}/activate'
|
|
221
225
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
222
226
|
let localVarQueryParameters = {};
|
|
223
|
-
let localVarHeaderParams = Object.assign({
|
|
227
|
+
let localVarHeaderParams = Object.assign({
|
|
228
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
229
|
+
}, this.defaultHeaders);
|
|
224
230
|
const produces = ['application/json'];
|
|
225
231
|
// give precedence to 'application/json'
|
|
226
232
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -295,7 +301,9 @@ class UserApi {
|
|
|
295
301
|
async activateUserByThirdPartyActivationCode(activateUserByThirdPartyActivationCodeRequest, options = { headers: {} }) {
|
|
296
302
|
const localVarPath = this.basePath + '/api/user/activate-by-third-party-activation-code';
|
|
297
303
|
let localVarQueryParameters = {};
|
|
298
|
-
let localVarHeaderParams = Object.assign({
|
|
304
|
+
let localVarHeaderParams = Object.assign({
|
|
305
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
306
|
+
}, this.defaultHeaders);
|
|
299
307
|
const produces = ['application/json'];
|
|
300
308
|
// give precedence to 'application/json'
|
|
301
309
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -366,7 +374,9 @@ class UserApi {
|
|
|
366
374
|
async changePasswordCurrentUser(changePasswordRequest, options = { headers: {} }) {
|
|
367
375
|
const localVarPath = this.basePath + '/api/user/change-password';
|
|
368
376
|
let localVarQueryParameters = {};
|
|
369
|
-
let localVarHeaderParams = Object.assign({
|
|
377
|
+
let localVarHeaderParams = Object.assign({
|
|
378
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
379
|
+
}, this.defaultHeaders);
|
|
370
380
|
const produces = ['application/json'];
|
|
371
381
|
// give precedence to 'application/json'
|
|
372
382
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -439,7 +449,9 @@ class UserApi {
|
|
|
439
449
|
const localVarPath = this.basePath + '/api/users/{userId}/change-password'
|
|
440
450
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
441
451
|
let localVarQueryParameters = {};
|
|
442
|
-
let localVarHeaderParams = Object.assign({
|
|
452
|
+
let localVarHeaderParams = Object.assign({
|
|
453
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
454
|
+
}, this.defaultHeaders);
|
|
443
455
|
const produces = ['application/json'];
|
|
444
456
|
// give precedence to 'application/json'
|
|
445
457
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -514,7 +526,9 @@ class UserApi {
|
|
|
514
526
|
async convertCurrentUser(convertUserRequest, options = { headers: {} }) {
|
|
515
527
|
const localVarPath = this.basePath + '/api/user/convert';
|
|
516
528
|
let localVarQueryParameters = {};
|
|
517
|
-
let localVarHeaderParams = Object.assign({
|
|
529
|
+
let localVarHeaderParams = Object.assign({
|
|
530
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
531
|
+
}, this.defaultHeaders);
|
|
518
532
|
const produces = ['application/json'];
|
|
519
533
|
// give precedence to 'application/json'
|
|
520
534
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -584,7 +598,9 @@ class UserApi {
|
|
|
584
598
|
async createDeveloperProfile(options = { headers: {} }) {
|
|
585
599
|
const localVarPath = this.basePath + '/api/user/create-developer-profile';
|
|
586
600
|
let localVarQueryParameters = {};
|
|
587
|
-
let localVarHeaderParams = Object.assign({
|
|
601
|
+
let localVarHeaderParams = Object.assign({
|
|
602
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
603
|
+
}, this.defaultHeaders);
|
|
588
604
|
const produces = ['application/json'];
|
|
589
605
|
// give precedence to 'application/json'
|
|
590
606
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -649,7 +665,9 @@ class UserApi {
|
|
|
649
665
|
async createEvaluationUser(options = { headers: {} }) {
|
|
650
666
|
const localVarPath = this.basePath + '/api-user-create-evaluate';
|
|
651
667
|
let localVarQueryParameters = {};
|
|
652
|
-
let localVarHeaderParams = Object.assign({
|
|
668
|
+
let localVarHeaderParams = Object.assign({
|
|
669
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
670
|
+
}, this.defaultHeaders);
|
|
653
671
|
const produces = ['application/json'];
|
|
654
672
|
// give precedence to 'application/json'
|
|
655
673
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -712,7 +730,9 @@ class UserApi {
|
|
|
712
730
|
async createUser(createUserRequest, options = { headers: {} }) {
|
|
713
731
|
const localVarPath = this.basePath + '/api-user-create';
|
|
714
732
|
let localVarQueryParameters = {};
|
|
715
|
-
let localVarHeaderParams = Object.assign({
|
|
733
|
+
let localVarHeaderParams = Object.assign({
|
|
734
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
735
|
+
}, this.defaultHeaders);
|
|
716
736
|
const produces = ['application/json'];
|
|
717
737
|
// give precedence to 'application/json'
|
|
718
738
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -779,7 +799,9 @@ class UserApi {
|
|
|
779
799
|
async deleteCurrentUser(options = { headers: {} }) {
|
|
780
800
|
const localVarPath = this.basePath + '/api/user';
|
|
781
801
|
let localVarQueryParameters = {};
|
|
782
|
-
let localVarHeaderParams = Object.assign({
|
|
802
|
+
let localVarHeaderParams = Object.assign({
|
|
803
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
804
|
+
}, this.defaultHeaders);
|
|
783
805
|
const produces = ['application/json'];
|
|
784
806
|
// give precedence to 'application/json'
|
|
785
807
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -844,7 +866,9 @@ class UserApi {
|
|
|
844
866
|
async deletePhotoCurrentUser(options = { headers: {} }) {
|
|
845
867
|
const localVarPath = this.basePath + '/api/user/photo';
|
|
846
868
|
let localVarQueryParameters = {};
|
|
847
|
-
let localVarHeaderParams = Object.assign({
|
|
869
|
+
let localVarHeaderParams = Object.assign({
|
|
870
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
871
|
+
}, this.defaultHeaders);
|
|
848
872
|
const produces = ['application/json'];
|
|
849
873
|
// give precedence to 'application/json'
|
|
850
874
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -911,7 +935,9 @@ class UserApi {
|
|
|
911
935
|
const localVarPath = this.basePath + '/api/users/{userId}'
|
|
912
936
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
913
937
|
let localVarQueryParameters = {};
|
|
914
|
-
let localVarHeaderParams = Object.assign({
|
|
938
|
+
let localVarHeaderParams = Object.assign({
|
|
939
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
940
|
+
}, this.defaultHeaders);
|
|
915
941
|
const produces = ['application/json'];
|
|
916
942
|
// give precedence to 'application/json'
|
|
917
943
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -980,7 +1006,9 @@ class UserApi {
|
|
|
980
1006
|
async getCurrentUser(options = { headers: {} }) {
|
|
981
1007
|
const localVarPath = this.basePath + '/api/user';
|
|
982
1008
|
let localVarQueryParameters = {};
|
|
983
|
-
let localVarHeaderParams = Object.assign({
|
|
1009
|
+
let localVarHeaderParams = Object.assign({
|
|
1010
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1011
|
+
}, this.defaultHeaders);
|
|
984
1012
|
const produces = ['application/json'];
|
|
985
1013
|
// give precedence to 'application/json'
|
|
986
1014
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1047,7 +1075,9 @@ class UserApi {
|
|
|
1047
1075
|
const localVarPath = this.basePath + '/api/users/{userId}'
|
|
1048
1076
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1049
1077
|
let localVarQueryParameters = {};
|
|
1050
|
-
let localVarHeaderParams = Object.assign({
|
|
1078
|
+
let localVarHeaderParams = Object.assign({
|
|
1079
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1080
|
+
}, this.defaultHeaders);
|
|
1051
1081
|
const produces = ['application/json'];
|
|
1052
1082
|
// give precedence to 'application/json'
|
|
1053
1083
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1117,7 +1147,9 @@ class UserApi {
|
|
|
1117
1147
|
async getUserByThirdPartyActivationCode(userByThirdPartyActivationRequest, options = { headers: {} }) {
|
|
1118
1148
|
const localVarPath = this.basePath + '/api/user/by-third-party-activation-code';
|
|
1119
1149
|
let localVarQueryParameters = {};
|
|
1120
|
-
let localVarHeaderParams = Object.assign({
|
|
1150
|
+
let localVarHeaderParams = Object.assign({
|
|
1151
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1152
|
+
}, this.defaultHeaders);
|
|
1121
1153
|
const produces = ['application/json'];
|
|
1122
1154
|
// give precedence to 'application/json'
|
|
1123
1155
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1189,7 +1221,9 @@ class UserApi {
|
|
|
1189
1221
|
const localVarPath = this.basePath + '/api-user-need-to-set-password/{usernameOrEmail}'
|
|
1190
1222
|
.replace('{' + 'usernameOrEmail' + '}', encodeURIComponent(String(usernameOrEmail)));
|
|
1191
1223
|
let localVarQueryParameters = {};
|
|
1192
|
-
let localVarHeaderParams = Object.assign({
|
|
1224
|
+
let localVarHeaderParams = Object.assign({
|
|
1225
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1226
|
+
}, this.defaultHeaders);
|
|
1193
1227
|
const produces = ['application/json'];
|
|
1194
1228
|
// give precedence to 'application/json'
|
|
1195
1229
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1255,7 +1289,9 @@ class UserApi {
|
|
|
1255
1289
|
async listEmailsCurrentUser(options = { headers: {} }) {
|
|
1256
1290
|
const localVarPath = this.basePath + '/api/user/emails';
|
|
1257
1291
|
let localVarQueryParameters = {};
|
|
1258
|
-
let localVarHeaderParams = Object.assign({
|
|
1292
|
+
let localVarHeaderParams = Object.assign({
|
|
1293
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1294
|
+
}, this.defaultHeaders);
|
|
1259
1295
|
const produces = ['application/json'];
|
|
1260
1296
|
// give precedence to 'application/json'
|
|
1261
1297
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1322,7 +1358,9 @@ class UserApi {
|
|
|
1322
1358
|
const localVarPath = this.basePath + '/api/users/{userId}/emails'
|
|
1323
1359
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1324
1360
|
let localVarQueryParameters = {};
|
|
1325
|
-
let localVarHeaderParams = Object.assign({
|
|
1361
|
+
let localVarHeaderParams = Object.assign({
|
|
1362
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1363
|
+
}, this.defaultHeaders);
|
|
1326
1364
|
const produces = ['application/json'];
|
|
1327
1365
|
// give precedence to 'application/json'
|
|
1328
1366
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1391,7 +1429,9 @@ class UserApi {
|
|
|
1391
1429
|
async listOrganizationBucketsCurrentUser(options = { headers: {} }) {
|
|
1392
1430
|
const localVarPath = this.basePath + '/api/users/buckets';
|
|
1393
1431
|
let localVarQueryParameters = {};
|
|
1394
|
-
let localVarHeaderParams = Object.assign({
|
|
1432
|
+
let localVarHeaderParams = Object.assign({
|
|
1433
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1434
|
+
}, this.defaultHeaders);
|
|
1395
1435
|
const produces = ['application/json'];
|
|
1396
1436
|
// give precedence to 'application/json'
|
|
1397
1437
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1458,7 +1498,9 @@ class UserApi {
|
|
|
1458
1498
|
const localVarPath = this.basePath + '/api/users/{userId}/buckets'
|
|
1459
1499
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1460
1500
|
let localVarQueryParameters = {};
|
|
1461
|
-
let localVarHeaderParams = Object.assign({
|
|
1501
|
+
let localVarHeaderParams = Object.assign({
|
|
1502
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1503
|
+
}, this.defaultHeaders);
|
|
1462
1504
|
const produces = ['application/json'];
|
|
1463
1505
|
// give precedence to 'application/json'
|
|
1464
1506
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1527,7 +1569,9 @@ class UserApi {
|
|
|
1527
1569
|
async listOrganizationsCurrentUser(options = { headers: {} }) {
|
|
1528
1570
|
const localVarPath = this.basePath + '/api/user/organizations';
|
|
1529
1571
|
let localVarQueryParameters = {};
|
|
1530
|
-
let localVarHeaderParams = Object.assign({
|
|
1572
|
+
let localVarHeaderParams = Object.assign({
|
|
1573
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1574
|
+
}, this.defaultHeaders);
|
|
1531
1575
|
const produces = ['application/json'];
|
|
1532
1576
|
// give precedence to 'application/json'
|
|
1533
1577
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1594,7 +1638,9 @@ class UserApi {
|
|
|
1594
1638
|
const localVarPath = this.basePath + '/api/users/{userId}/organizations'
|
|
1595
1639
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1596
1640
|
let localVarQueryParameters = {};
|
|
1597
|
-
let localVarHeaderParams = Object.assign({
|
|
1641
|
+
let localVarHeaderParams = Object.assign({
|
|
1642
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1643
|
+
}, this.defaultHeaders);
|
|
1598
1644
|
const produces = ['application/json'];
|
|
1599
1645
|
// give precedence to 'application/json'
|
|
1600
1646
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1663,7 +1709,9 @@ class UserApi {
|
|
|
1663
1709
|
async requestActivationCodeCurrentUser(options = { headers: {} }) {
|
|
1664
1710
|
const localVarPath = this.basePath + '/api/user/request-activation';
|
|
1665
1711
|
let localVarQueryParameters = {};
|
|
1666
|
-
let localVarHeaderParams = Object.assign({
|
|
1712
|
+
let localVarHeaderParams = Object.assign({
|
|
1713
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1714
|
+
}, this.defaultHeaders);
|
|
1667
1715
|
const produces = ['application/json'];
|
|
1668
1716
|
// give precedence to 'application/json'
|
|
1669
1717
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1730,7 +1778,9 @@ class UserApi {
|
|
|
1730
1778
|
const localVarPath = this.basePath + '/api/users/{userId}/request-activation'
|
|
1731
1779
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1732
1780
|
let localVarQueryParameters = {};
|
|
1733
|
-
let localVarHeaderParams = Object.assign({
|
|
1781
|
+
let localVarHeaderParams = Object.assign({
|
|
1782
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1783
|
+
}, this.defaultHeaders);
|
|
1734
1784
|
const produces = ['application/json'];
|
|
1735
1785
|
// give precedence to 'application/json'
|
|
1736
1786
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1800,7 +1850,9 @@ class UserApi {
|
|
|
1800
1850
|
async requestResetPassword(requestResetPasswordRequest, options = { headers: {} }) {
|
|
1801
1851
|
const localVarPath = this.basePath + '/api-user-request-reset-password';
|
|
1802
1852
|
let localVarQueryParameters = {};
|
|
1803
|
-
let localVarHeaderParams = Object.assign({
|
|
1853
|
+
let localVarHeaderParams = Object.assign({
|
|
1854
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1855
|
+
}, this.defaultHeaders);
|
|
1804
1856
|
const produces = ['application/json'];
|
|
1805
1857
|
// give precedence to 'application/json'
|
|
1806
1858
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1868,7 +1920,9 @@ class UserApi {
|
|
|
1868
1920
|
async resetPassword(resetPasswordRequest, options = { headers: {} }) {
|
|
1869
1921
|
const localVarPath = this.basePath + '/api-user-reset-password';
|
|
1870
1922
|
let localVarQueryParameters = {};
|
|
1871
|
-
let localVarHeaderParams = Object.assign({
|
|
1923
|
+
let localVarHeaderParams = Object.assign({
|
|
1924
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1925
|
+
}, this.defaultHeaders);
|
|
1872
1926
|
const produces = ['application/json'];
|
|
1873
1927
|
// give precedence to 'application/json'
|
|
1874
1928
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -1938,7 +1992,9 @@ class UserApi {
|
|
|
1938
1992
|
const localVarPath = this.basePath + '/api/users/{userId}/feedback'
|
|
1939
1993
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1940
1994
|
let localVarQueryParameters = {};
|
|
1941
|
-
let localVarHeaderParams = Object.assign({
|
|
1995
|
+
let localVarHeaderParams = Object.assign({
|
|
1996
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
1997
|
+
}, this.defaultHeaders);
|
|
1942
1998
|
const produces = ['application/json'];
|
|
1943
1999
|
// give precedence to 'application/json'
|
|
1944
2000
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2015,7 +2071,9 @@ class UserApi {
|
|
|
2015
2071
|
const localVarPath = this.basePath + '/api/users/{userId}/set-password'
|
|
2016
2072
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
2017
2073
|
let localVarQueryParameters = {};
|
|
2018
|
-
let localVarHeaderParams = Object.assign({
|
|
2074
|
+
let localVarHeaderParams = Object.assign({
|
|
2075
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2076
|
+
}, this.defaultHeaders);
|
|
2019
2077
|
const produces = ['application/json'];
|
|
2020
2078
|
// give precedence to 'application/json'
|
|
2021
2079
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2087,7 +2145,9 @@ class UserApi {
|
|
|
2087
2145
|
async updateCurrentUser(updateUserRequest, options = { headers: {} }) {
|
|
2088
2146
|
const localVarPath = this.basePath + '/api/user';
|
|
2089
2147
|
let localVarQueryParameters = {};
|
|
2090
|
-
let localVarHeaderParams = Object.assign({
|
|
2148
|
+
let localVarHeaderParams = Object.assign({
|
|
2149
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2150
|
+
}, this.defaultHeaders);
|
|
2091
2151
|
const produces = ['application/json'];
|
|
2092
2152
|
// give precedence to 'application/json'
|
|
2093
2153
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2160,7 +2220,9 @@ class UserApi {
|
|
|
2160
2220
|
const localVarPath = this.basePath + '/api/users/{userId}'
|
|
2161
2221
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
2162
2222
|
let localVarQueryParameters = {};
|
|
2163
|
-
let localVarHeaderParams = Object.assign({
|
|
2223
|
+
let localVarHeaderParams = Object.assign({
|
|
2224
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2225
|
+
}, this.defaultHeaders);
|
|
2164
2226
|
const produces = ['application/json'];
|
|
2165
2227
|
// give precedence to 'application/json'
|
|
2166
2228
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2235,7 +2297,9 @@ class UserApi {
|
|
|
2235
2297
|
async uploadPhotoCurrentUser(params, options = { headers: {} }) {
|
|
2236
2298
|
const localVarPath = this.basePath + '/api/user/photo';
|
|
2237
2299
|
let localVarQueryParameters = {};
|
|
2238
|
-
let localVarHeaderParams = Object.assign({
|
|
2300
|
+
let localVarHeaderParams = Object.assign({
|
|
2301
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2302
|
+
}, this.defaultHeaders);
|
|
2239
2303
|
const produces = ['application/json'];
|
|
2240
2304
|
// give precedence to 'application/json'
|
|
2241
2305
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2311,7 +2375,9 @@ class UserApi {
|
|
|
2311
2375
|
const localVarPath = this.basePath + '/api/users/{userId}/photo'
|
|
2312
2376
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
2313
2377
|
let localVarQueryParameters = {};
|
|
2314
|
-
let localVarHeaderParams = Object.assign({
|
|
2378
|
+
let localVarHeaderParams = Object.assign({
|
|
2379
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2380
|
+
}, this.defaultHeaders);
|
|
2315
2381
|
const produces = ['application/json'];
|
|
2316
2382
|
// give precedence to 'application/json'
|
|
2317
2383
|
if (produces.indexOf('application/json') >= 0) {
|
|
@@ -2389,7 +2455,9 @@ class UserApi {
|
|
|
2389
2455
|
async verifyResetPassword(verifyResetPasswordRequest, options = { headers: {} }) {
|
|
2390
2456
|
const localVarPath = this.basePath + '/api-user-verify-reset-password-code';
|
|
2391
2457
|
let localVarQueryParameters = {};
|
|
2392
|
-
let localVarHeaderParams = Object.assign({
|
|
2458
|
+
let localVarHeaderParams = Object.assign({
|
|
2459
|
+
'User-Agent': 'edgeimpulse-api nodejs'
|
|
2460
|
+
}, this.defaultHeaders);
|
|
2393
2461
|
const produces = ['application/json'];
|
|
2394
2462
|
// give precedence to 'application/json'
|
|
2395
2463
|
if (produces.indexOf('application/json') >= 0) {
|