@studyportals/domain-client 3.13.0-2 → 3.14.0-0

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 (61) hide show
  1. package/index.d.ts +9 -7
  2. package/index.js +3 -1
  3. package/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/models/common/i-english-requirements.d.ts +7 -0
  6. package/src/models/compare-programme/compare-programme-client.d.ts +7 -0
  7. package/src/models/compare-programme/compare-programme-client.js +17 -0
  8. package/src/models/compare-programme/compare-programme-client.js.map +1 -0
  9. package/src/models/compare-programme/i-compare-programme.d.ts +86 -0
  10. package/src/models/compare-programme/i-compare-programme.js +3 -0
  11. package/src/models/compare-programme/i-compare-programme.js.map +1 -0
  12. package/src/models/compare-programme/i-deadline.d.ts +20 -0
  13. package/src/models/{dotdigital-programme/i-country.js → compare-programme/i-deadline.js} +1 -1
  14. package/src/models/compare-programme/i-deadline.js.map +1 -0
  15. package/src/models/compare-programme/i-duration.d.ts +40 -0
  16. package/src/models/{dotdigital-organisation/i-country.js → compare-programme/i-duration.js} +1 -1
  17. package/src/models/compare-programme/i-duration.js.map +1 -0
  18. package/src/models/{bestfit-programme → compare-programme}/i-english-requirements.d.ts +7 -0
  19. package/src/models/compare-programme/i-english-requirements.js.map +1 -0
  20. package/src/models/compare-programme/i-g-p-a-requirement.d.ts +20 -0
  21. package/src/models/compare-programme/i-g-p-a-requirement.js +3 -0
  22. package/src/models/compare-programme/i-g-p-a-requirement.js.map +1 -0
  23. package/src/models/compare-programme/i-link.d.ts +22 -0
  24. package/src/models/{dotdigital-programme/i-logo.js → compare-programme/i-link.js} +1 -1
  25. package/src/models/compare-programme/i-link.js.map +1 -0
  26. package/src/models/compare-programme/i-living-cost.d.ts +20 -0
  27. package/src/models/compare-programme/i-living-cost.js +3 -0
  28. package/src/models/compare-programme/i-living-cost.js.map +1 -0
  29. package/src/models/compare-programme/i-location.d.ts +11 -0
  30. package/src/models/compare-programme/i-location.js +3 -0
  31. package/src/models/compare-programme/i-location.js.map +1 -0
  32. package/src/models/compare-programme/i-optional-link.d.ts +23 -0
  33. package/src/models/compare-programme/i-optional-link.js +3 -0
  34. package/src/models/compare-programme/i-optional-link.js.map +1 -0
  35. package/src/models/compare-programme/i-start-date.d.ts +33 -0
  36. package/src/models/compare-programme/i-start-date.js +3 -0
  37. package/src/models/compare-programme/i-start-date.js.map +1 -0
  38. package/src/models/compare-programme/i-timing.d.ts +45 -0
  39. package/src/models/{dotdigital-organisation/i-city.js → compare-programme/i-timing.js} +1 -1
  40. package/src/models/compare-programme/i-timing.js.map +1 -0
  41. package/src/models/compare-programme/i-tuition-fee.js.map +1 -0
  42. package/src/models/programme-card/i-programme-card.d.ts +0 -1
  43. package/src/models/bestfit-programme/i-english-requirements.js.map +0 -1
  44. package/src/models/bestfit-programme/i-tuition-fee.js.map +0 -1
  45. package/src/models/dotdigital-organisation/i-city.d.ts +0 -14
  46. package/src/models/dotdigital-organisation/i-city.js.map +0 -1
  47. package/src/models/dotdigital-organisation/i-country.d.ts +0 -14
  48. package/src/models/dotdigital-organisation/i-country.js.map +0 -1
  49. package/src/models/dotdigital-programme/i-country.d.ts +0 -14
  50. package/src/models/dotdigital-programme/i-country.js.map +0 -1
  51. package/src/models/dotdigital-programme/i-english-requirements.d.ts +0 -37
  52. package/src/models/dotdigital-programme/i-english-requirements.js +0 -3
  53. package/src/models/dotdigital-programme/i-english-requirements.js.map +0 -1
  54. package/src/models/dotdigital-programme/i-logo.d.ts +0 -14
  55. package/src/models/dotdigital-programme/i-logo.js.map +0 -1
  56. package/src/models/dotdigital-programme/i-tuition-fee.d.ts +0 -50
  57. package/src/models/dotdigital-programme/i-tuition-fee.js +0 -3
  58. package/src/models/dotdigital-programme/i-tuition-fee.js.map +0 -1
  59. /package/src/models/{bestfit-programme → compare-programme}/i-english-requirements.js +0 -0
  60. /package/src/models/{bestfit-programme → compare-programme}/i-tuition-fee.d.ts +0 -0
  61. /package/src/models/{bestfit-programme → compare-programme}/i-tuition-fee.js +0 -0
package/index.d.ts CHANGED
@@ -3,15 +3,12 @@ import { ClientException } from "./src/exceptions/client-exception";
3
3
  import { InternalServerException } from "./src/exceptions/internal-server-exception";
4
4
  import { NotFoundException } from "./src/exceptions/not-found-exception";
5
5
  import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
6
- import { IInternalLink } from "./src/models/programme-card/i-internal-link";
7
- import { ILogo } from "./src/models/programme-card/i-logo";
8
6
  import { ICover } from "./src/models/programme-card/i-cover";
9
7
  import { ILink } from "./src/models/programme-card/i-link";
10
8
  import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
11
9
  import { ILocation } from "./src/models/programme-card/i-location";
12
10
  import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";
13
11
  import { ITracking } from "./src/models/programme-card/i-tracking";
14
- import { ITuitionFee } from "./src/models/programme-card/i-tuition-fee";
15
12
  import { IDuration } from "./src/models/programme-card/i-duration";
16
13
  import { IDeadline } from "./src/models/programme-card/i-deadline";
17
14
  import { IStartDate } from "./src/models/programme-card/i-start-date";
@@ -26,13 +23,14 @@ import { IGeoTargetingConfiguration } from "./src/models/search-projection/i-geo
26
23
  import { IGeoTargetingValues } from "./src/models/search-projection/i-geo-targeting-values";
27
24
  import { ISearchProjection } from "./src/models/search-projection/i-search-projection";
28
25
  import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
29
- import { IEnglishRequirements } from "./src/models/bestfit-programme/i-english-requirements";
30
- import { ICity } from "./src/models/bestfit-programme/i-city";
31
26
  import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
32
27
  import { IGPARequirement } from "./src/models/bestfit-programme/i-g-p-a-requirement";
33
28
  import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
34
29
  import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
35
- import { ICountry } from "./src/models/dotdigital-programme/i-country";
30
+ import { ILogo } from "./src/models/common/i-logo";
31
+ import { ITuitionFee } from "./src/models/common/i-tuition-fee";
32
+ import { IEnglishRequirements } from "./src/models/common/i-english-requirements";
33
+ import { IInternalLink } from "./src/models/dotdigital-programme/i-internal-link";
36
34
  import { IDotDigitalProgramme } from "./src/models/dotdigital-programme/i-dot-digital-programme";
37
35
  import { DotdigitalProgrammeClient } from "./src/models/dotdigital-programme/dotdigital-programme-client";
38
36
  import { ISitemapProgrammeInfo } from "./src/models/sitemap-programme-info/i-sitemap-programme-info";
@@ -48,6 +46,8 @@ import { ISearchDiscipline } from "./src/models/search-discipline/i-search-disci
48
46
  import { PublicSearchDisciplineClient } from "./src/models/search-discipline/public-search-discipline-client";
49
47
  import { ISitemapDisciplineInfo } from "./src/models/sitemap-disciplines-info/i-sitemap-discipline-info";
50
48
  import { SitemapDisciplinesInfoClient } from "./src/models/sitemap-disciplines-info/sitemap-disciplines-info-client";
49
+ import { ICountry } from "./src/models/common/i-country";
50
+ import { ICity } from "./src/models/common/i-city";
51
51
  import { IReview } from "./src/models/dotdigital-organisation/i-review";
52
52
  import { IDotDigitalOrganisation } from "./src/models/dotdigital-organisation/i-dot-digital-organisation";
53
53
  import { DotdigitalOrganisationClient } from "./src/models/dotdigital-organisation/dotdigital-organisation-client";
@@ -62,4 +62,6 @@ import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitema
62
62
  import { PortalType } from "./src/types/portal-type";
63
63
  import { PortalMap } from "./src/types/portal-map";
64
64
  import { ModelClient } from "./src/model-client";
65
- 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, PortalType, PortalMap, ModelClient };
65
+ import { ICompareProgramme } from "./src/models/compare-programme/i-compare-programme";
66
+ import { CompareProgrammeClient } from "./src/models/compare-programme/compare-programme-client";
67
+ 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, ICompareProgramme, CompareProgrammeClient, PortalType, PortalMap, ModelClient };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModelClient = exports.PortalType = 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.ModelClient = exports.PortalType = exports.CompareProgrammeClient = 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;
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");
@@ -45,4 +45,6 @@ const portal_type_1 = require("./src/types/portal-type");
45
45
  Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
46
46
  const model_client_1 = require("./src/model-client");
47
47
  Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
48
+ const compare_programme_client_1 = require("./src/models/compare-programme/compare-programme-client");
49
+ Object.defineProperty(exports, "CompareProgrammeClient", { enumerable: true, get: function () { return compare_programme_client_1.CompareProgrammeClient; } });
48
50
  //# 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;AAkE3E,oGAlEQ,2CAAmB,OAkER;AAjEpB,wEAAmE;AAkElE,gGAlEQ,kCAAe,OAkER;AAjEhB,0FAAoF;AAkEnF,wGAlEQ,mDAAuB,OAkER;AAjExB,8EAAwE;AAkEvE,kGAlEQ,uCAAiB,OAkER;AAjElB,wGAAiG;AAkEhG,8GAlEQ,gEAA6B,OAkER;AAlD9B,6FAAwF;AA+DvF,oGA/DQ,2CAAmB,OA+DR;AAxDpB,sGAAiG;AA+DhG,uGA/DQ,iDAAsB,OA+DR;AAzDvB,sGAAiG;AA6DhG,uGA7DQ,iDAAsB,OA6DR;AA1DvB,+GAA0G;AAgEzG,0GAhEQ,uDAAyB,OAgER;AA9D1B,qHAA+G;AAgE9G,2GAhEQ,0DAA0B,OAgER;AA9D3B,uHAAgH;AAgE/G,6GAhEQ,+DAA4B,OAgER;AA9D7B,qHAA+G;AAgE9G,2GAhEQ,0DAA0B,OAgER;AA7D3B,oIAA6H;AAgE5H,+GAhEQ,mEAA8B,OAgER;AA9D/B,oHAA8G;AAgE7G,6GAhEQ,8DAA4B,OAgER;AA9D7B,2HAAqH;AAgEpH,6GAhEQ,8DAA4B,OAgER;AA7D7B,wHAAmH;AAkElH,6GAlEQ,6DAA4B,OAkER;AAhE7B,iIAA2H;AAkE1H,+GAlEQ,kEAA8B,OAkER;AAhE/B,kHAA4G;AAkE3G,0GAlEQ,wDAAyB,OAkER;AAhE1B,kHAA4G;AAkE3G,0GAlEQ,wDAAyB,OAkER;AAhE1B,4GAAsG;AAkErG,wGAlEQ,oDAAuB,OAkER;AAjExB,yDAAqD;AAkEpD,2FAlEQ,wBAAU,OAkER;AAhEX,qDAAiD;AAkEhD,4FAlEQ,0BAAW,OAkER"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AAoE3E,oGApEQ,2CAAmB,OAoER;AAnEpB,wEAAmE;AAoElE,gGApEQ,kCAAe,OAoER;AAnEhB,0FAAoF;AAoEnF,wGApEQ,mDAAuB,OAoER;AAnExB,8EAAwE;AAoEvE,kGApEQ,uCAAiB,OAoER;AAnElB,wGAAiG;AAoEhG,8GApEQ,gEAA6B,OAoER;AAvD9B,6FAAwF;AAoEvF,oGApEQ,2CAAmB,OAoER;AA7DpB,sGAAiG;AAoEhG,uGApEQ,iDAAsB,OAoER;AAhEvB,sGAAiG;AAoEhG,uGApEQ,iDAAsB,OAoER;AA9DvB,+GAA0G;AAoEzG,0GApEQ,uDAAyB,OAoER;AAlE1B,qHAA+G;AAoE9G,2GApEQ,0DAA0B,OAoER;AAlE3B,uHAAgH;AAoE/G,6GApEQ,+DAA4B,OAoER;AAlE7B,qHAA+G;AAoE9G,2GApEQ,0DAA0B,OAoER;AAjE3B,oIAA6H;AAoE5H,+GApEQ,mEAA8B,OAoER;AAlE/B,oHAA8G;AAoE7G,6GApEQ,8DAA4B,OAoER;AAlE7B,2HAAqH;AAoEpH,6GApEQ,8DAA4B,OAoER;AA/D7B,wHAAmH;AAoElH,6GApEQ,6DAA4B,OAoER;AAlE7B,iIAA2H;AAoE1H,+GApEQ,kEAA8B,OAoER;AAlE/B,kHAA4G;AAoE3G,0GApEQ,wDAAyB,OAoER;AAlE1B,kHAA4G;AAoE3G,0GApEQ,wDAAyB,OAoER;AAlE1B,4GAAsG;AAoErG,wGApEQ,oDAAuB,OAoER;AAnExB,yDAAqD;AAsEpD,2FAtEQ,wBAAU,OAsER;AApEX,qDAAiD;AAsEhD,4FAtEQ,0BAAW,OAsER;AApEZ,sGAAgG;AAiE/F,uGAjEQ,iDAAsB,OAiER"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.13.0-2",
3
+ "version": "3.14.0-0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -1,4 +1,11 @@
1
1
  export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Cambridge english
4
+ *
5
+ * @return number
6
+ */
7
+ getCambridgeEnglish(): number;
8
+ canShowCambridgeEnglish(): boolean;
2
9
  /**
3
10
  * Required score for IELTS tests
4
11
  *
@@ -0,0 +1,7 @@
1
+ import { ICompareProgramme } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class CompareProgrammeClient extends ModelClient<ICompareProgramme> {
4
+ protected getModelName(): string;
5
+ protected getVersion(): string;
6
+ isPublic(): boolean;
7
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CompareProgrammeClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class CompareProgrammeClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'compare-programme';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.CompareProgrammeClient = CompareProgrammeClient;
17
+ //# sourceMappingURL=compare-programme-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compare-programme-client.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/compare-programme-client.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,sBAAuB,SAAQ,0BAA8B;IAC/D,YAAY;QACrB,OAAO,mBAAmB,CAAC;IAC5B,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,KAAK,CAAC;IACd,CAAC;CACD;AAZD,wDAYC"}
@@ -0,0 +1,86 @@
1
+ import { IDuration, IEnglishRequirements, IGPARequirement, ILink, ILivingCost, ILocation, ITiming, ITuitionFee } from "../../..";
2
+ export interface ICompareProgramme {
3
+ /**
4
+ * Duration of the programme
5
+ *
6
+ * @return IDuration | null
7
+ */
8
+ getDuration(): IDuration | null;
9
+ /**
10
+ * English level requirements.
11
+ *
12
+ * @return IEnglishRequirements
13
+ */
14
+ getEnglishRequirements(): IEnglishRequirements;
15
+ /**
16
+ * GPA requirements
17
+ *
18
+ * @return IGPARequirement | null
19
+ */
20
+ getGPA(): IGPARequirement | null;
21
+ /**
22
+ * Id of the programme.
23
+ *
24
+ * @return number
25
+ */
26
+ getId(): number;
27
+ /**
28
+ * Estimated living cost based on universities' location.
29
+ *
30
+ * @return ILivingCost | null
31
+ */
32
+ getLivingCost(): ILivingCost | null;
33
+ /**
34
+ * Indicates where a programme is taught
35
+ *
36
+ * @return ILocation | null
37
+ */
38
+ getLocation(): ILocation | null;
39
+ /**
40
+ * The universities review quantity
41
+ *
42
+ * @return number | null
43
+ */
44
+ getReviewQuantity(): number | null;
45
+ /**
46
+ * The universities review rating
47
+ *
48
+ * @return number | null
49
+ */
50
+ getReviewRating(): number | null;
51
+ /**
52
+ * Get all start dates
53
+ *
54
+ * @return ITiming[]
55
+ */
56
+ getTimings(): ITiming[];
57
+ /**
58
+ * The programmes tuition fees
59
+ *
60
+ * @return ITuitionFee[]
61
+ */
62
+ getTuitionFees(): ITuitionFee[];
63
+ /**
64
+ * Returns a link to the university
65
+ *
66
+ * @return ILink
67
+ */
68
+ getUniversityLink(): ILink;
69
+ /**
70
+ * Amount of years required as work experience
71
+ *
72
+ * @return number | null
73
+ */
74
+ getWorkExperienceYears(): number | null;
75
+ /**
76
+ * Indicates whenever a programme is fully online or not
77
+ *
78
+ * @return boolean
79
+ */
80
+ isFullyOnline(): boolean;
81
+ /**
82
+ * Is programme public
83
+ * @return boolean
84
+ */
85
+ isPublic(): boolean;
86
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-compare-programme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-compare-programme.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-compare-programme.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
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-country.js.map
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
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-country.js.map
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":""}
@@ -1,4 +1,11 @@
1
1
  export interface IEnglishRequirements {
2
+ /**
3
+ * Required score for Cambridge english
4
+ *
5
+ * @return number
6
+ */
7
+ getCambridgeEnglish(): number;
8
+ canShowCambridgeEnglish(): boolean;
2
9
  /**
3
10
  * Required score for Duolingo
4
11
  *
@@ -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,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
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-logo.js.map
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,11 @@
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
+ hasAreaId(): boolean;
11
+ }
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-optional-link.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-optional-link.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { IDeadline } from "../../..";
2
+ export interface IStartDate {
3
+ /**
4
+ * Get the date the programme starts on.
5
+ *
6
+ * @return Date
7
+ */
8
+ getDate(): Date;
9
+ /**
10
+ * Get a list of deadlines that apply to this start date.
11
+ *
12
+ * Note: In case of extendable start dates, all information in the
13
+ * Deadline objects has already been extended to the first available start
14
+ * date.
15
+ *
16
+ * @return IDeadline[]
17
+ * @throws PropertyNotAvailableException
18
+ */
19
+ getDeadlines(): IDeadline[];
20
+ canShowDeadlines(): boolean;
21
+ /**
22
+ * True if you can apply at any time for this programme (rolling admission)
23
+ *
24
+ * @return boolean
25
+ */
26
+ isApplyingAnytime(): boolean;
27
+ /**
28
+ * True if the start date has passed (you can't start at this date anymore).
29
+ *
30
+ * @return boolean
31
+ */
32
+ isPassed(): boolean;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-start-date.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-start-date.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-start-date.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
1
+ import { IDeadline, IStartDate } from "../../..";
2
+ export interface ITiming {
3
+ /**
4
+ * Get the IDeadline applicable for this type and programme.
5
+ *
6
+ * Note: In case of extendable start dates, all information in the
7
+ * Deadline object has already been extended to the first available start
8
+ * date.
9
+ *
10
+ * @return IDeadline
11
+ * @throws PropertyNotAvailableException
12
+ */
13
+ getDeadline(): IDeadline;
14
+ canShowDeadline(): boolean;
15
+ /**
16
+ * Get the IStartDate applicable for this type and programme.
17
+ *
18
+ * Note: In case of extendable start dates, all information in the
19
+ * StartDate objects has already been extended to the first available start
20
+ * date.
21
+ *
22
+ * @return IStartDate
23
+ * @throws PropertyNotAvailableException
24
+ */
25
+ getStartDate(): IStartDate;
26
+ canShowStartDate(): boolean;
27
+ /**
28
+ * Type of user the timing is applicable to (e.g. general, eea, national).
29
+ *
30
+ * @return string
31
+ */
32
+ getType(): string;
33
+ /**
34
+ * True if the programme allows to apply at any time (rolling application).
35
+ *
36
+ * @return boolean
37
+ */
38
+ isApplyingAnytime(): boolean;
39
+ /**
40
+ * True if the programme can start at any time (rolling admission).
41
+ *
42
+ * @return boolean
43
+ */
44
+ isStartingAnytime(): boolean;
45
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-city.js.map
3
+ //# sourceMappingURL=i-timing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-timing.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-timing.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/compare-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -113,7 +113,6 @@ export interface IProgrammeCard {
113
113
  getTracking(): ITracking;
114
114
  /**
115
115
  * Get all tuition fees of the programme.
116
- *
117
116
  * @return ITuitionFee[]
118
117
  */
119
118
  getTuitionFees(): ITuitionFee[];
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICity {
2
- /**
3
- * Get city id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get city name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-city.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-city.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get country name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-country.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get country name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-country.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Duolingo
4
- *
5
- * @return number
6
- */
7
- getDuolingo(): number;
8
- canShowDuolingo(): boolean;
9
- /**
10
- * Required score for IELTS tests
11
- *
12
- * @return number
13
- */
14
- getIELTS(): number;
15
- canShowIELTS(): boolean;
16
- /**
17
- * Required score for PTE
18
- *
19
- * @return number
20
- */
21
- getPTE(): number;
22
- canShowPTE(): boolean;
23
- /**
24
- * Required score for TOEFL internet
25
- *
26
- * @return number
27
- */
28
- getTOEFLInternet(): number;
29
- canShowTOEFLInternet(): boolean;
30
- /**
31
- * Required score for TOEFL paper
32
- *
33
- * @return number
34
- */
35
- getTOEFLPaper(): number;
36
- canShowTOEFLPaper(): boolean;
37
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-english-requirements.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ILogo {
2
- /**
3
- * Get the file ID of the logo.
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get the imgix URL of the logo.
10
- *
11
- * @return string
12
- */
13
- getSource(): string;
14
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-logo.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-logo.ts"],"names":[],"mappings":""}
@@ -1,50 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-tuition-fee.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-tuition-fee.ts"],"names":[],"mappings":""}