UNPKG

pnz-payments-sdk

Version:

PNZ Payments Account and Transaction API

17 lines (13 loc) 499 B
/** * Account and Transaction API SpecificationLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { array, lazy, object, optional, Schema } from '../schema'; import { OfferModel, offerModelSchema } from './offerModel'; export interface GetOffersResponseData { offer?: OfferModel[]; } export const getOffersResponseDataSchema: Schema<GetOffersResponseData> = object( { offer: ['Offer', optional(array(lazy(() => offerModelSchema)))] } );