@studyportals/domain-client 3.5.2 → 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.
- package/index.d.ts +45 -42
- package/index.js +27 -25
- package/index.js.map +1 -1
- package/package.json +1 -1
- 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-g-p-a-requirement.d.ts +20 -20
- package/src/models/bestfit-programme/i-g-p-a-requirement.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/{bestfit-programme → common}/i-city.d.ts +14 -14
- package/src/models/{bestfit-programme → common}/i-city.js +2 -2
- package/src/models/common/i-city.js.map +1 -0
- package/src/models/{dotdigital-programme → common}/i-country.d.ts +14 -14
- package/src/models/{dotdigital-programme → common}/i-country.js +2 -2
- package/src/models/common/i-country.js.map +1 -0
- package/src/models/common/i-english-requirements.d.ts +30 -30
- package/src/models/common/i-english-requirements.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/dotdigital-organisation/dotdigital-organisation-client.d.ts +7 -0
- package/src/models/dotdigital-organisation/dotdigital-organisation-client.js +17 -0
- package/src/models/dotdigital-organisation/dotdigital-organisation-client.js.map +1 -0
- package/src/models/dotdigital-organisation/i-dot-digital-organisation.d.ts +30 -0
- package/src/models/dotdigital-organisation/i-dot-digital-organisation.js +3 -0
- package/src/models/dotdigital-organisation/i-dot-digital-organisation.js.map +1 -0
- package/src/models/dotdigital-organisation/i-review.d.ts +7 -0
- package/src/models/dotdigital-organisation/i-review.js +3 -0
- package/src/models/dotdigital-organisation/i-review.js.map +1 -0
- package/src/models/dotdigital-programme/dotdigital-programme-client.d.ts +7 -7
- package/src/models/dotdigital-programme/dotdigital-programme-client.js +16 -16
- package/src/models/dotdigital-programme/i-dot-digital-programme.d.ts +89 -89
- package/src/models/dotdigital-programme/i-dot-digital-programme.js +2 -2
- 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-link.d.ts +22 -22
- package/src/models/programme-card/i-link.js +2 -2
- package/src/models/programme-card/i-location.d.ts +7 -7
- package/src/models/programme-card/i-location.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 +126 -127
- 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/programme-card-client.d.ts +7 -7
- package/src/models/programme-card/programme-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-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/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/src/models/bestfit-programme/i-city.js.map +0 -1
- 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
|