fetch-jsd
Version:
A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.
35 lines (34 loc) • 2.37 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 { PagedDTORequestTypeDTO } from '../models';
export interface GetAllRequestTypesRequest {
searchQuery?: string;
start?: number;
limit?: number;
expand?: Array<string>;
}
/**
* no description
*/
export declare class RequesttypeApi extends runtime.BaseAPI {
/**
* This method returns all customer request types used in the Jira Service Desk instance, optionally filtered by a query string. Use [servicedeskapi/servicedesk/\\{serviceDeskId\\}/requesttype](#api-servicedesk-serviceDeskId-requesttype-get) to find the customer request types supported by a specific service desk. The returned list of customer request types can be filtered using the `query` parameter. The parameter is matched against the customer request types\' `name` or `description`. For example, searching for \"Install\", \"Inst\", \"Equi\", or \"Equipment\" will match a customer request type with the *name* \"Equipment Installation Request\". **[Permissions](#permissions) required**: Any
* Get all request types
*/
getAllRequestTypesRaw(requestParameters: GetAllRequestTypesRequest): Promise<runtime.ApiResponse<PagedDTORequestTypeDTO>>;
/**
* This method returns all customer request types used in the Jira Service Desk instance, optionally filtered by a query string. Use [servicedeskapi/servicedesk/\\{serviceDeskId\\}/requesttype](#api-servicedesk-serviceDeskId-requesttype-get) to find the customer request types supported by a specific service desk. The returned list of customer request types can be filtered using the `query` parameter. The parameter is matched against the customer request types\' `name` or `description`. For example, searching for \"Install\", \"Inst\", \"Equi\", or \"Equipment\" will match a customer request type with the *name* \"Equipment Installation Request\". **[Permissions](#permissions) required**: Any
* Get all request types
*/
getAllRequestTypes(requestParameters: GetAllRequestTypesRequest): Promise<PagedDTORequestTypeDTO>;
}