UNPKG

fetch-jsd

Version:

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

80 lines (79 loc) 2.15 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 { ApproverDTO, DateDTO, SelfLinkDTO } from './'; /** * * @export * @interface ApprovalDTO */ export interface ApprovalDTO { /** * ID of the approval. * @type {string} * @memberof ApprovalDTO */ id?: string; /** * Description of the approval being sought or provided. * @type {string} * @memberof ApprovalDTO */ name?: string; /** * Outcome of the approval, based on the approvals provided by all approvers. * @type {string} * @memberof ApprovalDTO */ finalDecision?: ApprovalDTOFinalDecisionEnum; /** * Indicates whether the user making the request is one of the approvers and can respond to the approval (true) or not (false). * @type {boolean} * @memberof ApprovalDTO */ canAnswerApproval?: boolean; /** * Detailed list of the users who must provide a response to the approval. * @type {Array<ApproverDTO>} * @memberof ApprovalDTO */ approvers?: Array<ApproverDTO>; /** * Date the approval was created. * @type {DateDTO} * @memberof ApprovalDTO */ createdDate?: DateDTO; /** * Date the approval was completed. * @type {DateDTO} * @memberof ApprovalDTO */ completedDate?: DateDTO; /** * The REST API URL of the approval. * @type {SelfLinkDTO} * @memberof ApprovalDTO */ _links?: SelfLinkDTO; } export declare function ApprovalDTOFromJSON(json: any): ApprovalDTO; export declare function ApprovalDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApprovalDTO; export declare function ApprovalDTOToJSON(value?: ApprovalDTO): any; /** * @export * @enum {string} */ export declare enum ApprovalDTOFinalDecisionEnum { Approved = "approved", Declined = "declined", Pending = "pending" }