/** * The Confluence Cloud REST API * This document describes the REST API and resources provided by Confluence. The REST APIs are for developers who want to integrate Confluence into their application and for administrators who want to script interactions with the Confluence server.Confluence\'s REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The response format is JSON. Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE. Because the REST API is based on open standards, you can use any web development language to access the API. * * 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. */ import * as runtime from '../runtime'; import { Theme, ThemeUpdate } from '../models'; export interface GetSpaceThemeRequest { spaceKey: string; } export interface ResetSpaceThemeRequest { spaceKey: string; } export interface SetSpaceThemeRequest { spaceKey: string; ThemeUpdate: ThemeUpdate; } /** * no description */ export declare class SpaceSpaceKeyThemeApi extends runtime.BaseAPI { /** * Returns the theme selected for a space, if one is set. If no space theme is set, this means that the space is inheriting the global look and feel settings. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space theme */ getSpaceThemeRaw(requestParameters: GetSpaceThemeRequest): Promise>; /** * Returns the theme selected for a space, if one is set. If no space theme is set, this means that the space is inheriting the global look and feel settings. **[Permissions required](https://confluence.atlassian.com/x/_AozKw)**: ‘View’ permission for the space. * Get space theme */ getSpaceTheme(requestParameters: GetSpaceThemeRequest): Promise; /** * Resets the space theme. This means that the space will inherit the global look and feel settings **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: \'Admin\' permission for the space. * Reset space theme */ resetSpaceThemeRaw(requestParameters: ResetSpaceThemeRequest): Promise>; /** * Resets the space theme. This means that the space will inherit the global look and feel settings **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: \'Admin\' permission for the space. * Reset space theme */ resetSpaceTheme(requestParameters: ResetSpaceThemeRequest): Promise; /** * Sets the theme for a space. Note, if you want to reset the space theme to the default Confluence theme, use the \'Reset space theme\' method instead of this method. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: \'Admin\' permission for the space. * Set space theme */ setSpaceThemeRaw(requestParameters: SetSpaceThemeRequest): Promise>; /** * Sets the theme for a space. Note, if you want to reset the space theme to the default Confluence theme, use the \'Reset space theme\' method instead of this method. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: \'Admin\' permission for the space. * Set space theme */ setSpaceTheme(requestParameters: SetSpaceThemeRequest): Promise; }