@studyportals/domain-client 8.5.1-beta.16 → 8.5.1-beta.21
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/package.json +1 -1
- package/src/clients/index.d.ts +3 -0
- package/src/clients/index.js +3 -0
- package/src/clients/partner-api-organisation-client.d.ts +8 -0
- package/src/clients/partner-api-organisation-client.js +16 -0
- package/src/clients/partner-api-programs-client.d.ts +8 -0
- package/src/clients/partner-api-programs-client.js +16 -0
- package/src/clients/partner-api-scholarship-client.d.ts +8 -0
- package/src/clients/partner-api-scholarship-client.js +16 -0
package/package.json
CHANGED
package/src/clients/index.d.ts
CHANGED
|
@@ -7,3 +7,6 @@ export * from "./organisation-page-client.js";
|
|
|
7
7
|
export * from "./programme-card-v2-client.js";
|
|
8
8
|
export * from "./protobuf-client.js";
|
|
9
9
|
export * from "./public-mini-programme-card-client.js";
|
|
10
|
+
export * from "./partner-api-organisation-client.js";
|
|
11
|
+
export * from "./partner-api-programs-client.js";
|
|
12
|
+
export * from "./partner-api-scholarship-client.js";
|
package/src/clients/index.js
CHANGED
|
@@ -7,3 +7,6 @@ export * from "./organisation-page-client.js";
|
|
|
7
7
|
export * from "./programme-card-v2-client.js";
|
|
8
8
|
export * from "./protobuf-client.js";
|
|
9
9
|
export * from "./public-mini-programme-card-client.js";
|
|
10
|
+
export * from "./partner-api-organisation-client.js";
|
|
11
|
+
export * from "./partner-api-programs-client.js";
|
|
12
|
+
export * from "./partner-api-scholarship-client.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PartnerApiOrganisation } from "../../protobuf/PartnerApi/PartnerApiOrganisation.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export declare class PartnerApiOrganisationClient extends ProtobufClient<PartnerApiOrganisation> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): PartnerApiOrganisation;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PartnerApiOrganisation } from "../../protobuf/PartnerApi/PartnerApiOrganisation.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export class PartnerApiOrganisationClient extends ProtobufClient {
|
|
4
|
+
constructModel(data) {
|
|
5
|
+
return PartnerApiOrganisation.fromJSON(data);
|
|
6
|
+
}
|
|
7
|
+
getModelName() {
|
|
8
|
+
return 'partner-api-organisation';
|
|
9
|
+
}
|
|
10
|
+
getVersion() {
|
|
11
|
+
return 'v1';
|
|
12
|
+
}
|
|
13
|
+
isPublic() {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PartnerApiProgramme } from "../../protobuf/PartnerApi/PartnerApiProgramme.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export declare class PartnerApiProgramsClient extends ProtobufClient<PartnerApiProgramme> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): PartnerApiProgramme;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PartnerApiProgramme } from "../../protobuf/PartnerApi/PartnerApiProgramme.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export class PartnerApiProgramsClient extends ProtobufClient {
|
|
4
|
+
constructModel(data) {
|
|
5
|
+
return PartnerApiProgramme.fromJSON(data);
|
|
6
|
+
}
|
|
7
|
+
getModelName() {
|
|
8
|
+
return 'partner-api-programs';
|
|
9
|
+
}
|
|
10
|
+
getVersion() {
|
|
11
|
+
return 'v1';
|
|
12
|
+
}
|
|
13
|
+
isPublic() {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PartnerApiScholarship } from "../../protobuf/PartnerApi/PartnerApiScholarship.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export declare class PartnerApiScholarshipClient extends ProtobufClient<PartnerApiScholarship> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): PartnerApiScholarship;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PartnerApiScholarship } from "../../protobuf/PartnerApi/PartnerApiScholarship.js";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client.js";
|
|
3
|
+
export class PartnerApiScholarshipClient extends ProtobufClient {
|
|
4
|
+
constructModel(data) {
|
|
5
|
+
return PartnerApiScholarship.fromJSON(data);
|
|
6
|
+
}
|
|
7
|
+
getModelName() {
|
|
8
|
+
return 'partner-api-scholarship';
|
|
9
|
+
}
|
|
10
|
+
getVersion() {
|
|
11
|
+
return 'v1';
|
|
12
|
+
}
|
|
13
|
+
isPublic() {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
}
|