@pdc/sdk 0.22.1 → 0.23.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.
- package/.openapi-generator/FILES +1 -1
- package/dist/types/BaseFieldLocalization.d.ts +1 -1
- package/dist/types/DataProvider.d.ts +2 -2
- package/dist/types/Funder.d.ts +1 -1
- package/dist/types/ModelFile.d.ts +13 -0
- package/dist/types/Proposal.d.ts +2 -0
- package/dist/types/ProposalFieldValue.d.ts +1 -1
- package/dist/types/Source.d.ts +0 -1
- package/dist/types/UserDataProviderPermission.d.ts +1 -1
- package/dist/types/UserGroupChangemakerPermission.d.ts +1 -1
- package/dist/types/UserGroupDataProviderPermission.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/src/types/BaseFieldLocalization.ts +1 -1
- package/src/types/DataProvider.ts +2 -2
- package/src/types/Funder.ts +1 -1
- package/src/types/ModelFile.ts +17 -0
- package/src/types/Proposal.ts +4 -0
- package/src/types/ProposalFieldValue.ts +1 -1
- package/src/types/Source.ts +0 -1
- package/src/types/UserDataProviderPermission.ts +1 -1
- package/src/types/UserGroupChangemakerPermission.ts +1 -1
- package/src/types/UserGroupDataProviderPermission.ts +1 -1
- package/src/types/index.ts +1 -1
- package/dist/types/PresignedPostRequest.d.ts +0 -8
- package/src/types/PresignedPostRequest.ts +0 -14
- /package/dist/types/{PresignedPostRequest.js → ModelFile.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -26,6 +26,7 @@ src/types/FunderCollaborativeInvitation.ts
|
|
|
26
26
|
src/types/FunderCollaborativeInvitationBundle.ts
|
|
27
27
|
src/types/FunderCollaborativeMember.ts
|
|
28
28
|
src/types/FunderCollaborativeMemberBundle.ts
|
|
29
|
+
src/types/ModelFile.ts
|
|
29
30
|
src/types/Opportunity.ts
|
|
30
31
|
src/types/OpportunityBundle.ts
|
|
31
32
|
src/types/OpportunityPermission.ts
|
|
@@ -36,7 +37,6 @@ src/types/Permission.ts
|
|
|
36
37
|
src/types/PlatformProviderResponse.ts
|
|
37
38
|
src/types/PresignedPost.ts
|
|
38
39
|
src/types/PresignedPostFields.ts
|
|
39
|
-
src/types/PresignedPostRequest.ts
|
|
40
40
|
src/types/Proposal.ts
|
|
41
41
|
src/types/ProposalBundle.ts
|
|
42
42
|
src/types/ProposalFieldValue.ts
|
|
@@ -3,7 +3,7 @@ export interface BaseFieldLocalization {
|
|
|
3
3
|
baseFieldShortCode: string;
|
|
4
4
|
readonly language: string;
|
|
5
5
|
label: string;
|
|
6
|
-
description
|
|
6
|
+
description: string;
|
|
7
7
|
createdAt?: string;
|
|
8
8
|
}
|
|
9
9
|
export type WritableBaseFieldLocalization = Writable<BaseFieldLocalization>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
export interface DataProvider {
|
|
3
|
-
shortCode
|
|
3
|
+
shortCode: string;
|
|
4
4
|
name: string;
|
|
5
|
-
keycloakOrganizationId
|
|
5
|
+
keycloakOrganizationId: string;
|
|
6
6
|
readonly createdAt: string;
|
|
7
7
|
}
|
|
8
8
|
export type WritableDataProvider = Writable<DataProvider>;
|
package/dist/types/Funder.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
export interface ModelFile {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
readonly storageKey: string;
|
|
6
|
+
mimeType: string;
|
|
7
|
+
size: number;
|
|
8
|
+
readonly bucketName: string;
|
|
9
|
+
readonly bucketRegion: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
export type WritableModelFile = Writable<ModelFile>;
|
package/dist/types/Proposal.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { Opportunity } from './Opportunity';
|
|
1
2
|
import { ProposalVersion } from './ProposalVersion';
|
|
2
3
|
import { Writable } from './Writable';
|
|
3
4
|
export interface Proposal {
|
|
4
5
|
readonly id: number;
|
|
5
6
|
opportunityId: number;
|
|
7
|
+
readonly opportunity?: Opportunity;
|
|
6
8
|
externalId: string;
|
|
7
9
|
versions: Array<ProposalVersion>;
|
|
8
10
|
readonly createdAt: string;
|
package/dist/types/Source.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserDataProviderPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
dataProviderShortCode: string;
|
|
6
6
|
readonly userKeycloakUserId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupChangemakerPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
readonly changemakerId: number;
|
|
6
6
|
readonly keycloakOrganizationId: string;
|
|
7
7
|
readonly createdBy: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserGroupDataProviderPermission {
|
|
4
|
-
readonly permission
|
|
4
|
+
readonly permission: Permission;
|
|
5
5
|
dataProviderShortCode: string;
|
|
6
6
|
readonly keycloakOrganizationId: string;
|
|
7
7
|
readonly createdBy: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './FunderCollaborativeInvitation';
|
|
|
21
21
|
export * from './FunderCollaborativeInvitationBundle';
|
|
22
22
|
export * from './FunderCollaborativeMember';
|
|
23
23
|
export * from './FunderCollaborativeMemberBundle';
|
|
24
|
+
export * from './ModelFile';
|
|
24
25
|
export * from './Opportunity';
|
|
25
26
|
export * from './OpportunityBundle';
|
|
26
27
|
export * from './OpportunityPermission';
|
|
@@ -31,7 +32,6 @@ export * from './Permission';
|
|
|
31
32
|
export * from './PlatformProviderResponse';
|
|
32
33
|
export * from './PresignedPost';
|
|
33
34
|
export * from './PresignedPostFields';
|
|
34
|
-
export * from './PresignedPostRequest';
|
|
35
35
|
export * from './Proposal';
|
|
36
36
|
export * from './ProposalBundle';
|
|
37
37
|
export * from './ProposalFieldValue';
|
package/dist/types/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./FunderCollaborativeInvitation"), exports);
|
|
|
37
37
|
__exportStar(require("./FunderCollaborativeInvitationBundle"), exports);
|
|
38
38
|
__exportStar(require("./FunderCollaborativeMember"), exports);
|
|
39
39
|
__exportStar(require("./FunderCollaborativeMemberBundle"), exports);
|
|
40
|
+
__exportStar(require("./ModelFile"), exports);
|
|
40
41
|
__exportStar(require("./Opportunity"), exports);
|
|
41
42
|
__exportStar(require("./OpportunityBundle"), exports);
|
|
42
43
|
__exportStar(require("./OpportunityPermission"), exports);
|
|
@@ -47,7 +48,6 @@ __exportStar(require("./Permission"), exports);
|
|
|
47
48
|
__exportStar(require("./PlatformProviderResponse"), exports);
|
|
48
49
|
__exportStar(require("./PresignedPost"), exports);
|
|
49
50
|
__exportStar(require("./PresignedPostFields"), exports);
|
|
50
|
-
__exportStar(require("./PresignedPostRequest"), exports);
|
|
51
51
|
__exportStar(require("./Proposal"), exports);
|
|
52
52
|
__exportStar(require("./ProposalBundle"), exports);
|
|
53
53
|
__exportStar(require("./ProposalFieldValue"), exports);
|
package/package.json
CHANGED
package/src/types/Funder.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
|
|
3
|
+
export interface ModelFile {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
readonly storageKey: string;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
size: number;
|
|
9
|
+
readonly bucketName: string;
|
|
10
|
+
readonly bucketRegion: string;
|
|
11
|
+
readonly createdBy: string;
|
|
12
|
+
readonly createdAt: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type WritableModelFile = Writable<ModelFile>
|
|
16
|
+
|
|
17
|
+
|
package/src/types/Proposal.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Opportunity,
|
|
3
|
+
} from './Opportunity';
|
|
1
4
|
import {
|
|
2
5
|
ProposalVersion,
|
|
3
6
|
} from './ProposalVersion';
|
|
@@ -6,6 +9,7 @@ import { Writable } from './Writable';
|
|
|
6
9
|
export interface Proposal {
|
|
7
10
|
readonly id: number;
|
|
8
11
|
opportunityId: number;
|
|
12
|
+
readonly opportunity?: Opportunity;
|
|
9
13
|
externalId: string;
|
|
10
14
|
versions: Array<ProposalVersion>;
|
|
11
15
|
readonly createdAt: string;
|
package/src/types/Source.ts
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserDataProviderPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
dataProviderShortCode: string;
|
|
9
9
|
readonly userKeycloakUserId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserGroupChangemakerPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
readonly changemakerId: number;
|
|
9
9
|
readonly keycloakOrganizationId: string;
|
|
10
10
|
readonly createdBy: string;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserGroupDataProviderPermission {
|
|
7
|
-
readonly permission
|
|
7
|
+
readonly permission: Permission;
|
|
8
8
|
dataProviderShortCode: string;
|
|
9
9
|
readonly keycloakOrganizationId: string;
|
|
10
10
|
readonly createdBy: string;
|
package/src/types/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './FunderCollaborativeInvitation';
|
|
|
21
21
|
export * from './FunderCollaborativeInvitationBundle';
|
|
22
22
|
export * from './FunderCollaborativeMember';
|
|
23
23
|
export * from './FunderCollaborativeMemberBundle';
|
|
24
|
+
export * from './ModelFile';
|
|
24
25
|
export * from './Opportunity';
|
|
25
26
|
export * from './OpportunityBundle';
|
|
26
27
|
export * from './OpportunityPermission';
|
|
@@ -31,7 +32,6 @@ export * from './Permission';
|
|
|
31
32
|
export * from './PlatformProviderResponse';
|
|
32
33
|
export * from './PresignedPost';
|
|
33
34
|
export * from './PresignedPostFields';
|
|
34
|
-
export * from './PresignedPostRequest';
|
|
35
35
|
export * from './Proposal';
|
|
36
36
|
export * from './ProposalBundle';
|
|
37
37
|
export * from './ProposalFieldValue';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PresignedPost } from './PresignedPost';
|
|
2
|
-
import { Writable } from './Writable';
|
|
3
|
-
export interface PresignedPostRequest {
|
|
4
|
-
fileType: string;
|
|
5
|
-
fileSize: number;
|
|
6
|
-
readonly presignedPost: PresignedPost;
|
|
7
|
-
}
|
|
8
|
-
export type WritablePresignedPostRequest = Writable<PresignedPostRequest>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PresignedPost,
|
|
3
|
-
} from './PresignedPost';
|
|
4
|
-
import { Writable } from './Writable';
|
|
5
|
-
|
|
6
|
-
export interface PresignedPostRequest {
|
|
7
|
-
fileType: string;
|
|
8
|
-
fileSize: number;
|
|
9
|
-
readonly presignedPost: PresignedPost;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type WritablePresignedPostRequest = Writable<PresignedPostRequest>
|
|
13
|
-
|
|
14
|
-
|
|
File without changes
|