@pdc/sdk 0.22.2 → 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.
@@ -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
@@ -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>;
@@ -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';
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.22.2",
3
+ "version": "0.23.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -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
+
@@ -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
-