@studyportals/sp-lurch-interface 2.15.0 → 3.0.0-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +21 -21
- package/index.js +16 -33
- package/index.js.map +1 -1
- package/package.json +23 -21
- package/src/entities/organisation/i-organisation.interface.d.ts +5 -5
- package/src/entities/organisation/i-organisation.interface.js +1 -2
- package/src/entities/organisation/organisation-dto.class.d.ts +7 -7
- package/src/entities/organisation/organisation-dto.class.js +7 -11
- package/src/entities/organisation/organisation-dto.class.js.map +1 -1
- package/src/entities/organisation/organisations-dto.d.ts +6 -6
- package/src/entities/organisation/organisations-dto.js +6 -10
- package/src/entities/organisation/organisations-dto.js.map +1 -1
- package/src/input-batches/input-batch-dto.class.d.ts +15 -15
- package/src/input-batches/input-batch-dto.class.js +15 -19
- package/src/input-batches/input-batch-dto.class.js.map +1 -1
- package/src/input-batches/input-batch-status.d.ts +5 -5
- package/src/input-batches/input-batch-status.js +6 -9
- package/src/input-batches/input-batch-status.js.map +1 -1
- package/src/input-batches/interfaces/i-input-batch.interface.d.ts +13 -13
- package/src/input-batches/interfaces/i-input-batch.interface.js +1 -2
- package/src/intakes/intake-dto.class.d.ts +14 -14
- package/src/intakes/intake-dto.class.js +13 -17
- package/src/intakes/intake-dto.class.js.map +1 -1
- package/src/intakes/intake-stage-type.d.ts +6 -6
- package/src/intakes/intake-stage-type.js +7 -10
- package/src/intakes/intake-stage-type.js.map +1 -1
- package/src/intakes/interfaces/i-intake.interface.d.ts +12 -12
- package/src/intakes/interfaces/i-intake.interface.js +1 -2
- package/src/intakes/interfaces/i-match.interface.d.ts +4 -4
- package/src/intakes/interfaces/i-match.interface.js +1 -2
- package/src/intakes/match-dto.class.d.ts +6 -6
- package/src/intakes/match-dto.class.js +6 -10
- package/src/intakes/match-dto.class.js.map +1 -1
- package/src/lurch-client.d.ts +19 -19
- package/src/lurch-client.js +72 -76
- package/src/lurch-client.js.map +1 -1
- package/src/results/discard-input-batch-result.class.d.ts +6 -6
- package/src/results/discard-input-batch-result.class.js +12 -16
- package/src/results/discard-input-batch-result.class.js.map +1 -1
- package/src/results/microsite-student-profile-result.class.d.ts +8 -8
- package/src/results/microsite-student-profile-result.class.js +14 -18
- package/src/results/microsite-student-profile-result.class.js.map +1 -1
- package/src/results/retrieve-input-batch-result.class.d.ts +8 -8
- package/src/results/retrieve-input-batch-result.class.js +14 -18
- package/src/results/retrieve-input-batch-result.class.js.map +1 -1
- package/src/results/retrieve-input-batches-result.class.d.ts +8 -8
- package/src/results/retrieve-input-batches-result.class.js +14 -18
- package/src/results/retrieve-input-batches-result.class.js.map +1 -1
- package/src/results/retrieve-intake-result.class.d.ts +8 -8
- package/src/results/retrieve-intake-result.class.js +14 -18
- package/src/results/retrieve-intake-result.class.js.map +1 -1
- package/src/results/retrieve-intakes-result.class.d.ts +8 -8
- package/src/results/retrieve-intakes-result.class.js +14 -18
- package/src/results/retrieve-intakes-result.class.js.map +1 -1
- package/src/results/retrieve-organisations-result.class.d.ts +9 -9
- package/src/results/retrieve-organisations-result.class.js +16 -20
- package/src/results/retrieve-organisations-result.class.js.map +1 -1
- package/src/results/submit-matches-result.class.d.ts +6 -6
- package/src/results/submit-matches-result.class.js +12 -16
- package/src/results/submit-matches-result.class.js.map +1 -1
- package/src/student-profile/interfaces/I-microsite-student-profile.interface.d.ts +9 -9
- package/src/student-profile/interfaces/I-microsite-student-profile.interface.js +1 -2
- package/tests-u/entities/organisations/organisation-dto.test.d.ts +1 -1
- package/tests-u/entities/organisations/organisation-dto.test.js +59 -61
- package/tests-u/entities/organisations/organisation-dto.test.js.map +1 -1
- package/tests-u/input-batches/input-batch-dto.test.d.ts +1 -1
- package/tests-u/input-batches/input-batch-dto.test.js +147 -149
- package/tests-u/input-batches/input-batch-dto.test.js.map +1 -1
- package/tests-u/input-batches/input-batch-status.test.d.ts +1 -1
- package/tests-u/input-batches/input-batch-status.test.js +44 -46
- package/tests-u/input-batches/input-batch-status.test.js.map +1 -1
- package/tests-u/intakes/intake-dto.test.d.ts +1 -1
- package/tests-u/intakes/intake-dto.test.js +125 -127
- package/tests-u/intakes/intake-dto.test.js.map +1 -1
- package/tests-u/intakes/intake-stage-type.test.d.ts +1 -1
- package/tests-u/intakes/intake-stage-type.test.js +53 -55
- package/tests-u/intakes/intake-stage-type.test.js.map +1 -1
- package/tests-u/intakes/match-dto.test.d.ts +1 -1
- package/tests-u/intakes/match-dto.test.js +48 -50
- package/tests-u/intakes/match-dto.test.js.map +1 -1
- package/tests-u/lurch-client.test.d.ts +1 -1
- package/tests-u/lurch-client.test.js +302 -302
- package/tests-u/lurch-client.test.js.map +1 -1
- package/tests-u/results/discard-input-batch-result.test.d.ts +1 -1
- package/tests-u/results/discard-input-batch-result.test.js +37 -39
- package/tests-u/results/discard-input-batch-result.test.js.map +1 -1
- package/tests-u/results/retrieve-input-batch-result.test.d.ts +1 -1
- package/tests-u/results/retrieve-input-batch-result.test.js +48 -50
- package/tests-u/results/retrieve-input-batch-result.test.js.map +1 -1
- package/tests-u/results/retrieve-input-batches-result.test.d.ts +1 -1
- package/tests-u/results/retrieve-input-batches-result.test.js +48 -50
- package/tests-u/results/retrieve-input-batches-result.test.js.map +1 -1
- package/tests-u/results/retrieve-intake-result.test.d.ts +1 -1
- package/tests-u/results/retrieve-intake-result.test.js +48 -50
- package/tests-u/results/retrieve-intake-result.test.js.map +1 -1
- package/tests-u/results/retrieve-intakes-result.test.d.ts +1 -1
- package/tests-u/results/retrieve-intakes-result.test.js +48 -50
- package/tests-u/results/retrieve-intakes-result.test.js.map +1 -1
- package/tests-u/results/retrieve-organisation-result.test.d.ts +1 -1
- package/tests-u/results/retrieve-organisation-result.test.js +50 -52
- package/tests-u/results/retrieve-organisation-result.test.js.map +1 -1
- package/tests-u/results/submit-matches-result.test.d.ts +1 -1
- package/tests-u/results/submit-matches-result.test.js +28 -30
- package/tests-u/results/submit-matches-result.test.js.map +1 -1
- package/src/entities/organisation/main-organisations-dto.d.ts +0 -6
- package/src/entities/organisation/main-organisations-dto.js +0 -11
- package/src/entities/organisation/main-organisations-dto.js.map +0 -1
- package/src/results/retrieve-main-organisations-result.class.d.ts +0 -9
- package/src/results/retrieve-main-organisations-result.class.js +0 -21
- package/src/results/retrieve-main-organisations-result.class.js.map +0 -1
- package/src/student-profile/interfaces/I-student-profile.interface.d.ts +0 -9
- package/src/student-profile/interfaces/I-student-profile.interface.js +0 -3
- package/src/student-profile/interfaces/I-student-profile.interface.js.map +0 -1
- package/tests-u/results/retrieve-main-organisation-result.test.d.ts +0 -1
- package/tests-u/results/retrieve-main-organisation-result.test.js +0 -53
- package/tests-u/results/retrieve-main-organisation-result.test.js.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { InputBatchDto } from './src/input-batches/input-batch-dto.class';
|
|
2
|
-
import { InputBatchStatus } from './src/input-batches/input-batch-status';
|
|
3
|
-
import { IInputBatch } from './src/input-batches/interfaces/i-input-batch.interface';
|
|
4
|
-
import { IntakeDto } from './src/intakes/intake-dto.class';
|
|
5
|
-
import { IntakeStageType } from './src/intakes/intake-stage-type';
|
|
6
|
-
import { IIntake } from './src/intakes/interfaces/i-intake.interface';
|
|
7
|
-
import { IMatch } from './src/intakes/interfaces/i-match.interface';
|
|
8
|
-
import { MatchDto } from './src/intakes/match-dto.class';
|
|
9
|
-
import { RetrieveInputBatchResult } from './src/results/retrieve-input-batch-result.class';
|
|
10
|
-
import { RetrieveInputBatchesResult } from './src/results/retrieve-input-batches-result.class';
|
|
11
|
-
import { RetrieveIntakeResult } from './src/results/retrieve-intake-result.class';
|
|
12
|
-
import { RetrieveIntakesResult } from './src/results/retrieve-intakes-result.class';
|
|
13
|
-
import { SubmitMatchesResult } from './src/results/submit-matches-result.class';
|
|
14
|
-
import { DiscardInputBatchresult } from './src/results/discard-input-batch-result.class';
|
|
15
|
-
import { LurchClient } from './src/lurch-client';
|
|
16
|
-
import { IMicrositeStudentProfile } from './src/student-profile/interfaces/I-microsite-student-profile.interface';
|
|
17
|
-
import { MicrositeStudentProfileResult } from './src/results/microsite-student-profile-result.class';
|
|
18
|
-
import { RetrieveOrganisationsResult } from './src/results/retrieve-organisations-result.class';
|
|
19
|
-
import { IOrganisation } from './src/entities/organisation/i-organisation.interface';
|
|
20
|
-
import { OrganisationDto } from './src/entities/organisation/organisation-dto.class';
|
|
21
|
-
export { IIntake, IMatch, IInputBatch, IntakeDto, MatchDto, OrganisationDto, IOrganisation, InputBatchDto, SubmitMatchesResult, DiscardInputBatchresult, RetrieveIntakesResult, RetrieveIntakeResult, RetrieveInputBatchResult, RetrieveInputBatchesResult, InputBatchStatus, IntakeStageType, LurchClient, IMicrositeStudentProfile, MicrositeStudentProfileResult, RetrieveOrganisationsResult };
|
|
1
|
+
import { InputBatchDto } from './src/input-batches/input-batch-dto.class';
|
|
2
|
+
import { InputBatchStatus } from './src/input-batches/input-batch-status';
|
|
3
|
+
import { IInputBatch } from './src/input-batches/interfaces/i-input-batch.interface';
|
|
4
|
+
import { IntakeDto } from './src/intakes/intake-dto.class';
|
|
5
|
+
import { IntakeStageType } from './src/intakes/intake-stage-type';
|
|
6
|
+
import { IIntake } from './src/intakes/interfaces/i-intake.interface';
|
|
7
|
+
import { IMatch } from './src/intakes/interfaces/i-match.interface';
|
|
8
|
+
import { MatchDto } from './src/intakes/match-dto.class';
|
|
9
|
+
import { RetrieveInputBatchResult } from './src/results/retrieve-input-batch-result.class';
|
|
10
|
+
import { RetrieveInputBatchesResult } from './src/results/retrieve-input-batches-result.class';
|
|
11
|
+
import { RetrieveIntakeResult } from './src/results/retrieve-intake-result.class';
|
|
12
|
+
import { RetrieveIntakesResult } from './src/results/retrieve-intakes-result.class';
|
|
13
|
+
import { SubmitMatchesResult } from './src/results/submit-matches-result.class';
|
|
14
|
+
import { DiscardInputBatchresult } from './src/results/discard-input-batch-result.class';
|
|
15
|
+
import { LurchClient } from './src/lurch-client';
|
|
16
|
+
import { IMicrositeStudentProfile } from './src/student-profile/interfaces/I-microsite-student-profile.interface';
|
|
17
|
+
import { MicrositeStudentProfileResult } from './src/results/microsite-student-profile-result.class';
|
|
18
|
+
import { RetrieveOrganisationsResult } from './src/results/retrieve-organisations-result.class';
|
|
19
|
+
import { IOrganisation } from './src/entities/organisation/i-organisation.interface';
|
|
20
|
+
import { OrganisationDto } from './src/entities/organisation/organisation-dto.class';
|
|
21
|
+
export { IIntake, IMatch, IInputBatch, IntakeDto, MatchDto, OrganisationDto, IOrganisation, InputBatchDto, SubmitMatchesResult, DiscardInputBatchresult, RetrieveIntakesResult, RetrieveIntakeResult, RetrieveInputBatchResult, RetrieveInputBatchesResult, InputBatchStatus, IntakeStageType, LurchClient, IMicrositeStudentProfile, MicrositeStudentProfileResult, RetrieveOrganisationsResult };
|
package/index.js
CHANGED
|
@@ -1,34 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(exports, "RetrieveInputBatchesResult", { enumerable: true, get: function () { return retrieve_input_batches_result_class_1.RetrieveInputBatchesResult; } });
|
|
18
|
-
const retrieve_intake_result_class_1 = require("./src/results/retrieve-intake-result.class");
|
|
19
|
-
Object.defineProperty(exports, "RetrieveIntakeResult", { enumerable: true, get: function () { return retrieve_intake_result_class_1.RetrieveIntakeResult; } });
|
|
20
|
-
const retrieve_intakes_result_class_1 = require("./src/results/retrieve-intakes-result.class");
|
|
21
|
-
Object.defineProperty(exports, "RetrieveIntakesResult", { enumerable: true, get: function () { return retrieve_intakes_result_class_1.RetrieveIntakesResult; } });
|
|
22
|
-
const submit_matches_result_class_1 = require("./src/results/submit-matches-result.class");
|
|
23
|
-
Object.defineProperty(exports, "SubmitMatchesResult", { enumerable: true, get: function () { return submit_matches_result_class_1.SubmitMatchesResult; } });
|
|
24
|
-
const discard_input_batch_result_class_1 = require("./src/results/discard-input-batch-result.class");
|
|
25
|
-
Object.defineProperty(exports, "DiscardInputBatchresult", { enumerable: true, get: function () { return discard_input_batch_result_class_1.DiscardInputBatchresult; } });
|
|
26
|
-
const lurch_client_1 = require("./src/lurch-client");
|
|
27
|
-
Object.defineProperty(exports, "LurchClient", { enumerable: true, get: function () { return lurch_client_1.LurchClient; } });
|
|
28
|
-
const microsite_student_profile_result_class_1 = require("./src/results/microsite-student-profile-result.class");
|
|
29
|
-
Object.defineProperty(exports, "MicrositeStudentProfileResult", { enumerable: true, get: function () { return microsite_student_profile_result_class_1.MicrositeStudentProfileResult; } });
|
|
30
|
-
const retrieve_organisations_result_class_1 = require("./src/results/retrieve-organisations-result.class");
|
|
31
|
-
Object.defineProperty(exports, "RetrieveOrganisationsResult", { enumerable: true, get: function () { return retrieve_organisations_result_class_1.RetrieveOrganisationsResult; } });
|
|
32
|
-
const organisation_dto_class_1 = require("./src/entities/organisation/organisation-dto.class");
|
|
33
|
-
Object.defineProperty(exports, "OrganisationDto", { enumerable: true, get: function () { return organisation_dto_class_1.OrganisationDto; } });
|
|
1
|
+
import { InputBatchDto } from './src/input-batches/input-batch-dto.class';
|
|
2
|
+
import { InputBatchStatus } from './src/input-batches/input-batch-status';
|
|
3
|
+
import { IntakeDto } from './src/intakes/intake-dto.class';
|
|
4
|
+
import { IntakeStageType } from './src/intakes/intake-stage-type';
|
|
5
|
+
import { MatchDto } from './src/intakes/match-dto.class';
|
|
6
|
+
import { RetrieveInputBatchResult } from './src/results/retrieve-input-batch-result.class';
|
|
7
|
+
import { RetrieveInputBatchesResult } from './src/results/retrieve-input-batches-result.class';
|
|
8
|
+
import { RetrieveIntakeResult } from './src/results/retrieve-intake-result.class';
|
|
9
|
+
import { RetrieveIntakesResult } from './src/results/retrieve-intakes-result.class';
|
|
10
|
+
import { SubmitMatchesResult } from './src/results/submit-matches-result.class';
|
|
11
|
+
import { DiscardInputBatchresult } from './src/results/discard-input-batch-result.class';
|
|
12
|
+
import { LurchClient } from './src/lurch-client';
|
|
13
|
+
import { MicrositeStudentProfileResult } from './src/results/microsite-student-profile-result.class';
|
|
14
|
+
import { RetrieveOrganisationsResult } from './src/results/retrieve-organisations-result.class';
|
|
15
|
+
import { OrganisationDto } from './src/entities/organisation/organisation-dto.class';
|
|
16
|
+
export { IntakeDto, MatchDto, OrganisationDto, InputBatchDto, SubmitMatchesResult, DiscardInputBatchresult, RetrieveIntakesResult, RetrieveIntakeResult, RetrieveInputBatchResult, RetrieveInputBatchesResult, InputBatchStatus, IntakeStageType, LurchClient, MicrositeStudentProfileResult, RetrieveOrganisationsResult };
|
|
34
17
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,WAAW,EAAC,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAEhG,OAAO,EAAE,eAAe,EAAE,MAAM,oDAAoD,CAAC;AAErF,OAAO,EAIN,SAAS,EACT,QAAQ,EACR,eAAe,EAEf,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,EACpB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,eAAe,EACf,WAAW,EAEX,6BAA6B,EAC7B,2BAA2B,EAC3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@studyportals/sp-lurch-interface",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-2",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Contains Data Transfer Objects required or provided by Lurch through its interface.",
|
|
5
6
|
"scripts": {
|
|
6
|
-
"test": "
|
|
7
|
-
"test-u": "
|
|
8
|
-
"test-u-o": "
|
|
9
|
-
"prepare-deployment": "cp package.json bin/package.json",
|
|
10
|
-
"deploy": "npm test && npm run prepare-deployment && npm publish bin
|
|
7
|
+
"test": "npm run test-u-o",
|
|
8
|
+
"test-u": "npm run test-u-o",
|
|
9
|
+
"test-u-o": "nyc mocha",
|
|
10
|
+
"prepare-deployment": "cp package.json ./bin/package.json",
|
|
11
|
+
"deploy": "npm test && tsc && npm run prepare-deployment && npm publish ./bin",
|
|
11
12
|
"lint": "tslint 'src/**/*.ts'",
|
|
12
13
|
"lint-fix": "tslint --fix 'src/**/*.ts'",
|
|
13
14
|
"coverage": "nyc report --reporter=lcov",
|
|
14
15
|
"deploy-patch": "npm run prepare-deployment && npm version patch && npm run deploy",
|
|
15
16
|
"deploy-minor": "npm run prepare-deployment && npm version minor && npm run deploy",
|
|
16
|
-
"deploy-major": "npm run prepare-deployment && npm version major && npm run deploy"
|
|
17
|
+
"deploy-major": "npm run prepare-deployment && npm version major && npm run deploy",
|
|
18
|
+
"deploy-beta": "npm test && npm version prerelease && npm run deploy -- --tag beta"
|
|
17
19
|
},
|
|
18
20
|
"author": "SPAF",
|
|
19
21
|
"license": "ISC",
|
|
20
22
|
"devDependencies": {
|
|
21
|
-
"@
|
|
22
|
-
"@types/
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"mocha
|
|
26
|
-
"nyc": "
|
|
27
|
-
"ts-node": "^
|
|
28
|
-
"tslint": "^
|
|
29
|
-
"typemoq": "2.1.0",
|
|
30
|
-
"typescript": "^
|
|
23
|
+
"@testdeck/mocha": "^0.3.3",
|
|
24
|
+
"@types/chai": "^4.3.16",
|
|
25
|
+
"@types/superagent": "^8.1.7",
|
|
26
|
+
"chai": "^5.1.1",
|
|
27
|
+
"mocha": "^10.6.0",
|
|
28
|
+
"nyc": "^17.0.0",
|
|
29
|
+
"ts-node": "^10.9.2",
|
|
30
|
+
"tslint": "^6.1.3",
|
|
31
|
+
"typemoq": "^2.1.0",
|
|
32
|
+
"typescript": "^5.5.3"
|
|
31
33
|
},
|
|
32
34
|
"dependencies": {
|
|
33
|
-
"@studyportals/mb-platform-http-requests": "^
|
|
34
|
-
"@studyportals/sp-r2d2-interface": "^2.
|
|
35
|
-
"@studyportals/sp-thing-interface": "^1.4.
|
|
36
|
-
"superagent": "^
|
|
35
|
+
"@studyportals/mb-platform-http-requests": "^2.7.0",
|
|
36
|
+
"@studyportals/sp-r2d2-interface": "^2.2.0",
|
|
37
|
+
"@studyportals/sp-thing-interface": "^1.4.1-4",
|
|
38
|
+
"superagent": "^9.0.2"
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IOrganisation {
|
|
2
|
-
readonly __i_organisation__: true;
|
|
3
|
-
readonly identity: string;
|
|
4
|
-
readonly name: string;
|
|
5
|
-
}
|
|
1
|
+
export interface IOrganisation {
|
|
2
|
+
readonly __i_organisation__: true;
|
|
3
|
+
readonly identity: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IOrganisation } from "./i-organisation.interface";
|
|
2
|
-
export declare class OrganisationDto implements IOrganisation {
|
|
3
|
-
readonly identity: string;
|
|
4
|
-
readonly name: string;
|
|
5
|
-
readonly __i_organisation__: true;
|
|
6
|
-
constructor(identity: string, name: string);
|
|
7
|
-
}
|
|
1
|
+
import { IOrganisation } from "./i-organisation.interface";
|
|
2
|
+
export declare class OrganisationDto implements IOrganisation {
|
|
3
|
+
readonly identity: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly __i_organisation__: true;
|
|
6
|
+
constructor(identity: string, name: string);
|
|
7
|
+
}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
this.__i_organisation__ = true;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.OrganisationDto = OrganisationDto;
|
|
1
|
+
export class OrganisationDto {
|
|
2
|
+
constructor(identity, name) {
|
|
3
|
+
this.identity = identity;
|
|
4
|
+
this.name = name;
|
|
5
|
+
this.__i_organisation__ = true;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
12
8
|
//# sourceMappingURL=organisation-dto.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organisation-dto.class.js","sourceRoot":"","sources":["../../../../src/entities/organisation/organisation-dto.class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organisation-dto.class.js","sourceRoot":"","sources":["../../../../src/entities/organisation/organisation-dto.class.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,eAAe;IAG3B,YACiB,QAAgB,EAChB,IAAY;QADZ,aAAQ,GAAR,QAAQ,CAAQ;QAChB,SAAI,GAAJ,IAAI,CAAQ;QAJb,uBAAkB,GAAS,IAAI,CAAC;IAK5C,CAAC;CACL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IOrganisation } from "./i-organisation.interface";
|
|
2
|
-
export declare class OrganisationsDto {
|
|
3
|
-
readonly userId: number;
|
|
4
|
-
readonly organisations: IOrganisation[];
|
|
5
|
-
constructor(userId: number, organisations: IOrganisation[]);
|
|
6
|
-
}
|
|
1
|
+
import { IOrganisation } from "./i-organisation.interface";
|
|
2
|
+
export declare class OrganisationsDto {
|
|
3
|
+
readonly userId: number;
|
|
4
|
+
readonly organisations: IOrganisation[];
|
|
5
|
+
constructor(userId: number, organisations: IOrganisation[]);
|
|
6
|
+
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
this.organisations = organisations;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.OrganisationsDto = OrganisationsDto;
|
|
1
|
+
export class OrganisationsDto {
|
|
2
|
+
constructor(userId, organisations) {
|
|
3
|
+
this.userId = userId;
|
|
4
|
+
this.organisations = organisations;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
11
7
|
//# sourceMappingURL=organisations-dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organisations-dto.js","sourceRoot":"","sources":["../../../../src/entities/organisation/organisations-dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organisations-dto.js","sourceRoot":"","sources":["../../../../src/entities/organisation/organisations-dto.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,gBAAgB;IAC5B,YACiB,MAAc,EACd,aAA8B;QAD9B,WAAM,GAAN,MAAM,CAAQ;QACd,kBAAa,GAAb,aAAa,CAAiB;IAC3C,CAAC;CACL"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { IInputBatch } from "./interfaces/i-input-batch.interface";
|
|
2
|
-
export declare class InputBatchDto implements IInputBatch {
|
|
3
|
-
readonly identity: string;
|
|
4
|
-
readonly creationTimeIso: string;
|
|
5
|
-
readonly status: number;
|
|
6
|
-
readonly organisationIdentity: string;
|
|
7
|
-
readonly intakeMonth: number;
|
|
8
|
-
readonly intakeYear: number;
|
|
9
|
-
readonly targetIntakeStageType: number;
|
|
10
|
-
readonly inputSize: number;
|
|
11
|
-
readonly matchesCount: number;
|
|
12
|
-
readonly representativeIdentity: string;
|
|
13
|
-
readonly __i_input_batch__: true;
|
|
14
|
-
constructor(identity: string, creationTimeIso: string, status: number, organisationIdentity: string, intakeMonth: number, intakeYear: number, targetIntakeStageType: number, inputSize: number, matchesCount: number, representativeIdentity: string);
|
|
15
|
-
}
|
|
1
|
+
import { IInputBatch } from "./interfaces/i-input-batch.interface";
|
|
2
|
+
export declare class InputBatchDto implements IInputBatch {
|
|
3
|
+
readonly identity: string;
|
|
4
|
+
readonly creationTimeIso: string;
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly organisationIdentity: string;
|
|
7
|
+
readonly intakeMonth: number;
|
|
8
|
+
readonly intakeYear: number;
|
|
9
|
+
readonly targetIntakeStageType: number;
|
|
10
|
+
readonly inputSize: number;
|
|
11
|
+
readonly matchesCount: number;
|
|
12
|
+
readonly representativeIdentity: string;
|
|
13
|
+
readonly __i_input_batch__: true;
|
|
14
|
+
constructor(identity: string, creationTimeIso: string, status: number, organisationIdentity: string, intakeMonth: number, intakeYear: number, targetIntakeStageType: number, inputSize: number, matchesCount: number, representativeIdentity: string);
|
|
15
|
+
}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
8
|
-
this.
|
|
9
|
-
this.
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
this.__i_input_batch__ = true;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.InputBatchDto = InputBatchDto;
|
|
1
|
+
export class InputBatchDto {
|
|
2
|
+
constructor(identity, creationTimeIso, status, organisationIdentity, intakeMonth, intakeYear, targetIntakeStageType, inputSize, matchesCount, representativeIdentity) {
|
|
3
|
+
this.identity = identity;
|
|
4
|
+
this.creationTimeIso = creationTimeIso;
|
|
5
|
+
this.status = status;
|
|
6
|
+
this.organisationIdentity = organisationIdentity;
|
|
7
|
+
this.intakeMonth = intakeMonth;
|
|
8
|
+
this.intakeYear = intakeYear;
|
|
9
|
+
this.targetIntakeStageType = targetIntakeStageType;
|
|
10
|
+
this.inputSize = inputSize;
|
|
11
|
+
this.matchesCount = matchesCount;
|
|
12
|
+
this.representativeIdentity = representativeIdentity;
|
|
13
|
+
this.__i_input_batch__ = true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
20
16
|
//# sourceMappingURL=input-batch-dto.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-batch-dto.class.js","sourceRoot":"","sources":["../../../src/input-batches/input-batch-dto.class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-batch-dto.class.js","sourceRoot":"","sources":["../../../src/input-batches/input-batch-dto.class.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,aAAa;IAGzB,YACiB,QAAgB,EAChB,eAAuB,EACvB,MAAc,EACd,oBAA4B,EAC5B,WAAmB,EACnB,UAAkB,EAClB,qBAA6B,EAC7B,SAAiB,EACjB,YAAoB,EACpB,sBAA8B;QAT9B,aAAQ,GAAR,QAAQ,CAAQ;QAChB,oBAAe,GAAf,eAAe,CAAQ;QACvB,WAAM,GAAN,MAAM,CAAQ;QACd,yBAAoB,GAApB,oBAAoB,CAAQ;QAC5B,gBAAW,GAAX,WAAW,CAAQ;QACnB,eAAU,GAAV,UAAU,CAAQ;QAClB,0BAAqB,GAArB,qBAAqB,CAAQ;QAC7B,cAAS,GAAT,SAAS,CAAQ;QACjB,iBAAY,GAAZ,YAAY,CAAQ;QACpB,2BAAsB,GAAtB,sBAAsB,CAAQ;QAZ/B,sBAAiB,GAAS,IAAI,CAAC;IAa3C,CAAC;CACL"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum InputBatchStatus {
|
|
2
|
-
SUBMITTED = 0,
|
|
3
|
-
APPROVED = 1,
|
|
4
|
-
DISCARDED = 2
|
|
5
|
-
}
|
|
1
|
+
export declare enum InputBatchStatus {
|
|
2
|
+
SUBMITTED = 0,
|
|
3
|
+
APPROVED = 1,
|
|
4
|
+
DISCARDED = 2
|
|
5
|
+
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
InputBatchStatus[InputBatchStatus["APPROVED"] = 1] = "APPROVED";
|
|
8
|
-
InputBatchStatus[InputBatchStatus["DISCARDED"] = 2] = "DISCARDED";
|
|
9
|
-
})(InputBatchStatus = exports.InputBatchStatus || (exports.InputBatchStatus = {}));
|
|
1
|
+
export var InputBatchStatus;
|
|
2
|
+
(function (InputBatchStatus) {
|
|
3
|
+
InputBatchStatus[InputBatchStatus["SUBMITTED"] = 0] = "SUBMITTED";
|
|
4
|
+
InputBatchStatus[InputBatchStatus["APPROVED"] = 1] = "APPROVED";
|
|
5
|
+
InputBatchStatus[InputBatchStatus["DISCARDED"] = 2] = "DISCARDED";
|
|
6
|
+
})(InputBatchStatus || (InputBatchStatus = {}));
|
|
10
7
|
//# sourceMappingURL=input-batch-status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-batch-status.js","sourceRoot":"","sources":["../../../src/input-batches/input-batch-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-batch-status.js","sourceRoot":"","sources":["../../../src/input-batches/input-batch-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,iEAAa,CAAA;IACb,+DAAY,CAAA;IACZ,iEAAa,CAAA;AACd,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface IInputBatch {
|
|
2
|
-
readonly __i_input_batch__: true;
|
|
3
|
-
readonly identity: string;
|
|
4
|
-
readonly creationTimeIso: string;
|
|
5
|
-
readonly status: number;
|
|
6
|
-
readonly organisationIdentity: string;
|
|
7
|
-
readonly intakeMonth: number;
|
|
8
|
-
readonly intakeYear: number;
|
|
9
|
-
readonly targetIntakeStageType: number;
|
|
10
|
-
readonly inputSize: number;
|
|
11
|
-
readonly matchesCount: number;
|
|
12
|
-
readonly representativeIdentity: string;
|
|
13
|
-
}
|
|
1
|
+
export interface IInputBatch {
|
|
2
|
+
readonly __i_input_batch__: true;
|
|
3
|
+
readonly identity: string;
|
|
4
|
+
readonly creationTimeIso: string;
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly organisationIdentity: string;
|
|
7
|
+
readonly intakeMonth: number;
|
|
8
|
+
readonly intakeYear: number;
|
|
9
|
+
readonly targetIntakeStageType: number;
|
|
10
|
+
readonly inputSize: number;
|
|
11
|
+
readonly matchesCount: number;
|
|
12
|
+
readonly representativeIdentity: string;
|
|
13
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IIntake } from "./interfaces/i-intake.interface";
|
|
2
|
-
import { IMatch } from "./interfaces/i-match.interface";
|
|
3
|
-
export declare class IntakeDto implements IIntake {
|
|
4
|
-
readonly identity: string;
|
|
5
|
-
readonly organisationId: string;
|
|
6
|
-
readonly intakeMonth: number;
|
|
7
|
-
readonly intakeYear: number;
|
|
8
|
-
readonly applications: IMatch[];
|
|
9
|
-
readonly accepted: IMatch[];
|
|
10
|
-
readonly enrolments: IMatch[];
|
|
11
|
-
readonly leads: IMatch[];
|
|
12
|
-
readonly __i_intake__: true;
|
|
13
|
-
constructor(identity: string, organisationId: string, intakeMonth: number, intakeYear: number, applications: IMatch[], accepted: IMatch[], enrolments: IMatch[], leads: IMatch[]);
|
|
14
|
-
}
|
|
1
|
+
import { IIntake } from "./interfaces/i-intake.interface";
|
|
2
|
+
import { IMatch } from "./interfaces/i-match.interface";
|
|
3
|
+
export declare class IntakeDto implements IIntake {
|
|
4
|
+
readonly identity: string;
|
|
5
|
+
readonly organisationId: string;
|
|
6
|
+
readonly intakeMonth: number;
|
|
7
|
+
readonly intakeYear: number;
|
|
8
|
+
readonly applications: IMatch[];
|
|
9
|
+
readonly accepted: IMatch[];
|
|
10
|
+
readonly enrolments: IMatch[];
|
|
11
|
+
readonly leads: IMatch[];
|
|
12
|
+
readonly __i_intake__: true;
|
|
13
|
+
constructor(identity: string, organisationId: string, intakeMonth: number, intakeYear: number, applications: IMatch[], accepted: IMatch[], enrolments: IMatch[], leads: IMatch[]);
|
|
14
|
+
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
this.
|
|
7
|
-
this.
|
|
8
|
-
this.
|
|
9
|
-
this.
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
this.__i_intake__ = true;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.IntakeDto = IntakeDto;
|
|
1
|
+
export class IntakeDto {
|
|
2
|
+
constructor(identity, organisationId, intakeMonth, intakeYear, applications, accepted, enrolments, leads) {
|
|
3
|
+
this.identity = identity;
|
|
4
|
+
this.organisationId = organisationId;
|
|
5
|
+
this.intakeMonth = intakeMonth;
|
|
6
|
+
this.intakeYear = intakeYear;
|
|
7
|
+
this.applications = applications;
|
|
8
|
+
this.accepted = accepted;
|
|
9
|
+
this.enrolments = enrolments;
|
|
10
|
+
this.leads = leads;
|
|
11
|
+
this.__i_intake__ = true;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
18
14
|
//# sourceMappingURL=intake-dto.class.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intake-dto.class.js","sourceRoot":"","sources":["../../../src/intakes/intake-dto.class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"intake-dto.class.js","sourceRoot":"","sources":["../../../src/intakes/intake-dto.class.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,SAAS;IAGrB,YACiB,QAAgB,EAChB,cAAsB,EACtB,WAAmB,EACnB,UAAkB,EAClB,YAAsB,EACtB,QAAkB,EAClB,UAAoB,EACpB,KAAe;QAPf,aAAQ,GAAR,QAAQ,CAAQ;QAChB,mBAAc,GAAd,cAAc,CAAQ;QACtB,gBAAW,GAAX,WAAW,CAAQ;QACnB,eAAU,GAAV,UAAU,CAAQ;QAClB,iBAAY,GAAZ,YAAY,CAAU;QACtB,aAAQ,GAAR,QAAQ,CAAU;QAClB,eAAU,GAAV,UAAU,CAAU;QACpB,UAAK,GAAL,KAAK,CAAU;QAVhB,iBAAY,GAAS,IAAI,CAAC;IAWtC,CAAC;CACL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum IntakeStageType {
|
|
2
|
-
APPLICATION = 0,
|
|
3
|
-
ACCEPTED = 1,
|
|
4
|
-
ENROLMENT = 2,
|
|
5
|
-
LEAD = 3
|
|
6
|
-
}
|
|
1
|
+
export declare enum IntakeStageType {
|
|
2
|
+
APPLICATION = 0,
|
|
3
|
+
ACCEPTED = 1,
|
|
4
|
+
ENROLMENT = 2,
|
|
5
|
+
LEAD = 3
|
|
6
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
IntakeStageType[IntakeStageType["
|
|
7
|
-
|
|
8
|
-
IntakeStageType[IntakeStageType["ENROLMENT"] = 2] = "ENROLMENT";
|
|
9
|
-
IntakeStageType[IntakeStageType["LEAD"] = 3] = "LEAD";
|
|
10
|
-
})(IntakeStageType = exports.IntakeStageType || (exports.IntakeStageType = {}));
|
|
1
|
+
export var IntakeStageType;
|
|
2
|
+
(function (IntakeStageType) {
|
|
3
|
+
IntakeStageType[IntakeStageType["APPLICATION"] = 0] = "APPLICATION";
|
|
4
|
+
IntakeStageType[IntakeStageType["ACCEPTED"] = 1] = "ACCEPTED";
|
|
5
|
+
IntakeStageType[IntakeStageType["ENROLMENT"] = 2] = "ENROLMENT";
|
|
6
|
+
IntakeStageType[IntakeStageType["LEAD"] = 3] = "LEAD";
|
|
7
|
+
})(IntakeStageType || (IntakeStageType = {}));
|
|
11
8
|
//# sourceMappingURL=intake-stage-type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intake-stage-type.js","sourceRoot":"","sources":["../../../src/intakes/intake-stage-type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"intake-stage-type.js","sourceRoot":"","sources":["../../../src/intakes/intake-stage-type.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IAC1B,mEAAe,CAAA;IACf,6DAAY,CAAA;IACZ,+DAAa,CAAA;IACb,qDAAQ,CAAA;AACT,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IMatch } from "./i-match.interface";
|
|
2
|
-
export interface IIntake {
|
|
3
|
-
readonly __i_intake__: true;
|
|
4
|
-
readonly identity: string;
|
|
5
|
-
readonly organisationId: string;
|
|
6
|
-
readonly intakeMonth: number;
|
|
7
|
-
readonly intakeYear: number;
|
|
8
|
-
readonly applications: IMatch[];
|
|
9
|
-
readonly accepted: IMatch[];
|
|
10
|
-
readonly enrolments: IMatch[];
|
|
11
|
-
readonly leads: IMatch[];
|
|
12
|
-
}
|
|
1
|
+
import { IMatch } from "./i-match.interface";
|
|
2
|
+
export interface IIntake {
|
|
3
|
+
readonly __i_intake__: true;
|
|
4
|
+
readonly identity: string;
|
|
5
|
+
readonly organisationId: string;
|
|
6
|
+
readonly intakeMonth: number;
|
|
7
|
+
readonly intakeYear: number;
|
|
8
|
+
readonly applications: IMatch[];
|
|
9
|
+
readonly accepted: IMatch[];
|
|
10
|
+
readonly enrolments: IMatch[];
|
|
11
|
+
readonly leads: IMatch[];
|
|
12
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IMatch {
|
|
2
|
-
readonly __i_match__: true;
|
|
3
|
-
readonly studentId: string;
|
|
4
|
-
}
|
|
1
|
+
export interface IMatch {
|
|
2
|
+
readonly __i_match__: true;
|
|
3
|
+
readonly studentId: string;
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IMatch } from "./interfaces/i-match.interface";
|
|
2
|
-
export declare class MatchDto implements IMatch {
|
|
3
|
-
readonly studentId: string;
|
|
4
|
-
readonly __i_match__: true;
|
|
5
|
-
constructor(studentId: string);
|
|
6
|
-
}
|
|
1
|
+
import { IMatch } from "./interfaces/i-match.interface";
|
|
2
|
+
export declare class MatchDto implements IMatch {
|
|
3
|
+
readonly studentId: string;
|
|
4
|
+
readonly __i_match__: true;
|
|
5
|
+
constructor(studentId: string);
|
|
6
|
+
}
|