UNPKG

@spree/storefront-api-v2-sdk

Version:

Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on

15 lines (14 loc) 365 B
import { ResultResponse } from './ResultResponse'; export interface IToken { orderToken?: string; bearerToken?: string; } export interface IOAuthToken { access_token: string; token_type: 'Bearer'; expires_in: number; refresh_token: string; created_at: number; } export interface IOAuthTokenResult extends ResultResponse<IOAuthToken> { }