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.
@@ -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. If `fullDeletion` is set, it deletes the user\'s identifiable information and files. Otherwise, it soft deletes the user by setting it\'s `delete_date` value.
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, queryParams: adminDeleteUserQueryParams, options?: {
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. If `fullDeletion` is set, it deletes the user\'s identifiable information and files. Otherwise, it soft deletes the user by setting it\'s `delete_date` value.
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, queryParams, options = { headers: {} }) {
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;