interface ApprovalDto {
    _links?: SelfLinkDto;
    approvers?: ApproverDto[];
    canAnswerApproval?: boolean;
    completedDate?: DateDto;
    createdDate?: DateDto;
    finalDecision?: "pending" | "approved" | "declined";
    id?: string;
    name?: string;
}

Properties

_links?: SelfLinkDto

The REST API URL of the approval.

approvers?: ApproverDto[]

Detailed list of the users who must provide a response to the approval.

canAnswerApproval?: boolean

Indicates whether the user making the request is one of the approvers and can respond to the approval (true) or not (false).

completedDate?: DateDto

Date the approval was completed.

createdDate?: DateDto

Date the approval was created.

finalDecision?: "pending" | "approved" | "declined"

Outcome of the approval, based on the approvals provided by all approvers.

id?: string

ID of the approval.

name?: string

Description of the approval being sought or provided.