@studyportals/domain-client 7.1.0 → 7.1.1-beta.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.
- package/index.d.ts +89 -89
- package/index.js +34 -81
- package/package.json +3 -2
- package/protobuf/Area.js +1 -4
- package/protobuf/Article.d.ts +5 -5
- package/protobuf/Article.js +30 -33
- package/protobuf/Body.js +1 -4
- package/protobuf/CampaignInformation.js +1 -4
- package/protobuf/ClickTracking.js +1 -4
- package/protobuf/CommercialEntity.js +1 -4
- package/protobuf/Cover.js +1 -4
- package/protobuf/Deadline.js +1 -4
- package/protobuf/Degree.js +1 -4
- package/protobuf/Description.d.ts +2 -2
- package/protobuf/Description.js +13 -16
- package/protobuf/Discipline.d.ts +3 -3
- package/protobuf/Discipline.js +10 -13
- package/protobuf/Duration.js +1 -4
- package/protobuf/EnglishRequirement.js +1 -4
- package/protobuf/EssentialInformation.js +1 -4
- package/protobuf/File.js +3 -6
- package/protobuf/GPARequirement.js +1 -4
- package/protobuf/InternalLink.js +3 -6
- package/protobuf/Link.js +1 -4
- package/protobuf/LivingCost.js +1 -4
- package/protobuf/Location.d.ts +1 -1
- package/protobuf/Location.js +8 -11
- package/protobuf/Logo.js +1 -4
- package/protobuf/MiniProgrammeCard.d.ts +3 -3
- package/protobuf/MiniProgrammeCard.js +10 -13
- package/protobuf/OptionalLink.js +1 -4
- package/protobuf/Organisation.d.ts +12 -12
- package/protobuf/Organisation.js +86 -89
- package/protobuf/OrganisationInformation.js +1 -4
- package/protobuf/OrganisationRanking.d.ts +2 -2
- package/protobuf/OrganisationRanking.js +7 -10
- package/protobuf/Person.d.ts +1 -1
- package/protobuf/Person.js +4 -7
- package/protobuf/ProgrammeCard.d.ts +14 -14
- package/protobuf/ProgrammeCard.js +43 -46
- package/protobuf/ProgrammeGrid.d.ts +2 -2
- package/protobuf/ProgrammeGrid.js +9 -12
- package/protobuf/Ranking.d.ts +1 -1
- package/protobuf/Ranking.js +6 -9
- package/protobuf/RankingInstitute.d.ts +1 -1
- package/protobuf/RankingInstitute.js +4 -7
- package/protobuf/Review.d.ts +1 -1
- package/protobuf/Review.js +4 -7
- package/protobuf/ReviewRating.js +1 -4
- package/protobuf/RichText.js +1 -4
- package/protobuf/SocialLink.js +1 -4
- package/protobuf/StartDate.d.ts +1 -1
- package/protobuf/StartDate.js +4 -7
- package/protobuf/Timing.d.ts +2 -2
- package/protobuf/Timing.js +7 -10
- package/protobuf/Topic.js +1 -4
- package/protobuf/TrackedLink.d.ts +1 -1
- package/protobuf/TrackedLink.js +4 -7
- package/protobuf/Tracking.d.ts +1 -1
- package/protobuf/Tracking.js +4 -7
- package/protobuf/TuitionFee.js +1 -4
- package/protobuf/Unibuddy.js +1 -4
- package/protobuf/index.d.ts +42 -42
- package/protobuf/index.js +42 -58
- package/src/clients/article-detail-page-client.d.ts +2 -2
- package/src/clients/article-detail-page-client.js +4 -8
- package/src/clients/index.d.ts +4 -4
- package/src/clients/index.js +4 -20
- package/src/clients/organisation-page-client.d.ts +2 -2
- package/src/clients/organisation-page-client.js +4 -8
- package/src/clients/protobuf-client.d.ts +2 -2
- package/src/clients/protobuf-client.js +3 -7
- package/src/clients/public-mini-programme-card-client.d.ts +2 -2
- package/src/clients/public-mini-programme-card-client.js +4 -8
- package/src/domain-client.js +9 -13
- package/src/exceptions/bad-request-exception.js +1 -5
- package/src/exceptions/client-exception.js +1 -5
- package/src/exceptions/internal-server-exception.js +1 -5
- package/src/exceptions/not-found-exception.js +1 -5
- package/src/exceptions/property-not-available-exception.js +1 -5
- package/src/factories/DateFactory.d.ts +2 -2
- package/src/factories/DateFactory.js +1 -5
- package/src/factories/InternalLinkFactory.d.ts +3 -3
- package/src/factories/InternalLinkFactory.js +1 -5
- package/src/i-api-response.d.ts +1 -1
- package/src/i-api-response.js +1 -2
- package/src/i-class-factory.d.ts +1 -1
- package/src/i-class-factory.js +1 -2
- package/src/i-model-description.d.ts +1 -1
- package/src/i-model-description.js +1 -4
- package/src/model-client.d.ts +2 -2
- package/src/model-client.js +8 -12
- package/src/model-factory.d.ts +2 -2
- package/src/model-factory.js +10 -14
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +2 -2
- package/src/models/bestfit-programme/bestfit-programme-client.js +2 -6
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +1 -1
- package/src/models/bestfit-programme/i-best-fit-programme.js +1 -2
- package/src/models/bestfit-programme/i-city.js +1 -2
- package/src/models/bestfit-programme/i-living-cost.js +1 -2
- package/src/models/city-search-document/city-search-document-client.d.ts +2 -2
- package/src/models/city-search-document/city-search-document-client.js +2 -6
- package/src/models/city-search-document/i-city-search-document.js +1 -2
- package/src/models/common/i-city.js +1 -2
- package/src/models/common/i-country.js +1 -2
- package/src/models/common/i-english-requirements.js +1 -2
- package/src/models/common/i-g-p-a-requirement.js +1 -2
- package/src/models/common/i-internal-link.js +1 -2
- package/src/models/common/i-logo.js +1 -2
- package/src/models/common/i-review-rating.js +1 -2
- package/src/models/common/i-tuition-fee.js +1 -2
- package/src/models/copilot-country/copilot-country-client.d.ts +2 -2
- package/src/models/copilot-country/copilot-country-client.js +2 -6
- package/src/models/copilot-country/i-copilot-country.d.ts +1 -1
- package/src/models/copilot-country/i-copilot-country.js +1 -2
- package/src/models/copilot-country/i-copilot-ranking-card.js +1 -2
- package/src/models/copilot-programme/copilot-programme-client.d.ts +2 -2
- package/src/models/copilot-programme/copilot-programme-client.js +2 -6
- package/src/models/copilot-programme/i-copilot-programme.d.ts +1 -1
- package/src/models/copilot-programme/i-copilot-programme.js +1 -2
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +2 -2
- package/src/models/customerio-organisation/customerio-organisation-client.js +2 -6
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +1 -1
- package/src/models/customerio-organisation/i-customer-io-organisation.js +1 -2
- package/src/models/customerio-organisation/i-review.js +1 -2
- package/src/models/customerio-programme/customerio-programme-client.d.ts +2 -2
- package/src/models/customerio-programme/customerio-programme-client.js +2 -6
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +1 -1
- package/src/models/customerio-programme/i-customer-io-programme.js +1 -2
- package/src/models/customerio-programme/i-internal-link.js +1 -2
- package/src/models/faq-static-content/i-faq-static-content.d.ts +2 -2
- package/src/models/faq-static-content/i-faq-static-content.js +1 -2
- package/src/models/faq-static-content/i-faq.js +1 -2
- package/src/models/faq-static-content/i-static-content-url.js +1 -2
- package/src/models/faq-static-content/i-static-content.d.ts +1 -1
- package/src/models/faq-static-content/i-static-content.js +1 -2
- package/src/models/faq-static-content/public-faq-static-content-client.d.ts +2 -2
- package/src/models/faq-static-content/public-faq-static-content-client.js +2 -6
- package/src/models/organisation-card/i-organisation-card.d.ts +2 -2
- package/src/models/organisation-card/i-organisation-card.js +1 -2
- package/src/models/organisation-card/i-ranking-discipline.js +1 -2
- package/src/models/organisation-card/organisation-card-client.d.ts +2 -2
- package/src/models/organisation-card/organisation-card-client.js +2 -6
- package/src/models/organisation-for-search/i-organisation-for-search.js +1 -2
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +2 -2
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +2 -6
- package/src/models/organisation-search-document/i-organisation-search-document.js +1 -2
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +2 -2
- package/src/models/organisation-search-document/organisation-search-document-client.js +2 -6
- package/src/models/programme-card/i-click-tracking-data.js +1 -2
- package/src/models/programme-card/i-cover.js +1 -2
- package/src/models/programme-card/i-deadline.js +1 -2
- package/src/models/programme-card/i-duration.js +1 -2
- package/src/models/programme-card/i-internal-link.js +1 -2
- package/src/models/programme-card/i-link.js +1 -2
- package/src/models/programme-card/i-location.d.ts +1 -1
- package/src/models/programme-card/i-location.js +1 -2
- package/src/models/programme-card/i-logo.js +1 -2
- package/src/models/programme-card/i-optional-link.js +1 -2
- package/src/models/programme-card/i-programme-card.d.ts +2 -2
- package/src/models/programme-card/i-programme-card.js +1 -2
- package/src/models/programme-card/i-start-date.d.ts +1 -1
- package/src/models/programme-card/i-start-date.js +1 -2
- package/src/models/programme-card/i-timing.d.ts +1 -1
- package/src/models/programme-card/i-timing.js +1 -2
- package/src/models/programme-card/i-tracked-link.d.ts +1 -1
- package/src/models/programme-card/i-tracked-link.js +1 -2
- package/src/models/programme-card/i-tracking.d.ts +1 -1
- package/src/models/programme-card/i-tracking.js +1 -2
- package/src/models/programme-card/i-tuition-fee.js +1 -2
- package/src/models/programme-card/programme-card-client.d.ts +2 -2
- package/src/models/programme-card/programme-card-client.js +2 -6
- package/src/models/ranking-cards/i-ranking.js +1 -2
- package/src/models/scholarship-card/i-scholarship-card-v2.js +1 -2
- package/src/models/scholarship-card/i-scholarship-card.js +1 -2
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +2 -2
- package/src/models/scholarship-card/public-scholarship-card-client.js +2 -6
- package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +2 -2
- package/src/models/scholarship-card/scholarship-card-v2-client.js +2 -6
- package/src/models/scholarship-search-document/i-scholarship-search-document.js +1 -2
- package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +2 -2
- package/src/models/scholarship-search-document/scholarship-search-document-client.js +2 -6
- package/src/models/search-discipline/i-search-discipline.js +1 -2
- package/src/models/search-discipline/public-search-discipline-client.d.ts +2 -2
- package/src/models/search-discipline/public-search-discipline-client.js +2 -6
- package/src/models/search-projection/i-geo-targeting-configuration.js +1 -2
- package/src/models/search-projection/i-geo-targeting-values.d.ts +1 -1
- package/src/models/search-projection/i-geo-targeting-values.js +1 -2
- package/src/models/search-projection/i-organisation-values.js +1 -2
- package/src/models/search-projection/i-premium-values.js +1 -2
- package/src/models/search-projection/i-search-projection.d.ts +1 -1
- package/src/models/search-projection/i-search-projection.js +1 -2
- package/src/models/search-projection/i-tuition-values.js +1 -2
- package/src/models/search-projection/search-projection-client.d.ts +2 -2
- package/src/models/search-projection/search-projection-client.js +2 -6
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +1 -2
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +2 -2
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +2 -6
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +1 -2
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +2 -2
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +2 -6
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +1 -2
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +2 -2
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +2 -6
- package/src/models/sitemap-country-degree-info/i-degree-info.js +1 -2
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +1 -1
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +1 -2
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +2 -2
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +2 -6
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +1 -2
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +2 -2
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +2 -6
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +1 -2
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +2 -2
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +2 -6
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +1 -2
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +2 -2
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +2 -6
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +1 -2
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +2 -2
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +2 -6
- package/src/types/portal-map.d.ts +1 -1
- package/src/types/portal-map.js +1 -2
- package/src/types/portal-type.js +2 -5
- package/src/types.js +1 -2
package/src/model-client.js
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const client_exception_1 = require("./exceptions/client-exception");
|
|
6
|
-
const model_factory_1 = require("./model-factory");
|
|
7
|
-
class ModelClient {
|
|
1
|
+
import { DomainClient } from "./domain-client.js";
|
|
2
|
+
import { ClientException } from "./exceptions/client-exception.js";
|
|
3
|
+
import { ModelFactory } from "./model-factory.js";
|
|
4
|
+
export class ModelClient {
|
|
8
5
|
domainClient;
|
|
9
6
|
modelFactory;
|
|
10
7
|
constructor(baseUrl, apiKey, seed, portalMap) {
|
|
11
8
|
if (!baseUrl || !seed) {
|
|
12
9
|
return;
|
|
13
10
|
}
|
|
14
|
-
this.modelFactory = new
|
|
15
|
-
this.domainClient = new
|
|
11
|
+
this.modelFactory = new ModelFactory(portalMap);
|
|
12
|
+
this.domainClient = new DomainClient(baseUrl, apiKey, this.getModelName(), this.getVersion(), this.isPublic(), seed);
|
|
16
13
|
}
|
|
17
14
|
async fetch(id) {
|
|
18
15
|
const modelDescriptions = await this.fetchDescription(id);
|
|
@@ -20,7 +17,7 @@ class ModelClient {
|
|
|
20
17
|
}
|
|
21
18
|
async fetchDescription(id) {
|
|
22
19
|
if (!this.domainClient) {
|
|
23
|
-
throw new
|
|
20
|
+
throw new ClientException("Offline mode active: did you provide all parameters " +
|
|
24
21
|
"in the constructor?");
|
|
25
22
|
}
|
|
26
23
|
const result = await this.domainClient.doRequest([id]);
|
|
@@ -32,7 +29,7 @@ class ModelClient {
|
|
|
32
29
|
}
|
|
33
30
|
async fetchMultipleDescriptions(ids) {
|
|
34
31
|
if (!this.domainClient) {
|
|
35
|
-
throw new
|
|
32
|
+
throw new ClientException('Offline mode active: did you provide all parameters ' +
|
|
36
33
|
'in the constructor?');
|
|
37
34
|
}
|
|
38
35
|
return await this.domainClient.doRequest(ids);
|
|
@@ -44,4 +41,3 @@ class ModelClient {
|
|
|
44
41
|
return this.modelFactory.fromDescriptions(descriptions);
|
|
45
42
|
}
|
|
46
43
|
}
|
|
47
|
-
exports.ModelClient = ModelClient;
|
package/src/model-factory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IModelDescription } from "./i-model-description";
|
|
2
|
-
import { PortalMap } from "./types/portal-map";
|
|
1
|
+
import { IModelDescription } from "./i-model-description.js";
|
|
2
|
+
import { PortalMap } from "./types/portal-map.js";
|
|
3
3
|
export declare class ModelFactory<T> {
|
|
4
4
|
private customClassFactories;
|
|
5
5
|
constructor(portalMap?: PortalMap);
|
package/src/model-factory.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const i_model_description_1 = require("./i-model-description");
|
|
7
|
-
const property_not_available_exception_1 = require("./exceptions/property-not-available-exception");
|
|
8
|
-
class ModelFactory {
|
|
1
|
+
import { InternalLinkFactory } from "./factories/InternalLinkFactory.js";
|
|
2
|
+
import { DateFactory } from "./factories/DateFactory.js";
|
|
3
|
+
import { isModelDescription } from "./i-model-description.js";
|
|
4
|
+
import { PropertyNotAvailableException } from "./exceptions/property-not-available-exception.js";
|
|
5
|
+
export class ModelFactory {
|
|
9
6
|
customClassFactories;
|
|
10
7
|
constructor(portalMap = new Map()) {
|
|
11
8
|
const factories = new Map();
|
|
12
|
-
factories.set('IInternalLink', new
|
|
13
|
-
factories.set('SerializableDateTime', new
|
|
9
|
+
factories.set('IInternalLink', new InternalLinkFactory(portalMap));
|
|
10
|
+
factories.set('SerializableDateTime', new DateFactory());
|
|
14
11
|
this.customClassFactories = factories;
|
|
15
12
|
}
|
|
16
13
|
fromDescription(data) {
|
|
@@ -39,7 +36,7 @@ class ModelFactory {
|
|
|
39
36
|
const canShowFunction = 'canShow' + propertyName;
|
|
40
37
|
const value = data.func[functionName];
|
|
41
38
|
let returnValue;
|
|
42
|
-
if (
|
|
39
|
+
if (isModelDescription(value)) {
|
|
43
40
|
returnValue = this.unpackClass(value);
|
|
44
41
|
}
|
|
45
42
|
else if (Array.isArray(value)) {
|
|
@@ -51,7 +48,7 @@ class ModelFactory {
|
|
|
51
48
|
if (canShowFunction in data.func) {
|
|
52
49
|
return () => {
|
|
53
50
|
if (data.func[canShowFunction] === false) {
|
|
54
|
-
throw new
|
|
51
|
+
throw new PropertyNotAvailableException(`Property '${propertyName}' not available`);
|
|
55
52
|
}
|
|
56
53
|
return returnValue;
|
|
57
54
|
};
|
|
@@ -62,11 +59,10 @@ class ModelFactory {
|
|
|
62
59
|
}
|
|
63
60
|
unpackArray(list) {
|
|
64
61
|
return list.map(item => {
|
|
65
|
-
if (
|
|
62
|
+
if (isModelDescription(item)) {
|
|
66
63
|
return this.unpackClass(item);
|
|
67
64
|
}
|
|
68
65
|
return item;
|
|
69
66
|
});
|
|
70
67
|
}
|
|
71
68
|
}
|
|
72
|
-
exports.ModelFactory = ModelFactory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IBestFitProgramme } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { IBestFitProgramme } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class BestfitProgrammeClient extends ModelClient<IBestFitProgramme> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.BestfitProgrammeClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class BestfitProgrammeClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class BestfitProgrammeClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'bestfit-programme';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class BestfitProgrammeClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.BestfitProgrammeClient = BestfitProgrammeClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICity, IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "
|
|
1
|
+
import { ICity, IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "../../../index.js";
|
|
2
2
|
export interface IBestFitProgramme {
|
|
3
3
|
/**
|
|
4
4
|
* Average university ranking across multiple ranking institutes.
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelClient } from "../../model-client";
|
|
2
|
-
import { ICitySearchDocument } from "
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
import { ICitySearchDocument } from "../../../index.js";
|
|
3
3
|
export declare class CitySearchDocumentClient extends ModelClient<ICitySearchDocument> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CitySearchDocumentClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class CitySearchDocumentClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class CitySearchDocumentClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'city-search-document';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class CitySearchDocumentClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.CitySearchDocumentClient = CitySearchDocumentClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICopilotCountry } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { ICopilotCountry } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class CopilotCountryClient extends ModelClient<ICopilotCountry> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CopilotCountryClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class CopilotCountryClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class CopilotCountryClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'copilot-country';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class CopilotCountryClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.CopilotCountryClient = CopilotCountryClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICopilotProgramme } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { ICopilotProgramme } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class CopilotProgrammeClient extends ModelClient<ICopilotProgramme> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CopilotProgrammeClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class CopilotProgrammeClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class CopilotProgrammeClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'copilot-programme';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class CopilotProgrammeClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.CopilotProgrammeClient = CopilotProgrammeClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEnglishRequirements, IGPARequirement, IGeoTargetingValues, IInternalLink, ILink, ILivingCost, ITiming, ITuitionValues } from "
|
|
1
|
+
import { IEnglishRequirements, IGPARequirement, IGeoTargetingValues, IInternalLink, ILink, ILivingCost, ITiming, ITuitionValues } from "../../../index.js";
|
|
2
2
|
export interface ICopilotProgramme {
|
|
3
3
|
/**
|
|
4
4
|
* Get country the programme is taught in
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICustomerIOOrganisation } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { ICustomerIOOrganisation } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class CustomerIOOrganisationClient extends ModelClient<ICustomerIOOrganisation> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CustomerIOOrganisationClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class CustomerIOOrganisationClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class CustomerIOOrganisationClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'customerio-organisation';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class CustomerIOOrganisationClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.CustomerIOOrganisationClient = CustomerIOOrganisationClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICustomerIOProgramme } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { ICustomerIOProgramme } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class CustomerIOProgrammeClient extends ModelClient<ICustomerIOProgramme> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.CustomerIOProgrammeClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class CustomerIOProgrammeClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class CustomerIOProgrammeClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'customerio-programme';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class CustomerIOProgrammeClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.CustomerIOProgrammeClient = CustomerIOProgrammeClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "
|
|
1
|
+
import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../../index.js";
|
|
2
2
|
export interface ICustomerIOProgramme {
|
|
3
3
|
/**
|
|
4
4
|
* Campaign type of the campaign the programme is attached to
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFaq } from "./i-faq";
|
|
2
|
-
import { IStaticContent } from "./i-static-content";
|
|
1
|
+
import { IFaq } from "./i-faq.js";
|
|
2
|
+
import { IStaticContent } from "./i-static-content.js";
|
|
3
3
|
export interface IFaqStaticContent {
|
|
4
4
|
getFaqId(): number | null;
|
|
5
5
|
getStaticContentId(): number | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelClient } from "../../model-client";
|
|
2
|
-
import { IFaqStaticContent } from "./i-faq-static-content";
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
import { IFaqStaticContent } from "./i-faq-static-content.js";
|
|
3
3
|
export declare class PublicFaqStaticContentClient extends ModelClient<IFaqStaticContent> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.PublicFaqStaticContentClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class PublicFaqStaticContentClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class PublicFaqStaticContentClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'faq-static-content';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class PublicFaqStaticContentClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return true;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.PublicFaqStaticContentClient = PublicFaqStaticContentClient;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IReviewRating } from "../common/i-review-rating";
|
|
2
|
-
import { IRankingDiscipline } from "./i-ranking-discipline";
|
|
1
|
+
import { IReviewRating } from "../common/i-review-rating.js";
|
|
2
|
+
import { IRankingDiscipline } from "./i-ranking-discipline.js";
|
|
3
3
|
export interface IOrganisationCard {
|
|
4
4
|
getNumberOfProgrammesForBachelors(): number;
|
|
5
5
|
getNumberOfProgrammesForDistanceLearning(): number;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IOrganisationCard } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { IOrganisationCard } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class OrganisationCardClient extends ModelClient<IOrganisationCard> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.OrganisationCardClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class OrganisationCardClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class OrganisationCardClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'organisation-card';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class OrganisationCardClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.OrganisationCardClient = OrganisationCardClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IOrganisationForSearch } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { IOrganisationForSearch } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class PublicOrganisationForSearchClient extends ModelClient<IOrganisationForSearch> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.PublicOrganisationForSearchClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class PublicOrganisationForSearchClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'organisation-for-search';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return true;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.PublicOrganisationForSearchClient = PublicOrganisationForSearchClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IOrganisationSearchDocument } from "
|
|
2
|
-
import { ModelClient } from "../../model-client";
|
|
1
|
+
import { IOrganisationSearchDocument } from "../../../index.js";
|
|
2
|
+
import { ModelClient } from "../../model-client.js";
|
|
3
3
|
export declare class OrganisationSearchDocumentClient extends ModelClient<IOrganisationSearchDocument> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.OrganisationSearchDocumentClient = void 0;
|
|
4
|
-
const model_client_1 = require("../../model-client");
|
|
5
|
-
class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
|
|
1
|
+
import { ModelClient } from "../../model-client.js";
|
|
2
|
+
export class OrganisationSearchDocumentClient extends ModelClient {
|
|
6
3
|
getModelName() {
|
|
7
4
|
return 'organisation-search-document';
|
|
8
5
|
}
|
|
@@ -13,4 +10,3 @@ class OrganisationSearchDocumentClient extends model_client_1.ModelClient {
|
|
|
13
10
|
return false;
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
|
-
exports.OrganisationSearchDocumentClient = OrganisationSearchDocumentClient;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|