UNPKG

pnz-apicentre-sandbox-sdk

Version:

The sandbox, powered by Middleware New Zealand, is a dedicated environment that mimics an API Provider, as defined in the [Payments NZ API Centre standards](https://paymentsnz.atlassian.net/wiki/spaces/PaymentsNZAPIStandards/overview). This SDK is generat

26 lines (22 loc) 721 B
/** * Account information PNZ-API-CentreLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { lazy, object, Schema, string } from '../schema'; import { Account9, account9Schema } from './account9'; import { Servicer, servicerSchema } from './servicer'; export interface Account8 { accountId: string; currency: string; nickname: string; account: Account9; servicer: Servicer; } export const account8Schema: Schema<Account8> = object({ accountId: ['AccountId', string()], currency: ['Currency', string()], nickname: ['Nickname', string()], account: ['Account', lazy(() => account9Schema)], servicer: ['Servicer', lazy(() => servicerSchema)], });