/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Response from `POST /auth/grant/code`. Returns the long-secret `grant_code` * that only the polling client should ever see, plus a short `user_code` * that the user verifies on the dashboard authorize page. * @export * @interface GrantCodeResponse */ export interface GrantCodeResponse { /** * Long random secret used by the client to poll for the result. * @type {string} * @memberof GrantCodeResponse */ grantCode: string; /** * Short code shown to the user (`XXXX-XXXX`, no ambiguous chars). * @type {string} * @memberof GrantCodeResponse */ userCode: string; /** * Where the user goes to authorize the request. * @type {string} * @memberof GrantCodeResponse */ verificationUri: string; /** * `verification_uri` with `?code={user_code}` appended. * @type {string} * @memberof GrantCodeResponse */ verificationUriComplete: string; /** * Seconds until the grant expires (typically 900 = 15 min). * @type {number} * @memberof GrantCodeResponse */ expiresIn: number; /** * Minimum seconds between polling attempts (typically 5). * @type {number} * @memberof GrantCodeResponse */ interval: number; } export declare function GrantCodeResponseFromJSON(json: any): GrantCodeResponse; export declare function GrantCodeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GrantCodeResponse; export declare function GrantCodeResponseToJSON(value?: GrantCodeResponse | null): any;