@studyportals/domain-client 5.4.4 → 5.5.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 CHANGED
@@ -33,6 +33,8 @@ import { IEnglishRequirements } from "./src/models/common/i-english-requirements
33
33
  import { IInternalLink } from "./src/models/customerio-programme/i-internal-link";
34
34
  import { ICustomerIOProgramme } from "./src/models/customerio-programme/i-customer-io-programme";
35
35
  import { CustomerIOProgrammeClient } from "./src/models/customerio-programme/customerio-programme-client";
36
+ import { IFaqStaticContent } from "./src/models/faq-static-content/i-faq-static-content";
37
+ import { PublicFaqStaticContentClient } from "./src/models/faq-static-content/public-faq-static-content-client";
36
38
  import { ISitemapProgrammeInfo } from "./src/models/sitemap-programme-info/i-sitemap-programme-info";
37
39
  import { SitemapProgrammeInfoClient } from "./src/models/sitemap-programme-info/sitemap-programme-info-client";
38
40
  import { ISitemapCountryInfo } from "./src/models/sitemap-countries-info/i-sitemap-country-info";
@@ -78,4 +80,4 @@ import { CopilotProgrammeClient } from "./src/models/copilot-programme/copilot-p
78
80
  import { ICopilotCountry } from "./src/models/copilot-country/i-copilot-country";
79
81
  import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client";
80
82
  import { ICopilotRankingCard } from "./src/models/copilot-country/i-copilot-ranking-card";
81
- 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, 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, ScholarshipCardV2Client, IScholarshipSearchDocument, ScholarshipSearchDocumentClient, IRanking, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, IRankingDiscipline, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient, ICopilotRankingCard };
83
+ 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, IFaqStaticContent, PublicFaqStaticContentClient, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, 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, ScholarshipCardV2Client, IScholarshipSearchDocument, ScholarshipSearchDocumentClient, IRanking, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, IRankingDiscipline, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient, ICopilotRankingCard };
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CopilotCountryClient = exports.CopilotProgrammeClient = exports.OrganisationCardClient = exports.PublicOrganisationForSearchClient = exports.ModelClient = exports.PortalType = exports.ScholarshipSearchDocumentClient = exports.ScholarshipCardV2Client = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.OrganisationSearchDocumentClient = exports.SitemapOrganisationsInfoClient = exports.CustomerIOOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.SitemapProgrammeInfoClient = exports.CustomerIOProgrammeClient = exports.BestfitProgrammeClient = exports.SearchProjectionClient = exports.ProgrammeCardClient = exports.PropertyNotAvailableException = exports.NotFoundException = exports.InternalServerException = exports.ClientException = exports.BadRequestException = void 0;
3
+ exports.CopilotCountryClient = exports.CopilotProgrammeClient = exports.OrganisationCardClient = exports.PublicOrganisationForSearchClient = exports.ModelClient = exports.PortalType = exports.ScholarshipSearchDocumentClient = exports.ScholarshipCardV2Client = exports.PublicScholarshipCardClient = exports.SitemapCitiesInfoClient = exports.SitemapArticlesInfoClient = exports.SitemapRankingsInfoClient = exports.OrganisationSearchDocumentClient = exports.SitemapOrganisationsInfoClient = exports.CustomerIOOrganisationClient = exports.SitemapDisciplinesInfoClient = exports.PublicSearchDisciplineClient = exports.SitemapCountryDegreeInfoClient = exports.SitemapCountriesInfoClient = exports.SitemapProgrammeInfoClient = exports.PublicFaqStaticContentClient = exports.CustomerIOProgrammeClient = 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");
@@ -19,6 +19,8 @@ const bestfit_programme_client_1 = require("./src/models/bestfit-programme/bestf
19
19
  Object.defineProperty(exports, "BestfitProgrammeClient", { enumerable: true, get: function () { return bestfit_programme_client_1.BestfitProgrammeClient; } });
20
20
  const customerio_programme_client_1 = require("./src/models/customerio-programme/customerio-programme-client");
21
21
  Object.defineProperty(exports, "CustomerIOProgrammeClient", { enumerable: true, get: function () { return customerio_programme_client_1.CustomerIOProgrammeClient; } });
22
+ const public_faq_static_content_client_1 = require("./src/models/faq-static-content/public-faq-static-content-client");
23
+ Object.defineProperty(exports, "PublicFaqStaticContentClient", { enumerable: true, get: function () { return public_faq_static_content_client_1.PublicFaqStaticContentClient; } });
22
24
  const sitemap_programme_info_client_1 = require("./src/models/sitemap-programme-info/sitemap-programme-info-client");
23
25
  Object.defineProperty(exports, "SitemapProgrammeInfoClient", { enumerable: true, get: function () { return sitemap_programme_info_client_1.SitemapProgrammeInfoClient; } });
24
26
  const sitemap_countries_info_client_1 = require("./src/models/sitemap-countries-info/sitemap-countries-info-client");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,kFAA6E;AAkF5E,oGAlFQ,2CAAmB,OAkFR;AAjFpB,wEAAoE;AAk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AjFQ,wDAAyB,OAiFR;AA/E1B,4GAAsG;AAiFrG,wGAjFQ,oDAAuB,OAiFR;AA/ExB,iHAA2G;AAiF1G,4GAjFQ,4DAA2B,OAiFR;AAhF5B,yGAAmG;AAiFlG,wGAjFQ,oDAAuB,OAiFR;AA/ExB,oIAA8H;AAiF7H,gHAjFQ,oEAA+B,OAiFR;AA/EhC,yDAAqD;AAiFpD,2FAjFQ,wBAAU,OAiFR;AA/EX,qDAAiD;AAiFhD,4FAjFQ,0BAAW,OAiFR;AA/EZ,sIAA+H;AAiF9H,kHAjFQ,yEAAiC,OAiFR;AA/ElC,sGAAiG;AAqFhG,uGArFQ,iDAAsB,OAqFR;AAnFvB,gGAA2F;AAoF1F,qGApFQ,6CAAoB,OAoFR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "5.4.4",
3
+ "version": "5.5.0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -15,7 +15,7 @@
15
15
  "lint:fix": "eslint . --ext .ts --fix",
16
16
  "pre-push": "npm run test && npm run coverage && npm run lint",
17
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",
18
+ "publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta --otp=123456",
19
19
  "publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
20
20
  "publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
21
21
  "publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
@@ -0,0 +1,9 @@
1
+ import { IFaq } from "./i-faq";
2
+ import { IStaticContentUrl } from "./i-static-content-url";
3
+ export interface IFaqStaticContent {
4
+ getFaqId(): number | null;
5
+ getStaticContentId(): number | null;
6
+ getFaqs(): IFaq[] | null;
7
+ getStaticContentText(): string | null;
8
+ getStaticContentUrls(): IStaticContentUrl[] | null;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-faq-static-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-faq-static-content.js","sourceRoot":"","sources":["../../../../src/models/faq-static-content/i-faq-static-content.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IFaq {
2
+ getQuestion(): string;
3
+ getAnswer(): string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-faq.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-faq.js","sourceRoot":"","sources":["../../../../src/models/faq-static-content/i-faq.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface IStaticContentUrl {
2
+ getUrl(): string;
3
+ getText(): string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=i-static-content-url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i-static-content-url.js","sourceRoot":"","sources":["../../../../src/models/faq-static-content/i-static-content-url.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { ModelClient } from "../../model-client";
2
+ import { IFaqStaticContent } from "./i-faq-static-content";
3
+ export declare class PublicFaqStaticContentClient extends ModelClient<IFaqStaticContent> {
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.PublicFaqStaticContentClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class PublicFaqStaticContentClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'faq-static-content';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return true;
14
+ }
15
+ }
16
+ exports.PublicFaqStaticContentClient = PublicFaqStaticContentClient;
17
+ //# sourceMappingURL=public-faq-static-content-client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-faq-static-content-client.js","sourceRoot":"","sources":["../../../../src/models/faq-static-content/public-faq-static-content-client.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAGjD,MAAa,4BAA6B,SAAQ,0BAA8B;IACrE,YAAY;QACrB,OAAO,oBAAoB,CAAC;IAC7B,CAAC;IAES,UAAU;QACnB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,QAAQ;QACd,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AAZD,oEAYC"}