/** * EMIL Tenant Service * The EMIL TenantService API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { CreateDashboardRequestDto } from '../models'; import { CreateDashboardResponseClass } from '../models'; import { CreateDashboardV2RequestDto } from '../models'; import { CreateDashboardV2ResponseClass } from '../models'; import { DeleteResponseClass } from '../models'; import { DuplicateDashboardResponseClass } from '../models'; import { GetDashboardResponseClass } from '../models'; import { GetEmbeddedUrlResponseClass } from '../models'; import { ListDashboardsResponseClass } from '../models'; import { PublishDashboardRequestDto } from '../models'; import { RevertAnalysisRequestDto } from '../models'; import { UpdateDashboardRequestDto } from '../models'; import { UpdateDashboardResponseClass } from '../models'; /** * DashboardApi - axios parameter creator * @export */ export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => { /** * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDashboard: (createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard (DEPRECATED) * @param {CreateDashboardRequestDto} createDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ createDashboardLegacy: (createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\" * @summary Deletes an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a duplicate of an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ duplicateDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\" * @summary Generates an embedded URL for dashboard editing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAnalysisEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a specific dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboard: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\" * @summary Generates an embedded URL for dashboard viewing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardEmbeddedUrl: (providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a list of dashboards * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDashboards: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise; /** * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\" * @summary Publishes a dashboard for general access * @param {PublishDashboardRequestDto} publishDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ publishDashboard: (publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\" * @summary Reverts dashboard analysis to previous state * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ revertAnalysis: (revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; /** * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\" * @summary Updates an existing dashboard * @param {string} code * @param {UpdateDashboardRequestDto} updateDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDashboard: (code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise; }; /** * DashboardApi - functional programming interface * @export */ export declare const DashboardApiFp: (configuration?: Configuration) => { /** * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard (DEPRECATED) * @param {CreateDashboardRequestDto} createDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ createDashboardLegacy(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\" * @summary Deletes an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a duplicate of an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ duplicateDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\" * @summary Generates an embedded URL for dashboard editing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a specific dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboard(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\" * @summary Generates an embedded URL for dashboard viewing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a list of dashboards * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\" * @summary Publishes a dashboard for general access * @param {PublishDashboardRequestDto} publishDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\" * @summary Reverts dashboard analysis to previous state * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\" * @summary Updates an existing dashboard * @param {string} code * @param {UpdateDashboardRequestDto} updateDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDashboard(code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * DashboardApi - factory interface * @export */ export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard * @param {CreateDashboardV2RequestDto} createDashboardV2RequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ createDashboard(createDashboardV2RequestDto: CreateDashboardV2RequestDto, authorization?: string, options?: any): AxiosPromise; /** * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard (DEPRECATED) * @param {CreateDashboardRequestDto} createDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} */ createDashboardLegacy(createDashboardRequestDto: CreateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise; /** * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\" * @summary Deletes an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteDashboard(code: string, authorization?: string, options?: any): AxiosPromise; /** * Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a duplicate of an existing dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ duplicateDashboard(code: string, authorization?: string, options?: any): AxiosPromise; /** * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\" * @summary Generates an embedded URL for dashboard editing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAnalysisEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise; /** * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a specific dashboard * @param {string} code * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboard(code: string, authorization?: string, options?: any): AxiosPromise; /** * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\" * @summary Generates an embedded URL for dashboard viewing * @param {string} providerDashboardId * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDashboardEmbeddedUrl(providerDashboardId: string, authorization?: string, options?: any): AxiosPromise; /** * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a list of dashboards * @param {string} [authorization] Bearer Token * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result. * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listDashboards(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise; /** * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\" * @summary Publishes a dashboard for general access * @param {PublishDashboardRequestDto} publishDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ publishDashboard(publishDashboardRequestDto: PublishDashboardRequestDto, authorization?: string, options?: any): AxiosPromise; /** * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\" * @summary Reverts dashboard analysis to previous state * @param {RevertAnalysisRequestDto} revertAnalysisRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ revertAnalysis(revertAnalysisRequestDto: RevertAnalysisRequestDto, authorization?: string, options?: any): AxiosPromise; /** * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\" * @summary Updates an existing dashboard * @param {string} code * @param {UpdateDashboardRequestDto} updateDashboardRequestDto * @param {string} [authorization] Bearer Token * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateDashboard(code: string, updateDashboardRequestDto: UpdateDashboardRequestDto, authorization?: string, options?: any): AxiosPromise; }; /** * Request parameters for createDashboard operation in DashboardApi. * @export * @interface DashboardApiCreateDashboardRequest */ export interface DashboardApiCreateDashboardRequest { /** * * @type {CreateDashboardV2RequestDto} * @memberof DashboardApiCreateDashboard */ readonly createDashboardV2RequestDto: CreateDashboardV2RequestDto; /** * Bearer Token * @type {string} * @memberof DashboardApiCreateDashboard */ readonly authorization?: string; } /** * Request parameters for createDashboardLegacy operation in DashboardApi. * @export * @interface DashboardApiCreateDashboardLegacyRequest */ export interface DashboardApiCreateDashboardLegacyRequest { /** * * @type {CreateDashboardRequestDto} * @memberof DashboardApiCreateDashboardLegacy */ readonly createDashboardRequestDto: CreateDashboardRequestDto; /** * Bearer Token * @type {string} * @memberof DashboardApiCreateDashboardLegacy */ readonly authorization?: string; } /** * Request parameters for deleteDashboard operation in DashboardApi. * @export * @interface DashboardApiDeleteDashboardRequest */ export interface DashboardApiDeleteDashboardRequest { /** * * @type {string} * @memberof DashboardApiDeleteDashboard */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DashboardApiDeleteDashboard */ readonly authorization?: string; } /** * Request parameters for duplicateDashboard operation in DashboardApi. * @export * @interface DashboardApiDuplicateDashboardRequest */ export interface DashboardApiDuplicateDashboardRequest { /** * * @type {string} * @memberof DashboardApiDuplicateDashboard */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DashboardApiDuplicateDashboard */ readonly authorization?: string; } /** * Request parameters for getAnalysisEmbeddedUrl operation in DashboardApi. * @export * @interface DashboardApiGetAnalysisEmbeddedUrlRequest */ export interface DashboardApiGetAnalysisEmbeddedUrlRequest { /** * * @type {string} * @memberof DashboardApiGetAnalysisEmbeddedUrl */ readonly providerDashboardId: string; /** * Bearer Token * @type {string} * @memberof DashboardApiGetAnalysisEmbeddedUrl */ readonly authorization?: string; } /** * Request parameters for getDashboard operation in DashboardApi. * @export * @interface DashboardApiGetDashboardRequest */ export interface DashboardApiGetDashboardRequest { /** * * @type {string} * @memberof DashboardApiGetDashboard */ readonly code: string; /** * Bearer Token * @type {string} * @memberof DashboardApiGetDashboard */ readonly authorization?: string; } /** * Request parameters for getDashboardEmbeddedUrl operation in DashboardApi. * @export * @interface DashboardApiGetDashboardEmbeddedUrlRequest */ export interface DashboardApiGetDashboardEmbeddedUrlRequest { /** * * @type {string} * @memberof DashboardApiGetDashboardEmbeddedUrl */ readonly providerDashboardId: string; /** * Bearer Token * @type {string} * @memberof DashboardApiGetDashboardEmbeddedUrl */ readonly authorization?: string; } /** * Request parameters for listDashboards operation in DashboardApi. * @export * @interface DashboardApiListDashboardsRequest */ export interface DashboardApiListDashboardsRequest { /** * Bearer Token * @type {string} * @memberof DashboardApiListDashboards */ readonly authorization?: string; /** * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10. * @type {number} * @memberof DashboardApiListDashboards */ readonly pageSize?: number; /** * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list. * @type {string} * @memberof DashboardApiListDashboards */ readonly pageToken?: string; /** * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time. * @type {string} * @memberof DashboardApiListDashboards */ readonly filter?: string; /** * To search the list by any field, pass search=xxx to fetch the result. * @type {string} * @memberof DashboardApiListDashboards */ readonly search?: string; /** * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC. * @type {string} * @memberof DashboardApiListDashboards */ readonly order?: string; /** * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size. * @type {string} * @memberof DashboardApiListDashboards */ readonly expand?: string; /** * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time. * @type {string} * @memberof DashboardApiListDashboards */ readonly filters?: string; } /** * Request parameters for publishDashboard operation in DashboardApi. * @export * @interface DashboardApiPublishDashboardRequest */ export interface DashboardApiPublishDashboardRequest { /** * * @type {PublishDashboardRequestDto} * @memberof DashboardApiPublishDashboard */ readonly publishDashboardRequestDto: PublishDashboardRequestDto; /** * Bearer Token * @type {string} * @memberof DashboardApiPublishDashboard */ readonly authorization?: string; } /** * Request parameters for revertAnalysis operation in DashboardApi. * @export * @interface DashboardApiRevertAnalysisRequest */ export interface DashboardApiRevertAnalysisRequest { /** * * @type {RevertAnalysisRequestDto} * @memberof DashboardApiRevertAnalysis */ readonly revertAnalysisRequestDto: RevertAnalysisRequestDto; /** * Bearer Token * @type {string} * @memberof DashboardApiRevertAnalysis */ readonly authorization?: string; } /** * Request parameters for updateDashboard operation in DashboardApi. * @export * @interface DashboardApiUpdateDashboardRequest */ export interface DashboardApiUpdateDashboardRequest { /** * * @type {string} * @memberof DashboardApiUpdateDashboard */ readonly code: string; /** * * @type {UpdateDashboardRequestDto} * @memberof DashboardApiUpdateDashboard */ readonly updateDashboardRequestDto: UpdateDashboardRequestDto; /** * Bearer Token * @type {string} * @memberof DashboardApiUpdateDashboard */ readonly authorization?: string; } /** * DashboardApi - object-oriented interface * @export * @class DashboardApi * @extends {BaseAPI} */ export declare class DashboardApi extends BaseAPI { /** * Creates a new dashboard using the preconfigured analysis id **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ createDashboard(requestParameters: DashboardApiCreateDashboardRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a new dashboard from a preconfigured analysis id and dashboard id. Use POST /tenantservice/v1/dashboards instead. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a new dashboard (DEPRECATED) * @param {DashboardApiCreateDashboardLegacyRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @deprecated * @throws {RequiredError} * @memberof DashboardApi */ createDashboardLegacy(requestParameters: DashboardApiCreateDashboardLegacyRequest, options?: AxiosRequestConfig): Promise>; /** * Permanently removes a dashboard and all associated data by dashboard code. **Required Permissions** \"reporting.dashboards.delete\" * @summary Deletes an existing dashboard * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ deleteDashboard(requestParameters: DashboardApiDeleteDashboardRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a copy of the specified dashboard with all its configurations and settings. **Required Permissions** \"reporting.dashboards.create\" * @summary Creates a duplicate of an existing dashboard * @param {DashboardApiDuplicateDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ duplicateDashboard(requestParameters: DashboardApiDuplicateDashboardRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a secure embedded URL that allows dashboard analysis and editing within external applications. **Required Permissions** \"reporting.dashboards.update\" * @summary Generates an embedded URL for dashboard editing * @param {DashboardApiGetAnalysisEmbeddedUrlRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ getAnalysisEmbeddedUrl(requestParameters: DashboardApiGetAnalysisEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise>; /** * Fetches dashboard details by code including configuration and metadata. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a specific dashboard * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ getDashboard(requestParameters: DashboardApiGetDashboardRequest, options?: AxiosRequestConfig): Promise>; /** * Creates a secure embedded URL that allows dashboard content to be displayed within external applications. **Required Permissions** \"reporting.dashboards.view\" * @summary Generates an embedded URL for dashboard viewing * @param {DashboardApiGetDashboardEmbeddedUrlRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ getDashboardEmbeddedUrl(requestParameters: DashboardApiGetDashboardEmbeddedUrlRequest, options?: AxiosRequestConfig): Promise>; /** * Fetches a paginated list of dashboards with optional filtering and sorting capabilities. **Required Permissions** \"reporting.dashboards.view\" * @summary Retrieves a list of dashboards * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ listDashboards(requestParameters?: DashboardApiListDashboardsRequest, options?: AxiosRequestConfig): Promise>; /** * Makes a dashboard publicly available by publishing it from draft or analysis state. **Required Permissions** \"reporting.dashboards.update\" * @summary Publishes a dashboard for general access * @param {DashboardApiPublishDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ publishDashboard(requestParameters: DashboardApiPublishDashboardRequest, options?: AxiosRequestConfig): Promise>; /** * Rolls back dashboard analysis changes to restore the previous version or state. **Required Permissions** \"reporting.dashboards.update\" * @summary Reverts dashboard analysis to previous state * @param {DashboardApiRevertAnalysisRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ revertAnalysis(requestParameters: DashboardApiRevertAnalysisRequest, options?: AxiosRequestConfig): Promise>; /** * Modifies dashboard properties, configuration, or metadata by dashboard code. **Required Permissions** \"reporting.dashboards.update\" * @summary Updates an existing dashboard * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DashboardApi */ updateDashboard(requestParameters: DashboardApiUpdateDashboardRequest, options?: AxiosRequestConfig): Promise>; }