UNPKG

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

32 lines (28 loc) 968 B
/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, optional, Schema, string } from '../schema'; import { CardTypeResponseCustomerCardTypesItems, cardTypeResponseCustomerCardTypesItemsSchema, } from './cardTypeResponseCustomerCardTypesItems'; import { CardTypeResponseError, cardTypeResponseErrorSchema, } from './cardTypeResponseError'; export interface CardTypeResponse { customerCardTypes?: CardTypeResponseCustomerCardTypesItems[]; error?: CardTypeResponseError; /** API Request Id */ requestId?: string; } export const cardTypeResponseSchema: Schema<CardTypeResponse> = object({ customerCardTypes: [ 'CustomerCardTypes', optional(array(lazy(() => cardTypeResponseCustomerCardTypesItemsSchema))), ], error: ['Error', optional(lazy(() => cardTypeResponseErrorSchema))], requestId: ['RequestId', optional(string())], });