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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -41,6 +41,7 @@ import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-coun
41
41
  import { PublicSearchCountryFaqClient } from "./src/models/search-country-faq/public-search-country-faq-client";
42
42
  import { ISitemapCountryInfo } from "./src/models/sitemap-countries-info/i-sitemap-country-info";
43
43
  import { SitemapCountriesInfoClient } from "./src/models/sitemap-countries-info/sitemap-countries-info-client";
44
+ import { IDegreeInfo } from "./src/models/sitemap-country-degree-info/i-degree-info";
44
45
  import { ISitemapCountryDegreeInfo } from "./src/models/sitemap-country-degree-info/i-sitemap-country-degree-info";
45
46
  import { SitemapCountryDegreeInfoClient } from "./src/models/sitemap-country-degree-info/sitemap-country-degree-info-client";
46
47
  import { ISearchDiscipline } from "./src/models/search-discipline/i-search-discipline";
@@ -58,4 +59,7 @@ import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitema
58
59
  import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client";
59
60
  import { ISitemapCityInfo } from "./src/models/sitemap-cities-info/i-sitemap-city-info";
60
61
  import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client";
61
- export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient };
62
+ import { PortalType } from "./src/types/portal-type";
63
+ import { PortalMap } from "./src/types/portal-map";
64
+ import { ModelClient } from "./src/model-client";
65
+ export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, PortalType, PortalMap, ModelClient };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
3
+ exports.ModelClient = exports.PortalType = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
4
4
  const bad_request_exception_1 = require("./src/exceptions/bad-request-exception");
5
5
  Object.defineProperty(exports, "BadRequestException", { enumerable: true, get: function () { return bad_request_exception_1.BadRequestException; } });
6
6
  const client_exception_1 = require("./src/exceptions/client-exception");
@@ -41,4 +41,8 @@ const sitemap_articles_info_client_1 = require("./src/models/sitemap-articles-in
41
41
  Object.defineProperty(exports, "SitemapArticlesInfoClient", { enumerable: true, get: function () { return sitemap_articles_info_client_1.SitemapArticlesInfoClient; } });
42
42
  const sitemap_cities_info_client_1 = require("./src/models/sitemap-cities-info/sitemap-cities-info-client");
43
43
  Object.defineProperty(exports, "SitemapCitiesInfoClient", { enumerable: true, get: function () { return sitemap_cities_info_client_1.SitemapCitiesInfoClient; } });
44
+ const portal_type_1 = require("./src/types/portal-type");
45
+ Object.defineProperty(exports, "PortalType", { enumerable: true, get: function () { return portal_type_1.PortalType; } });
46
+ const model_client_1 = require("./src/model-client");
47
+ Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
44
48
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA8D3E,oGA9DQ,2CAAmB,OA8DR;AA7DpB,wEAAmE;AA8DlE,gGA9DQ,kCAAe,OA8DR;AA7DhB,0FAAoF;AA8DnF,wGA9DQ,mDAAuB,OA8DR;AA7DxB,8EAAwE;AA8DvE,kGA9DQ,uCAAiB,OA8DR;AA7DlB,wGAAiG;AA8DhG,8GA9DQ,gEAA6B,OA8DR;AA9C9B,6FAAwF;AA2DvF,oGA3DQ,2CAAmB,OA2DR;AApDpB,sGAAiG;AA2DhG,uGA3DQ,iDAAsB,OA2DR;AArDvB,sGAAiG;AAyDhG,uGAzDQ,iDAAsB,OAyDR;AAtDvB,+GAA0G;AA4DzG,0GA5DQ,uDAAyB,OA4DR;AA1D1B,qHAA+G;AA4D9G,2GA5DQ,0DAA0B,OA4DR;AA1D3B,uHAAgH;AA4D/G,6GA5DQ,+DAA4B,OA4DR;AA1D7B,qHAA+G;AA4D9G,2GA5DQ,0DAA0B,OA4DR;AA1D3B,oIAA6H;AA4D5H,+GA5DQ,mEAA8B,OA4DR;AA1D/B,oHAA8G;AA4D7G,6GA5DQ,8DAA4B,OA4DR;AA1D7B,2HAAqH;AA4DpH,6GA5DQ,8DAA4B,OA4DR;AAzD7B,wHAAmH;AA8DlH,6GA9DQ,6DAA4B,OA8DR;AA5D7B,iIAA2H;AA8D1H,+GA9DQ,kEAA8B,OA8DR;AA5D/B,kHAA4G;AA8D3G,0GA9D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hD,4FAlEQ,0BAAW,OAkER"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.13.0-0",
3
+ "version": "3.13.0-2",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -0,0 +1,14 @@
1
+ export interface IDegreeInfo {
2
+ /**
3
+ * @return number
4
+ */
5
+ getId(): number;
6
+ /**
7
+ * @return string
8
+ */
9
+ getLevel(): string;
10
+ /**
11
+ * @return string
12
+ */
13
+ getPath(): string;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-degree-info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-degree-info.js","sourceRoot":"","sources":["../../../../src/models/sitemap-country-degree-info/i-degree-info.ts"],"names":[],"mappings":""}
@@ -1,8 +1,9 @@
1
+ import { IDegreeInfo } from "../../..";
1
2
  export interface ISitemapCountryDegreeInfo {
2
3
  /**
3
- * @return string[]
4
+ * @return IDegreeInfo[]
4
5
  */
5
- getPaths(): string[];
6
+ getDegrees(): IDegreeInfo[];
6
7
  /**
7
8
  * @return boolean
8
9
  */