@cardscan.ai/cardscan-client
Version:
Typescript client for the CardScan API
47 lines (46 loc) • 1.07 kB
TypeScript
/**
* CardScan API
* The official documentation for the CardScan API Clients.
*
* The version of the OpenAPI document: 1.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 { KeysToCamelCase, KeysToSnakeCase } from "./";
/**
*
* @export
* @interface ModelError
*/
export interface ModelErrorOriginal {
/**
* A message describing the error.
* @type {string}
* @memberof ModelError
*/
'message': string;
/**
* The type of error.
* @type {string}
* @memberof ModelError
*/
'type': string;
/**
* The error code.
* @type {string}
* @memberof ModelError
*/
'code': string;
/**
* The type of the error (deprecated)
* @type {string}
* @memberof ModelError
* @deprecated
*/
'error'?: string;
}
export type ModelError = KeysToCamelCase<ModelErrorOriginal>;
export type ModelErrorSnake = KeysToSnakeCase<ModelErrorOriginal>;