@studyportals/domain-client 3.5.2-beta.1 → 3.6.0-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.
Files changed (117) hide show
  1. package/index.d.ts +45 -42
  2. package/index.js +27 -25
  3. package/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/domain-client.d.ts +14 -14
  6. package/src/domain-client.js +60 -60
  7. package/src/exceptions/bad-request-exception.d.ts +2 -2
  8. package/src/exceptions/bad-request-exception.js +6 -6
  9. package/src/exceptions/client-exception.d.ts +2 -2
  10. package/src/exceptions/client-exception.js +6 -6
  11. package/src/exceptions/internal-server-exception.d.ts +2 -2
  12. package/src/exceptions/internal-server-exception.js +6 -6
  13. package/src/exceptions/not-found-exception.d.ts +2 -2
  14. package/src/exceptions/not-found-exception.js +6 -6
  15. package/src/exceptions/property-not-available-exception.d.ts +2 -2
  16. package/src/exceptions/property-not-available-exception.js +6 -6
  17. package/src/factories/DateFactory.d.ts +5 -5
  18. package/src/factories/DateFactory.js +9 -9
  19. package/src/factories/InternalLinkFactory.d.ts +9 -9
  20. package/src/factories/InternalLinkFactory.js +19 -19
  21. package/src/i-api-response.d.ts +6 -6
  22. package/src/i-api-response.js +2 -2
  23. package/src/i-class-factory.d.ts +4 -4
  24. package/src/i-class-factory.js +2 -2
  25. package/src/i-model-description.d.ts +7 -7
  26. package/src/i-model-description.js +9 -9
  27. package/src/model-client.d.ts +16 -16
  28. package/src/model-client.js +45 -45
  29. package/src/model-factory.d.ts +11 -11
  30. package/src/model-factory.js +71 -71
  31. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -7
  32. package/src/models/bestfit-programme/bestfit-programme-client.js +16 -16
  33. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -82
  34. package/src/models/bestfit-programme/i-best-fit-programme.js +2 -2
  35. package/src/models/bestfit-programme/i-g-p-a-requirement.d.ts +20 -20
  36. package/src/models/bestfit-programme/i-g-p-a-requirement.js +2 -2
  37. package/src/models/bestfit-programme/i-living-cost.d.ts +20 -20
  38. package/src/models/bestfit-programme/i-living-cost.js +2 -2
  39. package/src/models/{bestfit-programme → common}/i-city.d.ts +14 -14
  40. package/src/models/{bestfit-programme → common}/i-city.js +2 -2
  41. package/src/models/common/i-city.js.map +1 -0
  42. package/src/models/{dotdigital-programme → common}/i-country.d.ts +14 -14
  43. package/src/models/{dotdigital-programme → common}/i-country.js +2 -2
  44. package/src/models/common/i-country.js.map +1 -0
  45. package/src/models/common/i-english-requirements.d.ts +30 -30
  46. package/src/models/common/i-english-requirements.js +2 -2
  47. package/src/models/common/i-internal-link.d.ts +28 -28
  48. package/src/models/common/i-internal-link.js +2 -2
  49. package/src/models/common/i-logo.d.ts +14 -14
  50. package/src/models/common/i-logo.js +2 -2
  51. package/src/models/common/i-tuition-fee.d.ts +50 -50
  52. package/src/models/common/i-tuition-fee.js +2 -2
  53. package/src/models/dotdigital-organisation/dotdigital-organisation-client.d.ts +7 -0
  54. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js +17 -0
  55. package/src/models/dotdigital-organisation/dotdigital-organisation-client.js.map +1 -0
  56. package/src/models/dotdigital-organisation/i-dot-digital-organisation.d.ts +30 -0
  57. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js +3 -0
  58. package/src/models/dotdigital-organisation/i-dot-digital-organisation.js.map +1 -0
  59. package/src/models/dotdigital-organisation/i-review.d.ts +7 -0
  60. package/src/models/dotdigital-organisation/i-review.js +3 -0
  61. package/src/models/dotdigital-organisation/i-review.js.map +1 -0
  62. package/src/models/dotdigital-programme/dotdigital-programme-client.d.ts +7 -7
  63. package/src/models/dotdigital-programme/dotdigital-programme-client.js +16 -16
  64. package/src/models/dotdigital-programme/i-dot-digital-programme.d.ts +89 -89
  65. package/src/models/dotdigital-programme/i-dot-digital-programme.js +2 -2
  66. package/src/models/programme-card/i-click-tracking-data.d.ts +5 -5
  67. package/src/models/programme-card/i-click-tracking-data.js +2 -2
  68. package/src/models/programme-card/i-cover.d.ts +14 -14
  69. package/src/models/programme-card/i-cover.js +2 -2
  70. package/src/models/programme-card/i-deadline.d.ts +20 -20
  71. package/src/models/programme-card/i-deadline.js +2 -2
  72. package/src/models/programme-card/i-duration.d.ts +40 -40
  73. package/src/models/programme-card/i-duration.js +2 -2
  74. package/src/models/programme-card/i-link.d.ts +22 -22
  75. package/src/models/programme-card/i-link.js +2 -2
  76. package/src/models/programme-card/i-location.d.ts +7 -7
  77. package/src/models/programme-card/i-location.js +2 -2
  78. package/src/models/programme-card/i-optional-link.d.ts +23 -23
  79. package/src/models/programme-card/i-optional-link.js +2 -2
  80. package/src/models/programme-card/i-programme-card.d.ts +126 -127
  81. package/src/models/programme-card/i-programme-card.js +2 -2
  82. package/src/models/programme-card/i-start-date.d.ts +33 -33
  83. package/src/models/programme-card/i-start-date.js +2 -2
  84. package/src/models/programme-card/i-timing.d.ts +45 -45
  85. package/src/models/programme-card/i-timing.js +2 -2
  86. package/src/models/programme-card/i-tracked-link.d.ts +29 -29
  87. package/src/models/programme-card/i-tracked-link.js +2 -2
  88. package/src/models/programme-card/i-tracking.d.ts +46 -46
  89. package/src/models/programme-card/i-tracking.js +2 -2
  90. package/src/models/programme-card/programme-card-client.d.ts +7 -7
  91. package/src/models/programme-card/programme-card-client.js +16 -16
  92. package/src/models/search-country-faq/i-search-country-faq.d.ts +18 -18
  93. package/src/models/search-country-faq/i-search-country-faq.js +2 -2
  94. package/src/models/search-country-faq/public-search-country-faq-client.d.ts +7 -7
  95. package/src/models/search-country-faq/public-search-country-faq-client.js +16 -16
  96. package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -38
  97. package/src/models/search-projection/i-geo-targeting-configuration.js +2 -2
  98. package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -30
  99. package/src/models/search-projection/i-geo-targeting-values.js +2 -2
  100. package/src/models/search-projection/i-organisation-values.d.ts +40 -40
  101. package/src/models/search-projection/i-organisation-values.js +2 -2
  102. package/src/models/search-projection/i-premium-values.d.ts +35 -35
  103. package/src/models/search-projection/i-premium-values.js +2 -2
  104. package/src/models/search-projection/i-search-projection.d.ts +180 -180
  105. package/src/models/search-projection/i-search-projection.js +2 -2
  106. package/src/models/search-projection/i-tuition-values.d.ts +50 -50
  107. package/src/models/search-projection/i-tuition-values.js +2 -2
  108. package/src/models/search-projection/search-projection-client.d.ts +7 -7
  109. package/src/models/search-projection/search-projection-client.js +16 -16
  110. package/src/types/portal-map.d.ts +2 -2
  111. package/src/types/portal-map.js +2 -2
  112. package/src/types/portal-type.d.ts +7 -7
  113. package/src/types/portal-type.js +11 -11
  114. package/src/types.d.ts +4 -4
  115. package/src/types.js +2 -2
  116. package/src/models/bestfit-programme/i-city.js.map +0 -1
  117. package/src/models/dotdigital-programme/i-country.js.map +0 -1
@@ -1,45 +1,45 @@
1
- import { IDeadline, IStartDate } from "../../..";
2
- export interface ITiming {
3
- /**
4
- * Get the IDeadline applicable for this type and programme.
5
- *
6
- * Note: In case of extendable start dates, all information in the
7
- * Deadline object has already been extended to the first available start
8
- * date.
9
- *
10
- * @return IDeadline
11
- * @throws PropertyNotAvailableException
12
- */
13
- getDeadline(): IDeadline;
14
- canShowDeadline(): boolean;
15
- /**
16
- * Get the IStartDate applicable for this type and programme.
17
- *
18
- * Note: In case of extendable start dates, all information in the
19
- * StartDate objects has already been extended to the first available start
20
- * date.
21
- *
22
- * @return IStartDate
23
- * @throws PropertyNotAvailableException
24
- */
25
- getStartDate(): IStartDate;
26
- canShowStartDate(): boolean;
27
- /**
28
- * Type of user the timing is applicable to (e.g. general, eea, national).
29
- *
30
- * @return string
31
- */
32
- getType(): string;
33
- /**
34
- * True if the programme allows to apply at any time (rolling application).
35
- *
36
- * @return boolean
37
- */
38
- isApplyingAnytime(): boolean;
39
- /**
40
- * True if the programme can start at any time (rolling admission).
41
- *
42
- * @return boolean
43
- */
44
- isStartingAnytime(): boolean;
45
- }
1
+ import { IDeadline, IStartDate } from "../../..";
2
+ export interface ITiming {
3
+ /**
4
+ * Get the IDeadline applicable for this type and programme.
5
+ *
6
+ * Note: In case of extendable start dates, all information in the
7
+ * Deadline object has already been extended to the first available start
8
+ * date.
9
+ *
10
+ * @return IDeadline
11
+ * @throws PropertyNotAvailableException
12
+ */
13
+ getDeadline(): IDeadline;
14
+ canShowDeadline(): boolean;
15
+ /**
16
+ * Get the IStartDate applicable for this type and programme.
17
+ *
18
+ * Note: In case of extendable start dates, all information in the
19
+ * StartDate objects has already been extended to the first available start
20
+ * date.
21
+ *
22
+ * @return IStartDate
23
+ * @throws PropertyNotAvailableException
24
+ */
25
+ getStartDate(): IStartDate;
26
+ canShowStartDate(): boolean;
27
+ /**
28
+ * Type of user the timing is applicable to (e.g. general, eea, national).
29
+ *
30
+ * @return string
31
+ */
32
+ getType(): string;
33
+ /**
34
+ * True if the programme allows to apply at any time (rolling application).
35
+ *
36
+ * @return boolean
37
+ */
38
+ isApplyingAnytime(): boolean;
39
+ /**
40
+ * True if the programme can start at any time (rolling admission).
41
+ *
42
+ * @return boolean
43
+ */
44
+ isStartingAnytime(): boolean;
45
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-timing.js.map
@@ -1,29 +1,29 @@
1
- import { ITracking } from "../../..";
2
- export interface ITrackedLink {
3
- /**
4
- * Get an optional text describing the link (typically <a>-tags contents).
5
- *
6
- * @return string
7
- * @throws PropertyNotAvailableException
8
- */
9
- getDescription(): string;
10
- canShowDescription(): boolean;
11
- /**
12
- * Get an object containing all information needed to properly track a link.
13
- *
14
- * @return ITracking
15
- */
16
- getTracking(): ITracking;
17
- /**
18
- * Get the url to refer to.
19
- *
20
- * Note that the url provided is always a relative URL. A base URL is needed
21
- * to make it a full valid path.
22
- * The only exception is when an external link is provided (meaning, outside
23
- * of StudyPortals-maintained domains). In this case a full url will be
24
- * provided.
25
- *
26
- * @return string
27
- */
28
- getUrl(): string;
29
- }
1
+ import { ITracking } from "../../..";
2
+ export interface ITrackedLink {
3
+ /**
4
+ * Get an optional text describing the link (typically <a>-tags contents).
5
+ *
6
+ * @return string
7
+ * @throws PropertyNotAvailableException
8
+ */
9
+ getDescription(): string;
10
+ canShowDescription(): boolean;
11
+ /**
12
+ * Get an object containing all information needed to properly track a link.
13
+ *
14
+ * @return ITracking
15
+ */
16
+ getTracking(): ITracking;
17
+ /**
18
+ * Get the url to refer to.
19
+ *
20
+ * Note that the url provided is always a relative URL. A base URL is needed
21
+ * to make it a full valid path.
22
+ * The only exception is when an external link is provided (meaning, outside
23
+ * of StudyPortals-maintained domains). In this case a full url will be
24
+ * provided.
25
+ *
26
+ * @return string
27
+ */
28
+ getUrl(): string;
29
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-tracked-link.js.map
@@ -1,46 +1,46 @@
1
- import { IClickTrackingData } from "../../..";
2
- export interface ITracking {
3
- /**
4
- * Get the value of the data-action attribute.
5
- *
6
- * @return string
7
- */
8
- getAction(): string;
9
- /**
10
- * Get all the data that is need to make click tracking possible
11
- *
12
- * @return IClickTrackingData
13
- */
14
- getClickTrackingData(): IClickTrackingData;
15
- canShowClickTrackingData(): boolean;
16
- /**
17
- * Get the value of the data-description attribute.
18
- *
19
- * @return string
20
- */
21
- getDescription(): string;
22
- /**
23
- * Get the extra information value.
24
- *
25
- * @return string
26
- */
27
- getExtra(): string;
28
- /**
29
- * Get the value of the data-id attribute.
30
- *
31
- * @return number
32
- */
33
- getId(): number;
34
- /**
35
- * Get the value of the data-label attribute.
36
- *
37
- * @return string
38
- */
39
- getLabel(): string;
40
- /**
41
- * Get the value of the data-type attribute.
42
- *
43
- * @return string
44
- */
45
- getType(): string;
46
- }
1
+ import { IClickTrackingData } from "../../..";
2
+ export interface ITracking {
3
+ /**
4
+ * Get the value of the data-action attribute.
5
+ *
6
+ * @return string
7
+ */
8
+ getAction(): string;
9
+ /**
10
+ * Get all the data that is need to make click tracking possible
11
+ *
12
+ * @return IClickTrackingData
13
+ */
14
+ getClickTrackingData(): IClickTrackingData;
15
+ canShowClickTrackingData(): boolean;
16
+ /**
17
+ * Get the value of the data-description attribute.
18
+ *
19
+ * @return string
20
+ */
21
+ getDescription(): string;
22
+ /**
23
+ * Get the extra information value.
24
+ *
25
+ * @return string
26
+ */
27
+ getExtra(): string;
28
+ /**
29
+ * Get the value of the data-id attribute.
30
+ *
31
+ * @return number
32
+ */
33
+ getId(): number;
34
+ /**
35
+ * Get the value of the data-label attribute.
36
+ *
37
+ * @return string
38
+ */
39
+ getLabel(): string;
40
+ /**
41
+ * Get the value of the data-type attribute.
42
+ *
43
+ * @return string
44
+ */
45
+ getType(): string;
46
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-tracking.js.map
@@ -1,7 +1,7 @@
1
- import { IProgrammeCard } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class ProgrammeCardClient extends ModelClient<IProgrammeCard> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { IProgrammeCard } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class ProgrammeCardClient extends ModelClient<IProgrammeCard> {
4
+ protected getModelName(): string;
5
+ protected getVersion(): string;
6
+ isPublic(): boolean;
7
+ }
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProgrammeCardClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class ProgrammeCardClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'programme-card';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return false;
14
- }
15
- }
16
- exports.ProgrammeCardClient = ProgrammeCardClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProgrammeCardClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class ProgrammeCardClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'programme-card';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return false;
14
+ }
15
+ }
16
+ exports.ProgrammeCardClient = ProgrammeCardClient;
17
17
  //# sourceMappingURL=programme-card-client.js.map
@@ -1,18 +1,18 @@
1
- export interface ISearchCountryFaq {
2
- /**
3
- * @return number
4
- */
5
- getId(): number;
6
- /**
7
- * @return string
8
- */
9
- getName(): string;
10
- /**
11
- * @return string
12
- */
13
- getRankingCountryLink(): string;
14
- /**
15
- * @return string[]
16
- */
17
- getTopFiveUniversities(): string[];
18
- }
1
+ export interface ISearchCountryFaq {
2
+ /**
3
+ * @return number
4
+ */
5
+ getId(): number;
6
+ /**
7
+ * @return string
8
+ */
9
+ getName(): string;
10
+ /**
11
+ * @return string
12
+ */
13
+ getRankingCountryLink(): string;
14
+ /**
15
+ * @return string[]
16
+ */
17
+ getTopFiveUniversities(): string[];
18
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-search-country-faq.js.map
@@ -1,7 +1,7 @@
1
- import { ISearchCountryFaq } from "../../..";
2
- import { ModelClient } from "../../model-client";
3
- export declare class PublicSearchCountryFaqClient extends ModelClient<ISearchCountryFaq> {
4
- protected getModelName(): string;
5
- protected getVersion(): string;
6
- isPublic(): boolean;
7
- }
1
+ import { ISearchCountryFaq } from "../../..";
2
+ import { ModelClient } from "../../model-client";
3
+ export declare class PublicSearchCountryFaqClient extends ModelClient<ISearchCountryFaq> {
4
+ protected getModelName(): string;
5
+ protected getVersion(): string;
6
+ isPublic(): boolean;
7
+ }
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PublicSearchCountryFaqClient = void 0;
4
- const model_client_1 = require("../../model-client");
5
- class PublicSearchCountryFaqClient extends model_client_1.ModelClient {
6
- getModelName() {
7
- return 'search-country-faq';
8
- }
9
- getVersion() {
10
- return 'v1';
11
- }
12
- isPublic() {
13
- return true;
14
- }
15
- }
16
- exports.PublicSearchCountryFaqClient = PublicSearchCountryFaqClient;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PublicSearchCountryFaqClient = void 0;
4
+ const model_client_1 = require("../../model-client");
5
+ class PublicSearchCountryFaqClient extends model_client_1.ModelClient {
6
+ getModelName() {
7
+ return 'search-country-faq';
8
+ }
9
+ getVersion() {
10
+ return 'v1';
11
+ }
12
+ isPublic() {
13
+ return true;
14
+ }
15
+ }
16
+ exports.PublicSearchCountryFaqClient = PublicSearchCountryFaqClient;
17
17
  //# sourceMappingURL=public-search-country-faq-client.js.map
@@ -1,38 +1,38 @@
1
- export interface IGeoTargetingConfiguration {
2
- /**
3
- * Bit set 1 of targeted country ID information.
4
- *
5
- * @return number
6
- */
7
- getBit1(): number;
8
- /**
9
- * Bit set 2 of targeted country ID information.
10
- *
11
- * @return number
12
- */
13
- getBit2(): number;
14
- /**
15
- * Bit set 3 of targeted country ID information.
16
- *
17
- * @return number
18
- */
19
- getBit3(): number;
20
- /**
21
- * Bit set 4 of targeted country ID information.
22
- *
23
- * @return number
24
- */
25
- getBit4(): number;
26
- /**
27
- * Bit set 5 of targeted country ID information.
28
- *
29
- * @return number
30
- */
31
- getBit5(): number;
32
- /**
33
- * List of all configured country IDs.
34
- *
35
- * @return number[]
36
- */
37
- getTargetedCountries(): number[];
38
- }
1
+ export interface IGeoTargetingConfiguration {
2
+ /**
3
+ * Bit set 1 of targeted country ID information.
4
+ *
5
+ * @return number
6
+ */
7
+ getBit1(): number;
8
+ /**
9
+ * Bit set 2 of targeted country ID information.
10
+ *
11
+ * @return number
12
+ */
13
+ getBit2(): number;
14
+ /**
15
+ * Bit set 3 of targeted country ID information.
16
+ *
17
+ * @return number
18
+ */
19
+ getBit3(): number;
20
+ /**
21
+ * Bit set 4 of targeted country ID information.
22
+ *
23
+ * @return number
24
+ */
25
+ getBit4(): number;
26
+ /**
27
+ * Bit set 5 of targeted country ID information.
28
+ *
29
+ * @return number
30
+ */
31
+ getBit5(): number;
32
+ /**
33
+ * List of all configured country IDs.
34
+ *
35
+ * @return number[]
36
+ */
37
+ getTargetedCountries(): number[];
38
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-geo-targeting-configuration.js.map
@@ -1,30 +1,30 @@
1
- import { IGeoTargetingConfiguration } from "../../..";
2
- export interface IGeoTargetingValues {
3
- /**
4
- * Geo-targeting configuration for "light premium" listing.
5
- *
6
- * @return IGeoTargetingConfiguration
7
- */
8
- getLightPremium(): IGeoTargetingConfiguration;
9
- canShowLightPremium(): boolean;
10
- /**
11
- * Geo-targeting configuration for "premium" listing.
12
- *
13
- * @return IGeoTargetingConfiguration
14
- */
15
- getPremium(): IGeoTargetingConfiguration;
16
- canShowPremium(): boolean;
17
- /**
18
- * Geo-targeting configuration for "super premium" listing.
19
- *
20
- * @return IGeoTargetingConfiguration
21
- */
22
- getSuperPremium(): IGeoTargetingConfiguration;
23
- canShowSuperPremium(): boolean;
24
- /**
25
- * Programme has active geo-targeting settings.
26
- *
27
- * @return boolean
28
- */
29
- isGeoTargeted(): boolean;
30
- }
1
+ import { IGeoTargetingConfiguration } from "../../..";
2
+ export interface IGeoTargetingValues {
3
+ /**
4
+ * Geo-targeting configuration for "light premium" listing.
5
+ *
6
+ * @return IGeoTargetingConfiguration
7
+ */
8
+ getLightPremium(): IGeoTargetingConfiguration;
9
+ canShowLightPremium(): boolean;
10
+ /**
11
+ * Geo-targeting configuration for "premium" listing.
12
+ *
13
+ * @return IGeoTargetingConfiguration
14
+ */
15
+ getPremium(): IGeoTargetingConfiguration;
16
+ canShowPremium(): boolean;
17
+ /**
18
+ * Geo-targeting configuration for "super premium" listing.
19
+ *
20
+ * @return IGeoTargetingConfiguration
21
+ */
22
+ getSuperPremium(): IGeoTargetingConfiguration;
23
+ canShowSuperPremium(): boolean;
24
+ /**
25
+ * Programme has active geo-targeting settings.
26
+ *
27
+ * @return boolean
28
+ */
29
+ isGeoTargeted(): boolean;
30
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-geo-targeting-values.js.map
@@ -1,40 +1,40 @@
1
- export interface IOrganisationValues {
2
- /**
3
- * Country ID of the top level organisation.
4
- *
5
- * @return number
6
- */
7
- getCountryId(): number;
8
- /**
9
- * ID of the programme's main organisation.
10
- *
11
- * First premium organisation or top level organisation.
12
- *
13
- * @return number
14
- */
15
- getId(): number;
16
- /**
17
- * Name of the programme's main organisation.
18
- *
19
- * First premium organisation or top level organisation.
20
- *
21
- * @return string
22
- */
23
- getName(): string;
24
- /**
25
- * List of all organisation IDs attached to the programme (main + sub).
26
- *
27
- * @return number[]
28
- */
29
- getOrganisations(): number[];
30
- /**
31
- * Region ID of the top level organisation.
32
- *
33
- * Currently only possible region ID is 38 (EEA region). All other regions
34
- * are ignored for this field.
35
- *
36
- * @return number
37
- */
38
- getRegionId(): number;
39
- canShowRegionId(): boolean;
40
- }
1
+ export interface IOrganisationValues {
2
+ /**
3
+ * Country ID of the top level organisation.
4
+ *
5
+ * @return number
6
+ */
7
+ getCountryId(): number;
8
+ /**
9
+ * ID of the programme's main organisation.
10
+ *
11
+ * First premium organisation or top level organisation.
12
+ *
13
+ * @return number
14
+ */
15
+ getId(): number;
16
+ /**
17
+ * Name of the programme's main organisation.
18
+ *
19
+ * First premium organisation or top level organisation.
20
+ *
21
+ * @return string
22
+ */
23
+ getName(): string;
24
+ /**
25
+ * List of all organisation IDs attached to the programme (main + sub).
26
+ *
27
+ * @return number[]
28
+ */
29
+ getOrganisations(): number[];
30
+ /**
31
+ * Region ID of the top level organisation.
32
+ *
33
+ * Currently only possible region ID is 38 (EEA region). All other regions
34
+ * are ignored for this field.
35
+ *
36
+ * @return number
37
+ */
38
+ getRegionId(): number;
39
+ canShowRegionId(): boolean;
40
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=i-organisation-values.js.map