@studyportals/domain-client 3.27.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +26 -0
- package/src/models/organisation-for-search/i-organisation-for-search.js +3 -0
- package/src/models/organisation-for-search/i-organisation-for-search.js.map +1 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +17 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.js.map +1 -0
package/index.d.ts
CHANGED
|
@@ -70,4 +70,6 @@ import { PortalMap } from "./src/types/portal-map";
|
|
|
70
70
|
import { ModelClient } from "./src/model-client";
|
|
71
71
|
import { ICompareProgramme } from "./src/models/compare-programme/i-compare-programme";
|
|
72
72
|
import { CompareProgrammeClient } from "./src/models/compare-programme/compare-programme-client";
|
|
73
|
-
|
|
73
|
+
import { IOrganisationForSearch } from "./src/models/organisation-for-search/i-organisation-for-search";
|
|
74
|
+
import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client";
|
|
75
|
+
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, IDotDigitalProgramme, DotdigitalProgrammeClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISearchCountryFaq, PublicSearchCountryFaqClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, IDotDigitalOrganisation, DotdigitalOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, IScholarshipCard, PublicScholarshipCardClient, IRankingCards, IRankingCard, IRanking, PublicRankingCardsClient, ICompareProgramme, CompareProgrammeClient, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient };
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ModelClient = exports.PortalType = exports.CompareProgrammeClient = exports.PublicRankingCardsClient = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
|
|
3
|
+
exports.PublicOrganisationForSearchClient = exports.ModelClient = exports.PortalType = exports.CompareProgrammeClient = exports.PublicRankingCardsClient = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.SitemapOrganisationsInfoClient = exports.DotdigitalOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.PublicSearchCountryFaqClient = exports.SitemapProgrammeInfoClient = exports.DotdigitalProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
|
|
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");
|
|
@@ -51,4 +51,6 @@ const model_client_1 = require("./src/model-client");
|
|
|
51
51
|
Object.defineProperty(exports, "ModelClient", { enumerable: true, get: function () { return model_client_1.ModelClient; } });
|
|
52
52
|
const compare_programme_client_1 = require("./src/models/compare-programme/compare-programme-client");
|
|
53
53
|
Object.defineProperty(exports, "CompareProgrammeClient", { enumerable: true, get: function () { return compare_programme_client_1.CompareProgrammeClient; } });
|
|
54
|
+
const public_organisation_for_search_client_1 = require("./src/models/organisation-for-search/public-organisation-for-search-client");
|
|
55
|
+
Object.defineProperty(exports, "PublicOrganisationForSearchClient", { enumerable: true, get: function () { return public_organisation_for_search_client_1.PublicOrganisationForSearchClient; } });
|
|
54
56
|
//# 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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA4E;AA4E3E,oGA5EQ,2CAAmB,OA4ER;AA3EpB,wEAAmE;AA4ElE,gGA5EQ,kCAAe,OA4ER;AA3EhB,0FAAoF;AA4EnF,wGA5EQ,mDAAuB,OA4ER;AA3ExB,8EAAwE;AA4EvE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
* Gets the ISO codes of all countries where the organisation has venues.
|
|
4
|
+
*
|
|
5
|
+
* @return string[]
|
|
6
|
+
*/
|
|
7
|
+
getIsoCodesOfCountriesOfVenues(): string[];
|
|
8
|
+
/**
|
|
9
|
+
* Gets the ID of the organisation.
|
|
10
|
+
*
|
|
11
|
+
* @return number
|
|
12
|
+
*/
|
|
13
|
+
getOrganisationId(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Gets the name of the organisation.
|
|
16
|
+
*
|
|
17
|
+
* @return string
|
|
18
|
+
*/
|
|
19
|
+
getOrganisationName(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the virtual name of the organisation.
|
|
22
|
+
*
|
|
23
|
+
* @return string
|
|
24
|
+
*/
|
|
25
|
+
getOrganisationVirtualName(): string;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-organisation-for-search.js","sourceRoot":"","sources":["../../../../src/models/organisation-for-search/i-organisation-for-search.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IOrganisationForSearch } from "../../..";
|
|
2
|
+
import { ModelClient } from "../../model-client";
|
|
3
|
+
export declare class PublicOrganisationForSearchClient extends ModelClient<IOrganisationForSearch> {
|
|
4
|
+
protected getModelName(): string;
|
|
5
|
+
protected getVersion(): string;
|
|
6
|
+
isPublic(): boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicOrganisationForSearchClient = void 0;
|
|
4
|
+
const model_client_1 = require("../../model-client");
|
|
5
|
+
class PublicOrganisationForSearchClient extends model_client_1.ModelClient {
|
|
6
|
+
getModelName() {
|
|
7
|
+
return 'organisation-for-search';
|
|
8
|
+
}
|
|
9
|
+
getVersion() {
|
|
10
|
+
return 'v1';
|
|
11
|
+
}
|
|
12
|
+
isPublic() {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PublicOrganisationForSearchClient = PublicOrganisationForSearchClient;
|
|
17
|
+
//# sourceMappingURL=public-organisation-for-search-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-organisation-for-search-client.js","sourceRoot":"","sources":["../../../../src/models/organisation-for-search/public-organisation-for-search-client.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,iCAAkC,SAAQ,0BAAmC;IAC/E,YAAY;QACrB,OAAO,yBAAyB,CAAC;IAClC,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AAZD,8EAYC"}
|