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) 702 B
/** * Account information PNZ-API-CentreLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { number, object, Schema, string } from '../schema'; export interface DFAC4ExchangeauthReqIdforaccesstoken { accessToken: string; tokenType: string; refreshToken: string; expiresIn: number; idToken: string; } export const dFAC4ExchangeauthReqIdforaccesstokenSchema: Schema<DFAC4ExchangeauthReqIdforaccesstoken> = object( { accessToken: ['access_token', string()], tokenType: ['token_type', string()], refreshToken: ['refresh_token', string()], expiresIn: ['expires_in', number()], idToken: ['id_token', string()], } );