@pdc/sdk 0.9.2 → 0.11.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.
@@ -1 +1 @@
1
- 3.0.52
1
+ 3.0.56
@@ -4,7 +4,7 @@ export interface ApplicationFormField {
4
4
  readonly id: number;
5
5
  readonly applicationFormId: number;
6
6
  baseFieldId: number;
7
- baseField: BaseField & any;
7
+ readonly baseField: BaseField;
8
8
  position: number;
9
9
  label: string;
10
10
  readonly createdAt: Date;
@@ -0,0 +1,6 @@
1
+ import { BulkUpload } from './BulkUpload';
2
+ import { Writable } from './Writable';
3
+ export interface BulkUploadBundle {
4
+ entries: Array<BulkUpload>;
5
+ }
6
+ export type WritableBulkUploadBundle = Writable<BulkUploadBundle>;
@@ -2,7 +2,6 @@ import { Writable } from './Writable';
2
2
  export interface Organization {
3
3
  readonly id: number;
4
4
  taxId: string;
5
- employerIdentificationNumber?: string;
6
5
  name: string;
7
6
  readonly createdAt: Date;
8
7
  }
@@ -4,9 +4,9 @@ import { Writable } from './Writable';
4
4
  export interface OrganizationProposal {
5
5
  readonly id: number;
6
6
  organizationId: number;
7
- organization: Organization & any;
7
+ readonly organization: Organization;
8
8
  proposalId: number;
9
- proposal: Proposal & any;
9
+ readonly proposal: Proposal;
10
10
  readonly createdAt: Date;
11
11
  }
12
12
  export type WritableOrganizationProposal = Writable<OrganizationProposal>;
@@ -0,0 +1,7 @@
1
+ import { PresignedPostFields } from './PresignedPostFields';
2
+ import { Writable } from './Writable';
3
+ export interface PresignedPost {
4
+ url: string;
5
+ fields: PresignedPostFields;
6
+ }
7
+ export type WritablePresignedPost = Writable<PresignedPost>;
@@ -0,0 +1,5 @@
1
+ import { Writable } from './Writable';
2
+ export interface PresignedPostFields {
3
+ key: string;
4
+ }
5
+ export type WritablePresignedPostFields = Writable<PresignedPostFields>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
- import { PresignedPostRequestPresignedPost } from './PresignedPostRequestPresignedPost';
1
+ import { PresignedPost } from './PresignedPost';
2
2
  import { Writable } from './Writable';
3
3
  export interface PresignedPostRequest {
4
4
  fileType: string;
5
5
  fileSize: number;
6
- presignedPost: PresignedPostRequestPresignedPost;
6
+ readonly presignedPost: PresignedPost;
7
7
  }
8
8
  export type WritablePresignedPostRequest = Writable<PresignedPostRequest>;
@@ -4,7 +4,7 @@ export interface ProposalFieldValue {
4
4
  readonly id: number;
5
5
  readonly proposalVersionId: number;
6
6
  applicationFormFieldId: number;
7
- applicationFormField: ApplicationFormField & any;
7
+ readonly applicationFormField: ApplicationFormField;
8
8
  position: number;
9
9
  value: string;
10
10
  readonly isValid: boolean;
@@ -3,6 +3,7 @@ export * from './ApplicationFormBundle';
3
3
  export * from './ApplicationFormField';
4
4
  export * from './BaseField';
5
5
  export * from './BulkUpload';
6
+ export * from './BulkUploadBundle';
6
7
  export * from './Bundle';
7
8
  export * from './CreatedBy';
8
9
  export * from './Opportunity';
@@ -13,9 +14,9 @@ export * from './OrganizationProposal';
13
14
  export * from './OrganizationProposalBundle';
14
15
  export * from './PdcError';
15
16
  export * from './PlatformProviderResponse';
17
+ export * from './PresignedPost';
18
+ export * from './PresignedPostFields';
16
19
  export * from './PresignedPostRequest';
17
- export * from './PresignedPostRequestPresignedPost';
18
- export * from './PresignedPostRequestPresignedPostFields';
19
20
  export * from './Proposal';
20
21
  export * from './ProposalBundle';
21
22
  export * from './ProposalFieldValue';
@@ -19,6 +19,7 @@ __exportStar(require("./ApplicationFormBundle"), exports);
19
19
  __exportStar(require("./ApplicationFormField"), exports);
20
20
  __exportStar(require("./BaseField"), exports);
21
21
  __exportStar(require("./BulkUpload"), exports);
22
+ __exportStar(require("./BulkUploadBundle"), exports);
22
23
  __exportStar(require("./Bundle"), exports);
23
24
  __exportStar(require("./CreatedBy"), exports);
24
25
  __exportStar(require("./Opportunity"), exports);
@@ -29,9 +30,9 @@ __exportStar(require("./OrganizationProposal"), exports);
29
30
  __exportStar(require("./OrganizationProposalBundle"), exports);
30
31
  __exportStar(require("./PdcError"), exports);
31
32
  __exportStar(require("./PlatformProviderResponse"), exports);
33
+ __exportStar(require("./PresignedPost"), exports);
34
+ __exportStar(require("./PresignedPostFields"), exports);
32
35
  __exportStar(require("./PresignedPostRequest"), exports);
33
- __exportStar(require("./PresignedPostRequestPresignedPost"), exports);
34
- __exportStar(require("./PresignedPostRequestPresignedPostFields"), exports);
35
36
  __exportStar(require("./Proposal"), exports);
36
37
  __exportStar(require("./ProposalBundle"), exports);
37
38
  __exportStar(require("./ProposalFieldValue"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.9.2",
3
+ "version": "0.11.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -7,7 +7,7 @@ export interface ApplicationFormField {
7
7
  readonly id: number;
8
8
  readonly applicationFormId: number;
9
9
  baseFieldId: number;
10
- baseField: BaseField & any;
10
+ readonly baseField: BaseField;
11
11
  position: number;
12
12
  label: string;
13
13
  readonly createdAt: Date;
@@ -0,0 +1,15 @@
1
+ import {
2
+ BulkUpload,
3
+ } from './BulkUpload';
4
+ import {
5
+ Bundle,
6
+ } from './Bundle';
7
+ import { Writable } from './Writable';
8
+
9
+ export interface BulkUploadBundle {
10
+ entries: Array<BulkUpload>;
11
+ }
12
+
13
+ export type WritableBulkUploadBundle = Writable<BulkUploadBundle>
14
+
15
+
@@ -3,7 +3,6 @@ import { Writable } from './Writable';
3
3
  export interface Organization {
4
4
  readonly id: number;
5
5
  taxId: string;
6
- employerIdentificationNumber?: string;
7
6
  name: string;
8
7
  readonly createdAt: Date;
9
8
  }
@@ -9,9 +9,9 @@ import { Writable } from './Writable';
9
9
  export interface OrganizationProposal {
10
10
  readonly id: number;
11
11
  organizationId: number;
12
- organization: Organization & any;
12
+ readonly organization: Organization;
13
13
  proposalId: number;
14
- proposal: Proposal & any;
14
+ readonly proposal: Proposal;
15
15
  readonly createdAt: Date;
16
16
  }
17
17
 
@@ -0,0 +1,13 @@
1
+ import {
2
+ PresignedPostFields,
3
+ } from './PresignedPostFields';
4
+ import { Writable } from './Writable';
5
+
6
+ export interface PresignedPost {
7
+ url: string;
8
+ fields: PresignedPostFields;
9
+ }
10
+
11
+ export type WritablePresignedPost = Writable<PresignedPost>
12
+
13
+
@@ -0,0 +1,9 @@
1
+ import { Writable } from './Writable';
2
+
3
+ export interface PresignedPostFields {
4
+ key: string;
5
+ }
6
+
7
+ export type WritablePresignedPostFields = Writable<PresignedPostFields>
8
+
9
+
@@ -1,12 +1,12 @@
1
1
  import {
2
- PresignedPostRequestPresignedPost,
3
- } from './PresignedPostRequestPresignedPost';
2
+ PresignedPost,
3
+ } from './PresignedPost';
4
4
  import { Writable } from './Writable';
5
5
 
6
6
  export interface PresignedPostRequest {
7
7
  fileType: string;
8
8
  fileSize: number;
9
- presignedPost: PresignedPostRequestPresignedPost;
9
+ readonly presignedPost: PresignedPost;
10
10
  }
11
11
 
12
12
  export type WritablePresignedPostRequest = Writable<PresignedPostRequest>
@@ -7,7 +7,7 @@ export interface ProposalFieldValue {
7
7
  readonly id: number;
8
8
  readonly proposalVersionId: number;
9
9
  applicationFormFieldId: number;
10
- applicationFormField: ApplicationFormField & any;
10
+ readonly applicationFormField: ApplicationFormField;
11
11
  position: number;
12
12
  value: string;
13
13
  readonly isValid: boolean;
@@ -3,6 +3,7 @@ export * from './ApplicationFormBundle';
3
3
  export * from './ApplicationFormField';
4
4
  export * from './BaseField';
5
5
  export * from './BulkUpload';
6
+ export * from './BulkUploadBundle';
6
7
  export * from './Bundle';
7
8
  export * from './CreatedBy';
8
9
  export * from './Opportunity';
@@ -13,9 +14,9 @@ export * from './OrganizationProposal';
13
14
  export * from './OrganizationProposalBundle';
14
15
  export * from './PdcError';
15
16
  export * from './PlatformProviderResponse';
17
+ export * from './PresignedPost';
18
+ export * from './PresignedPostFields';
16
19
  export * from './PresignedPostRequest';
17
- export * from './PresignedPostRequestPresignedPost';
18
- export * from './PresignedPostRequestPresignedPostFields';
19
20
  export * from './Proposal';
20
21
  export * from './ProposalBundle';
21
22
  export * from './ProposalFieldValue';
@@ -1,7 +0,0 @@
1
- import { PresignedPostRequestPresignedPostFields } from './PresignedPostRequestPresignedPostFields';
2
- import { Writable } from './Writable';
3
- export interface PresignedPostRequestPresignedPost {
4
- url: string;
5
- fields: PresignedPostRequestPresignedPostFields;
6
- }
7
- export type WritablePresignedPostRequestPresignedPost = Writable<PresignedPostRequestPresignedPost>;
@@ -1,5 +0,0 @@
1
- import { Writable } from './Writable';
2
- export interface PresignedPostRequestPresignedPostFields {
3
- key: string;
4
- }
5
- export type WritablePresignedPostRequestPresignedPostFields = Writable<PresignedPostRequestPresignedPostFields>;
@@ -1,13 +0,0 @@
1
- import {
2
- PresignedPostRequestPresignedPostFields,
3
- } from './PresignedPostRequestPresignedPostFields';
4
- import { Writable } from './Writable';
5
-
6
- export interface PresignedPostRequestPresignedPost {
7
- url: string;
8
- fields: PresignedPostRequestPresignedPostFields;
9
- }
10
-
11
- export type WritablePresignedPostRequestPresignedPost = Writable<PresignedPostRequestPresignedPost>
12
-
13
-
@@ -1,9 +0,0 @@
1
- import { Writable } from './Writable';
2
-
3
- export interface PresignedPostRequestPresignedPostFields {
4
- key: string;
5
- }
6
-
7
- export type WritablePresignedPostRequestPresignedPostFields = Writable<PresignedPostRequestPresignedPostFields>
8
-
9
-