@workos-inc/node
Advanced tools
Comparing version 0.9.6 to 0.9.7
{ | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"name": "@workos-inc/node", | ||
@@ -12,3 +12,3 @@ "author": "WorkOS", | ||
"volta": { | ||
"node": "10.24.0", | ||
"node": "10.24.1", | ||
"yarn": "1.22.10" | ||
@@ -51,4 +51,4 @@ }, | ||
"tslint": "6.1.3", | ||
"typescript": "4.2.3" | ||
"typescript": "4.2.4" | ||
} | ||
} |
@@ -5,3 +5,3 @@ import { WorkOS } from '../workos'; | ||
import { Group } from './interfaces/group.interface'; | ||
import { User } from './interfaces/user.interface'; | ||
import { User, UserWithGroups } from './interfaces/user.interface'; | ||
import { ListDirectoriesOptions } from './interfaces/list-directories-options.interface'; | ||
@@ -15,5 +15,5 @@ import { ListGroupsOptions } from './interfaces/list-groups-options.interface'; | ||
listGroups(options: ListGroupsOptions): Promise<List<Group>>; | ||
listUsers(options: ListUsersOptions): Promise<List<User>>; | ||
listUsers(options: ListUsersOptions): Promise<List<UserWithGroups>>; | ||
getUser(user: string): Promise<User>; | ||
getGroup(group: string): Promise<Group>; | ||
} |
export interface Group { | ||
id: string; | ||
name: string; | ||
raw_attributes: any; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { Group } from './group.interface'; | ||
export interface User { | ||
@@ -14,1 +15,4 @@ id: string; | ||
} | ||
export interface UserWithGroups extends User { | ||
groups: Group[]; | ||
} |
{ | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"name": "@workos-inc/node", | ||
@@ -12,3 +12,3 @@ "author": "WorkOS", | ||
"volta": { | ||
"node": "10.24.0", | ||
"node": "10.24.1", | ||
"yarn": "1.22.10" | ||
@@ -51,4 +51,4 @@ }, | ||
"tslint": "6.1.3", | ||
"typescript": "4.2.3" | ||
"typescript": "4.2.4" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50724
1062