@studyportals/domain-client 6.3.1-beta.1 → 6.3.1

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 (125) hide show
  1. package/index.d.ts +89 -89
  2. package/index.js +33 -33
  3. package/package.json +2 -2
  4. package/protobuf/Article.d.ts +5 -5
  5. package/protobuf/Article.js +5 -5
  6. package/protobuf/Description.d.ts +2 -2
  7. package/protobuf/Description.js +2 -2
  8. package/protobuf/Discipline.d.ts +3 -3
  9. package/protobuf/Discipline.js +3 -3
  10. package/protobuf/InternalLink.js +1 -1
  11. package/protobuf/Location.d.ts +1 -1
  12. package/protobuf/Location.js +1 -1
  13. package/protobuf/MiniProgrammeCard.d.ts +3 -3
  14. package/protobuf/MiniProgrammeCard.js +3 -3
  15. package/protobuf/Organisation.d.ts +12 -12
  16. package/protobuf/Organisation.js +12 -12
  17. package/protobuf/OrganisationRanking.d.ts +2 -2
  18. package/protobuf/OrganisationRanking.js +2 -2
  19. package/protobuf/Person.d.ts +1 -1
  20. package/protobuf/Person.js +1 -1
  21. package/protobuf/ProgrammeCard.d.ts +14 -14
  22. package/protobuf/ProgrammeCard.js +14 -14
  23. package/protobuf/ProgrammeGrid.d.ts +2 -2
  24. package/protobuf/ProgrammeGrid.js +2 -2
  25. package/protobuf/Ranking.d.ts +1 -1
  26. package/protobuf/Ranking.js +1 -1
  27. package/protobuf/RankingInstitute.d.ts +1 -1
  28. package/protobuf/RankingInstitute.js +1 -1
  29. package/protobuf/Review.d.ts +1 -1
  30. package/protobuf/Review.js +1 -1
  31. package/protobuf/StartDate.d.ts +1 -1
  32. package/protobuf/StartDate.js +1 -1
  33. package/protobuf/Timing.d.ts +2 -2
  34. package/protobuf/Timing.js +2 -2
  35. package/protobuf/TrackedLink.d.ts +1 -1
  36. package/protobuf/TrackedLink.js +1 -1
  37. package/protobuf/Tracking.d.ts +1 -1
  38. package/protobuf/Tracking.js +1 -1
  39. package/protobuf/index.d.ts +42 -42
  40. package/protobuf/index.js +42 -42
  41. package/src/clients/article-detail-page-client.d.ts +2 -2
  42. package/src/clients/article-detail-page-client.js +2 -2
  43. package/src/clients/index.d.ts +4 -4
  44. package/src/clients/index.js +4 -4
  45. package/src/clients/organisation-page-client.d.ts +2 -2
  46. package/src/clients/organisation-page-client.js +2 -2
  47. package/src/clients/protobuf-client.d.ts +2 -2
  48. package/src/clients/protobuf-client.js +1 -1
  49. package/src/clients/public-mini-programme-card-client.d.ts +2 -2
  50. package/src/clients/public-mini-programme-card-client.js +2 -2
  51. package/src/domain-client.js +3 -3
  52. package/src/factories/DateFactory.d.ts +2 -2
  53. package/src/factories/InternalLinkFactory.d.ts +3 -3
  54. package/src/i-api-response.d.ts +1 -1
  55. package/src/i-class-factory.d.ts +1 -1
  56. package/src/i-model-description.d.ts +1 -1
  57. package/src/model-client.d.ts +2 -2
  58. package/src/model-client.js +3 -3
  59. package/src/model-factory.d.ts +2 -2
  60. package/src/model-factory.js +4 -4
  61. package/src/models/bestfit-programme/bestfit-programme-client.d.ts +2 -2
  62. package/src/models/bestfit-programme/bestfit-programme-client.js +1 -1
  63. package/src/models/bestfit-programme/i-best-fit-programme.d.ts +1 -1
  64. package/src/models/city-search-document/city-search-document-client.d.ts +2 -2
  65. package/src/models/city-search-document/city-search-document-client.js +1 -1
  66. package/src/models/copilot-country/copilot-country-client.d.ts +2 -2
  67. package/src/models/copilot-country/copilot-country-client.js +1 -1
  68. package/src/models/copilot-country/i-copilot-country.d.ts +1 -1
  69. package/src/models/copilot-programme/copilot-programme-client.d.ts +2 -2
  70. package/src/models/copilot-programme/copilot-programme-client.js +1 -1
  71. package/src/models/copilot-programme/i-copilot-programme.d.ts +1 -1
  72. package/src/models/customerio-organisation/customerio-organisation-client.d.ts +2 -2
  73. package/src/models/customerio-organisation/customerio-organisation-client.js +1 -1
  74. package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +1 -1
  75. package/src/models/customerio-programme/customerio-programme-client.d.ts +2 -2
  76. package/src/models/customerio-programme/customerio-programme-client.js +1 -1
  77. package/src/models/customerio-programme/i-customer-io-programme.d.ts +1 -1
  78. package/src/models/faq-static-content/i-faq-static-content.d.ts +2 -2
  79. package/src/models/faq-static-content/public-faq-static-content-client.d.ts +2 -2
  80. package/src/models/faq-static-content/public-faq-static-content-client.js +1 -1
  81. package/src/models/organisation-card/i-organisation-card.d.ts +2 -2
  82. package/src/models/organisation-card/organisation-card-client.d.ts +2 -2
  83. package/src/models/organisation-card/organisation-card-client.js +1 -1
  84. package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +2 -2
  85. package/src/models/organisation-for-search/public-organisation-for-search-client.js +1 -1
  86. package/src/models/organisation-search-document/organisation-search-document-client.d.ts +2 -2
  87. package/src/models/organisation-search-document/organisation-search-document-client.js +1 -1
  88. package/src/models/programme-card/i-location.d.ts +1 -1
  89. package/src/models/programme-card/i-programme-card.d.ts +2 -2
  90. package/src/models/programme-card/i-start-date.d.ts +1 -1
  91. package/src/models/programme-card/i-timing.d.ts +1 -1
  92. package/src/models/programme-card/i-tracked-link.d.ts +1 -1
  93. package/src/models/programme-card/i-tracking.d.ts +1 -1
  94. package/src/models/programme-card/programme-card-client.d.ts +2 -2
  95. package/src/models/programme-card/programme-card-client.js +1 -1
  96. package/src/models/scholarship-card/public-scholarship-card-client.d.ts +2 -2
  97. package/src/models/scholarship-card/public-scholarship-card-client.js +1 -1
  98. package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +2 -2
  99. package/src/models/scholarship-card/scholarship-card-v2-client.js +1 -1
  100. package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +2 -2
  101. package/src/models/scholarship-search-document/scholarship-search-document-client.js +1 -1
  102. package/src/models/search-discipline/public-search-discipline-client.d.ts +2 -2
  103. package/src/models/search-discipline/public-search-discipline-client.js +1 -1
  104. package/src/models/search-projection/i-geo-targeting-values.d.ts +1 -1
  105. package/src/models/search-projection/i-search-projection.d.ts +1 -1
  106. package/src/models/search-projection/search-projection-client.d.ts +2 -2
  107. package/src/models/search-projection/search-projection-client.js +1 -1
  108. package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +2 -2
  109. package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +1 -1
  110. package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +2 -2
  111. package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +1 -1
  112. package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +2 -2
  113. package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +1 -1
  114. package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +1 -1
  115. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +2 -2
  116. package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +1 -1
  117. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +2 -2
  118. package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +1 -1
  119. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +2 -2
  120. package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +1 -1
  121. package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +2 -2
  122. package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +1 -1
  123. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +2 -2
  124. package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +1 -1
  125. package/src/types/portal-map.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { RankingInstitute } from "./RankingInstitute";
1
+ import { RankingInstitute } from "./RankingInstitute.js";
2
2
  export interface Ranking {
3
3
  id: number;
4
4
  name: string;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: Ranking.proto
6
6
  /* eslint-disable */
7
- import { RankingInstitute } from "./RankingInstitute";
7
+ import { RankingInstitute } from "./RankingInstitute.js";
8
8
  export const Ranking = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,4 +1,4 @@
1
- import { Body } from "./Body";
1
+ import { Body } from "./Body.js";
2
2
  export interface RankingInstitute {
3
3
  id: number;
4
4
  name: string;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: RankingInstitute.proto
6
6
  /* eslint-disable */
7
- import { Body } from "./Body";
7
+ import { Body } from "./Body.js";
8
8
  export const RankingInstitute = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,4 +1,4 @@
1
- import { Person } from "./Person";
1
+ import { Person } from "./Person.js";
2
2
  export interface Review {
3
3
  id: number;
4
4
  rating: number;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: Review.proto
6
6
  /* eslint-disable */
7
- import { Person } from "./Person";
7
+ import { Person } from "./Person.js";
8
8
  export const Review = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,4 +1,4 @@
1
- import { Deadline } from "./Deadline";
1
+ import { Deadline } from "./Deadline.js";
2
2
  export interface StartDate {
3
3
  isPassed: boolean;
4
4
  date: string;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: StartDate.proto
6
6
  /* eslint-disable */
7
- import { Deadline } from "./Deadline";
7
+ import { Deadline } from "./Deadline.js";
8
8
  export const StartDate = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,5 +1,5 @@
1
- import { Deadline } from "./Deadline";
2
- import { StartDate } from "./StartDate";
1
+ import { Deadline } from "./Deadline.js";
2
+ import { StartDate } from "./StartDate.js";
3
3
  export interface Timing {
4
4
  type: string;
5
5
  isStartingAnytime: boolean;
@@ -4,8 +4,8 @@
4
4
  // protoc v3.12.4
5
5
  // source: Timing.proto
6
6
  /* eslint-disable */
7
- import { Deadline } from "./Deadline";
8
- import { StartDate } from "./StartDate";
7
+ import { Deadline } from "./Deadline.js";
8
+ import { StartDate } from "./StartDate.js";
9
9
  export const Timing = {
10
10
  fromJSON(object) {
11
11
  return {
@@ -1,4 +1,4 @@
1
- import { Tracking } from "./Tracking";
1
+ import { Tracking } from "./Tracking.js";
2
2
  export interface TrackedLink {
3
3
  url: string;
4
4
  description: string;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: TrackedLink.proto
6
6
  /* eslint-disable */
7
- import { Tracking } from "./Tracking";
7
+ import { Tracking } from "./Tracking.js";
8
8
  export const TrackedLink = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,4 +1,4 @@
1
- import { ClickTracking } from "./ClickTracking";
1
+ import { ClickTracking } from "./ClickTracking.js";
2
2
  export interface Tracking {
3
3
  id: number;
4
4
  clickTracking: ClickTracking | undefined;
@@ -4,7 +4,7 @@
4
4
  // protoc v3.12.4
5
5
  // source: Tracking.proto
6
6
  /* eslint-disable */
7
- import { ClickTracking } from "./ClickTracking";
7
+ import { ClickTracking } from "./ClickTracking.js";
8
8
  export const Tracking = {
9
9
  fromJSON(object) {
10
10
  return {
@@ -1,45 +1,45 @@
1
1
  /**
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
- export * from "./Area";
5
- export * from "./Article";
6
- export * from "./Body";
7
- export * from "./CampaignInformation";
8
- export * from "./ClickTracking";
9
- export * from "./CommercialEntity";
10
- export * from "./Cover";
11
- export * from "./Deadline";
12
- export * from "./Degree";
13
- export * from "./Description";
14
- export * from "./Discipline";
15
- export * from "./Duration";
16
- export * from "./EnglishRequirement";
17
- export * from "./EssentialInformation";
18
- export * from "./File";
19
- export * from "./GPARequirement";
20
- export * from "./InternalLink";
21
- export * from "./Link";
22
- export * from "./LivingCost";
23
- export * from "./Location";
24
- export * from "./Logo";
25
- export * from "./MiniProgrammeCard";
26
- export * from "./OptionalLink";
27
- export * from "./Organisation";
28
- export * from "./OrganisationInformation";
29
- export * from "./OrganisationRanking";
30
- export * from "./Person";
31
- export * from "./ProgrammeCard";
32
- export * from "./ProgrammeGrid";
33
- export * from "./Ranking";
34
- export * from "./RankingInstitute";
35
- export * from "./Review";
36
- export * from "./ReviewRating";
37
- export * from "./RichText";
38
- export * from "./SocialLink";
39
- export * from "./StartDate";
40
- export * from "./Timing";
41
- export * from "./Topic";
42
- export * from "./TrackedLink";
43
- export * from "./Tracking";
44
- export * from "./TuitionFee";
45
- export * from "./Unibuddy";
4
+ export * from "./Area.js";
5
+ export * from "./Article.js";
6
+ export * from "./Body.js";
7
+ export * from "./CampaignInformation.js";
8
+ export * from "./ClickTracking.js";
9
+ export * from "./CommercialEntity.js";
10
+ export * from "./Cover.js";
11
+ export * from "./Deadline.js";
12
+ export * from "./Degree.js";
13
+ export * from "./Description.js";
14
+ export * from "./Discipline.js";
15
+ export * from "./Duration.js";
16
+ export * from "./EnglishRequirement.js";
17
+ export * from "./EssentialInformation.js";
18
+ export * from "./File.js";
19
+ export * from "./GPARequirement.js";
20
+ export * from "./InternalLink.js";
21
+ export * from "./Link.js";
22
+ export * from "./LivingCost.js";
23
+ export * from "./Location.js";
24
+ export * from "./Logo.js";
25
+ export * from "./MiniProgrammeCard.js";
26
+ export * from "./OptionalLink.js";
27
+ export * from "./Organisation.js";
28
+ export * from "./OrganisationInformation.js";
29
+ export * from "./OrganisationRanking.js";
30
+ export * from "./Person.js";
31
+ export * from "./ProgrammeCard.js";
32
+ export * from "./ProgrammeGrid.js";
33
+ export * from "./Ranking.js";
34
+ export * from "./RankingInstitute.js";
35
+ export * from "./Review.js";
36
+ export * from "./ReviewRating.js";
37
+ export * from "./RichText.js";
38
+ export * from "./SocialLink.js";
39
+ export * from "./StartDate.js";
40
+ export * from "./Timing.js";
41
+ export * from "./Topic.js";
42
+ export * from "./TrackedLink.js";
43
+ export * from "./Tracking.js";
44
+ export * from "./TuitionFee.js";
45
+ export * from "./Unibuddy.js";
package/protobuf/index.js CHANGED
@@ -1,45 +1,45 @@
1
1
  /**
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
- export * from "./Area";
5
- export * from "./Article";
6
- export * from "./Body";
7
- export * from "./CampaignInformation";
8
- export * from "./ClickTracking";
9
- export * from "./CommercialEntity";
10
- export * from "./Cover";
11
- export * from "./Deadline";
12
- export * from "./Degree";
13
- export * from "./Description";
14
- export * from "./Discipline";
15
- export * from "./Duration";
16
- export * from "./EnglishRequirement";
17
- export * from "./EssentialInformation";
18
- export * from "./File";
19
- export * from "./GPARequirement";
20
- export * from "./InternalLink";
21
- export * from "./Link";
22
- export * from "./LivingCost";
23
- export * from "./Location";
24
- export * from "./Logo";
25
- export * from "./MiniProgrammeCard";
26
- export * from "./OptionalLink";
27
- export * from "./Organisation";
28
- export * from "./OrganisationInformation";
29
- export * from "./OrganisationRanking";
30
- export * from "./Person";
31
- export * from "./ProgrammeCard";
32
- export * from "./ProgrammeGrid";
33
- export * from "./Ranking";
34
- export * from "./RankingInstitute";
35
- export * from "./Review";
36
- export * from "./ReviewRating";
37
- export * from "./RichText";
38
- export * from "./SocialLink";
39
- export * from "./StartDate";
40
- export * from "./Timing";
41
- export * from "./Topic";
42
- export * from "./TrackedLink";
43
- export * from "./Tracking";
44
- export * from "./TuitionFee";
45
- export * from "./Unibuddy";
4
+ export * from "./Area.js";
5
+ export * from "./Article.js";
6
+ export * from "./Body.js";
7
+ export * from "./CampaignInformation.js";
8
+ export * from "./ClickTracking.js";
9
+ export * from "./CommercialEntity.js";
10
+ export * from "./Cover.js";
11
+ export * from "./Deadline.js";
12
+ export * from "./Degree.js";
13
+ export * from "./Description.js";
14
+ export * from "./Discipline.js";
15
+ export * from "./Duration.js";
16
+ export * from "./EnglishRequirement.js";
17
+ export * from "./EssentialInformation.js";
18
+ export * from "./File.js";
19
+ export * from "./GPARequirement.js";
20
+ export * from "./InternalLink.js";
21
+ export * from "./Link.js";
22
+ export * from "./LivingCost.js";
23
+ export * from "./Location.js";
24
+ export * from "./Logo.js";
25
+ export * from "./MiniProgrammeCard.js";
26
+ export * from "./OptionalLink.js";
27
+ export * from "./Organisation.js";
28
+ export * from "./OrganisationInformation.js";
29
+ export * from "./OrganisationRanking.js";
30
+ export * from "./Person.js";
31
+ export * from "./ProgrammeCard.js";
32
+ export * from "./ProgrammeGrid.js";
33
+ export * from "./Ranking.js";
34
+ export * from "./RankingInstitute.js";
35
+ export * from "./Review.js";
36
+ export * from "./ReviewRating.js";
37
+ export * from "./RichText.js";
38
+ export * from "./SocialLink.js";
39
+ export * from "./StartDate.js";
40
+ export * from "./Timing.js";
41
+ export * from "./Topic.js";
42
+ export * from "./TrackedLink.js";
43
+ export * from "./Tracking.js";
44
+ export * from "./TuitionFee.js";
45
+ export * from "./Unibuddy.js";
@@ -1,5 +1,5 @@
1
- import { Article } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { Article } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export declare class ArticleDetailPageClient extends ProtobufClient<Article> {
4
4
  protected constructModel(data: Record<string, any>): Article;
5
5
  protected getModelName(): string;
@@ -1,5 +1,5 @@
1
- import { Article } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { Article } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export class ArticleDetailPageClient extends ProtobufClient {
4
4
  constructModel(data) {
5
5
  return Article.fromJSON(data);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
- export * from "./article-detail-page-client";
5
- export * from "./organisation-page-client";
6
- export * from "./protobuf-client";
7
- export * from "./public-mini-programme-card-client";
4
+ export * from "./article-detail-page-client.js";
5
+ export * from "./organisation-page-client.js";
6
+ export * from "./protobuf-client.js";
7
+ export * from "./public-mini-programme-card-client.js";
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @file Automatically generated by barrelsby.
3
3
  */
4
- export * from "./article-detail-page-client";
5
- export * from "./organisation-page-client";
6
- export * from "./protobuf-client";
7
- export * from "./public-mini-programme-card-client";
4
+ export * from "./article-detail-page-client.js";
5
+ export * from "./organisation-page-client.js";
6
+ export * from "./protobuf-client.js";
7
+ export * from "./public-mini-programme-card-client.js";
@@ -1,5 +1,5 @@
1
- import { Organisation } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { Organisation } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export declare class OrganisationPageClient extends ProtobufClient<Organisation> {
4
4
  protected constructModel(data: Record<string, any>): Organisation;
5
5
  protected getModelName(): string;
@@ -1,5 +1,5 @@
1
- import { Organisation } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { Organisation } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export class OrganisationPageClient extends ProtobufClient {
4
4
  constructModel(data) {
5
5
  return Organisation.fromJSON(data);
@@ -1,5 +1,5 @@
1
- import { PortalMap } from "../types/portal-map";
2
- import { PortalType } from "../types/portal-type";
1
+ import { PortalMap } from "../types/portal-map.js";
2
+ import { PortalType } from "../types/portal-type.js";
3
3
  export declare abstract class ProtobufClient<T> {
4
4
  static portalMap: PortalMap;
5
5
  private readonly domainClient;
@@ -1,4 +1,4 @@
1
- import { DomainClient } from "../domain-client";
1
+ import { DomainClient } from "../domain-client.js";
2
2
  export class ProtobufClient {
3
3
  static portalMap = new Map();
4
4
  domainClient;
@@ -1,5 +1,5 @@
1
- import { MiniProgrammeCard } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { MiniProgrammeCard } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export declare class PublicMiniProgrammeCardClient extends ProtobufClient<MiniProgrammeCard> {
4
4
  protected constructModel(data: Record<string, any>): MiniProgrammeCard;
5
5
  protected getModelName(): string;
@@ -1,5 +1,5 @@
1
- import { MiniProgrammeCard } from "../../protobuf";
2
- import { ProtobufClient } from "./protobuf-client";
1
+ import { MiniProgrammeCard } from "../../protobuf/index.js";
2
+ import { ProtobufClient } from "./protobuf-client.js";
3
3
  export class PublicMiniProgrammeCardClient extends ProtobufClient {
4
4
  constructModel(data) {
5
5
  return MiniProgrammeCard.fromJSON(data);
@@ -1,6 +1,6 @@
1
- import { BadRequestException } from "./exceptions/bad-request-exception";
2
- import { InternalServerException } from "./exceptions/internal-server-exception";
3
- import { NotFoundException } from "./exceptions/not-found-exception";
1
+ import { BadRequestException } from "./exceptions/bad-request-exception.js";
2
+ import { InternalServerException } from "./exceptions/internal-server-exception.js";
3
+ import { NotFoundException } from "./exceptions/not-found-exception.js";
4
4
  const decoder = new TextDecoder();
5
5
  export class DomainClient {
6
6
  baseUrl;
@@ -1,5 +1,5 @@
1
- import { IClassFactory } from "../i-class-factory";
2
- import { CallableReturnType, Model } from "../types";
1
+ import { IClassFactory } from "../i-class-factory.js";
2
+ import { CallableReturnType, Model } from "../types.js";
3
3
  export declare class DateFactory implements IClassFactory {
4
4
  create(data: Model, parameters: string[]): CallableReturnType;
5
5
  }
@@ -1,6 +1,6 @@
1
- import { IClassFactory } from "../i-class-factory";
2
- import { CallableReturnType, Model } from "../types";
3
- import { PortalMap } from "../types/portal-map";
1
+ import { IClassFactory } from "../i-class-factory.js";
2
+ import { CallableReturnType, Model } from "../types.js";
3
+ import { PortalMap } from "../types/portal-map.js";
4
4
  export declare class InternalLinkFactory implements IClassFactory {
5
5
  private portalMap;
6
6
  constructor(portalMap: PortalMap);
@@ -1,4 +1,4 @@
1
- import { IModelDescription } from "./i-model-description";
1
+ import { IModelDescription } from "./i-model-description.js";
2
2
  export interface IApiResponse {
3
3
  status: number;
4
4
  data: Record<number, IModelDescription | string>;
@@ -1,4 +1,4 @@
1
- import { CallableReturnType, Model } from "./types";
1
+ import { CallableReturnType, Model } from "./types.js";
2
2
  export interface IClassFactory {
3
3
  create(data: Model, parameters?: any[]): CallableReturnType;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { AcceptedType } from "./types";
1
+ import { AcceptedType } from "./types.js";
2
2
  export interface IModelDescription {
3
3
  class: string;
4
4
  func: Record<string, AcceptedType | IModelDescription>;
@@ -1,5 +1,5 @@
1
- import { IModelDescription } from "./i-model-description";
2
- import { PortalMap } from "./types/portal-map";
1
+ import { IModelDescription } from "./i-model-description.js";
2
+ import { PortalMap } from "./types/portal-map.js";
3
3
  export declare abstract class ModelClient<T> {
4
4
  private readonly domainClient;
5
5
  private readonly modelFactory;
@@ -1,6 +1,6 @@
1
- import { DomainClient } from "./domain-client";
2
- import { ClientException } from "./exceptions/client-exception";
3
- import { ModelFactory } from "./model-factory";
1
+ import { DomainClient } from "./domain-client.js";
2
+ import { ClientException } from "./exceptions/client-exception.js";
3
+ import { ModelFactory } from "./model-factory.js";
4
4
  export class ModelClient {
5
5
  domainClient;
6
6
  modelFactory;
@@ -1,5 +1,5 @@
1
- import { IModelDescription } from "./i-model-description";
2
- import { PortalMap } from "./types/portal-map";
1
+ import { IModelDescription } from "./i-model-description.js";
2
+ import { PortalMap } from "./types/portal-map.js";
3
3
  export declare class ModelFactory<T> {
4
4
  private customClassFactories;
5
5
  constructor(portalMap?: PortalMap);
@@ -1,7 +1,7 @@
1
- import { InternalLinkFactory } from "./factories/InternalLinkFactory";
2
- import { DateFactory } from "./factories/DateFactory";
3
- import { isModelDescription } from "./i-model-description";
4
- import { PropertyNotAvailableException } from "./exceptions/property-not-available-exception";
1
+ import { InternalLinkFactory } from "./factories/InternalLinkFactory.js";
2
+ import { DateFactory } from "./factories/DateFactory.js";
3
+ import { isModelDescription } from "./i-model-description.js";
4
+ import { PropertyNotAvailableException } from "./exceptions/property-not-available-exception.js";
5
5
  export class ModelFactory {
6
6
  customClassFactories;
7
7
  constructor(portalMap = new Map()) {
@@ -1,5 +1,5 @@
1
- import { IBestFitProgramme } from "../../..";
2
- import { ModelClient } from "../../model-client";
1
+ import { IBestFitProgramme } from "../../../index.js";
2
+ import { ModelClient } from "../../model-client.js";
3
3
  export declare class BestfitProgrammeClient extends ModelClient<IBestFitProgramme> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;
@@ -1,4 +1,4 @@
1
- import { ModelClient } from "../../model-client";
1
+ import { ModelClient } from "../../model-client.js";
2
2
  export class BestfitProgrammeClient extends ModelClient {
3
3
  getModelName() {
4
4
  return 'bestfit-programme';
@@ -1,4 +1,4 @@
1
- import { ICity, IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "../../..";
1
+ import { ICity, IEnglishRequirements, IGPARequirement, ILivingCost, ITuitionFee } from "../../../index.js";
2
2
  export interface IBestFitProgramme {
3
3
  /**
4
4
  * Average university ranking across multiple ranking institutes.
@@ -1,5 +1,5 @@
1
- import { ModelClient } from "../../model-client";
2
- import { ICitySearchDocument } from "../../..";
1
+ import { ModelClient } from "../../model-client.js";
2
+ import { ICitySearchDocument } from "../../../index.js";
3
3
  export declare class CitySearchDocumentClient extends ModelClient<ICitySearchDocument> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;
@@ -1,4 +1,4 @@
1
- import { ModelClient } from "../../model-client";
1
+ import { ModelClient } from "../../model-client.js";
2
2
  export class CitySearchDocumentClient extends ModelClient {
3
3
  getModelName() {
4
4
  return 'city-search-document';
@@ -1,5 +1,5 @@
1
- import { ICopilotCountry } from "../../..";
2
- import { ModelClient } from "../../model-client";
1
+ import { ICopilotCountry } from "../../../index.js";
2
+ import { ModelClient } from "../../model-client.js";
3
3
  export declare class CopilotCountryClient extends ModelClient<ICopilotCountry> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;
@@ -1,4 +1,4 @@
1
- import { ModelClient } from "../../model-client";
1
+ import { ModelClient } from "../../model-client.js";
2
2
  export class CopilotCountryClient extends ModelClient {
3
3
  getModelName() {
4
4
  return 'copilot-country';
@@ -1,4 +1,4 @@
1
- import { ICopilotRankingCard } from "./i-copilot-ranking-card";
1
+ import { ICopilotRankingCard } from "./i-copilot-ranking-card.js";
2
2
  export interface ICopilotCountry {
3
3
  /**
4
4
  * How to apply in country x text
@@ -1,5 +1,5 @@
1
- import { ICopilotProgramme } from "../../..";
2
- import { ModelClient } from "../../model-client";
1
+ import { ICopilotProgramme } from "../../../index.js";
2
+ import { ModelClient } from "../../model-client.js";
3
3
  export declare class CopilotProgrammeClient extends ModelClient<ICopilotProgramme> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;
@@ -1,4 +1,4 @@
1
- import { ModelClient } from "../../model-client";
1
+ import { ModelClient } from "../../model-client.js";
2
2
  export class CopilotProgrammeClient extends ModelClient {
3
3
  getModelName() {
4
4
  return 'copilot-programme';
@@ -1,4 +1,4 @@
1
- import { IEnglishRequirements, IGPARequirement, IGeoTargetingValues, IInternalLink, ILink, ILivingCost, ITiming, ITuitionValues } from "../../..";
1
+ import { IEnglishRequirements, IGPARequirement, IGeoTargetingValues, IInternalLink, ILink, ILivingCost, ITiming, ITuitionValues } from "../../../index.js";
2
2
  export interface ICopilotProgramme {
3
3
  /**
4
4
  * Get country the programme is taught in
@@ -1,5 +1,5 @@
1
- import { ICustomerIOOrganisation } from "../../..";
2
- import { ModelClient } from "../../model-client";
1
+ import { ICustomerIOOrganisation } from "../../../index.js";
2
+ import { ModelClient } from "../../model-client.js";
3
3
  export declare class CustomerIOOrganisationClient extends ModelClient<ICustomerIOOrganisation> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;
@@ -1,4 +1,4 @@
1
- import { ModelClient } from "../../model-client";
1
+ import { ModelClient } from "../../model-client.js";
2
2
  export class CustomerIOOrganisationClient extends ModelClient {
3
3
  getModelName() {
4
4
  return 'customerio-organisation';
@@ -1,4 +1,4 @@
1
- import { ICity, ICountry, IReview } from "../../..";
1
+ import { ICity, ICountry, IReview } from "../../../index.js";
2
2
  export interface ICustomerIOOrganisation {
3
3
  getAboutCareer(): string | null;
4
4
  getAboutEducation(): string | null;
@@ -1,5 +1,5 @@
1
- import { ICustomerIOProgramme } from "../../..";
2
- import { ModelClient } from "../../model-client";
1
+ import { ICustomerIOProgramme } from "../../../index.js";
2
+ import { ModelClient } from "../../model-client.js";
3
3
  export declare class CustomerIOProgrammeClient extends ModelClient<ICustomerIOProgramme> {
4
4
  protected getModelName(): string;
5
5
  protected getVersion(): string;