wallee
Version:
TypeScript/JavaScript client for wallee
47 lines (46 loc) • 1.9 kB
TypeScript
import type { Space } from './Space';
/**
* The confirmation response provides details about the installation of the web app.
* @export
* @interface WebAppConfirmationResponse
*/
export interface WebAppConfirmationResponse {
/**
* The access code granting permissions to the web service API according to the OAuth standard.
* @type {string}
* @memberof WebAppConfirmationResponse
*/
readonly accessToken?: string;
/**
* The list of the permissions granted to the web app within the space.
* @type {string}
* @memberof WebAppConfirmationResponse
*/
readonly scope?: string;
/**
* The state parameter that was provided in the authorization request.
* @type {string}
* @memberof WebAppConfirmationResponse
*/
readonly state?: string;
/**
* The type of the access token that determines the authentication mechanism to use for accessing the web service API.
* @type {string}
* @memberof WebAppConfirmationResponse
*/
readonly tokenType?: string;
/**
*
* @type {Space}
* @memberof WebAppConfirmationResponse
*/
space?: Space;
}
/**
* Check if a given object implements the WebAppConfirmationResponse interface.
*/
export declare function instanceOfWebAppConfirmationResponse(value: object): value is WebAppConfirmationResponse;
export declare function WebAppConfirmationResponseFromJSON(json: any): WebAppConfirmationResponse;
export declare function WebAppConfirmationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebAppConfirmationResponse;
export declare function WebAppConfirmationResponseToJSON(json: any): WebAppConfirmationResponse;
export declare function WebAppConfirmationResponseToJSONTyped(value?: Omit<WebAppConfirmationResponse, 'access_token' | 'scope' | 'state' | 'token_type'> | null, ignoreDiscriminator?: boolean): any;