Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keeperapi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion keeperapi/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@keeper-security/keeperapi",
"description": "Keeper API Javascript SDK",
"version": "18.0.5",
"version": "18.0.6",
"browser": "dist/browser/index.js",
"main": "dist/index.cjs.js",
"types": "dist/node/index.d.ts",
Expand Down
18 changes: 18 additions & 0 deletions keeperapi/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,24 @@ export const teamEnterpriseUserRemoveCommand = (
request: TeamUserCommandRequest
): RestCommand<TeamUserCommandRequest, KeeperResponse> => createCommand(request, 'team_enterprise_user_remove')

export type TeamGetKeysRequest = {
teams: string[]
}

export type TeamGetKeyEntry = {
team_uid: string
key?: string
type?: number
Comment thread
tylerccarson marked this conversation as resolved.
result_code?: string
}

export type TeamGetKeysResponse = KeeperResponse & {
keys?: TeamGetKeyEntry[]
}

export const teamGetKeysCommand = (request: TeamGetKeysRequest): RestCommand<TeamGetKeysRequest, TeamGetKeysResponse> =>
createCommand(request, 'team_get_keys')

export type GetRecordHistoryRequest = {
record_uid: string
client_time: number
Expand Down
Loading