import { APIResource } from "../resource.js"; import * as Core from "../core.js"; import * as InstitutionsAPI from "./institutions.js"; export declare class Institutions extends APIResource { /** * Get Institutions */ list(query: InstitutionListParams, options?: Core.RequestOptions): Core.APIPromise; /** * Update Institution Usage */ usage(id: string, options?: Core.RequestOptions): Core.APIPromise; } export interface InstitutionsSchema { data: Array; } export declare namespace InstitutionsSchema { interface Data { id: string; logo: string | null; name: string; provider: 'teller' | 'plaid' | 'gocardless'; available_history?: number | null; } } export interface UpdateUsageSchema { data: UpdateUsageSchema.Data; } export declare namespace UpdateUsageSchema { interface Data { id: string; logo: string | null; name: string; provider: 'teller' | 'plaid' | 'gocardless'; available_history?: number | null; } } export interface InstitutionListParams { /** * Country code */ countryCode: 'AT' | 'BE' | 'BG' | 'HR' | 'CY' | 'CZ' | 'DK' | 'EE' | 'FI' | 'FR' | 'DE' | 'GR' | 'HU' | 'IS' | 'IE' | 'IT' | 'LV' | 'LI' | 'LT' | 'LU' | 'MT' | 'NL' | 'NO' | 'PL' | 'PT' | 'RO' | 'SK' | 'SI' | 'ES' | 'SE' | 'GB' | 'US' | 'CA'; /** * Limit results */ limit?: string; /** * Search query */ q?: string; } export declare namespace Institutions { export import InstitutionsSchema = InstitutionsAPI.InstitutionsSchema; export import UpdateUsageSchema = InstitutionsAPI.UpdateUsageSchema; export import InstitutionListParams = InstitutionsAPI.InstitutionListParams; } //# sourceMappingURL=institutions.d.ts.map