edge-impulse-api 1.49.26 → 1.49.29
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.d.ts +2 -6
- package/build/library/sdk/api/adminApi.js +2 -6
- package/build/library/sdk/api/adminApi.js.map +1 -1
- package/build/library/sdk/api/userApi.d.ts +5 -2
- package/build/library/sdk/api/userApi.js +14 -2
- package/build/library/sdk/api/userApi.js.map +1 -1
- package/build/library/sdk/model/deleteUserRequest.d.ts +32 -0
- package/build/library/sdk/model/deleteUserRequest.js +34 -0
- package/build/library/sdk/model/deleteUserRequest.js.map +1 -0
- package/build/library/sdk/model/enterpriseTrial.d.ts +1 -1
- package/build/library/sdk/model/getUserResponse.d.ts +4 -0
- package/build/library/sdk/model/getUserResponse.js +5 -0
- package/build/library/sdk/model/getUserResponse.js.map +1 -1
- package/build/library/sdk/model/getUserResponseAllOf.d.ts +4 -0
- package/build/library/sdk/model/getUserResponseAllOf.js +5 -0
- package/build/library/sdk/model/getUserResponseAllOf.js.map +1 -1
- package/build/library/sdk/model/models.d.ts +1 -0
- package/build/library/sdk/model/models.js +3 -0
- package/build/library/sdk/model/models.js.map +1 -1
- package/build/library/sdk/model/userOrganization.d.ts +1 -0
- package/build/library/sdk/model/userOrganization.js +5 -0
- package/build/library/sdk/model/userOrganization.js.map +1 -1
- package/package.json +1 -1
|
@@ -71,9 +71,6 @@ type adminCreateOrganizationUsageReportQueryParams = {
|
|
|
71
71
|
type adminDeleteOrganizationQueryParams = {
|
|
72
72
|
fullDeletion?: boolean;
|
|
73
73
|
};
|
|
74
|
-
type adminDeleteUserQueryParams = {
|
|
75
|
-
fullDeletion?: boolean;
|
|
76
|
-
};
|
|
77
74
|
type adminFindUserQueryParams = {
|
|
78
75
|
query: string;
|
|
79
76
|
};
|
|
@@ -334,12 +331,11 @@ export declare class AdminApi {
|
|
|
334
331
|
};
|
|
335
332
|
}): Promise<GenericApiResponse>;
|
|
336
333
|
/**
|
|
337
|
-
* Admin-only API to delete a user.
|
|
334
|
+
* Admin-only API to delete a user.
|
|
338
335
|
* @summary Delete a user
|
|
339
336
|
* @param userId User ID
|
|
340
|
-
* @param fullDeletion Set to true for full deletion
|
|
341
337
|
*/
|
|
342
|
-
adminDeleteUser(userId: number,
|
|
338
|
+
adminDeleteUser(userId: number, options?: {
|
|
343
339
|
headers: {
|
|
344
340
|
[name: string]: string;
|
|
345
341
|
};
|
|
@@ -1376,12 +1376,11 @@ class AdminApi {
|
|
|
1376
1376
|
});
|
|
1377
1377
|
}
|
|
1378
1378
|
/**
|
|
1379
|
-
* Admin-only API to delete a user.
|
|
1379
|
+
* Admin-only API to delete a user.
|
|
1380
1380
|
* @summary Delete a user
|
|
1381
1381
|
* @param userId User ID
|
|
1382
|
-
* @param fullDeletion Set to true for full deletion
|
|
1383
1382
|
*/
|
|
1384
|
-
async adminDeleteUser(userId,
|
|
1383
|
+
async adminDeleteUser(userId, options = { headers: {} }) {
|
|
1385
1384
|
const localVarPath = this.basePath + '/api/admin/users/{userId}'
|
|
1386
1385
|
.replace('{' + 'userId' + '}', encodeURIComponent(String(userId)));
|
|
1387
1386
|
let localVarQueryParameters = {};
|
|
@@ -1401,9 +1400,6 @@ class AdminApi {
|
|
|
1401
1400
|
if (userId === null || userId === undefined) {
|
|
1402
1401
|
throw new Error('Required parameter userId was null or undefined when calling adminDeleteUser.');
|
|
1403
1402
|
}
|
|
1404
|
-
if (queryParams.fullDeletion !== undefined) {
|
|
1405
|
-
localVarQueryParameters['fullDeletion'] = models_1.ObjectSerializer.serialize(queryParams.fullDeletion, "boolean");
|
|
1406
|
-
}
|
|
1407
1403
|
Object.assign(localVarHeaderParams, options.headers);
|
|
1408
1404
|
Object.assign(localVarHeaderParams, this.opts.extraHeaders);
|
|
1409
1405
|
let localVarUseFormData = false;
|