data-and-reporting-sdk
Version:
Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication
25 lines (21 loc) • 693 B
text/typescript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, optional, Schema, string } from '../schema';
import {
DefaultErrorFaultDetail,
defaultErrorFaultDetailSchema,
} from './defaultErrorFaultDetail';
/** Error object */
export interface DefaultErrorFault {
/** Error Description */
faultstring?: string;
/** Details about the error */
detail?: DefaultErrorFaultDetail;
}
export const defaultErrorFaultSchema: Schema<DefaultErrorFault> = object({
faultstring: ['faultstring', optional(string())],
detail: ['detail', optional(lazy(() => defaultErrorFaultDetailSchema))],
});