whio-api-sdk 1.0.229-beta-staging → 1.0.230-beta-staging

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.
@@ -64,6 +64,7 @@ export declare class ApiSDK extends BaseClient {
64
64
  getUsersByOrganization(...args: Parameters<UserModule['getUsersByOrganization']>): Promise<User[]>;
65
65
  updateUser(...args: Parameters<UserModule['updateUser']>): Promise<User>;
66
66
  deleteUser(...args: Parameters<UserModule['deleteUser']>): Promise<void>;
67
+ removeRoleFromUser(...args: Parameters<UserModule['removeRoleFromUser']>): Promise<void>;
67
68
  createOrganization(...args: Parameters<OrganizationModule['createOrganization']>): Promise<import("./types").Organization>;
68
69
  getOrganizations(...args: Parameters<OrganizationModule['getOrganizations']>): Promise<import("./types").Organization[]>;
69
70
  getOrganization(...args: Parameters<OrganizationModule['getOrganization']>): Promise<import("./types").Organization>;
@@ -210,6 +210,11 @@ export class ApiSDK extends BaseClient {
210
210
  return this.users.deleteUser(...args);
211
211
  });
212
212
  }
213
+ removeRoleFromUser(...args) {
214
+ return __awaiter(this, void 0, void 0, function* () {
215
+ return this.users.removeRoleFromUser(...args);
216
+ });
217
+ }
213
218
  // Organization methods
214
219
  createOrganization(...args) {
215
220
  return __awaiter(this, void 0, void 0, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whio-api-sdk",
3
- "version": "1.0.229-beta-staging",
3
+ "version": "1.0.230-beta-staging",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
package/src/sdk/sdk.ts CHANGED
@@ -215,6 +215,10 @@ export class ApiSDK extends BaseClient {
215
215
  return this.users.deleteUser(...args);
216
216
  }
217
217
 
218
+ public async removeRoleFromUser(...args: Parameters<UserModule['removeRoleFromUser']>) {
219
+ return this.users.removeRoleFromUser(...args);
220
+ }
221
+
218
222
  // Organization methods
219
223
  public async createOrganization(...args: Parameters<OrganizationModule['createOrganization']>) {
220
224
  return this.organizations.createOrganization(...args);