@studyportals/sp-lord-business-interface
Advanced tools
Comparing version 0.0.1-27 to 0.0.1-28
{ | ||
"name": "@studyportals/sp-lord-business-interface", | ||
"version": "0.0.1-27", | ||
"version": "0.0.1-28", | ||
"description": "Typescript library containing resources that facilitate integration with Lord Business.", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests"; | ||
import { EnrolmentEnrichmentSpecification, Transition } from "../"; | ||
import { DisqualificationReason, EnrolmentEnrichmentSpecification, Transition } from "../"; | ||
import { PresentationEnrolment } from "./PresentationEnrolment"; | ||
@@ -15,3 +15,3 @@ export declare class LordBusinessClient { | ||
proposeQualification(enrolmentIdentity: string): Promise<void>; | ||
proposeDisqualification(enrolmentIdentity: string): Promise<void>; | ||
proposeDisqualification(enrolmentIdentity: string, reason: DisqualificationReason, note?: string): Promise<void>; | ||
proposeUnclearQualification(enrolmentIdentity: string): Promise<void>; | ||
@@ -18,0 +18,0 @@ acceptQualificationProposal(enrolmentIdentity: string): Promise<void>; |
@@ -55,6 +55,6 @@ "use strict"; | ||
} | ||
proposeDisqualification(enrolmentIdentity) { | ||
proposeDisqualification(enrolmentIdentity, reason, note) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const request = this.createPostRequest("/enrolment/propose-disqualification"); | ||
request.send({ enrolmentIdentity }); | ||
request.send({ enrolmentIdentity, reason, note }); | ||
yield this.requestSender.send(request); | ||
@@ -61,0 +61,0 @@ }); |
Sorry, the diff of this file is not supported yet
42239