UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

29 lines (25 loc) 811 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 { GetAccountPartyResponseData, getAccountPartyResponseDataSchema, } from './getAccountPartyResponseData'; import { Links, linksSchema } from './links'; import { Meta, metaSchema } from './meta'; export interface GetAccountPartyResponse { data: GetAccountPartyResponseData; /** Links relevant to the payload */ links: Links; meta: Meta; } export const getAccountPartyResponseSchema: Schema<GetAccountPartyResponse> = object( { data: ['Data', lazy(() => getAccountPartyResponseDataSchema)], links: ['Links', lazy(() => linksSchema)], meta: ['Meta', lazy(() => metaSchema)], } );