quickbooks-api
Version:
A modular TypeScript SDK for seamless integration with Intuit QuickBooks APIs. Provides robust authentication handling and future-ready foundation for accounting, payments, and commerce operations.
38 lines (31 loc) • 603 B
text/typescript
// Imports
import type { TokenType } from '../enums/token-type';
/**
* The object returned from the Token Exchange Request
*/
export interface TokenResponse {
/**
* The type of token
*/
token_type: TokenType;
/**
* The expiration time of the token
*/
expires_in: number;
/**
* The refresh token
*/
refresh_token: string;
/**
* The expiration time of the refresh token
*/
x_refresh_token_expires_in: number;
/**
* The access token
*/
access_token: string;
/**
* The ID token from OpenID Connect (present when openid scope is requested)
*/
id_token?: string;
}