@studyportals/sp-lord-business-interface
Advanced tools
Comparing version 0.0.1-32 to 0.0.1-33
@@ -1,9 +0,7 @@ | ||
import { IConstructableState } from "./src/reconstitution/IConstructableState"; | ||
import { State } from "./src/State"; | ||
import { Transition } from "./src/Transition"; | ||
import { FulfillmentStep } from "./src/FulfillmentStep"; | ||
import { FulfillmentTransition } from "./src/FulfillmentTransition"; | ||
import { LordBusinessClient } from "./src/LordBusinessClient"; | ||
import { FulfillmentProcessDescriptionResult } from "./src/FulfillmentProcessDescriptionResult"; | ||
import { StateFlyweightFactory } from "./src/reconstitution/StateFlyweightFactory"; | ||
import { ITransitionDescription } from "./src/reconstitution/ITransitionDescription"; | ||
import { FulfillmentProcessFactory } from "./src/reconstitution/FulfillmentProcessFactory"; | ||
import { FulfillmentStepFlyweightFactory } from "./src/FulfillmentStepFlyweightFactory"; | ||
import { IFulfillmentTransitionDescription } from "./src/IFulfillmentTransitionDescription"; | ||
import { ProgrammeLevel } from "./src/ProgrammeLevel"; | ||
@@ -13,6 +11,6 @@ import { EnrolmentIdentificationSource } from "./src/EnrolmentIdentificationSource"; | ||
import { PresentationEnrolmentResult } from "./src/PresentationEnrolmentResult"; | ||
import { QualificationStatus } from "./src/QualificationStatus"; | ||
import { ConfirmationStatus } from "./src/ConfirmationStatus"; | ||
import { EnrolmentStatus } from "./src/EnrolmentStatus"; | ||
import { EnrolmentEnrichmentSpecification } from "./src/EnrolmentEnrichmentSpecification"; | ||
import { DisqualificationReason } from "./src/DisqualificationReason"; | ||
export { IConstructableState, State, StateFlyweightFactory, ITransitionDescription, Transition, FulfillmentProcessFactory, FulfillmentProcessDescriptionResult, LordBusinessClient, ProgrammeLevel, EnrolmentIdentificationSource, QualificationStatus, ConfirmationStatus, PresentationEnrolment, PresentationEnrolmentResult, EnrolmentEnrichmentSpecification, DisqualificationReason, }; | ||
import { FulfillmentTransitionTrigger } from "./src/FulfillmentTransitionTrigger"; | ||
export { FulfillmentTransitionTrigger, FulfillmentStep, IFulfillmentTransitionDescription, FulfillmentTransition, FulfillmentStepFlyweightFactory, FulfillmentProcessDescriptionResult, LordBusinessClient, ProgrammeLevel, EnrolmentIdentificationSource, EnrolmentStatus, PresentationEnrolment, PresentationEnrolmentResult, EnrolmentEnrichmentSpecification, DisqualificationReason, }; |
22
index.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const State_1 = require("./src/State"); | ||
exports.State = State_1.State; | ||
const Transition_1 = require("./src/Transition"); | ||
exports.Transition = Transition_1.Transition; | ||
const FulfillmentStep_1 = require("./src/FulfillmentStep"); | ||
exports.FulfillmentStep = FulfillmentStep_1.FulfillmentStep; | ||
const FulfillmentTransition_1 = require("./src/FulfillmentTransition"); | ||
exports.FulfillmentTransition = FulfillmentTransition_1.FulfillmentTransition; | ||
const LordBusinessClient_1 = require("./src/LordBusinessClient"); | ||
@@ -11,6 +11,4 @@ exports.LordBusinessClient = LordBusinessClient_1.LordBusinessClient; | ||
exports.FulfillmentProcessDescriptionResult = FulfillmentProcessDescriptionResult_1.FulfillmentProcessDescriptionResult; | ||
const StateFlyweightFactory_1 = require("./src/reconstitution/StateFlyweightFactory"); | ||
exports.StateFlyweightFactory = StateFlyweightFactory_1.StateFlyweightFactory; | ||
const FulfillmentProcessFactory_1 = require("./src/reconstitution/FulfillmentProcessFactory"); | ||
exports.FulfillmentProcessFactory = FulfillmentProcessFactory_1.FulfillmentProcessFactory; | ||
const FulfillmentStepFlyweightFactory_1 = require("./src/FulfillmentStepFlyweightFactory"); | ||
exports.FulfillmentStepFlyweightFactory = FulfillmentStepFlyweightFactory_1.FulfillmentStepFlyweightFactory; | ||
const ProgrammeLevel_1 = require("./src/ProgrammeLevel"); | ||
@@ -24,6 +22,4 @@ exports.ProgrammeLevel = ProgrammeLevel_1.ProgrammeLevel; | ||
exports.PresentationEnrolmentResult = PresentationEnrolmentResult_1.PresentationEnrolmentResult; | ||
const QualificationStatus_1 = require("./src/QualificationStatus"); | ||
exports.QualificationStatus = QualificationStatus_1.QualificationStatus; | ||
const ConfirmationStatus_1 = require("./src/ConfirmationStatus"); | ||
exports.ConfirmationStatus = ConfirmationStatus_1.ConfirmationStatus; | ||
const EnrolmentStatus_1 = require("./src/EnrolmentStatus"); | ||
exports.EnrolmentStatus = EnrolmentStatus_1.EnrolmentStatus; | ||
const EnrolmentEnrichmentSpecification_1 = require("./src/EnrolmentEnrichmentSpecification"); | ||
@@ -33,2 +29,4 @@ exports.EnrolmentEnrichmentSpecification = EnrolmentEnrichmentSpecification_1.EnrolmentEnrichmentSpecification; | ||
exports.DisqualificationReason = DisqualificationReason_1.DisqualificationReason; | ||
const FulfillmentTransitionTrigger_1 = require("./src/FulfillmentTransitionTrigger"); | ||
exports.FulfillmentTransitionTrigger = FulfillmentTransitionTrigger_1.FulfillmentTransitionTrigger; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@studyportals/sp-lord-business-interface", | ||
"version": "0.0.1-32", | ||
"version": "0.0.1-33", | ||
"description": "Typescript library containing resources that facilitate integration with Lord Business.", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
import { SuccessResult } from "@studyportals/sp-r2d2-interface"; | ||
import { Transition } from "../"; | ||
import { FulfillmentTransition } from "../"; | ||
export declare class FulfillmentProcessDescriptionResult extends SuccessResult { | ||
readonly description: Transition[]; | ||
readonly description: FulfillmentTransition[]; | ||
readonly __fulfillment_process_description_result__: true; | ||
constructor(description: Transition[]); | ||
constructor(description: FulfillmentTransition[]); | ||
protected toJSON(): object; | ||
} |
import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests"; | ||
import { DisqualificationReason, EnrolmentEnrichmentSpecification, Transition } from "../"; | ||
import { DisqualificationReason, EnrolmentEnrichmentSpecification, FulfillmentTransition } from "../"; | ||
import { PresentationEnrolment } from "./PresentationEnrolment"; | ||
@@ -10,3 +10,3 @@ export declare class LordBusinessClient { | ||
constructor(superAgentRequestFactory: ISuperAgentRequestFactory, requestSender: IRequestSender, baseUrl?: string); | ||
describeFulfillmentProcess(): Promise<Transition[]>; | ||
describeFulfillmentProcess(): Promise<FulfillmentTransition[]>; | ||
retrieveAllEnrolments(): Promise<PresentationEnrolment[]>; | ||
@@ -13,0 +13,0 @@ acknowledgeEnrolmentInCurrentProcessingRound(enrolmentIdentity: string): Promise<void>; |
@@ -1,8 +0,7 @@ | ||
import { ConfirmationStatus, EnrolmentIdentificationSource, ProgrammeLevel, QualificationStatus, State } from "../"; | ||
import { EnrolmentIdentificationSource, EnrolmentStatus, FulfillmentStep, ProgrammeLevel } from "../"; | ||
export declare class PresentationEnrolment { | ||
readonly identity: string; | ||
readonly source: EnrolmentIdentificationSource; | ||
readonly processState: State; | ||
readonly qualificationStatus: QualificationStatus; | ||
readonly confirmationStatus: ConfirmationStatus; | ||
readonly fulfillmentStep: FulfillmentStep; | ||
readonly status: EnrolmentStatus; | ||
readonly organisationIdentity: string; | ||
@@ -26,3 +25,3 @@ readonly organisationName: string; | ||
readonly __presentation_enrolment__: true; | ||
constructor(identity: string, source: EnrolmentIdentificationSource, processState: State, qualificationStatus: QualificationStatus, confirmationStatus: ConfirmationStatus, organisationIdentity: string, organisationName: string, studentIdentity: string, studentEmail: string, studentRegistrationDateIso: string, studentCountryIso?: string | undefined, studentName?: string | undefined, enrichmentSourceFacebook?: string | undefined, enrichmentSourceLinkedIn?: string | undefined, programmeLevel?: ProgrammeLevel | undefined, programmeName?: string | undefined, intakeMonth?: number | undefined, intakeYear?: number | undefined, tuitionFee?: number | undefined, firstActivityDateIso?: string | undefined, lastActivityDateIso?: string | undefined, partnershipSuccessManagerName?: string | undefined); | ||
constructor(identity: string, source: EnrolmentIdentificationSource, fulfillmentStep: FulfillmentStep, status: EnrolmentStatus, organisationIdentity: string, organisationName: string, studentIdentity: string, studentEmail: string, studentRegistrationDateIso: string, studentCountryIso?: string | undefined, studentName?: string | undefined, enrichmentSourceFacebook?: string | undefined, enrichmentSourceLinkedIn?: string | undefined, programmeLevel?: ProgrammeLevel | undefined, programmeName?: string | undefined, intakeMonth?: number | undefined, intakeYear?: number | undefined, tuitionFee?: number | undefined, firstActivityDateIso?: string | undefined, lastActivityDateIso?: string | undefined, partnershipSuccessManagerName?: string | undefined); | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class PresentationEnrolment { | ||
constructor(identity, source, processState, qualificationStatus, confirmationStatus, organisationIdentity, organisationName, studentIdentity, studentEmail, studentRegistrationDateIso, studentCountryIso, studentName, enrichmentSourceFacebook, enrichmentSourceLinkedIn, programmeLevel, programmeName, intakeMonth, intakeYear, tuitionFee, firstActivityDateIso, lastActivityDateIso, partnershipSuccessManagerName) { | ||
constructor(identity, source, fulfillmentStep, status, organisationIdentity, organisationName, studentIdentity, studentEmail, studentRegistrationDateIso, studentCountryIso, studentName, enrichmentSourceFacebook, enrichmentSourceLinkedIn, programmeLevel, programmeName, intakeMonth, intakeYear, tuitionFee, firstActivityDateIso, lastActivityDateIso, partnershipSuccessManagerName) { | ||
this.identity = identity; | ||
this.source = source; | ||
this.processState = processState; | ||
this.qualificationStatus = qualificationStatus; | ||
this.confirmationStatus = confirmationStatus; | ||
this.fulfillmentStep = fulfillmentStep; | ||
this.status = status; | ||
this.organisationIdentity = organisationIdentity; | ||
@@ -11,0 +10,0 @@ this.organisationName = organisationName; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40924
46
513