@studyportals/domain-client 4.0.0 → 4.0.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 +84 -84
- package/index.js +63 -63
- package/package.json +55 -55
- package/src/domain-client.d.ts +14 -14
- package/src/domain-client.js +60 -60
- package/src/exceptions/bad-request-exception.d.ts +2 -2
- package/src/exceptions/bad-request-exception.js +6 -6
- package/src/exceptions/client-exception.d.ts +2 -2
- package/src/exceptions/client-exception.js +6 -6
- package/src/exceptions/internal-server-exception.d.ts +2 -2
- package/src/exceptions/internal-server-exception.js +6 -6
- package/src/exceptions/not-found-exception.d.ts +2 -2
- package/src/exceptions/not-found-exception.js +6 -6
- package/src/exceptions/property-not-available-exception.d.ts +2 -2
- package/src/exceptions/property-not-available-exception.js +6 -6
- package/src/factories/DateFactory.d.ts +5 -5
- package/src/factories/DateFactory.js +9 -9
- package/src/factories/InternalLinkFactory.d.ts +9 -9
- package/src/factories/InternalLinkFactory.js +19 -19
- package/src/i-api-response.d.ts +6 -6
- package/src/i-api-response.js +2 -2
- package/src/i-class-factory.d.ts +4 -4
- package/src/i-class-factory.js +2 -2
- package/src/i-model-description.d.ts +7 -7
- package/src/i-model-description.js +9 -9
- package/src/model-client.d.ts +16 -16
- package/src/model-client.js +45 -45
- package/src/model-factory.d.ts +11 -11
- package/src/model-factory.js +71 -71
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -7
- package/src/models/bestfit-programme/bestfit-programme-client.js +16 -16
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -82
- package/src/models/bestfit-programme/i-best-fit-programme.js +2 -2
- package/src/models/bestfit-programme/i-city.d.ts +14 -14
- package/src/models/bestfit-programme/i-city.js +2 -2
- package/src/models/bestfit-programme/i-living-cost.d.ts +20 -20
- package/src/models/bestfit-programme/i-living-cost.js +2 -2
- package/src/models/common/i-city.d.ts +14 -14
- package/src/models/common/i-city.js +2 -2
- package/src/models/common/i-country.d.ts +20 -20
- package/src/models/common/i-country.js +2 -2
- package/src/models/common/i-english-requirements.d.ts +44 -44
- package/src/models/common/i-english-requirements.js +2 -2
- package/src/models/common/i-g-p-a-requirement.d.ts +20 -20
- package/src/models/common/i-g-p-a-requirement.js +2 -2
- package/src/models/common/i-internal-link.d.ts +28 -28
- package/src/models/common/i-internal-link.js +2 -2
- package/src/models/common/i-logo.d.ts +14 -14
- package/src/models/common/i-logo.js +2 -2
- package/src/models/common/i-tuition-fee.d.ts +50 -50
- package/src/models/common/i-tuition-fee.js +2 -2
- package/src/models/compare-programme/compare-programme-client.d.ts +7 -7
- package/src/models/compare-programme/compare-programme-client.js +16 -16
- package/src/models/compare-programme/i-compare-programme.d.ts +108 -108
- package/src/models/compare-programme/i-compare-programme.js +2 -2
- package/src/models/copilot-country/copilot-country-client.d.ts +7 -7
- package/src/models/copilot-country/copilot-country-client.js +16 -16
- package/src/models/copilot-country/i-copilot-country.d.ts +39 -39
- package/src/models/copilot-country/i-copilot-country.js +2 -2
- package/src/models/copilot-country/i-copilot-ranking-card.d.ts +38 -38
- package/src/models/copilot-country/i-copilot-ranking-card.js +2 -2
- package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -7
- package/src/models/copilot-programme/copilot-programme-client.js +16 -16
- package/src/models/copilot-programme/i-copilot-programme.d.ts +101 -101
- package/src/models/copilot-programme/i-copilot-programme.js +2 -2
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +7 -7
- package/src/models/customerio-organisation/customerio-organisation-client.js +16 -16
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +35 -35
- package/src/models/customerio-organisation/i-customer-io-organisation.js +2 -2
- package/src/models/customerio-organisation/i-review.d.ts +7 -7
- package/src/models/customerio-organisation/i-review.js +2 -2
- package/src/models/customerio-programme/customerio-programme-client.d.ts +7 -7
- package/src/models/customerio-programme/customerio-programme-client.js +16 -16
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +107 -107
- package/src/models/customerio-programme/i-customer-io-programme.js +2 -2
- package/src/models/customerio-programme/i-internal-link.d.ts +28 -28
- package/src/models/customerio-programme/i-internal-link.js +2 -2
- package/src/models/organisation-card/i-organisation-card.d.ts +22 -18
- package/src/models/organisation-card/i-organisation-card.js +2 -2
- package/src/models/organisation-card/organisation-card-client.d.ts +7 -7
- package/src/models/organisation-card/organisation-card-client.js +16 -16
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +26 -26
- package/src/models/organisation-for-search/i-organisation-for-search.js +2 -2
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -7
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -16
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +86 -86
- package/src/models/organisation-search-document/i-organisation-search-document.js +2 -2
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -7
- package/src/models/organisation-search-document/organisation-search-document-client.js +16 -16
- package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
- package/src/models/programme-card/i-click-tracking-data.js +2 -2
- package/src/models/programme-card/i-cover.d.ts +14 -14
- package/src/models/programme-card/i-cover.js +2 -2
- package/src/models/programme-card/i-deadline.d.ts +20 -20
- package/src/models/programme-card/i-deadline.js +2 -2
- package/src/models/programme-card/i-duration.d.ts +40 -40
- package/src/models/programme-card/i-duration.js +2 -2
- package/src/models/programme-card/i-internal-link.d.ts +28 -28
- package/src/models/programme-card/i-internal-link.js +2 -2
- package/src/models/programme-card/i-link.d.ts +22 -22
- package/src/models/programme-card/i-link.js +2 -2
- package/src/models/programme-card/i-location.d.ts +12 -12
- package/src/models/programme-card/i-location.js +2 -2
- package/src/models/programme-card/i-logo.d.ts +14 -14
- package/src/models/programme-card/i-logo.js +2 -2
- package/src/models/programme-card/i-optional-link.d.ts +23 -23
- package/src/models/programme-card/i-optional-link.js +2 -2
- package/src/models/programme-card/i-programme-card.d.ts +205 -205
- package/src/models/programme-card/i-programme-card.js +2 -2
- package/src/models/programme-card/i-start-date.d.ts +33 -33
- package/src/models/programme-card/i-start-date.js +2 -2
- package/src/models/programme-card/i-timing.d.ts +45 -45
- package/src/models/programme-card/i-timing.js +2 -2
- package/src/models/programme-card/i-tracked-link.d.ts +29 -29
- package/src/models/programme-card/i-tracked-link.js +2 -2
- package/src/models/programme-card/i-tracking.d.ts +46 -46
- package/src/models/programme-card/i-tracking.js +2 -2
- package/src/models/programme-card/i-tuition-fee.d.ts +50 -50
- package/src/models/programme-card/i-tuition-fee.js +2 -2
- package/src/models/programme-card/programme-card-client.d.ts +7 -7
- package/src/models/programme-card/programme-card-client.js +16 -16
- package/src/models/ranking-cards/i-ranking-card.d.ts +87 -87
- package/src/models/ranking-cards/i-ranking-card.js +2 -2
- package/src/models/ranking-cards/i-ranking-cards.d.ts +15 -15
- package/src/models/ranking-cards/i-ranking-cards.js +2 -2
- package/src/models/ranking-cards/i-ranking.d.ts +18 -18
- package/src/models/ranking-cards/i-ranking.js +2 -2
- package/src/models/ranking-cards/public-ranking-cards-client.d.ts +7 -7
- package/src/models/ranking-cards/public-ranking-cards-client.js +16 -16
- package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -15
- package/src/models/scholarship-card/i-scholarship-card.js +2 -2
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -7
- package/src/models/scholarship-card/public-scholarship-card-client.js +16 -16
- package/src/models/search-country-faq/i-search-country-faq.d.ts +18 -18
- package/src/models/search-country-faq/i-search-country-faq.js +2 -2
- package/src/models/search-country-faq/public-search-country-faq-client.d.ts +7 -7
- package/src/models/search-country-faq/public-search-country-faq-client.js +16 -16
- package/src/models/search-discipline/i-search-discipline.d.ts +26 -26
- package/src/models/search-discipline/i-search-discipline.js +2 -2
- package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -7
- package/src/models/search-discipline/public-search-discipline-client.js +16 -16
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
- package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
- package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
- package/src/models/search-projection/i-geo-targeting-values.js +2 -2
- package/src/models/search-projection/i-organisation-values.d.ts +40 -40
- package/src/models/search-projection/i-organisation-values.js +2 -2
- package/src/models/search-projection/i-premium-values.d.ts +35 -35
- package/src/models/search-projection/i-premium-values.js +2 -2
- package/src/models/search-projection/i-search-projection.d.ts +180 -180
- package/src/models/search-projection/i-search-projection.js +2 -2
- package/src/models/search-projection/i-tuition-values.d.ts +50 -50
- package/src/models/search-projection/i-tuition-values.js +2 -2
- package/src/models/search-projection/search-projection-client.d.ts +7 -7
- package/src/models/search-projection/search-projection-client.js +16 -16
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +14 -14
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -2
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -7
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -16
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -14
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -2
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -7
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -16
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -14
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -2
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -7
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -16
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -14
- package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -2
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -11
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -2
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -7
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -16
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -14
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -2
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -7
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -16
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -26
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -2
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -7
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -16
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -26
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -2
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -7
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -16
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -14
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -2
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -7
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -16
- package/src/types/portal-map.d.ts +2 -2
- package/src/types/portal-map.js +2 -2
- package/src/types/portal-type.d.ts +7 -7
- package/src/types/portal-type.js +11 -11
- package/src/types.d.ts +4 -4
- package/src/types.js +2 -2
package/index.d.ts
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import { BadRequestException } from "./src/exceptions/bad-request-exception";
|
|
2
|
-
import { ClientException } from "./src/exceptions/client-exception";
|
|
3
|
-
import { InternalServerException } from "./src/exceptions/internal-server-exception";
|
|
4
|
-
import { NotFoundException } from "./src/exceptions/not-found-exception";
|
|
5
|
-
import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
|
|
6
|
-
import { ICover } from "./src/models/programme-card/i-cover";
|
|
7
|
-
import { ILink } from "./src/models/programme-card/i-link";
|
|
8
|
-
import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
|
|
9
|
-
import { ILocation } from "./src/models/programme-card/i-location";
|
|
10
|
-
import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";
|
|
11
|
-
import { ITracking } from "./src/models/programme-card/i-tracking";
|
|
12
|
-
import { IDuration } from "./src/models/programme-card/i-duration";
|
|
13
|
-
import { IDeadline } from "./src/models/programme-card/i-deadline";
|
|
14
|
-
import { IStartDate } from "./src/models/programme-card/i-start-date";
|
|
15
|
-
import { ITiming } from "./src/models/programme-card/i-timing";
|
|
16
|
-
import { ITrackedLink } from "./src/models/programme-card/i-tracked-link";
|
|
17
|
-
import { IProgrammeCard } from "./src/models/programme-card/i-programme-card";
|
|
18
|
-
import { ProgrammeCardClient } from "./src/models/programme-card/programme-card-client";
|
|
19
|
-
import { ITuitionValues } from "./src/models/search-projection/i-tuition-values";
|
|
20
|
-
import { IPremiumValues } from "./src/models/search-projection/i-premium-values";
|
|
21
|
-
import { IOrganisationValues } from "./src/models/search-projection/i-organisation-values";
|
|
22
|
-
import { IGeoTargetingConfiguration } from "./src/models/search-projection/i-geo-targeting-configuration";
|
|
23
|
-
import { IGeoTargetingValues } from "./src/models/search-projection/i-geo-targeting-values";
|
|
24
|
-
import { ISearchProjection } from "./src/models/search-projection/i-search-projection";
|
|
25
|
-
import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
|
|
26
|
-
import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
|
|
27
|
-
import { IGPARequirement } from "./src/models/common/i-g-p-a-requirement";
|
|
28
|
-
import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
|
|
29
|
-
import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
|
|
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/customerio-programme/i-internal-link";
|
|
34
|
-
import { ICustomerIOProgramme } from "./src/models/customerio-programme/i-customer-io-programme";
|
|
35
|
-
import { CustomerIOProgrammeClient } from "./src/models/customerio-programme/customerio-programme-client";
|
|
36
|
-
import { ISitemapProgrammeInfo } from "./src/models/sitemap-programme-info/i-sitemap-programme-info";
|
|
37
|
-
import { SitemapProgrammeInfoClient } from "./src/models/sitemap-programme-info/sitemap-programme-info-client";
|
|
38
|
-
import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-country-faq";
|
|
39
|
-
import { PublicSearchCountryFaqClient } from "./src/models/search-country-faq/public-search-country-faq-client";
|
|
40
|
-
import { ISitemapCountryInfo } from "./src/models/sitemap-countries-info/i-sitemap-country-info";
|
|
41
|
-
import { SitemapCountriesInfoClient } from "./src/models/sitemap-countries-info/sitemap-countries-info-client";
|
|
42
|
-
import { IDegreeInfo } from "./src/models/sitemap-country-degree-info/i-degree-info";
|
|
43
|
-
import { ISitemapCountryDegreeInfo } from "./src/models/sitemap-country-degree-info/i-sitemap-country-degree-info";
|
|
44
|
-
import { SitemapCountryDegreeInfoClient } from "./src/models/sitemap-country-degree-info/sitemap-country-degree-info-client";
|
|
45
|
-
import { ISearchDiscipline } from "./src/models/search-discipline/i-search-discipline";
|
|
46
|
-
import { PublicSearchDisciplineClient } from "./src/models/search-discipline/public-search-discipline-client";
|
|
47
|
-
import { ISitemapDisciplineInfo } from "./src/models/sitemap-disciplines-info/i-sitemap-discipline-info";
|
|
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
|
-
import { IReview } from "./src/models/customerio-organisation/i-review";
|
|
52
|
-
import { ICustomerIOOrganisation } from "./src/models/customerio-organisation/i-customer-io-organisation";
|
|
53
|
-
import { CustomerIOOrganisationClient } from "./src/models/customerio-organisation/customerio-organisation-client";
|
|
54
|
-
import { ISitemapOrganisationInfo } from "./src/models/sitemap-organisations-info/i-sitemap-organisation-info";
|
|
55
|
-
import { SitemapOrganisationsInfoClient } from "./src/models/sitemap-organisations-info/sitemap-organisations-info-client";
|
|
56
|
-
import { IOrganisationCard } from "./src/models/organisation-card/i-organisation-card";
|
|
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";
|
|
60
|
-
import { ISitemapRankingsInfo } from "./src/models/sitemap-rankings-info/i-sitemap-rankings-info";
|
|
61
|
-
import { SitemapRankingsInfoClient } from "./src/models/sitemap-rankings-info/sitemap-rankings-info-client";
|
|
62
|
-
import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitemap-article-info";
|
|
63
|
-
import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client";
|
|
64
|
-
import { ISitemapCityInfo } from "./src/models/sitemap-cities-info/i-sitemap-city-info";
|
|
65
|
-
import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client";
|
|
66
|
-
import { IScholarshipCard } from "./src/models/scholarship-card/i-scholarship-card";
|
|
67
|
-
import { PublicScholarshipCardClient } from "./src/models/scholarship-card/public-scholarship-card-client";
|
|
68
|
-
import { IRankingCards } from './src/models/ranking-cards/i-ranking-cards';
|
|
69
|
-
import { IRankingCard } from './src/models/ranking-cards/i-ranking-card';
|
|
70
|
-
import { IRanking } from './src/models/ranking-cards/i-ranking';
|
|
71
|
-
import { PublicRankingCardsClient } from './src/models/ranking-cards/public-ranking-cards-client';
|
|
72
|
-
import { PortalType } from "./src/types/portal-type";
|
|
73
|
-
import { PortalMap } from "./src/types/portal-map";
|
|
74
|
-
import { ModelClient } from "./src/model-client";
|
|
75
|
-
import { ICompareProgramme } from "./src/models/compare-programme/i-compare-programme";
|
|
76
|
-
import { CompareProgrammeClient } from "./src/models/compare-programme/compare-programme-client";
|
|
77
|
-
import { IOrganisationForSearch } from "./src/models/organisation-for-search/i-organisation-for-search";
|
|
78
|
-
import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client";
|
|
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
|
-
import { ICopilotRankingCard } from "./src/models/copilot-country/i-copilot-ranking-card";
|
|
84
|
-
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, ICustomerIOProgramme, CustomerIOProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, ICustomerIOOrganisation, CustomerIOOrganisationClient, 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, ICopilotRankingCard };
|
|
1
|
+
import { BadRequestException } from "./src/exceptions/bad-request-exception";
|
|
2
|
+
import { ClientException } from "./src/exceptions/client-exception";
|
|
3
|
+
import { InternalServerException } from "./src/exceptions/internal-server-exception";
|
|
4
|
+
import { NotFoundException } from "./src/exceptions/not-found-exception";
|
|
5
|
+
import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
|
|
6
|
+
import { ICover } from "./src/models/programme-card/i-cover";
|
|
7
|
+
import { ILink } from "./src/models/programme-card/i-link";
|
|
8
|
+
import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
|
|
9
|
+
import { ILocation } from "./src/models/programme-card/i-location";
|
|
10
|
+
import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";
|
|
11
|
+
import { ITracking } from "./src/models/programme-card/i-tracking";
|
|
12
|
+
import { IDuration } from "./src/models/programme-card/i-duration";
|
|
13
|
+
import { IDeadline } from "./src/models/programme-card/i-deadline";
|
|
14
|
+
import { IStartDate } from "./src/models/programme-card/i-start-date";
|
|
15
|
+
import { ITiming } from "./src/models/programme-card/i-timing";
|
|
16
|
+
import { ITrackedLink } from "./src/models/programme-card/i-tracked-link";
|
|
17
|
+
import { IProgrammeCard } from "./src/models/programme-card/i-programme-card";
|
|
18
|
+
import { ProgrammeCardClient } from "./src/models/programme-card/programme-card-client";
|
|
19
|
+
import { ITuitionValues } from "./src/models/search-projection/i-tuition-values";
|
|
20
|
+
import { IPremiumValues } from "./src/models/search-projection/i-premium-values";
|
|
21
|
+
import { IOrganisationValues } from "./src/models/search-projection/i-organisation-values";
|
|
22
|
+
import { IGeoTargetingConfiguration } from "./src/models/search-projection/i-geo-targeting-configuration";
|
|
23
|
+
import { IGeoTargetingValues } from "./src/models/search-projection/i-geo-targeting-values";
|
|
24
|
+
import { ISearchProjection } from "./src/models/search-projection/i-search-projection";
|
|
25
|
+
import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
|
|
26
|
+
import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
|
|
27
|
+
import { IGPARequirement } from "./src/models/common/i-g-p-a-requirement";
|
|
28
|
+
import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
|
|
29
|
+
import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
|
|
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/customerio-programme/i-internal-link";
|
|
34
|
+
import { ICustomerIOProgramme } from "./src/models/customerio-programme/i-customer-io-programme";
|
|
35
|
+
import { CustomerIOProgrammeClient } from "./src/models/customerio-programme/customerio-programme-client";
|
|
36
|
+
import { ISitemapProgrammeInfo } from "./src/models/sitemap-programme-info/i-sitemap-programme-info";
|
|
37
|
+
import { SitemapProgrammeInfoClient } from "./src/models/sitemap-programme-info/sitemap-programme-info-client";
|
|
38
|
+
import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-country-faq";
|
|
39
|
+
import { PublicSearchCountryFaqClient } from "./src/models/search-country-faq/public-search-country-faq-client";
|
|
40
|
+
import { ISitemapCountryInfo } from "./src/models/sitemap-countries-info/i-sitemap-country-info";
|
|
41
|
+
import { SitemapCountriesInfoClient } from "./src/models/sitemap-countries-info/sitemap-countries-info-client";
|
|
42
|
+
import { IDegreeInfo } from "./src/models/sitemap-country-degree-info/i-degree-info";
|
|
43
|
+
import { ISitemapCountryDegreeInfo } from "./src/models/sitemap-country-degree-info/i-sitemap-country-degree-info";
|
|
44
|
+
import { SitemapCountryDegreeInfoClient } from "./src/models/sitemap-country-degree-info/sitemap-country-degree-info-client";
|
|
45
|
+
import { ISearchDiscipline } from "./src/models/search-discipline/i-search-discipline";
|
|
46
|
+
import { PublicSearchDisciplineClient } from "./src/models/search-discipline/public-search-discipline-client";
|
|
47
|
+
import { ISitemapDisciplineInfo } from "./src/models/sitemap-disciplines-info/i-sitemap-discipline-info";
|
|
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
|
+
import { IReview } from "./src/models/customerio-organisation/i-review";
|
|
52
|
+
import { ICustomerIOOrganisation } from "./src/models/customerio-organisation/i-customer-io-organisation";
|
|
53
|
+
import { CustomerIOOrganisationClient } from "./src/models/customerio-organisation/customerio-organisation-client";
|
|
54
|
+
import { ISitemapOrganisationInfo } from "./src/models/sitemap-organisations-info/i-sitemap-organisation-info";
|
|
55
|
+
import { SitemapOrganisationsInfoClient } from "./src/models/sitemap-organisations-info/sitemap-organisations-info-client";
|
|
56
|
+
import { IOrganisationCard } from "./src/models/organisation-card/i-organisation-card";
|
|
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";
|
|
60
|
+
import { ISitemapRankingsInfo } from "./src/models/sitemap-rankings-info/i-sitemap-rankings-info";
|
|
61
|
+
import { SitemapRankingsInfoClient } from "./src/models/sitemap-rankings-info/sitemap-rankings-info-client";
|
|
62
|
+
import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitemap-article-info";
|
|
63
|
+
import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client";
|
|
64
|
+
import { ISitemapCityInfo } from "./src/models/sitemap-cities-info/i-sitemap-city-info";
|
|
65
|
+
import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client";
|
|
66
|
+
import { IScholarshipCard } from "./src/models/scholarship-card/i-scholarship-card";
|
|
67
|
+
import { PublicScholarshipCardClient } from "./src/models/scholarship-card/public-scholarship-card-client";
|
|
68
|
+
import { IRankingCards } from './src/models/ranking-cards/i-ranking-cards';
|
|
69
|
+
import { IRankingCard } from './src/models/ranking-cards/i-ranking-card';
|
|
70
|
+
import { IRanking } from './src/models/ranking-cards/i-ranking';
|
|
71
|
+
import { PublicRankingCardsClient } from './src/models/ranking-cards/public-ranking-cards-client';
|
|
72
|
+
import { PortalType } from "./src/types/portal-type";
|
|
73
|
+
import { PortalMap } from "./src/types/portal-map";
|
|
74
|
+
import { ModelClient } from "./src/model-client";
|
|
75
|
+
import { ICompareProgramme } from "./src/models/compare-programme/i-compare-programme";
|
|
76
|
+
import { CompareProgrammeClient } from "./src/models/compare-programme/compare-programme-client";
|
|
77
|
+
import { IOrganisationForSearch } from "./src/models/organisation-for-search/i-organisation-for-search";
|
|
78
|
+
import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client";
|
|
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
|
+
import { ICopilotRankingCard } from "./src/models/copilot-country/i-copilot-ranking-card";
|
|
84
|
+
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, ICustomerIOProgramme, CustomerIOProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, ICustomerIOOrganisation, CustomerIOOrganisationClient, 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, ICopilotRankingCard };
|
package/index.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.CustomerIOOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.CustomerIOProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
|
|
4
|
-
const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");
|
|
5
|
-
Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });
|
|
6
|
-
const client_exception_1 = require("./src/exceptions/client-exception");
|
|
7
|
-
Object.defineProperty(exports, "ClientException", { enumerable: true, get: function () { return client_exception_1.ClientException; } });
|
|
8
|
-
const internal_server_exception_1 = require("./src/exceptions/internal-server-exception");
|
|
9
|
-
Object.defineProperty(exports, "InternalServerException", { enumerable: true, get: function () { return internal_server_exception_1.InternalServerException; } });
|
|
10
|
-
const not_found_exception_1 = require("./src/exceptions/not-found-exception");
|
|
11
|
-
Object.defineProperty(exports, "NotFoundException", { enumerable: true, get: function () { return not_found_exception_1.NotFoundException; } });
|
|
12
|
-
const property_not_available_exception_1 = require("./src/exceptions/property-not-available-exception");
|
|
13
|
-
Object.defineProperty(exports, "PropertyNotAvailableException", { enumerable: true, get: function () { return property_not_available_exception_1.PropertyNotAvailableException; } });
|
|
14
|
-
const programme_card_client_1 = require("./src/models/programme-card/programme-card-client");
|
|
15
|
-
Object.defineProperty(exports, "ProgrammeCardClient", { enumerable: true, get: function () { return programme_card_client_1.ProgrammeCardClient; } });
|
|
16
|
-
const search_projection_client_1 = require("./src/models/search-projection/search-projection-client");
|
|
17
|
-
Object.defineProperty(exports, "SearchProjectionClient", { enumerable: true, get: function () { return search_projection_client_1.SearchProjectionClient; } });
|
|
18
|
-
const bestfit_programme_client_1 = require("./src/models/bestfit-programme/bestfit-programme-client");
|
|
19
|
-
Object.defineProperty(exports, "BestfitProgrammeClient", { enumerable: true, get: function () { return bestfit_programme_client_1.BestfitProgrammeClient; } });
|
|
20
|
-
const customerio_programme_client_1 = require("./src/models/customerio-programme/customerio-programme-client");
|
|
21
|
-
Object.defineProperty(exports, "CustomerIOProgrammeClient", { enumerable: true, get: function () { return customerio_programme_client_1.CustomerIOProgrammeClient; } });
|
|
22
|
-
const sitemap_programme_info_client_1 = require("./src/models/sitemap-programme-info/sitemap-programme-info-client");
|
|
23
|
-
Object.defineProperty(exports, "SitemapProgrammeInfoClient", { enumerable: true, get: function () { return sitemap_programme_info_client_1.SitemapProgrammeInfoClient; } });
|
|
24
|
-
const public_search_country_faq_client_1 = require("./src/models/search-country-faq/public-search-country-faq-client");
|
|
25
|
-
Object.defineProperty(exports, "PublicSearchCountryFaqClient", { enumerable: true, get: function () { return public_search_country_faq_client_1.PublicSearchCountryFaqClient; } });
|
|
26
|
-
const sitemap_countries_info_client_1 = require("./src/models/sitemap-countries-info/sitemap-countries-info-client");
|
|
27
|
-
Object.defineProperty(exports, "SitemapCountriesInfoClient", { enumerable: true, get: function () { return sitemap_countries_info_client_1.SitemapCountriesInfoClient; } });
|
|
28
|
-
const sitemap_country_degree_info_client_1 = require("./src/models/sitemap-country-degree-info/sitemap-country-degree-info-client");
|
|
29
|
-
Object.defineProperty(exports, "SitemapCountryDegreeInfoClient", { enumerable: true, get: function () { return sitemap_country_degree_info_client_1.SitemapCountryDegreeInfoClient; } });
|
|
30
|
-
const public_search_discipline_client_1 = require("./src/models/search-discipline/public-search-discipline-client");
|
|
31
|
-
Object.defineProperty(exports, "PublicSearchDisciplineClient", { enumerable: true, get: function () { return public_search_discipline_client_1.PublicSearchDisciplineClient; } });
|
|
32
|
-
const sitemap_disciplines_info_client_1 = require("./src/models/sitemap-disciplines-info/sitemap-disciplines-info-client");
|
|
33
|
-
Object.defineProperty(exports, "SitemapDisciplinesInfoClient", { enumerable: true, get: function () { return sitemap_disciplines_info_client_1.SitemapDisciplinesInfoClient; } });
|
|
34
|
-
const customerio_organisation_client_1 = require("./src/models/customerio-organisation/customerio-organisation-client");
|
|
35
|
-
Object.defineProperty(exports, "CustomerIOOrganisationClient", { enumerable: true, get: function () { return customerio_organisation_client_1.CustomerIOOrganisationClient; } });
|
|
36
|
-
const sitemap_organisations_info_client_1 = require("./src/models/sitemap-organisations-info/sitemap-organisations-info-client");
|
|
37
|
-
Object.defineProperty(exports, "SitemapOrganisationsInfoClient", { enumerable: true, get: function () { return sitemap_organisations_info_client_1.SitemapOrganisationsInfoClient; } });
|
|
38
|
-
const organisation_card_client_1 = require("./src/models/organisation-card/organisation-card-client");
|
|
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; } });
|
|
42
|
-
const sitemap_rankings_info_client_1 = require("./src/models/sitemap-rankings-info/sitemap-rankings-info-client");
|
|
43
|
-
Object.defineProperty(exports, "SitemapRankingsInfoClient", { enumerable: true, get: function () { return sitemap_rankings_info_client_1.SitemapRankingsInfoClient; } });
|
|
44
|
-
const sitemap_articles_info_client_1 = require("./src/models/sitemap-articles-info/sitemap-articles-info-client");
|
|
45
|
-
Object.defineProperty(exports, "SitemapArticlesInfoClient", { enumerable: true, get: function () { return sitemap_articles_info_client_1.SitemapArticlesInfoClient; } });
|
|
46
|
-
const sitemap_cities_info_client_1 = require("./src/models/sitemap-cities-info/sitemap-cities-info-client");
|
|
47
|
-
Object.defineProperty(exports, "SitemapCitiesInfoClient", { enumerable: true, get: function () { return sitemap_cities_info_client_1.SitemapCitiesInfoClient; } });
|
|
48
|
-
const public_scholarship_card_client_1 = require("./src/models/scholarship-card/public-scholarship-card-client");
|
|
49
|
-
Object.defineProperty(exports, "PublicScholarshipCardClient", { enumerable: true, get: function () { return public_scholarship_card_client_1.PublicScholarshipCardClient; } });
|
|
50
|
-
const public_ranking_cards_client_1 = require("./src/models/ranking-cards/public-ranking-cards-client");
|
|
51
|
-
Object.defineProperty(exports, "PublicRankingCardsClient", { enumerable: true, get: function () { return public_ranking_cards_client_1.PublicRankingCardsClient; } });
|
|
52
|
-
const portal_type_1 = require("./src/types/portal-type");
|
|
53
|
-
Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
|
|
54
|
-
const model_client_1 = require("./src/model-client");
|
|
55
|
-
Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
|
|
56
|
-
const compare_programme_client_1 = require("./src/models/compare-programme/compare-programme-client");
|
|
57
|
-
Object.defineProperty(exports, "CompareProgrammeClient", { enumerable: true, get: function () { return compare_programme_client_1.CompareProgrammeClient; } });
|
|
58
|
-
const public_organisation_for_search_client_1 = require("./src/models/organisation-for-search/public-organisation-for-search-client");
|
|
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; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.CustomerIOOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.CustomerIOProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
|
|
4
|
+
const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");
|
|
5
|
+
Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });
|
|
6
|
+
const client_exception_1 = require("./src/exceptions/client-exception");
|
|
7
|
+
Object.defineProperty(exports, "ClientException", { enumerable: true, get: function () { return client_exception_1.ClientException; } });
|
|
8
|
+
const internal_server_exception_1 = require("./src/exceptions/internal-server-exception");
|
|
9
|
+
Object.defineProperty(exports, "InternalServerException", { enumerable: true, get: function () { return internal_server_exception_1.InternalServerException; } });
|
|
10
|
+
const not_found_exception_1 = require("./src/exceptions/not-found-exception");
|
|
11
|
+
Object.defineProperty(exports, "NotFoundException", { enumerable: true, get: function () { return not_found_exception_1.NotFoundException; } });
|
|
12
|
+
const property_not_available_exception_1 = require("./src/exceptions/property-not-available-exception");
|
|
13
|
+
Object.defineProperty(exports, "PropertyNotAvailableException", { enumerable: true, get: function () { return property_not_available_exception_1.PropertyNotAvailableException; } });
|
|
14
|
+
const programme_card_client_1 = require("./src/models/programme-card/programme-card-client");
|
|
15
|
+
Object.defineProperty(exports, "ProgrammeCardClient", { enumerable: true, get: function () { return programme_card_client_1.ProgrammeCardClient; } });
|
|
16
|
+
const search_projection_client_1 = require("./src/models/search-projection/search-projection-client");
|
|
17
|
+
Object.defineProperty(exports, "SearchProjectionClient", { enumerable: true, get: function () { return search_projection_client_1.SearchProjectionClient; } });
|
|
18
|
+
const bestfit_programme_client_1 = require("./src/models/bestfit-programme/bestfit-programme-client");
|
|
19
|
+
Object.defineProperty(exports, "BestfitProgrammeClient", { enumerable: true, get: function () { return bestfit_programme_client_1.BestfitProgrammeClient; } });
|
|
20
|
+
const customerio_programme_client_1 = require("./src/models/customerio-programme/customerio-programme-client");
|
|
21
|
+
Object.defineProperty(exports, "CustomerIOProgrammeClient", { enumerable: true, get: function () { return customerio_programme_client_1.CustomerIOProgrammeClient; } });
|
|
22
|
+
const sitemap_programme_info_client_1 = require("./src/models/sitemap-programme-info/sitemap-programme-info-client");
|
|
23
|
+
Object.defineProperty(exports, "SitemapProgrammeInfoClient", { enumerable: true, get: function () { return sitemap_programme_info_client_1.SitemapProgrammeInfoClient; } });
|
|
24
|
+
const public_search_country_faq_client_1 = require("./src/models/search-country-faq/public-search-country-faq-client");
|
|
25
|
+
Object.defineProperty(exports, "PublicSearchCountryFaqClient", { enumerable: true, get: function () { return public_search_country_faq_client_1.PublicSearchCountryFaqClient; } });
|
|
26
|
+
const sitemap_countries_info_client_1 = require("./src/models/sitemap-countries-info/sitemap-countries-info-client");
|
|
27
|
+
Object.defineProperty(exports, "SitemapCountriesInfoClient", { enumerable: true, get: function () { return sitemap_countries_info_client_1.SitemapCountriesInfoClient; } });
|
|
28
|
+
const sitemap_country_degree_info_client_1 = require("./src/models/sitemap-country-degree-info/sitemap-country-degree-info-client");
|
|
29
|
+
Object.defineProperty(exports, "SitemapCountryDegreeInfoClient", { enumerable: true, get: function () { return sitemap_country_degree_info_client_1.SitemapCountryDegreeInfoClient; } });
|
|
30
|
+
const public_search_discipline_client_1 = require("./src/models/search-discipline/public-search-discipline-client");
|
|
31
|
+
Object.defineProperty(exports, "PublicSearchDisciplineClient", { enumerable: true, get: function () { return public_search_discipline_client_1.PublicSearchDisciplineClient; } });
|
|
32
|
+
const sitemap_disciplines_info_client_1 = require("./src/models/sitemap-disciplines-info/sitemap-disciplines-info-client");
|
|
33
|
+
Object.defineProperty(exports, "SitemapDisciplinesInfoClient", { enumerable: true, get: function () { return sitemap_disciplines_info_client_1.SitemapDisciplinesInfoClient; } });
|
|
34
|
+
const customerio_organisation_client_1 = require("./src/models/customerio-organisation/customerio-organisation-client");
|
|
35
|
+
Object.defineProperty(exports, "CustomerIOOrganisationClient", { enumerable: true, get: function () { return customerio_organisation_client_1.CustomerIOOrganisationClient; } });
|
|
36
|
+
const sitemap_organisations_info_client_1 = require("./src/models/sitemap-organisations-info/sitemap-organisations-info-client");
|
|
37
|
+
Object.defineProperty(exports, "SitemapOrganisationsInfoClient", { enumerable: true, get: function () { return sitemap_organisations_info_client_1.SitemapOrganisationsInfoClient; } });
|
|
38
|
+
const organisation_card_client_1 = require("./src/models/organisation-card/organisation-card-client");
|
|
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; } });
|
|
42
|
+
const sitemap_rankings_info_client_1 = require("./src/models/sitemap-rankings-info/sitemap-rankings-info-client");
|
|
43
|
+
Object.defineProperty(exports, "SitemapRankingsInfoClient", { enumerable: true, get: function () { return sitemap_rankings_info_client_1.SitemapRankingsInfoClient; } });
|
|
44
|
+
const sitemap_articles_info_client_1 = require("./src/models/sitemap-articles-info/sitemap-articles-info-client");
|
|
45
|
+
Object.defineProperty(exports, "SitemapArticlesInfoClient", { enumerable: true, get: function () { return sitemap_articles_info_client_1.SitemapArticlesInfoClient; } });
|
|
46
|
+
const sitemap_cities_info_client_1 = require("./src/models/sitemap-cities-info/sitemap-cities-info-client");
|
|
47
|
+
Object.defineProperty(exports, "SitemapCitiesInfoClient", { enumerable: true, get: function () { return sitemap_cities_info_client_1.SitemapCitiesInfoClient; } });
|
|
48
|
+
const public_scholarship_card_client_1 = require("./src/models/scholarship-card/public-scholarship-card-client");
|
|
49
|
+
Object.defineProperty(exports, "PublicScholarshipCardClient", { enumerable: true, get: function () { return public_scholarship_card_client_1.PublicScholarshipCardClient; } });
|
|
50
|
+
const public_ranking_cards_client_1 = require("./src/models/ranking-cards/public-ranking-cards-client");
|
|
51
|
+
Object.defineProperty(exports, "PublicRankingCardsClient", { enumerable: true, get: function () { return public_ranking_cards_client_1.PublicRankingCardsClient; } });
|
|
52
|
+
const portal_type_1 = require("./src/types/portal-type");
|
|
53
|
+
Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
|
|
54
|
+
const model_client_1 = require("./src/model-client");
|
|
55
|
+
Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
|
|
56
|
+
const compare_programme_client_1 = require("./src/models/compare-programme/compare-programme-client");
|
|
57
|
+
Object.defineProperty(exports, "CompareProgrammeClient", { enumerable: true, get: function () { return compare_programme_client_1.CompareProgrammeClient; } });
|
|
58
|
+
const public_organisation_for_search_client_1 = require("./src/models/organisation-for-search/public-organisation-for-search-client");
|
|
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; } });
|
|
64
64
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@studyportals/domain-client",
|
|
3
|
-
"version": "4.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.4",
|
|
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": "4.0.1-beta.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.4",
|
|
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
|
+
}
|
package/src/domain-client.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IModelDescription } from "./i-model-description";
|
|
2
|
-
export declare class DomainClient {
|
|
3
|
-
readonly baseUrl: string;
|
|
4
|
-
readonly apiKey: string | undefined;
|
|
5
|
-
readonly model: string;
|
|
6
|
-
readonly version: string;
|
|
7
|
-
readonly isPublic: boolean;
|
|
8
|
-
readonly seed: number;
|
|
9
|
-
constructor(baseUrl: string, apiKey: string | undefined, model: string, version: string, isPublic: boolean, seed: number);
|
|
10
|
-
doRequest(ids: number[]): Promise<IModelDescription[]>;
|
|
11
|
-
private handleErrors;
|
|
12
|
-
private buildUrl;
|
|
13
|
-
private shouldAddPublicPrefix;
|
|
14
|
-
}
|
|
1
|
+
import { IModelDescription } from "./i-model-description";
|
|
2
|
+
export declare class DomainClient {
|
|
3
|
+
readonly baseUrl: string;
|
|
4
|
+
readonly apiKey: string | undefined;
|
|
5
|
+
readonly model: string;
|
|
6
|
+
readonly version: string;
|
|
7
|
+
readonly isPublic: boolean;
|
|
8
|
+
readonly seed: number;
|
|
9
|
+
constructor(baseUrl: string, apiKey: string | undefined, model: string, version: string, isPublic: boolean, seed: number);
|
|
10
|
+
doRequest(ids: number[]): Promise<IModelDescription[]>;
|
|
11
|
+
private handleErrors;
|
|
12
|
+
private buildUrl;
|
|
13
|
+
private shouldAddPublicPrefix;
|
|
14
|
+
}
|
package/src/domain-client.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DomainClient = void 0;
|
|
4
|
-
const axios_1 = require("axios");
|
|
5
|
-
const bad_request_exception_1 = require("./exceptions/bad-request-exception");
|
|
6
|
-
const internal_server_exception_1 = require("./exceptions/internal-server-exception");
|
|
7
|
-
const not_found_exception_1 = require("./exceptions/not-found-exception");
|
|
8
|
-
class DomainClient {
|
|
9
|
-
constructor(baseUrl, apiKey, model, version, isPublic, seed) {
|
|
10
|
-
this.baseUrl = baseUrl;
|
|
11
|
-
this.apiKey = apiKey;
|
|
12
|
-
this.model = model;
|
|
13
|
-
this.version = version;
|
|
14
|
-
this.isPublic = isPublic;
|
|
15
|
-
this.seed = seed;
|
|
16
|
-
}
|
|
17
|
-
async doRequest(ids) {
|
|
18
|
-
const url = this.buildUrl(ids);
|
|
19
|
-
const config = { baseURL: this.baseUrl };
|
|
20
|
-
if (this.apiKey !== undefined) {
|
|
21
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
22
|
-
config["headers"] = { 'x-api-key': this.apiKey };
|
|
23
|
-
}
|
|
24
|
-
const axiosResponse = await axios_1.default.get(url, config);
|
|
25
|
-
const response = axiosResponse.data;
|
|
26
|
-
this.handleErrors(response);
|
|
27
|
-
const models = [];
|
|
28
|
-
for (const id of ids) {
|
|
29
|
-
const modelData = response.data[id];
|
|
30
|
-
if (!modelData) {
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
models.push(modelData);
|
|
34
|
-
}
|
|
35
|
-
return models;
|
|
36
|
-
}
|
|
37
|
-
handleErrors(response) {
|
|
38
|
-
if (!response.status) {
|
|
39
|
-
throw new internal_server_exception_1.InternalServerException(response.message);
|
|
40
|
-
}
|
|
41
|
-
if (response.status === 400) {
|
|
42
|
-
throw new bad_request_exception_1.BadRequestException(response.message);
|
|
43
|
-
}
|
|
44
|
-
if (response.status === 404) {
|
|
45
|
-
throw new not_found_exception_1.NotFoundException(response.message);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
buildUrl(ids) {
|
|
49
|
-
const publicPrefix = this.shouldAddPublicPrefix() ? 'public/' : '';
|
|
50
|
-
let query = `${publicPrefix}${this.model}/${this.version}/?seed=${this.seed}`;
|
|
51
|
-
for (const id of ids) {
|
|
52
|
-
query += `&id=${id}`;
|
|
53
|
-
}
|
|
54
|
-
return query;
|
|
55
|
-
}
|
|
56
|
-
shouldAddPublicPrefix() {
|
|
57
|
-
return this.isPublic && this.apiKey === undefined;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exports.DomainClient = DomainClient;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DomainClient = void 0;
|
|
4
|
+
const axios_1 = require("axios");
|
|
5
|
+
const bad_request_exception_1 = require("./exceptions/bad-request-exception");
|
|
6
|
+
const internal_server_exception_1 = require("./exceptions/internal-server-exception");
|
|
7
|
+
const not_found_exception_1 = require("./exceptions/not-found-exception");
|
|
8
|
+
class DomainClient {
|
|
9
|
+
constructor(baseUrl, apiKey, model, version, isPublic, seed) {
|
|
10
|
+
this.baseUrl = baseUrl;
|
|
11
|
+
this.apiKey = apiKey;
|
|
12
|
+
this.model = model;
|
|
13
|
+
this.version = version;
|
|
14
|
+
this.isPublic = isPublic;
|
|
15
|
+
this.seed = seed;
|
|
16
|
+
}
|
|
17
|
+
async doRequest(ids) {
|
|
18
|
+
const url = this.buildUrl(ids);
|
|
19
|
+
const config = { baseURL: this.baseUrl };
|
|
20
|
+
if (this.apiKey !== undefined) {
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
22
|
+
config["headers"] = { 'x-api-key': this.apiKey };
|
|
23
|
+
}
|
|
24
|
+
const axiosResponse = await axios_1.default.get(url, config);
|
|
25
|
+
const response = axiosResponse.data;
|
|
26
|
+
this.handleErrors(response);
|
|
27
|
+
const models = [];
|
|
28
|
+
for (const id of ids) {
|
|
29
|
+
const modelData = response.data[id];
|
|
30
|
+
if (!modelData) {
|
|
31
|
+
continue;
|
|
32
|
+
}
|
|
33
|
+
models.push(modelData);
|
|
34
|
+
}
|
|
35
|
+
return models;
|
|
36
|
+
}
|
|
37
|
+
handleErrors(response) {
|
|
38
|
+
if (!response.status) {
|
|
39
|
+
throw new internal_server_exception_1.InternalServerException(response.message);
|
|
40
|
+
}
|
|
41
|
+
if (response.status === 400) {
|
|
42
|
+
throw new bad_request_exception_1.BadRequestException(response.message);
|
|
43
|
+
}
|
|
44
|
+
if (response.status === 404) {
|
|
45
|
+
throw new not_found_exception_1.NotFoundException(response.message);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
buildUrl(ids) {
|
|
49
|
+
const publicPrefix = this.shouldAddPublicPrefix() ? 'public/' : '';
|
|
50
|
+
let query = `${publicPrefix}${this.model}/${this.version}/?seed=${this.seed}`;
|
|
51
|
+
for (const id of ids) {
|
|
52
|
+
query += `&id=${id}`;
|
|
53
|
+
}
|
|
54
|
+
return query;
|
|
55
|
+
}
|
|
56
|
+
shouldAddPublicPrefix() {
|
|
57
|
+
return this.isPublic && this.apiKey === undefined;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DomainClient = DomainClient;
|
|
61
61
|
//# sourceMappingURL=domain-client.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class BadRequestException extends Error {
|
|
2
|
-
}
|
|
1
|
+
export declare class BadRequestException extends Error {
|
|
2
|
+
}
|