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
29 lines (25 loc) • 791 B
text/typescript
/**
* 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 { Account1, account1Schema } from './account1';
export interface Account {
accountId: string;
currency: string;
nickname: string;
description: string;
accountType: string;
accountSubType: string;
account: Account1;
}
export const accountSchema: Schema<Account> = object({
accountId: ['AccountId', string()],
currency: ['Currency', string()],
nickname: ['Nickname', string()],
description: ['Description', string()],
accountType: ['AccountType', string()],
accountSubType: ['AccountSubType', string()],
account: ['Account', lazy(() => account1Schema)],
});