UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

27 lines (23 loc) 735 B
/** * 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 { AccountResponseData, accountResponseDataSchema, } from './accountResponseData'; import { Links, linksSchema } from './links'; import { Meta, metaSchema } from './meta'; export interface AccountResponse { data: AccountResponseData; /** Links relevant to the payload */ links: Links; meta: Meta; } export const accountResponseSchema: Schema<AccountResponse> = object({ data: ['Data', lazy(() => accountResponseDataSchema)], links: ['Links', lazy(() => linksSchema)], meta: ['Meta', lazy(() => metaSchema)], });