@studyportals/domain-client 3.30.0 → 3.32.0-1

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.
Files changed (103) hide show
  1. package/index.d.ts +7 -1
  2. package/index.js +7 -1
  3. package/index.js.map +1 -1
  4. package/package.json +55 -55
  5. package/src/models/bestfit-programme/i-english-requirements.d.ts +44 -0
  6. package/src/models/bestfit-programme/i-english-requirements.js +3 -0
  7. package/src/models/bestfit-programme/i-english-requirements.js.map +1 -0
  8. package/src/models/bestfit-programme/i-g-p-a-requirement.d.ts +20 -0
  9. package/src/models/bestfit-programme/i-g-p-a-requirement.js +3 -0
  10. package/src/models/bestfit-programme/i-g-p-a-requirement.js.map +1 -0
  11. package/src/models/bestfit-programme/i-tuition-fee.d.ts +50 -0
  12. package/src/models/bestfit-programme/i-tuition-fee.js +3 -0
  13. package/src/models/bestfit-programme/i-tuition-fee.js.map +1 -0
  14. package/src/models/compare-programme/i-deadline.d.ts +20 -0
  15. package/src/models/compare-programme/i-deadline.js +3 -0
  16. package/src/models/compare-programme/i-deadline.js.map +1 -0
  17. package/src/models/compare-programme/i-duration.d.ts +40 -0
  18. package/src/models/compare-programme/i-duration.js +3 -0
  19. package/src/models/compare-programme/i-duration.js.map +1 -0
  20. package/src/models/compare-programme/i-english-requirements.d.ts +44 -0
  21. package/src/models/compare-programme/i-english-requirements.js +3 -0
  22. package/src/models/compare-programme/i-english-requirements.js.map +1 -0
  23. package/src/models/compare-programme/i-g-p-a-requirement.d.ts +20 -0
  24. package/src/models/compare-programme/i-g-p-a-requirement.js +3 -0
  25. package/src/models/compare-programme/i-g-p-a-requirement.js.map +1 -0
  26. package/src/models/compare-programme/i-internal-link.d.ts +28 -0
  27. package/src/models/compare-programme/i-internal-link.js +3 -0
  28. package/src/models/compare-programme/i-internal-link.js.map +1 -0
  29. package/src/models/compare-programme/i-link.d.ts +22 -0
  30. package/src/models/compare-programme/i-link.js +3 -0
  31. package/src/models/compare-programme/i-link.js.map +1 -0
  32. package/src/models/compare-programme/i-living-cost.d.ts +20 -0
  33. package/src/models/compare-programme/i-living-cost.js +3 -0
  34. package/src/models/compare-programme/i-living-cost.js.map +1 -0
  35. package/src/models/compare-programme/i-location.d.ts +12 -0
  36. package/src/models/compare-programme/i-location.js +3 -0
  37. package/src/models/compare-programme/i-location.js.map +1 -0
  38. package/src/models/compare-programme/i-optional-link.d.ts +23 -0
  39. package/src/models/compare-programme/i-optional-link.js +3 -0
  40. package/src/models/compare-programme/i-optional-link.js.map +1 -0
  41. package/src/models/compare-programme/i-start-date.d.ts +33 -0
  42. package/src/models/compare-programme/i-start-date.js +3 -0
  43. package/src/models/compare-programme/i-start-date.js.map +1 -0
  44. package/src/models/compare-programme/i-timing.d.ts +45 -0
  45. package/src/models/compare-programme/i-timing.js +3 -0
  46. package/src/models/compare-programme/i-timing.js.map +1 -0
  47. package/src/models/compare-programme/i-tuition-fee.d.ts +50 -0
  48. package/src/models/compare-programme/i-tuition-fee.js +3 -0
  49. package/src/models/compare-programme/i-tuition-fee.js.map +1 -0
  50. package/src/models/copilot-country/copilot-country-client.d.ts +7 -0
  51. package/src/models/copilot-country/copilot-country-client.js +17 -0
  52. package/src/models/copilot-country/copilot-country-client.js.map +1 -0
  53. package/src/models/copilot-country/i-copilot-country.d.ts +32 -0
  54. package/src/models/copilot-country/i-copilot-country.js +3 -0
  55. package/src/models/copilot-country/i-copilot-country.js.map +1 -0
  56. package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -0
  57. package/src/models/copilot-programme/copilot-programme-client.js +17 -0
  58. package/src/models/copilot-programme/copilot-programme-client.js.map +1 -0
  59. package/src/models/copilot-programme/i-copilot-programme.d.ts +86 -0
  60. package/src/models/copilot-programme/i-copilot-programme.js +3 -0
  61. package/src/models/copilot-programme/i-copilot-programme.js.map +1 -0
  62. package/src/models/dotdigital-organisation/i-city.d.ts +14 -0
  63. package/src/models/dotdigital-organisation/i-city.js +3 -0
  64. package/src/models/dotdigital-organisation/i-city.js.map +1 -0
  65. package/src/models/dotdigital-organisation/i-country.d.ts +20 -0
  66. package/src/models/dotdigital-organisation/i-country.js +3 -0
  67. package/src/models/dotdigital-organisation/i-country.js.map +1 -0
  68. package/src/models/dotdigital-programme/i-country.d.ts +20 -0
  69. package/src/models/dotdigital-programme/i-country.js +3 -0
  70. package/src/models/dotdigital-programme/i-country.js.map +1 -0
  71. package/src/models/dotdigital-programme/i-deadline.d.ts +20 -0
  72. package/src/models/dotdigital-programme/i-deadline.js +3 -0
  73. package/src/models/dotdigital-programme/i-deadline.js.map +1 -0
  74. package/src/models/dotdigital-programme/i-english-requirements.d.ts +44 -0
  75. package/src/models/dotdigital-programme/i-english-requirements.js +3 -0
  76. package/src/models/dotdigital-programme/i-english-requirements.js.map +1 -0
  77. package/src/models/dotdigital-programme/i-logo.d.ts +14 -0
  78. package/src/models/dotdigital-programme/i-logo.js +3 -0
  79. package/src/models/dotdigital-programme/i-logo.js.map +1 -0
  80. package/src/models/dotdigital-programme/i-start-date.d.ts +33 -0
  81. package/src/models/dotdigital-programme/i-start-date.js +3 -0
  82. package/src/models/dotdigital-programme/i-start-date.js.map +1 -0
  83. package/src/models/dotdigital-programme/i-timing.d.ts +45 -0
  84. package/src/models/dotdigital-programme/i-timing.js +3 -0
  85. package/src/models/dotdigital-programme/i-timing.js.map +1 -0
  86. package/src/models/dotdigital-programme/i-tuition-fee.d.ts +50 -0
  87. package/src/models/dotdigital-programme/i-tuition-fee.js +3 -0
  88. package/src/models/dotdigital-programme/i-tuition-fee.js.map +1 -0
  89. package/src/models/organisation-search-document/i-organisation-search-document.d.ts +68 -0
  90. package/src/models/organisation-search-document/i-organisation-search-document.js +3 -0
  91. package/src/models/organisation-search-document/i-organisation-search-document.js.map +1 -0
  92. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -0
  93. package/src/models/organisation-search-document/organisation-search-document-client.js +17 -0
  94. package/src/models/organisation-search-document/organisation-search-document-client.js.map +1 -0
  95. package/src/models/programme-card/i-english-requirements.d.ts +44 -0
  96. package/src/models/programme-card/i-english-requirements.js +3 -0
  97. package/src/models/programme-card/i-english-requirements.js.map +1 -0
  98. package/src/models/programme-card/i-g-p-a-requirement.d.ts +20 -0
  99. package/src/models/programme-card/i-g-p-a-requirement.js +3 -0
  100. package/src/models/programme-card/i-g-p-a-requirement.js.map +1 -0
  101. package/src/models/programme-card/i-living-cost.d.ts +20 -0
  102. package/src/models/programme-card/i-living-cost.js +3 -0
  103. package/src/models/programme-card/i-living-cost.js.map +1 -0
package/index.d.ts CHANGED
@@ -55,6 +55,8 @@ import { ISitemapOrganisationInfo } from "./src/models/sitemap-organisations-inf
55
55
  import { SitemapOrganisationsInfoClient } from "./src/models/sitemap-organisations-info/sitemap-organisations-info-client";
56
56
  import { IOrganisationCard } from "./src/models/organisation-card/i-organisation-card";
57
57
  import { OrganisationCardClient } from "./src/models/organisation-card/organisation-card-client";
58
+ import { IOrganisationSearchDocument } from "./src/models/organisation-search-document/i-organisation-search-document";
59
+ import { OrganisationSearchDocumentClient } from "./src/models/organisation-search-document/organisation-search-document-client";
58
60
  import { ISitemapRankingsInfo } from "./src/models/sitemap-rankings-info/i-sitemap-rankings-info";
59
61
  import { SitemapRankingsInfoClient } from "./src/models/sitemap-rankings-info/sitemap-rankings-info-client";
60
62
  import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitemap-article-info";
@@ -74,4 +76,8 @@ import { ICompareProgramme } from "./src/models/compare-programme/i-compare-prog
74
76
  import { CompareProgrammeClient } from "./src/models/compare-programme/compare-programme-client";
75
77
  import { IOrganisationForSearch } from "./src/models/organisation-for-search/i-organisation-for-search";
76
78
  import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client";
77
- export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, IScholarshipCard, PublicScholarshipCardClient, IRankingCards, IRankingCard, IRanking, PublicRankingCardsClient, ICompareProgramme, CompareProgrammeClient, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, OrganisationCardClient };
79
+ import { ICopilotProgramme } from "./src/models/copilot-programme/i-copilot-programme";
80
+ import { CopilotProgrammeClient } from "./src/models/copilot-programme/copilot-programme-client";
81
+ import { ICopilotCountry } from "./src/models/copilot-country/i-copilot-country";
82
+ import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client";
83
+ export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, IOrganisationSearchDocument, OrganisationSearchDocumentClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, IScholarshipCard, PublicScholarshipCardClient, IRankingCards, IRankingCard, IRanking, PublicRankingCardsClient, ICompareProgramme, CompareProgrammeClient, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OrganisationCardClient = exports.PublicOrganisationForSearchClient = exports.ModelClient = exports.PortalType = exports.CompareProgrammeClient = exports.PublicRankingCardsClient = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
3
+ exports.CopilotCountryClient = exports.CopilotProgrammeClient = exports.OrganisationCardClient = exports.PublicOrganisationForSearchClient = exports.ModelClient = exports.PortalType = exports.CompareProgrammeClient = exports.PublicRankingCardsClient = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.OrganisationSearchDocumentClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
4
4
  const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");
5
5
  Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });
6
6
  const client_exception_1 = require("./src/exceptions/client-exception");
@@ -37,6 +37,8 @@ const sitemap_organisations_info_client_1 = require("./src/models/sitemap-organi
37
37
  Object.defineProperty(exports, "SitemapOrganisationsInfoClient", { enumerable: true, get: function () { return sitemap_organisations_info_client_1.SitemapOrganisationsInfoClient; } });
38
38
  const organisation_card_client_1 = require("./src/models/organisation-card/organisation-card-client");
39
39
  Object.defineProperty(exports, "OrganisationCardClient", { enumerable: true, get: function () { return organisation_card_client_1.OrganisationCardClient; } });
40
+ const organisation_search_document_client_1 = require("./src/models/organisation-search-document/organisation-search-document-client");
41
+ Object.defineProperty(exports, "OrganisationSearchDocumentClient", { enumerable: true, get: function () { return organisation_search_document_client_1.OrganisationSearchDocumentClient; } });
40
42
  const sitemap_rankings_info_client_1 = require("./src/models/sitemap-rankings-info/sitemap-rankings-info-client");
41
43
  Object.defineProperty(exports, "SitemapRankingsInfoClient", { enumerable: true, get: function () { return sitemap_rankings_info_client_1.SitemapRankingsInfoClient; } });
42
44
  const sitemap_articles_info_client_1 = require("./src/models/sitemap-articles-info/sitemap-articles-info-client");
@@ -55,4 +57,8 @@ const compare_programme_client_1 = require("./src/models/compare-programme/compa
55
57
  Object.defineProperty(exports, "CompareProgrammeClient", { enumerable: true, get: function () { return compare_programme_client_1.CompareProgrammeClient; } });
56
58
  const public_organisation_for_search_client_1 = require("./src/models/organisation-for-search/public-organisation-for-search-client");
57
59
  Object.defineProperty(exports, "PublicOrganisationForSearchClient", { enumerable: true, get: function () { return public_organisation_for_search_client_1.PublicOrganisationForSearchClient; } });
60
+ const copilot_programme_client_1 = require("./src/models/copilot-programme/copilot-programme-client");
61
+ Object.defineProperty(exports, "CopilotProgrammeClient", { enumerable: true, get: function () { return copilot_programme_client_1.CopilotProgrammeClient; } });
62
+ const copilot_country_client_1 = require("./src/models/copilot-country/copilot-country-client");
63
+ Object.defineProperty(exports, "CopilotCountryClient", { enumerable: true, get: function () { return copilot_country_client_1.CopilotCountryClient; } });
58
64
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA8E3E,oGA9EQ,2CAAmB,OA8ER;AA7EpB,wEAAmE;AA8ElE,gGA9EQ,kCAAe,OA8ER;AA7EhB,0FAAoF;AA8EnF,wGA9EQ,mDAAuB,OA8ER;AA7ExB,8EAAwE;AA8EvE,kGA9EQ,uCAAiB,OA8ER;AA7ElB,wGAAiG;AA8EhG,8GA9EQ,gEAA6B,OA8ER;AAjE9B,6FAAwF;AA8EvF,oGA9EQ,2CAAmB,OA8ER;AAvEpB,sGAAiG;AA8EhG,uGA9EQ,iDAAsB,OA8ER;AA1EvB,sGAAiG;AA8EhG,uGA9EQ,iDAAsB,OA8ER;AAxEvB,+GAA0G;AA8E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,6CAAoB,OAoFR"}
package/package.json CHANGED
@@ -1,55 +1,55 @@
1
- {
2
- "name": "@studyportals/domain-client",
3
- "version": "3.30.0",
4
- "description": "Responsible for fetching data from the Domain API",
5
- "main": "index.js",
6
- "author": "StudyPortals B.V.",
7
- "contributors": [
8
- "braaibander <danny@studyportals.com>"
9
- ],
10
- "license": "BSD-3-Clause",
11
- "scripts": {
12
- "test": "mocha --reporter spec \"tests/**/*.test.ts\"",
13
- "coverage": "nyc mocha --reporter dot \"tests/**/*.test.ts\"",
14
- "lint": "eslint . --ext .ts --max-warnings=0",
15
- "lint:fix": "eslint . --ext .ts --fix",
16
- "pre-push": "npm run test && npm run coverage && npm run lint",
17
- "prepare-dist": "npm run test && rm -fR bin && npx tsc && cp package.json bin/package.json && rm -fR bin/tests",
18
- "publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
19
- "publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
20
- "publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
21
- "publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
22
- "publish-current": "npm run prepare-dist && npm publish ./bin"
23
- },
24
- "husky": {
25
- "hooks": {
26
- "pre-push": "npm run pre-push"
27
- }
28
- },
29
- "dependencies": {
30
- "axios": "^1.6.0"
31
- },
32
- "devDependencies": {
33
- "@studyportals/code-style": "^2.0.3",
34
- "@testdeck/mocha": "^0.3.3",
35
- "@types/axios": "^0.14.0",
36
- "@types/mocha": "^10.0.0",
37
- "@types/moxios": "^0.4.9",
38
- "@types/node": "^14.14.8",
39
- "@types/reflect-metadata": "^0.1.0",
40
- "@typescript-eslint/eslint-plugin": "^4.8.1",
41
- "@typescript-eslint/parser": "^4.8.1",
42
- "eslint": "^7.13.0",
43
- "eslint-plugin-import": "^2.22.1",
44
- "eslint-plugin-mocha": "^10.1.0",
45
- "husky": "^4.3.0",
46
- "mocha": "^10.1.0",
47
- "moxios": "^0.4.0",
48
- "nyc": "^15.1.0",
49
- "source-map-support": "^0.5.19",
50
- "ts-node": "^10.9.1",
51
- "tslint": "^6.1.3",
52
- "typemoq": "^2.1.0",
53
- "typescript": "^4.9.3"
54
- }
55
- }
1
+ {
2
+ "name": "@studyportals/domain-client",
3
+ "version": "3.32.0-1",
4
+ "description": "Responsible for fetching data from the Domain API",
5
+ "main": "index.js",
6
+ "author": "StudyPortals B.V.",
7
+ "contributors": [
8
+ "braaibander <danny@studyportals.com>"
9
+ ],
10
+ "license": "BSD-3-Clause",
11
+ "scripts": {
12
+ "test": "mocha --reporter spec \"tests/**/*.test.ts\"",
13
+ "coverage": "nyc mocha --reporter dot \"tests/**/*.test.ts\"",
14
+ "lint": "eslint . --ext .ts --max-warnings=0",
15
+ "lint:fix": "eslint . --ext .ts --fix",
16
+ "pre-push": "npm run test && npm run coverage && npm run lint",
17
+ "prepare-dist": "npm run test && rm -fR bin && npx tsc && cp package.json bin/package.json && rm -fR bin/tests",
18
+ "publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
19
+ "publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
20
+ "publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
21
+ "publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
22
+ "publish-current": "npm run prepare-dist && npm publish ./bin"
23
+ },
24
+ "husky": {
25
+ "hooks": {
26
+ "pre-push": "npm run pre-push"
27
+ }
28
+ },
29
+ "dependencies": {
30
+ "axios": "^1.6.0"
31
+ },
32
+ "devDependencies": {
33
+ "@studyportals/code-style": "^2.0.3",
34
+ "@testdeck/mocha": "^0.3.3",
35
+ "@types/axios": "^0.14.0",
36
+ "@types/mocha": "^10.0.0",
37
+ "@types/moxios": "^0.4.9",
38
+ "@types/node": "^14.14.8",
39
+ "@types/reflect-metadata": "^0.1.0",
40
+ "@typescript-eslint/eslint-plugin": "^4.8.1",
41
+ "@typescript-eslint/parser": "^4.8.1",
42
+ "eslint": "^7.13.0",
43
+ "eslint-plugin-import": "^2.22.1",
44
+ "eslint-plugin-mocha": "^10.1.0",
45
+ "husky": "^4.3.0",
46
+ "mocha": "^10.1.0",
47
+ "moxios": "^0.4.0",
48
+ "nyc": "^15.1.0",
49
+ "source-map-support": "^0.5.19",
50
+ "ts-node": "^10.9.1",
51
+ "tslint": "^6.1.3",
52
+ "typemoq": "^2.1.0",
53
+ "typescript": "^4.9.3"
54
+ }
55
+ }
@@ -0,0 +1,44 @@
1
+ export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Cambridge english
4
+ *
5
+ * @return number
6
+ */
7
+ getCambridgeEnglish(): number;
8
+ canShowCambridgeEnglish(): boolean;
9
+ /**
10
+ * Required score for Duolingo
11
+ *
12
+ * @return number
13
+ */
14
+ getDuolingo(): number;
15
+ canShowDuolingo(): boolean;
16
+ /**
17
+ * Required score for IELTS tests
18
+ *
19
+ * @return number
20
+ */
21
+ getIELTS(): number;
22
+ canShowIELTS(): boolean;
23
+ /**
24
+ * Required score for PTE
25
+ *
26
+ * @return number
27
+ */
28
+ getPTE(): number;
29
+ canShowPTE(): boolean;
30
+ /**
31
+ * Required score for TOEFL internet
32
+ *
33
+ * @return number
34
+ */
35
+ getTOEFLInternet(): number;
36
+ canShowTOEFLInternet(): boolean;
37
+ /**
38
+ * Required score for TOEFL paper
39
+ *
40
+ * @return number
41
+ */
42
+ getTOEFLPaper(): number;
43
+ canShowTOEFLPaper(): boolean;
44
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-english-requirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface IGPARequirement {
2
+ /**
3
+ * The used GPA scale for this requirement
4
+ *
5
+ * @return string
6
+ */
7
+ getScale(): string;
8
+ /**
9
+ * Required minimum score.
10
+ *
11
+ * @return string
12
+ */
13
+ getScore(): string;
14
+ /**
15
+ * Is GPA recommended or required.
16
+ *
17
+ * @return boolean
18
+ */
19
+ isRequired(): boolean;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-g-p-a-requirement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-g-p-a-requirement.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-g-p-a-requirement.ts"],"names":[],"mappings":""}
@@ -0,0 +1,50 @@
1
+ export interface ITuitionFee {
2
+ /**
3
+ * Get the tuition amount per unit in the provided currency.
4
+ *
5
+ * Note: all transformable units will be converted to yearly amounts. This
6
+ * includes per semester and full programme tuition fees.
7
+ *
8
+ * @return number
9
+ */
10
+ getAmount(): number;
11
+ /**
12
+ * Get the applicable currency.
13
+ *
14
+ * @return string
15
+ */
16
+ getCurrency(): string;
17
+ /**
18
+ * Get the original tuition amount before any transformation step.
19
+ *
20
+ * @return number
21
+ */
22
+ getOriginalAmount(): number;
23
+ /**
24
+ * Get the original tuition unit before any transformation step.
25
+ *
26
+ * @return string
27
+ */
28
+ getOriginalUnit(): string;
29
+ /**
30
+ * Get targeted audience (national, international, eea, etc).
31
+ *
32
+ * @return string
33
+ */
34
+ getTarget(): string;
35
+ /**
36
+ * Get the unit the tuition fee applies for.
37
+ *
38
+ * Note: all transformable units will be converted to 'year'. This means
39
+ * this value will be either 'year', 'module' or 'credit'.
40
+ *
41
+ * @return string
42
+ */
43
+ getUnit(): string;
44
+ /**
45
+ * True if the study is free for this target audience.
46
+ *
47
+ * @return boolean
48
+ */
49
+ isFree(): boolean;
50
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-tuition-fee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface IDeadline {
2
+ /**
3
+ * Get the date this deadline expires on.
4
+ *
5
+ * @return Date
6
+ */
7
+ getDate(): Date;
8
+ /**
9
+ * Get the deadline type (e.g. general, national, eea, etc).
10
+ *
11
+ * @return string
12
+ */
13
+ getType(): string;
14
+ /**
15
+ * True if the deadline has passed (e.g. you can't apply anymore).
16
+ *
17
+ * @return boolean
18
+ */
19
+ isPassed(): boolean;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-deadline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-deadline.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-deadline.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ export interface IDuration {
2
+ /**
3
+ * Get the amount of periods the programme takes to complete.
4
+ *
5
+ * Note: Durations of more than 70 days (with period === 'days') are
6
+ * automatically calculated back to an amount of months.
7
+ *
8
+ * @return number
9
+ */
10
+ getAmount(): number;
11
+ /**
12
+ * Get an optional textual description of the duration.
13
+ *
14
+ * @return string
15
+ * @throws PropertyNotAvailableException
16
+ */
17
+ getDescription(): string;
18
+ canShowDescription(): boolean;
19
+ /**
20
+ * Get the original duration amount before any calculations.
21
+ *
22
+ * @return number
23
+ */
24
+ getOriginalDuration(): number;
25
+ /**
26
+ * Get the original duration period before any calculations.
27
+ *
28
+ * @return string
29
+ */
30
+ getOriginalPeriod(): string;
31
+ /**
32
+ * Get the period this duration is provided in (days or months).
33
+ *
34
+ * Note: Durations of more than 70 days (with period === 'days') are
35
+ * automatically calculated back to an amount of months.
36
+ *
37
+ * @return string
38
+ */
39
+ getPeriod(): string;
40
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-duration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-duration.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-duration.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Cambridge english
4
+ *
5
+ * @return number
6
+ */
7
+ getCambridgeEnglish(): number;
8
+ canShowCambridgeEnglish(): boolean;
9
+ /**
10
+ * Required score for Duolingo
11
+ *
12
+ * @return number
13
+ */
14
+ getDuolingo(): number;
15
+ canShowDuolingo(): boolean;
16
+ /**
17
+ * Required score for IELTS tests
18
+ *
19
+ * @return number
20
+ */
21
+ getIELTS(): number;
22
+ canShowIELTS(): boolean;
23
+ /**
24
+ * Required score for PTE
25
+ *
26
+ * @return number
27
+ */
28
+ getPTE(): number;
29
+ canShowPTE(): boolean;
30
+ /**
31
+ * Required score for TOEFL internet
32
+ *
33
+ * @return number
34
+ */
35
+ getTOEFLInternet(): number;
36
+ canShowTOEFLInternet(): boolean;
37
+ /**
38
+ * Required score for TOEFL paper
39
+ *
40
+ * @return number
41
+ */
42
+ getTOEFLPaper(): number;
43
+ canShowTOEFLPaper(): boolean;
44
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-english-requirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface IGPARequirement {
2
+ /**
3
+ * The used GPA scale for this requirement
4
+ *
5
+ * @return string
6
+ */
7
+ getScale(): string;
8
+ /**
9
+ * Required minimum score.
10
+ *
11
+ * @return string
12
+ */
13
+ getScore(): string;
14
+ /**
15
+ * Is GPA recommended or required.
16
+ *
17
+ * @return boolean
18
+ */
19
+ isRequired(): boolean;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-g-p-a-requirement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-g-p-a-requirement.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-g-p-a-requirement.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ export interface IInternalLink {
2
+ /**
3
+ * Get an optional text describing the link (typically <a>-tags contents).
4
+ *
5
+ * @return string
6
+ * @throws PropertyNotAvailableException
7
+ */
8
+ getDescription(): string;
9
+ canShowDescription(): boolean;
10
+ /**
11
+ * Returns on which portal a this link should link towards.
12
+ *
13
+ * @return string
14
+ */
15
+ getPortalType(): string;
16
+ /**
17
+ * Get the url to refer to.
18
+ *
19
+ * Note that the url provided is always a relative URL. A base URL is needed
20
+ * to make it a full valid path.
21
+ * The only exception is when an external link is provided (meaning, outside
22
+ * of StudyPortals-maintained domains). In this case a full url will be
23
+ * provided.
24
+ *
25
+ * @return string
26
+ */
27
+ getUrl(): string;
28
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-internal-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-internal-link.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-internal-link.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ export interface ILink {
2
+ /**
3
+ * Get an optional text describing the link (typically <a>-tags contents).
4
+ *
5
+ * @return string
6
+ * @throws PropertyNotAvailableException
7
+ */
8
+ getDescription(): string;
9
+ canShowDescription(): boolean;
10
+ /**
11
+ * Get the url to refer to.
12
+ *
13
+ * Note that the url provided is always a relative URL. A base URL is needed
14
+ * to make it a full valid path.
15
+ * The only exception is when an external link is provided (meaning, outside
16
+ * of StudyPortals-maintained domains). In this case a full url will be
17
+ * provided.
18
+ *
19
+ * @return string
20
+ */
21
+ getUrl(): string;
22
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-link.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-link.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ export interface ILivingCost {
2
+ /**
3
+ * Get the applicable currency.
4
+ *
5
+ * @return string
6
+ */
7
+ getCurrency(): string;
8
+ /**
9
+ * Get the maximum living cost in the provided currency.
10
+ *
11
+ * @return number
12
+ */
13
+ getMax(): number;
14
+ /**
15
+ * Get the minimum living cost in the provided currency.
16
+ *
17
+ * @return number
18
+ */
19
+ getMin(): number;
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-living-cost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-living-cost.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-living-cost.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { IOptionalLink } from "../../..";
2
+ export interface ILocation {
3
+ getArea(): IOptionalLink;
4
+ canShowArea(): boolean;
5
+ getAreaId(): number;
6
+ getCity(): IOptionalLink;
7
+ getCityId(): number;
8
+ getCountry(): IOptionalLink;
9
+ getCountryId(): number;
10
+ getCountryIso(): string;
11
+ hasAreaId(): boolean;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-location.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-location.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-location.ts"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ export interface IOptionalLink {
2
+ /**
3
+ * Get an optional text describing the link (typically <a>-tags contents).
4
+ *
5
+ * @return string
6
+ * @throws PropertyNotAvailableException
7
+ */
8
+ getDescription(): string;
9
+ canShowDescription(): boolean;
10
+ /**
11
+ * Get the url to refer to.
12
+ *
13
+ * Note that the url provided is always a relative URL. A base URL is needed
14
+ * to make it a full valid path.
15
+ * The only exception is when an external link is provided (meaning, outside
16
+ * of StudyPortals-maintained domains). In this case a full url will be
17
+ * provided.
18
+ *
19
+ * @return string
20
+ */
21
+ getUrl(): string;
22
+ canShowUrl(): boolean;
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-optional-link.js.map