UNPKG

ynab

Version:

Official JavaScript client for the YNAB API. API documentation available at https://api.ynab.com. Generated from server specification version 1.76.0

40 lines (39 loc) 1.24 kB
/** * 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) */ /** * * @export * @interface ErrorDetail */ export interface ErrorDetail { /** * * @type {string} * @memberof ErrorDetail */ id: string; /** * * @type {string} * @memberof ErrorDetail */ name: string; /** * * @type {string} * @memberof ErrorDetail */ detail: string; } /** * Check if a given object implements the ErrorDetail interface. */ export declare function instanceOfErrorDetail(value: object): value is ErrorDetail; export declare function ErrorDetailFromJSON(json: any): ErrorDetail; export declare function ErrorDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDetail; export declare function ErrorDetailToJSON(json: any): ErrorDetail; export declare function ErrorDetailToJSONTyped(value?: ErrorDetail | null, ignoreDiscriminator?: boolean): any;