@linode/api-v4
Version:
JavaScript wrapper around the Linode APIv4
19 lines • 1.49 kB
TypeScript
import type { Account } from '../account';
import type { Token } from '../profile';
import type { ResourcePage as Page } from '../types';
import type { ChildAccount, GetChildAccountDelegatesParams, GetChildAccountsIamParams, GetDelegatedChildAccountsForUserParams, GetMyDelegatedChildAccountsParams, UpdateChildAccountDelegatesParams } from './delegation.types';
import type { IamUserRoles } from './types';
export declare const getChildAccountsIam: ({ params, users, }: GetChildAccountsIamParams) => Promise<Page<ChildAccount>>;
export declare const getDelegatedChildAccountsForUser: ({ username, params, }: GetDelegatedChildAccountsForUserParams) => Promise<Page<ChildAccount>>;
export declare const getChildAccountDelegates: ({ euuid, params, }: GetChildAccountDelegatesParams) => Promise<Page<string>>;
export declare const updateChildAccountDelegates: ({ euuid, users, }: UpdateChildAccountDelegatesParams) => Promise<Page<string>>;
export declare const getMyDelegatedChildAccounts: ({ params, }: GetMyDelegatedChildAccountsParams) => Promise<Page<Account>>;
export declare const getDelegatedChildAccount: ({ euuid }: {
euuid: string;
}) => Promise<Account>;
export declare const generateChildAccountToken: ({ euuid }: {
euuid: string;
}) => Promise<Token>;
export declare const getDefaultDelegationAccess: () => Promise<IamUserRoles>;
export declare const updateDefaultDelegationAccess: (data: IamUserRoles) => Promise<IamUserRoles>;
//# sourceMappingURL=delegation.d.ts.map