UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

20 lines (16 loc) 513 B
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, optional, Schema, string } from '../schema'; import { Detail, detailSchema } from './detail'; export interface Fault { /** Error Description */ faultstring?: string; detail?: Detail; } export const faultSchema: Schema<Fault> = object({ faultstring: ['faultstring', optional(string())], detail: ['detail', optional(lazy(() => detailSchema))], });