UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

29 lines (25 loc) 851 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 { GetScheduledPaymentsResponseData, getScheduledPaymentsResponseDataSchema, } from './getScheduledPaymentsResponseData'; import { Links, linksSchema } from './links'; import { Meta, metaSchema } from './meta'; export interface GetScheduledPaymentsResponse { data: GetScheduledPaymentsResponseData; /** Links relevant to the payload */ links: Links; meta: Meta; } export const getScheduledPaymentsResponseSchema: Schema<GetScheduledPaymentsResponse> = object( { data: ['Data', lazy(() => getScheduledPaymentsResponseDataSchema)], links: ['Links', lazy(() => linksSchema)], meta: ['Meta', lazy(() => metaSchema)], } );