import { Account, Membership, MembershipType, Username as UsernameModel } from '../models'; import { Response } from './shared.api'; /** * POST /account/authenticate * ============================================================================= * Authenticate with the API via username and password. * * @see https://api.d4h.org/v2/documentation#operation/postAccountAuthenticate */ export interface Authenticate extends Response { } /** * GET /account/memberships * ============================================================================= * @see https://api.d4h.org/v2/documentation#operation/getAccountMemberships */ export interface Query { list_modules?: boolean; type?: MembershipType; } export interface Memberships { meta: object; statusCode: number; data: { documents: Array; }; } /** * GET /account/username * ============================================================================= * @see https://api.d4h.org/v2/documentation#operation/getAccountUsername */ export interface Username extends Response { }