UNPKG

@zeplin/sdk

Version:
50 lines (49 loc) 1.24 kB
/** * Zeplin API * Access your resources in Zeplin * * Contact: support@zeplin.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export declare const transformTokenResponseToJSON: (value: TokenResponse) => any; export declare const transformJSONToTokenResponse: (value: any) => TokenResponse; /** * * @export * @interface TokenResponse */ export interface TokenResponse { /** * Access token that allows you to make requests to the API on behalf of a user * @type {string} * @memberof TokenResponse */ accessToken: string; /** * Access token\'s lifetime in seconds * @type {number} * @memberof TokenResponse */ expiresIn: number; /** * Refresh token that allows you to obtain access tokens * @type {string} * @memberof TokenResponse */ refreshToken: string; /** * Refresh token\'s lifetime in seconds * @type {number} * @memberof TokenResponse */ refreshExpiresIn: number; /** * Type of the token returned * @type {string} * @memberof TokenResponse */ tokenType: string; }