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

28 lines (24 loc) 897 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 { StatementOfAccountResp, statementOfAccountRespSchema, } from './statementOfAccountResp'; export interface StatementOfAccountResponse { /** Unique request identifier passed from end user. This identifier helps in tracing a transaction */ requestId?: string; /** Indicates overall status of the request. Allowed values: SUCCES, FAILED */ status?: string; data?: StatementOfAccountResp[]; } export const statementOfAccountResponseSchema: Schema<StatementOfAccountResponse> = object( { requestId: ['RequestId', optional(string())], status: ['Status', optional(string())], data: ['Data', optional(array(lazy(() => statementOfAccountRespSchema)))], } );