fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
35 lines (34 loc) • 1.42 kB
TypeScript
/**
* Service Desk Public REST API
* Public REST API for Jira Service Desk
*
* The version of the OpenAPI document: 1001.0.0-SNAPSHOT
*
*
* 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 { PagedDTOArticleDTO } from '../models';
export interface GetArticlesRequest {
query?: string;
highlight?: boolean;
start?: number;
limit?: number;
}
/**
* no description
*/
export declare class KnowledgebaseApi extends runtime.BaseAPI {
/**
* Returns articles which match the given query string across all service desks. **[Permissions](#permissions) required**: Permission to access the [customer portal](https://confluence.atlassian.com/servicedeskcloud/configuring-the-customer-portal-732528918.html).
* Get articles
*/
getArticlesRaw(requestParameters: GetArticlesRequest): Promise<runtime.ApiResponse<PagedDTOArticleDTO>>;
/**
* Returns articles which match the given query string across all service desks. **[Permissions](#permissions) required**: Permission to access the [customer portal](https://confluence.atlassian.com/servicedeskcloud/configuring-the-customer-portal-732528918.html).
* Get articles
*/
getArticles(requestParameters: GetArticlesRequest): Promise<PagedDTOArticleDTO>;
}