/** * YNAB API Endpoints * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com * * Generated by: OpenAPI Generator (https://openapi-generator.tech) */ import * as runtime from '../runtime'; import type { PayeeLocationResponse, PayeeLocationsResponse } from '../models/index'; export interface GetPayeeLocationByIdRequest { planId: string; payeeLocationId: string; } export interface GetPayeeLocationsRequest { planId: string; } export interface GetPayeeLocationsByPayeeRequest { planId: string; payeeId: string; } /** * */ export declare class PayeeLocationsApi extends runtime.BaseAPI { /** * Returns a single payee location * Get a payee location */ getPayeeLocationByIdRaw(requestParameters: GetPayeeLocationByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns a single payee location * Get a payee location */ getPayeeLocationById(planId: string, payeeLocationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns all payee locations * Get all payee locations */ getPayeeLocationsRaw(requestParameters: GetPayeeLocationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns all payee locations * Get all payee locations */ getPayeeLocations(planId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns all payee locations for a specified payee * Get all locations for a payee */ getPayeeLocationsByPayeeRaw(requestParameters: GetPayeeLocationsByPayeeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns all payee locations for a specified payee * Get all locations for a payee */ getPayeeLocationsByPayee(planId: string, payeeId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }