@studyportals/sp-lord-business-interface
Advanced tools
Comparing version 0.0.1-29 to 0.0.1-30
{ | ||
"name": "@studyportals/sp-lord-business-interface", | ||
"version": "0.0.1-29", | ||
"version": "0.0.1-30", | ||
"description": "Typescript library containing resources that facilitate integration with Lord Business.", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -15,3 +15,3 @@ import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests"; | ||
proposeQualification(enrolmentIdentity: string): Promise<void>; | ||
proposeDisqualification(enrolmentIdentity: string, reason: ReadonlyArray<DisqualificationReason>, note?: string): Promise<void>; | ||
proposeDisqualification(enrolmentIdentity: string, reasons: ReadonlyArray<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, reason, note) { | ||
proposeDisqualification(enrolmentIdentity, reasons, note) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const request = this.createPostRequest("/enrolment/propose-disqualification"); | ||
request.send({ enrolmentIdentity, reason, note }); | ||
request.send({ enrolmentIdentity, reasons: reasons, note }); | ||
yield this.requestSender.send(request); | ||
@@ -61,0 +61,0 @@ }); |
Sorry, the diff of this file is not supported yet
42276