pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
32 lines (28 loc) • 958 B
text/typescript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { lazy, object, Schema } from '../schema';
import {
GetAccountStatementTransactionsResponseData,
getAccountStatementTransactionsResponseDataSchema,
} from './getAccountStatementTransactionsResponseData';
import { Links, linksSchema } from './links';
import { Meta, metaSchema } from './meta';
export interface GetAccountStatementTransactionsResponse {
data: GetAccountStatementTransactionsResponseData;
/** Links relevant to the payload */
links: Links;
meta: Meta;
}
export const getAccountStatementTransactionsResponseSchema: Schema<GetAccountStatementTransactionsResponse> = object(
{
data: [
'Data',
lazy(() => getAccountStatementTransactionsResponseDataSchema),
],
links: ['Links', lazy(() => linksSchema)],
meta: ['Meta', lazy(() => metaSchema)],
}
);