import { APIClient } from '../api_client' ; import { apiMethod } from '../api_method' ; import { APIResource } from '../api_resource' ; import { APIHandler } from '../api_types' ; import { GET } from '../constants' ; export class AccountsResource extends APIResource { public get : APIHandler ; public getMultisignatureGroups : APIHandler ; public getMultisignatureMemberships : APIHandler ; public path : string ; public constructor ( apiClient ) { super ( apiClient ) ; this . path = '/accounts' ; this . get = apiMethod ( { method : GET , } ) . bind ( this ) ; this . getMultisignatureGroups = apiMethod ( { method : GET , path : '/{address}/multisignature_groups' , urlParams : [ 'address' ] , } ) . bind ( this ) ; this . getMultisignatureMemberships = apiMethod ( { method : GET , path : '/{address}/multisignature_memberships' , urlParams : [ 'address' ] , } ) . bind ( this ) ; } }