@pdc/sdk 0.16.9 → 0.17.2
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/.openapi-generator/FILES +0 -3
- package/dist/types/BaseField.d.ts +1 -0
- package/dist/types/BaseFieldLocalization.d.ts +2 -2
- package/dist/types/BulkUploadTask.d.ts +3 -0
- package/dist/types/Opportunity.d.ts +3 -0
- package/dist/types/UserDataProviderPermission.d.ts +1 -1
- package/dist/types/UserFunderPermission.d.ts +1 -1
- package/dist/types/UserGroupDataProviderPermission.d.ts +1 -1
- package/dist/types/UserGroupFunderPermission.d.ts +1 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.js +0 -3
- package/package.json +1 -1
- package/src/types/BaseField.ts +1 -0
- package/src/types/BaseFieldLocalization.ts +2 -2
- package/src/types/BulkUploadTask.ts +5 -0
- package/src/types/Opportunity.ts +5 -0
- package/src/types/UserDataProviderPermission.ts +1 -1
- package/src/types/UserFunderPermission.ts +1 -1
- package/src/types/UserGroupDataProviderPermission.ts +1 -1
- package/src/types/UserGroupFunderPermission.ts +1 -1
- package/src/types/index.ts +0 -3
- package/dist/types/ChangemakerRole.d.ts +0 -12
- package/dist/types/ChangemakerRole.js +0 -2
- package/dist/types/DataProviderRole.d.ts +0 -12
- package/dist/types/DataProviderRole.js +0 -2
- package/dist/types/FunderRole.d.ts +0 -12
- package/dist/types/FunderRole.js +0 -2
- package/src/types/ChangemakerRole.ts +0 -17
- package/src/types/DataProviderRole.ts +0 -17
- package/src/types/FunderRole.ts +0 -17
package/.openapi-generator/FILES
CHANGED
|
@@ -18,13 +18,10 @@ src/types/Changemaker.ts
|
|
|
18
18
|
src/types/ChangemakerBundle.ts
|
|
19
19
|
src/types/ChangemakerProposal.ts
|
|
20
20
|
src/types/ChangemakerProposalBundle.ts
|
|
21
|
-
src/types/ChangemakerRole.ts
|
|
22
21
|
src/types/DataProvider.ts
|
|
23
22
|
src/types/DataProviderBundle.ts
|
|
24
|
-
src/types/DataProviderRole.ts
|
|
25
23
|
src/types/Funder.ts
|
|
26
24
|
src/types/FunderBundle.ts
|
|
27
|
-
src/types/FunderRole.ts
|
|
28
25
|
src/types/Opportunity.ts
|
|
29
26
|
src/types/OpportunityBundle.ts
|
|
30
27
|
src/types/PartialChangemaker.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
export interface BaseFieldLocalization {
|
|
3
|
-
|
|
3
|
+
baseFieldId: number;
|
|
4
4
|
readonly language: string;
|
|
5
5
|
label: string;
|
|
6
6
|
description?: string;
|
|
7
|
-
|
|
7
|
+
createdAt?: string;
|
|
8
8
|
}
|
|
9
9
|
export type WritableBaseFieldLocalization = Writable<BaseFieldLocalization>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { Funder } from './Funder';
|
|
1
2
|
import { Source } from './Source';
|
|
2
3
|
import { Writable } from './Writable';
|
|
3
4
|
export interface BulkUploadTask {
|
|
4
5
|
readonly id: number;
|
|
5
6
|
sourceId: number;
|
|
6
7
|
readonly source?: Source;
|
|
8
|
+
funderShortCode?: string;
|
|
9
|
+
readonly funder?: Funder;
|
|
7
10
|
fileName: string;
|
|
8
11
|
readonly fileSize?: number;
|
|
9
12
|
sourceKey: string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { Funder } from './Funder';
|
|
1
2
|
import { Writable } from './Writable';
|
|
2
3
|
export interface Opportunity {
|
|
3
4
|
readonly id: number;
|
|
4
5
|
title: string;
|
|
6
|
+
funderShortCode?: string;
|
|
7
|
+
readonly funder?: Funder;
|
|
5
8
|
readonly createdAt: string;
|
|
6
9
|
}
|
|
7
10
|
export type WritableOpportunity = Writable<Opportunity>;
|
|
@@ -2,7 +2,7 @@ import { Permission } from './Permission';
|
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserDataProviderPermission {
|
|
4
4
|
readonly permission?: Permission;
|
|
5
|
-
|
|
5
|
+
dataProviderShortCode: string;
|
|
6
6
|
readonly userKeycloakUserId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
8
8
|
readonly createdAt: string;
|
|
@@ -2,7 +2,7 @@ import { Permission } from './Permission';
|
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserFunderPermission {
|
|
4
4
|
readonly permission: Permission;
|
|
5
|
-
|
|
5
|
+
funderShortCode: string;
|
|
6
6
|
readonly userKeycloakUserId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
8
8
|
readonly createdAt: string;
|
|
@@ -2,7 +2,7 @@ import { Permission } from './Permission';
|
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupDataProviderPermission {
|
|
4
4
|
readonly permission?: Permission;
|
|
5
|
-
|
|
5
|
+
dataProviderShortCode: string;
|
|
6
6
|
readonly keycloakOrganizationId?: string;
|
|
7
7
|
readonly createdBy: string;
|
|
8
8
|
readonly createdAt: string;
|
|
@@ -2,7 +2,7 @@ import { Permission } from './Permission';
|
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupFunderPermission {
|
|
4
4
|
readonly permission: Permission;
|
|
5
|
-
|
|
5
|
+
funderShortCode: string;
|
|
6
6
|
readonly keycloakOrganizationId?: string;
|
|
7
7
|
readonly createdBy: string;
|
|
8
8
|
readonly createdAt: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,13 +13,10 @@ export * from './Changemaker';
|
|
|
13
13
|
export * from './ChangemakerBundle';
|
|
14
14
|
export * from './ChangemakerProposal';
|
|
15
15
|
export * from './ChangemakerProposalBundle';
|
|
16
|
-
export * from './ChangemakerRole';
|
|
17
16
|
export * from './DataProvider';
|
|
18
17
|
export * from './DataProviderBundle';
|
|
19
|
-
export * from './DataProviderRole';
|
|
20
18
|
export * from './Funder';
|
|
21
19
|
export * from './FunderBundle';
|
|
22
|
-
export * from './FunderRole';
|
|
23
20
|
export * from './Opportunity';
|
|
24
21
|
export * from './OpportunityBundle';
|
|
25
22
|
export * from './PartialChangemaker';
|
package/dist/types/index.js
CHANGED
|
@@ -29,13 +29,10 @@ __exportStar(require("./Changemaker"), exports);
|
|
|
29
29
|
__exportStar(require("./ChangemakerBundle"), exports);
|
|
30
30
|
__exportStar(require("./ChangemakerProposal"), exports);
|
|
31
31
|
__exportStar(require("./ChangemakerProposalBundle"), exports);
|
|
32
|
-
__exportStar(require("./ChangemakerRole"), exports);
|
|
33
32
|
__exportStar(require("./DataProvider"), exports);
|
|
34
33
|
__exportStar(require("./DataProviderBundle"), exports);
|
|
35
|
-
__exportStar(require("./DataProviderRole"), exports);
|
|
36
34
|
__exportStar(require("./Funder"), exports);
|
|
37
35
|
__exportStar(require("./FunderBundle"), exports);
|
|
38
|
-
__exportStar(require("./FunderRole"), exports);
|
|
39
36
|
__exportStar(require("./Opportunity"), exports);
|
|
40
37
|
__exportStar(require("./OpportunityBundle"), exports);
|
|
41
38
|
__exportStar(require("./PartialChangemaker"), exports);
|
package/package.json
CHANGED
package/src/types/BaseField.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
|
|
3
3
|
export interface BaseFieldLocalization {
|
|
4
|
-
|
|
4
|
+
baseFieldId: number;
|
|
5
5
|
readonly language: string;
|
|
6
6
|
label: string;
|
|
7
7
|
description?: string;
|
|
8
|
-
|
|
8
|
+
createdAt?: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export type WritableBaseFieldLocalization = Writable<BaseFieldLocalization>
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Funder,
|
|
3
|
+
} from './Funder';
|
|
1
4
|
import {
|
|
2
5
|
Source,
|
|
3
6
|
} from './Source';
|
|
@@ -7,6 +10,8 @@ export interface BulkUploadTask {
|
|
|
7
10
|
readonly id: number;
|
|
8
11
|
sourceId: number;
|
|
9
12
|
readonly source?: Source;
|
|
13
|
+
funderShortCode?: string;
|
|
14
|
+
readonly funder?: Funder;
|
|
10
15
|
fileName: string;
|
|
11
16
|
readonly fileSize?: number;
|
|
12
17
|
sourceKey: string;
|
package/src/types/Opportunity.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Writable } from './Writable';
|
|
|
5
5
|
|
|
6
6
|
export interface UserDataProviderPermission {
|
|
7
7
|
readonly permission?: Permission;
|
|
8
|
-
|
|
8
|
+
dataProviderShortCode: string;
|
|
9
9
|
readonly userKeycloakUserId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
11
11
|
readonly createdAt: string;
|
|
@@ -5,7 +5,7 @@ import { Writable } from './Writable';
|
|
|
5
5
|
|
|
6
6
|
export interface UserFunderPermission {
|
|
7
7
|
readonly permission: Permission;
|
|
8
|
-
|
|
8
|
+
funderShortCode: string;
|
|
9
9
|
readonly userKeycloakUserId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
11
11
|
readonly createdAt: string;
|
|
@@ -5,7 +5,7 @@ import { Writable } from './Writable';
|
|
|
5
5
|
|
|
6
6
|
export interface UserGroupDataProviderPermission {
|
|
7
7
|
readonly permission?: Permission;
|
|
8
|
-
|
|
8
|
+
dataProviderShortCode: string;
|
|
9
9
|
readonly keycloakOrganizationId?: string;
|
|
10
10
|
readonly createdBy: string;
|
|
11
11
|
readonly createdAt: string;
|
|
@@ -5,7 +5,7 @@ import { Writable } from './Writable';
|
|
|
5
5
|
|
|
6
6
|
export interface UserGroupFunderPermission {
|
|
7
7
|
readonly permission: Permission;
|
|
8
|
-
|
|
8
|
+
funderShortCode: string;
|
|
9
9
|
readonly keycloakOrganizationId?: string;
|
|
10
10
|
readonly createdBy: string;
|
|
11
11
|
readonly createdAt: string;
|
package/src/types/index.ts
CHANGED
|
@@ -13,13 +13,10 @@ export * from './Changemaker';
|
|
|
13
13
|
export * from './ChangemakerBundle';
|
|
14
14
|
export * from './ChangemakerProposal';
|
|
15
15
|
export * from './ChangemakerProposalBundle';
|
|
16
|
-
export * from './ChangemakerRole';
|
|
17
16
|
export * from './DataProvider';
|
|
18
17
|
export * from './DataProviderBundle';
|
|
19
|
-
export * from './DataProviderRole';
|
|
20
18
|
export * from './Funder';
|
|
21
19
|
export * from './FunderBundle';
|
|
22
|
-
export * from './FunderRole';
|
|
23
20
|
export * from './Opportunity';
|
|
24
21
|
export * from './OpportunityBundle';
|
|
25
22
|
export * from './PartialChangemaker';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Permission } from './Permission';
|
|
2
|
-
import { Writable } from './Writable';
|
|
3
|
-
export interface ChangemakerRole {
|
|
4
|
-
readonly changemakerId: number;
|
|
5
|
-
readonly userKeycloakUserId: string;
|
|
6
|
-
readonly accessType?: Permission;
|
|
7
|
-
readonly createdBy?: string;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
}
|
|
10
|
-
export type WritableChangemakerRole = Writable<ChangemakerRole>;
|
|
11
|
-
export declare namespace ChangemakerRole {
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Permission } from './Permission';
|
|
2
|
-
import { Writable } from './Writable';
|
|
3
|
-
export interface DataProviderRole {
|
|
4
|
-
readonly dataProviderShortCode: string;
|
|
5
|
-
readonly userKeycloakUserId: string;
|
|
6
|
-
readonly accessType?: Permission;
|
|
7
|
-
readonly createdBy?: string;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
}
|
|
10
|
-
export type WritableDataProviderRole = Writable<DataProviderRole>;
|
|
11
|
-
export declare namespace DataProviderRole {
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Permission } from './Permission';
|
|
2
|
-
import { Writable } from './Writable';
|
|
3
|
-
export interface FunderRole {
|
|
4
|
-
readonly funderShortCode: string;
|
|
5
|
-
readonly userKeycloakUserId: string;
|
|
6
|
-
readonly accessType?: Permission;
|
|
7
|
-
readonly createdBy?: string;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
}
|
|
10
|
-
export type WritableFunderRole = Writable<FunderRole>;
|
|
11
|
-
export declare namespace FunderRole {
|
|
12
|
-
}
|
package/dist/types/FunderRole.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Permission,
|
|
3
|
-
} from './Permission';
|
|
4
|
-
import { Writable } from './Writable';
|
|
5
|
-
|
|
6
|
-
export interface ChangemakerRole {
|
|
7
|
-
readonly changemakerId: number;
|
|
8
|
-
readonly userKeycloakUserId: string;
|
|
9
|
-
readonly accessType?: Permission;
|
|
10
|
-
readonly createdBy?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type WritableChangemakerRole = Writable<ChangemakerRole>
|
|
15
|
-
|
|
16
|
-
export namespace ChangemakerRole {
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Permission,
|
|
3
|
-
} from './Permission';
|
|
4
|
-
import { Writable } from './Writable';
|
|
5
|
-
|
|
6
|
-
export interface DataProviderRole {
|
|
7
|
-
readonly dataProviderShortCode: string;
|
|
8
|
-
readonly userKeycloakUserId: string;
|
|
9
|
-
readonly accessType?: Permission;
|
|
10
|
-
readonly createdBy?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type WritableDataProviderRole = Writable<DataProviderRole>
|
|
15
|
-
|
|
16
|
-
export namespace DataProviderRole {
|
|
17
|
-
}
|
package/src/types/FunderRole.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Permission,
|
|
3
|
-
} from './Permission';
|
|
4
|
-
import { Writable } from './Writable';
|
|
5
|
-
|
|
6
|
-
export interface FunderRole {
|
|
7
|
-
readonly funderShortCode: string;
|
|
8
|
-
readonly userKeycloakUserId: string;
|
|
9
|
-
readonly accessType?: Permission;
|
|
10
|
-
readonly createdBy?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type WritableFunderRole = Writable<FunderRole>
|
|
15
|
-
|
|
16
|
-
export namespace FunderRole {
|
|
17
|
-
}
|