pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
27 lines (23 loc) • 751 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 {
GetOffersResponseData,
getOffersResponseDataSchema,
} from './getOffersResponseData';
import { Links, linksSchema } from './links';
import { Meta, metaSchema } from './meta';
export interface GetOffersResponse {
data: GetOffersResponseData;
/** Links relevant to the payload */
links: Links;
meta: Meta;
}
export const getOffersResponseSchema: Schema<GetOffersResponse> = object({
data: ['Data', lazy(() => getOffersResponseDataSchema)],
links: ['Links', lazy(() => linksSchema)],
meta: ['Meta', lazy(() => metaSchema)],
});