feat(#385): updated createSubAPIKey params to match docs

This commit is contained in:
Jerko J
2024-10-25 10:03:10 +02:00
parent f80be3568b
commit 9acb512d5c
3 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
import { PermissionsV5 } from '../v5-shared';
export interface CreateSubMemberParamsV5 {
username: string;
password?: string;
@@ -20,7 +19,7 @@ export interface CreateSubApiKeyParamsV5 {
subuid: number;
note?: string;
readOnly: 0 | 1;
ips?: string[];
ips?: string;
permissions: PermissionsV5;
}
@@ -45,4 +44,4 @@ export interface GetSubAccountAllApiKeysParamsV5 {
subMemberId: string;
limit?: number;
cursor?: string;
}
}