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
22 lines • 883 B
JavaScript
/**
* Shell Data & Reporting APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { array, lazy, nullable, object, optional, string, } from '../schema';
import { cardExceptionsSchema } from './cardExceptions';
import { errorStatusSchema } from './errorStatus';
import { transactionExceptionsSchema, } from './transactionExceptions';
export const transactionExceptionsResponseSchema = object({
cardExceptions: [
'CardExceptions',
optional(array(lazy(() => cardExceptionsSchema))),
],
transactionExceptions: [
'TransactionExceptions',
optional(nullable(array(lazy(() => transactionExceptionsSchema)))),
],
error: ['Error', optional(lazy(() => errorStatusSchema))],
requestId: ['RequestId', optional(string())],
});
//# sourceMappingURL=transactionExceptionsResponse.js.map