/**
 * Shell Card Management APIsLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

import { object, optional, Schema, string } from '../schema';

export interface ErrorStatus {
  /** Error Code */
  code?: string;
  /** Error Description */
  description?: string;
}

export const errorStatusSchema: Schema<ErrorStatus> = object({
  code: ['Code', optional(string())],
  description: ['Description', optional(string())],
});
