UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

77 lines 1.87 kB
/** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { CustomConfigParameters } from './CustomConfigParameters'; import type { APIStatus } from './APIStatus'; /** * * @export * @interface APIError */ export interface APIError { /** * * @type {APIStatus} * @memberof APIError */ status: APIStatus; /** * * @type {string} * @memberof APIError */ reason: string; /** * * @type {string} * @memberof APIError */ code: string; /** * * @type {string} * @memberof APIError */ secondaryCode?: string; /** * * @type {number} * @memberof APIError */ bannedUntil?: number; /** * * @type {number} * @memberof APIError */ maxCharacterLength?: number; /** * * @type {string} * @memberof APIError */ translatedError?: string; /** * * @type {CustomConfigParameters} * @memberof APIError */ customConfig?: CustomConfigParameters; } /** * Check if a given object implements the APIError interface. */ export declare function instanceOfAPIError(value: object): value is APIError; export declare function APIErrorFromJSON(json: any): APIError; export declare function APIErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): APIError; export declare function APIErrorToJSON(json: any): APIError; export declare function APIErrorToJSONTyped(value?: APIError | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=APIError.d.ts.map