@pdc/sdk 0.14.1 → 0.15.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.
@@ -12,16 +12,16 @@ src/types/BaseFieldLocalizationBundle.ts
12
12
  src/types/BulkUpload.ts
13
13
  src/types/BulkUploadBundle.ts
14
14
  src/types/Bundle.ts
15
+ src/types/Changemaker.ts
16
+ src/types/ChangemakerBundle.ts
17
+ src/types/ChangemakerProposal.ts
18
+ src/types/ChangemakerProposalBundle.ts
15
19
  src/types/DataProvider.ts
16
20
  src/types/DataProviderBundle.ts
17
21
  src/types/Funder.ts
18
22
  src/types/FunderBundle.ts
19
23
  src/types/Opportunity.ts
20
24
  src/types/OpportunityBundle.ts
21
- src/types/Organization.ts
22
- src/types/OrganizationBundle.ts
23
- src/types/OrganizationProposal.ts
24
- src/types/OrganizationProposalBundle.ts
25
25
  src/types/PdcError.ts
26
26
  src/types/PlatformProviderResponse.ts
27
27
  src/types/PresignedPost.ts
@@ -24,6 +24,6 @@ export declare namespace BaseField {
24
24
  }
25
25
  enum ScopeEnum {
26
26
  Proposal = "proposal",
27
- Organization = "organization"
27
+ Changemaker = "changemaker"
28
28
  }
29
29
  }
@@ -15,6 +15,6 @@ var BaseField;
15
15
  let ScopeEnum;
16
16
  (function (ScopeEnum) {
17
17
  ScopeEnum["Proposal"] = "proposal";
18
- ScopeEnum["Organization"] = "organization";
18
+ ScopeEnum["Changemaker"] = "changemaker";
19
19
  })(ScopeEnum = BaseField.ScopeEnum || (BaseField.ScopeEnum = {}));
20
20
  })(BaseField || (exports.BaseField = BaseField = {}));
@@ -1,8 +1,8 @@
1
1
  import { Writable } from './Writable';
2
- export interface Organization {
2
+ export interface Changemaker {
3
3
  readonly id: number;
4
4
  taxId: string;
5
5
  name: string;
6
6
  readonly createdAt: string;
7
7
  }
8
- export type WritableOrganization = Writable<Organization>;
8
+ export type WritableChangemaker = Writable<Changemaker>;
@@ -0,0 +1,7 @@
1
+ import { Changemaker } from './Changemaker';
2
+ import { Writable } from './Writable';
3
+ export interface ChangemakerBundle {
4
+ entries: Array<Changemaker>;
5
+ total: number;
6
+ }
7
+ export type WritableChangemakerBundle = Writable<ChangemakerBundle>;
@@ -0,0 +1,12 @@
1
+ import { Changemaker } from './Changemaker';
2
+ import { Proposal } from './Proposal';
3
+ import { Writable } from './Writable';
4
+ export interface ChangemakerProposal {
5
+ readonly id: number;
6
+ changemakerId: number;
7
+ readonly changemaker: Changemaker;
8
+ proposalId: number;
9
+ readonly proposal: Proposal;
10
+ readonly createdAt: string;
11
+ }
12
+ export type WritableChangemakerProposal = Writable<ChangemakerProposal>;
@@ -0,0 +1,7 @@
1
+ import { ChangemakerProposal } from './ChangemakerProposal';
2
+ import { Writable } from './Writable';
3
+ export interface ChangemakerProposalBundle {
4
+ entries: Array<ChangemakerProposal>;
5
+ total: number;
6
+ }
7
+ export type WritableChangemakerProposalBundle = Writable<ChangemakerProposalBundle>;
@@ -1,6 +1,6 @@
1
+ import { Changemaker } from './Changemaker';
1
2
  import { DataProvider } from './DataProvider';
2
3
  import { Funder } from './Funder';
3
- import { Organization } from './Organization';
4
4
  import { Writable } from './Writable';
5
5
  export interface Source {
6
6
  readonly id: number;
@@ -11,7 +11,7 @@ export interface Source {
11
11
  readonly dataProvider: DataProvider;
12
12
  funderShortCode: string;
13
13
  readonly funder: Funder;
14
- organizationId: number;
15
- readonly organization: Organization;
14
+ changemakerId: number;
15
+ readonly changemaker: Changemaker;
16
16
  }
17
17
  export type WritableSource = Writable<Source>;
@@ -7,16 +7,16 @@ export * from './BaseFieldLocalizationBundle';
7
7
  export * from './BulkUpload';
8
8
  export * from './BulkUploadBundle';
9
9
  export * from './Bundle';
10
+ export * from './Changemaker';
11
+ export * from './ChangemakerBundle';
12
+ export * from './ChangemakerProposal';
13
+ export * from './ChangemakerProposalBundle';
10
14
  export * from './DataProvider';
11
15
  export * from './DataProviderBundle';
12
16
  export * from './Funder';
13
17
  export * from './FunderBundle';
14
18
  export * from './Opportunity';
15
19
  export * from './OpportunityBundle';
16
- export * from './Organization';
17
- export * from './OrganizationBundle';
18
- export * from './OrganizationProposal';
19
- export * from './OrganizationProposalBundle';
20
20
  export * from './PdcError';
21
21
  export * from './PlatformProviderResponse';
22
22
  export * from './PresignedPost';
@@ -23,16 +23,16 @@ __exportStar(require("./BaseFieldLocalizationBundle"), exports);
23
23
  __exportStar(require("./BulkUpload"), exports);
24
24
  __exportStar(require("./BulkUploadBundle"), exports);
25
25
  __exportStar(require("./Bundle"), exports);
26
+ __exportStar(require("./Changemaker"), exports);
27
+ __exportStar(require("./ChangemakerBundle"), exports);
28
+ __exportStar(require("./ChangemakerProposal"), exports);
29
+ __exportStar(require("./ChangemakerProposalBundle"), exports);
26
30
  __exportStar(require("./DataProvider"), exports);
27
31
  __exportStar(require("./DataProviderBundle"), exports);
28
32
  __exportStar(require("./Funder"), exports);
29
33
  __exportStar(require("./FunderBundle"), exports);
30
34
  __exportStar(require("./Opportunity"), exports);
31
35
  __exportStar(require("./OpportunityBundle"), exports);
32
- __exportStar(require("./Organization"), exports);
33
- __exportStar(require("./OrganizationBundle"), exports);
34
- __exportStar(require("./OrganizationProposal"), exports);
35
- __exportStar(require("./OrganizationProposalBundle"), exports);
36
36
  __exportStar(require("./PdcError"), exports);
37
37
  __exportStar(require("./PlatformProviderResponse"), exports);
38
38
  __exportStar(require("./PresignedPost"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.14.1",
3
+ "version": "0.15.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -27,6 +27,6 @@ export namespace BaseField {
27
27
  }
28
28
  export enum ScopeEnum {
29
29
  Proposal = 'proposal',
30
- Organization = 'organization',
30
+ Changemaker = 'changemaker',
31
31
  }
32
32
  }
@@ -1,12 +1,12 @@
1
1
  import { Writable } from './Writable';
2
2
 
3
- export interface Organization {
3
+ export interface Changemaker {
4
4
  readonly id: number;
5
5
  taxId: string;
6
6
  name: string;
7
7
  readonly createdAt: string;
8
8
  }
9
9
 
10
- export type WritableOrganization = Writable<Organization>
10
+ export type WritableChangemaker = Writable<Changemaker>
11
11
 
12
12
 
@@ -0,0 +1,13 @@
1
+ import {
2
+ Changemaker,
3
+ } from './Changemaker';
4
+ import { Writable } from './Writable';
5
+
6
+ export interface ChangemakerBundle {
7
+ entries: Array<Changemaker>;
8
+ total: number;
9
+ }
10
+
11
+ export type WritableChangemakerBundle = Writable<ChangemakerBundle>
12
+
13
+
@@ -0,0 +1,20 @@
1
+ import {
2
+ Changemaker,
3
+ } from './Changemaker';
4
+ import {
5
+ Proposal,
6
+ } from './Proposal';
7
+ import { Writable } from './Writable';
8
+
9
+ export interface ChangemakerProposal {
10
+ readonly id: number;
11
+ changemakerId: number;
12
+ readonly changemaker: Changemaker;
13
+ proposalId: number;
14
+ readonly proposal: Proposal;
15
+ readonly createdAt: string;
16
+ }
17
+
18
+ export type WritableChangemakerProposal = Writable<ChangemakerProposal>
19
+
20
+
@@ -0,0 +1,13 @@
1
+ import {
2
+ ChangemakerProposal,
3
+ } from './ChangemakerProposal';
4
+ import { Writable } from './Writable';
5
+
6
+ export interface ChangemakerProposalBundle {
7
+ entries: Array<ChangemakerProposal>;
8
+ total: number;
9
+ }
10
+
11
+ export type WritableChangemakerProposalBundle = Writable<ChangemakerProposalBundle>
12
+
13
+
@@ -1,12 +1,12 @@
1
+ import {
2
+ Changemaker,
3
+ } from './Changemaker';
1
4
  import {
2
5
  DataProvider,
3
6
  } from './DataProvider';
4
7
  import {
5
8
  Funder,
6
9
  } from './Funder';
7
- import {
8
- Organization,
9
- } from './Organization';
10
10
  import { Writable } from './Writable';
11
11
 
12
12
  export interface Source {
@@ -18,8 +18,8 @@ export interface Source {
18
18
  readonly dataProvider: DataProvider;
19
19
  funderShortCode: string;
20
20
  readonly funder: Funder;
21
- organizationId: number;
22
- readonly organization: Organization;
21
+ changemakerId: number;
22
+ readonly changemaker: Changemaker;
23
23
  }
24
24
 
25
25
  export type WritableSource = Writable<Source>
@@ -7,16 +7,16 @@ export * from './BaseFieldLocalizationBundle';
7
7
  export * from './BulkUpload';
8
8
  export * from './BulkUploadBundle';
9
9
  export * from './Bundle';
10
+ export * from './Changemaker';
11
+ export * from './ChangemakerBundle';
12
+ export * from './ChangemakerProposal';
13
+ export * from './ChangemakerProposalBundle';
10
14
  export * from './DataProvider';
11
15
  export * from './DataProviderBundle';
12
16
  export * from './Funder';
13
17
  export * from './FunderBundle';
14
18
  export * from './Opportunity';
15
19
  export * from './OpportunityBundle';
16
- export * from './Organization';
17
- export * from './OrganizationBundle';
18
- export * from './OrganizationProposal';
19
- export * from './OrganizationProposalBundle';
20
20
  export * from './PdcError';
21
21
  export * from './PlatformProviderResponse';
22
22
  export * from './PresignedPost';
@@ -1,7 +0,0 @@
1
- import { Organization } from './Organization';
2
- import { Writable } from './Writable';
3
- export interface OrganizationBundle {
4
- entries: Array<Organization>;
5
- total: number;
6
- }
7
- export type WritableOrganizationBundle = Writable<OrganizationBundle>;
@@ -1,12 +0,0 @@
1
- import { Organization } from './Organization';
2
- import { Proposal } from './Proposal';
3
- import { Writable } from './Writable';
4
- export interface OrganizationProposal {
5
- readonly id: number;
6
- organizationId: number;
7
- readonly organization: Organization;
8
- proposalId: number;
9
- readonly proposal: Proposal;
10
- readonly createdAt: string;
11
- }
12
- export type WritableOrganizationProposal = Writable<OrganizationProposal>;
@@ -1,7 +0,0 @@
1
- import { OrganizationProposal } from './OrganizationProposal';
2
- import { Writable } from './Writable';
3
- export interface OrganizationProposalBundle {
4
- entries: Array<OrganizationProposal>;
5
- total: number;
6
- }
7
- export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>;
@@ -1,13 +0,0 @@
1
- import {
2
- Organization,
3
- } from './Organization';
4
- import { Writable } from './Writable';
5
-
6
- export interface OrganizationBundle {
7
- entries: Array<Organization>;
8
- total: number;
9
- }
10
-
11
- export type WritableOrganizationBundle = Writable<OrganizationBundle>
12
-
13
-
@@ -1,20 +0,0 @@
1
- import {
2
- Organization,
3
- } from './Organization';
4
- import {
5
- Proposal,
6
- } from './Proposal';
7
- import { Writable } from './Writable';
8
-
9
- export interface OrganizationProposal {
10
- readonly id: number;
11
- organizationId: number;
12
- readonly organization: Organization;
13
- proposalId: number;
14
- readonly proposal: Proposal;
15
- readonly createdAt: string;
16
- }
17
-
18
- export type WritableOrganizationProposal = Writable<OrganizationProposal>
19
-
20
-
@@ -1,13 +0,0 @@
1
- import {
2
- OrganizationProposal,
3
- } from './OrganizationProposal';
4
- import { Writable } from './Writable';
5
-
6
- export interface OrganizationProposalBundle {
7
- entries: Array<OrganizationProposal>;
8
- total: number;
9
- }
10
-
11
- export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>
12
-
13
-
File without changes