UNPKG

@dodi-smart/nuki-graphql-api

Version:
48 lines 2.03 kB
import type { AccountUser } from '../models/AccountUser'; import type { AccountUserCreate } from '../models/AccountUserCreate'; import type { AccountUserUpdate } from '../models/AccountUserUpdate'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class AccountUserService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get an list of account users * @param email Filter for email * @param offset The offset of the first user in the collection to return * @param limit The maximum number of users to return. If the value exceeds the maximum, then the maximum value will be used. * @returns AccountUser successful operation * @throws ApiError */ getAccountUsers(email?: string, offset?: any, limit?: any): CancelablePromise<Array<AccountUser>>; /** * Create an account user * @param requestBody Account sub create representation * @returns AccountUser Ok * @throws ApiError */ createAccountUser(requestBody: AccountUserCreate): CancelablePromise<AccountUser>; /** * Get an account user * @param accountUserId The account user id * @returns AccountUser successful operation * @throws ApiError */ getAccountUser(accountUserId: number): CancelablePromise<AccountUser>; /** * Update an account user * @param accountUserId The account user id * @param requestBody Account update representation * @returns AccountUser successful operation * @throws ApiError */ updateAccountUser(accountUserId: number, requestBody: AccountUserUpdate): CancelablePromise<AccountUser>; /** * Deletes asynchronous an account user * @param accountUserId The account user id * @returns void * @throws ApiError */ deleteAccountUser(accountUserId: number): CancelablePromise<void>; } //# sourceMappingURL=AccountUserService.d.ts.map