UNPKG

fetch-jsd

Version:

A simple and typed library, based on OpenAPI spec from developer.atlassian.com, for accessing product APIs.

131 lines (130 loc) 4.17 kB
/** * 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 { CustomerRequestActionsDTO, CustomerRequestFieldValueDTO, CustomerRequestLinkDTO, CustomerRequestStatusDTO, DateDTO, PagedDTOAttachmentDTO, PagedDTOCommentDTO, PagedDTOCustomerRequestStatusDTO, PagedDTOSlaInformationDTO, PagedDTOUserDTO, RequestTypeDTO, ServiceDeskDTO, UserDTO } from './'; /** * * @export * @interface CustomerRequestDTO */ export interface CustomerRequestDTO { /** * ID of the request, as the peer issue ID. * @type {string} * @memberof CustomerRequestDTO */ issueId?: string; /** * Key of the request, as the peer issue key. * @type {string} * @memberof CustomerRequestDTO */ issueKey?: string; /** * ID of the request type for the request. * @type {string} * @memberof CustomerRequestDTO */ requestTypeId?: string; /** * Expandable details of the request type. * @type {RequestTypeDTO} * @memberof CustomerRequestDTO */ requestType?: RequestTypeDTO; /** * ID of the service desk the request belongs to. * @type {string} * @memberof CustomerRequestDTO */ serviceDeskId?: string; /** * Expandable details of the service desk. * @type {ServiceDeskDTO} * @memberof CustomerRequestDTO */ serviceDesk?: ServiceDeskDTO; /** * Date on which the request was created. * @type {DateDTO} * @memberof CustomerRequestDTO */ createdDate?: DateDTO; /** * Details of the customer reporting the request. * @type {UserDTO} * @memberof CustomerRequestDTO */ reporter?: UserDTO; /** * JSON map of Jira field IDs and their values representing the content of the request. * @type {Array<CustomerRequestFieldValueDTO>} * @memberof CustomerRequestDTO */ requestFieldValues?: Array<CustomerRequestFieldValueDTO>; /** * Status of the request. * @type {CustomerRequestStatusDTO} * @memberof CustomerRequestDTO */ currentStatus?: CustomerRequestStatusDTO; /** * Expandable details of the request\'s status history. * @type {PagedDTOCustomerRequestStatusDTO} * @memberof CustomerRequestDTO */ status?: PagedDTOCustomerRequestStatusDTO; /** * Expandable details of the customers participating in the request. * @type {PagedDTOUserDTO} * @memberof CustomerRequestDTO */ participants?: PagedDTOUserDTO; /** * Expandable details of the SLAs relating to the request. * @type {PagedDTOSlaInformationDTO} * @memberof CustomerRequestDTO */ sla?: PagedDTOSlaInformationDTO; /** * List of attachments included with the request. * @type {PagedDTOAttachmentDTO} * @memberof CustomerRequestDTO */ attachments?: PagedDTOAttachmentDTO; /** * List of comments included with the request. * @type {PagedDTOCommentDTO} * @memberof CustomerRequestDTO */ comments?: PagedDTOCommentDTO; /** * List of actions that the user can take on the request. * @type {CustomerRequestActionsDTO} * @memberof CustomerRequestDTO */ actions?: CustomerRequestActionsDTO; /** * List of items that can be expanded in the response by specifying the expand query parameter. * @type {Array<string>} * @memberof CustomerRequestDTO */ _expands?: Array<string>; /** * List of links associated with the request. * @type {CustomerRequestLinkDTO} * @memberof CustomerRequestDTO */ _links?: CustomerRequestLinkDTO; } export declare function CustomerRequestDTOFromJSON(json: any): CustomerRequestDTO; export declare function CustomerRequestDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerRequestDTO; export declare function CustomerRequestDTOToJSON(value?: CustomerRequestDTO): any;