@studyportals/sp-lurch-interface
Advanced tools
Comparing version 2.9.1 to 2.10.0
@@ -15,4 +15,4 @@ import { InputBatchDto } from './src/input-batches/input-batch-dto.class'; | ||
import { LurchClient } from './src/lurch-client'; | ||
import { IStudentProfile } from './src/student-profile/interfaces/I-student-profile.interface'; | ||
import { IMicrositeStudentProfile } from './src/student-profile/interfaces/I-microsite-student-profile.interface'; | ||
import { MicrositeStudentProfileResult } from './src/results/microsite-student-profile-result.class'; | ||
export { IIntake, IMatch, IInputBatch, IntakeDto, MatchDto, InputBatchDto, SubmitMatchesResult, RetrieveIntakesResult, RetrieveIntakeResult, RetrieveInputBatchResult, RetrieveInputBatchesResult, InputBatchStatus, IntakeStageType, LurchClient, IStudentProfile, MicrositeStudentProfileResult }; | ||
export { IIntake, IMatch, IInputBatch, IntakeDto, MatchDto, InputBatchDto, SubmitMatchesResult, RetrieveIntakesResult, RetrieveIntakeResult, RetrieveInputBatchResult, RetrieveInputBatchesResult, InputBatchStatus, IntakeStageType, LurchClient, IMicrositeStudentProfile, MicrositeStudentProfileResult }; |
25
index.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MicrositeStudentProfileResult = exports.LurchClient = exports.IntakeStageType = exports.InputBatchStatus = exports.RetrieveInputBatchesResult = exports.RetrieveInputBatchResult = exports.RetrieveIntakeResult = exports.RetrieveIntakesResult = exports.SubmitMatchesResult = exports.InputBatchDto = exports.MatchDto = exports.IntakeDto = void 0; | ||
const input_batch_dto_class_1 = require("./src/input-batches/input-batch-dto.class"); | ||
exports.InputBatchDto = input_batch_dto_class_1.InputBatchDto; | ||
Object.defineProperty(exports, "InputBatchDto", { enumerable: true, get: function () { return input_batch_dto_class_1.InputBatchDto; } }); | ||
const input_batch_status_1 = require("./src/input-batches/input-batch-status"); | ||
exports.InputBatchStatus = input_batch_status_1.InputBatchStatus; | ||
Object.defineProperty(exports, "InputBatchStatus", { enumerable: true, get: function () { return input_batch_status_1.InputBatchStatus; } }); | ||
const intake_dto_class_1 = require("./src/intakes/intake-dto.class"); | ||
exports.IntakeDto = intake_dto_class_1.IntakeDto; | ||
Object.defineProperty(exports, "IntakeDto", { enumerable: true, get: function () { return intake_dto_class_1.IntakeDto; } }); | ||
const intake_stage_type_1 = require("./src/intakes/intake-stage-type"); | ||
exports.IntakeStageType = intake_stage_type_1.IntakeStageType; | ||
Object.defineProperty(exports, "IntakeStageType", { enumerable: true, get: function () { return intake_stage_type_1.IntakeStageType; } }); | ||
const match_dto_class_1 = require("./src/intakes/match-dto.class"); | ||
exports.MatchDto = match_dto_class_1.MatchDto; | ||
Object.defineProperty(exports, "MatchDto", { enumerable: true, get: function () { return match_dto_class_1.MatchDto; } }); | ||
const retrieve_input_batch_result_class_1 = require("./src/results/retrieve-input-batch-result.class"); | ||
exports.RetrieveInputBatchResult = retrieve_input_batch_result_class_1.RetrieveInputBatchResult; | ||
Object.defineProperty(exports, "RetrieveInputBatchResult", { enumerable: true, get: function () { return retrieve_input_batch_result_class_1.RetrieveInputBatchResult; } }); | ||
const retrieve_input_batches_result_class_1 = require("./src/results/retrieve-input-batches-result.class"); | ||
exports.RetrieveInputBatchesResult = retrieve_input_batches_result_class_1.RetrieveInputBatchesResult; | ||
Object.defineProperty(exports, "RetrieveInputBatchesResult", { enumerable: true, get: function () { return retrieve_input_batches_result_class_1.RetrieveInputBatchesResult; } }); | ||
const retrieve_intake_result_class_1 = require("./src/results/retrieve-intake-result.class"); | ||
exports.RetrieveIntakeResult = retrieve_intake_result_class_1.RetrieveIntakeResult; | ||
Object.defineProperty(exports, "RetrieveIntakeResult", { enumerable: true, get: function () { return retrieve_intake_result_class_1.RetrieveIntakeResult; } }); | ||
const retrieve_intakes_result_class_1 = require("./src/results/retrieve-intakes-result.class"); | ||
exports.RetrieveIntakesResult = retrieve_intakes_result_class_1.RetrieveIntakesResult; | ||
Object.defineProperty(exports, "RetrieveIntakesResult", { enumerable: true, get: function () { return retrieve_intakes_result_class_1.RetrieveIntakesResult; } }); | ||
const submit_matches_result_class_1 = require("./src/results/submit-matches-result.class"); | ||
exports.SubmitMatchesResult = submit_matches_result_class_1.SubmitMatchesResult; | ||
Object.defineProperty(exports, "SubmitMatchesResult", { enumerable: true, get: function () { return submit_matches_result_class_1.SubmitMatchesResult; } }); | ||
const lurch_client_1 = require("./src/lurch-client"); | ||
exports.LurchClient = lurch_client_1.LurchClient; | ||
Object.defineProperty(exports, "LurchClient", { enumerable: true, get: function () { return lurch_client_1.LurchClient; } }); | ||
const microsite_student_profile_result_class_1 = require("./src/results/microsite-student-profile-result.class"); | ||
exports.MicrositeStudentProfileResult = microsite_student_profile_result_class_1.MicrositeStudentProfileResult; | ||
Object.defineProperty(exports, "MicrositeStudentProfileResult", { enumerable: true, get: function () { return microsite_student_profile_result_class_1.MicrositeStudentProfileResult; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@studyportals/sp-lurch-interface", | ||
"version": "2.9.1", | ||
"version": "2.10.0", | ||
"description": "Contains Data Transfer Objects required or provided by Lurch through its interface.", | ||
@@ -27,6 +27,6 @@ "scripts": { | ||
"nyc": "11.4.1", | ||
"ts-node": "^9.0.0", | ||
"ts-node": "^8.0.3", | ||
"tslint": "^5.9.1", | ||
"typemoq": "2.1.0", | ||
"typescript": "^2.5.3" | ||
"typescript": "^3.7.x" | ||
}, | ||
@@ -33,0 +33,0 @@ "dependencies": { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InputBatchDto = void 0; | ||
class InputBatchDto { | ||
@@ -4,0 +5,0 @@ constructor(identity, creationTimeIso, status, organisationIdentity, intakeMonth, intakeYear, targetIntakeStageType, inputSize, matchesCount, representativeIdentity) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InputBatchStatus = void 0; | ||
var InputBatchStatus; | ||
@@ -4,0 +5,0 @@ (function (InputBatchStatus) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IntakeDto = void 0; | ||
class IntakeDto { | ||
@@ -4,0 +5,0 @@ constructor(identity, organisationId, intakeMonth, intakeYear, applications, accepted, enrolments, leads) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IntakeStageType = void 0; | ||
var IntakeStageType; | ||
@@ -4,0 +5,0 @@ (function (IntakeStageType) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MatchDto = void 0; | ||
class MatchDto { | ||
@@ -4,0 +5,0 @@ constructor(studentId) { |
@@ -7,3 +7,3 @@ import { IRequestSender, ISuperAgentRequestFactory } from "@studyportals/mb-platform-http-requests"; | ||
private _baseUrl; | ||
protected readonly baseUrl: string; | ||
protected get baseUrl(): string; | ||
constructor(superAgentRequestFactory: ISuperAgentRequestFactory, requestSender: IRequestSender, baseUrl?: string); | ||
@@ -10,0 +10,0 @@ retrieveAllInputBatches(): Promise<IInputBatch[]>; |
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -11,2 +12,3 @@ }); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LurchClient = void 0; | ||
class LurchClient { | ||
@@ -13,0 +15,0 @@ constructor(superAgentRequestFactory, requestSender, baseUrl = '') { |
import { SuccessResult } from "@studyportals/sp-r2d2-interface"; | ||
import { IStudentProfile } from "../student-profile/interfaces/I-student-profile.interface"; | ||
import { IMicrositeStudentProfile } from "../student-profile/interfaces/I-microsite-student-profile.interface"; | ||
export declare class MicrositeStudentProfileResult extends SuccessResult { | ||
readonly studentProfile: IStudentProfile; | ||
readonly studentProfile: IMicrositeStudentProfile; | ||
readonly __microsite_student_profile_result__: true; | ||
constructor(studentProfile: IStudentProfile); | ||
constructor(studentProfile: IMicrositeStudentProfile); | ||
protected toJSON(): object; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MicrositeStudentProfileResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class MicrositeStudentProfileResult extends sp_r2d2_interface_1.SuccessResult { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RetrieveInputBatchResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class RetrieveInputBatchResult extends sp_r2d2_interface_1.SuccessResult { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RetrieveInputBatchesResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class RetrieveInputBatchesResult extends sp_r2d2_interface_1.SuccessResult { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RetrieveIntakeResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class RetrieveIntakeResult extends sp_r2d2_interface_1.SuccessResult { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RetrieveIntakesResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class RetrieveIntakesResult extends sp_r2d2_interface_1.SuccessResult { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SubmitMatchesResult = void 0; | ||
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface"); | ||
@@ -4,0 +5,0 @@ class SubmitMatchesResult extends sp_r2d2_interface_1.SuccessResult { |
@@ -12,6 +12,7 @@ "use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -18,0 +19,0 @@ }); |
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
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
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
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
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97137
88
1312