@pdc/sdk 0.16.8 → 0.16.9

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.
@@ -38,6 +38,8 @@ src/types/Proposal.ts
38
38
  src/types/ProposalBundle.ts
39
39
  src/types/ProposalFieldValue.ts
40
40
  src/types/ProposalVersion.ts
41
+ src/types/PutFiscalSponsorshipByChangemakerIds200Response.ts
42
+ src/types/ShallowChangemaker.ts
41
43
  src/types/Source.ts
42
44
  src/types/SourceBundle.ts
43
45
  src/types/User.ts
@@ -1,4 +1,5 @@
1
1
  import { ProposalFieldValue } from './ProposalFieldValue';
2
+ import { ShallowChangemaker } from './ShallowChangemaker';
2
3
  import { Writable } from './Writable';
3
4
  export interface Changemaker {
4
5
  readonly id: number;
@@ -6,6 +7,7 @@ export interface Changemaker {
6
7
  name: string;
7
8
  keycloakOrganizationId?: string;
8
9
  readonly createdAt: string;
10
+ fiscalSponsors: Array<ShallowChangemaker>;
9
11
  fields: Array<ProposalFieldValue>;
10
12
  }
11
13
  export type WritableChangemaker = Writable<Changemaker>;
@@ -0,0 +1,9 @@
1
+ import { Writable } from './Writable';
2
+ export interface PutFiscalSponsorshipByChangemakerIds200Response {
3
+ fiscalSponseeChangemakerId: number;
4
+ fiscalSponsorChangemakerId: number;
5
+ readonly createdAt: string;
6
+ readonly createdBy: string;
7
+ readonly notAfter: string;
8
+ }
9
+ export type WritablePutFiscalSponsorshipByChangemakerIds200Response = Writable<PutFiscalSponsorshipByChangemakerIds200Response>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { Writable } from './Writable';
2
+ export interface ShallowChangemaker {
3
+ readonly id: number;
4
+ taxId: string;
5
+ name: string;
6
+ keycloakOrganizationId?: string;
7
+ readonly createdAt: string;
8
+ }
9
+ export type WritableShallowChangemaker = Writable<ShallowChangemaker>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,6 +33,8 @@ export * from './Proposal';
33
33
  export * from './ProposalBundle';
34
34
  export * from './ProposalFieldValue';
35
35
  export * from './ProposalVersion';
36
+ export * from './PutFiscalSponsorshipByChangemakerIds200Response';
37
+ export * from './ShallowChangemaker';
36
38
  export * from './Source';
37
39
  export * from './SourceBundle';
38
40
  export * from './User';
@@ -49,6 +49,8 @@ __exportStar(require("./Proposal"), exports);
49
49
  __exportStar(require("./ProposalBundle"), exports);
50
50
  __exportStar(require("./ProposalFieldValue"), exports);
51
51
  __exportStar(require("./ProposalVersion"), exports);
52
+ __exportStar(require("./PutFiscalSponsorshipByChangemakerIds200Response"), exports);
53
+ __exportStar(require("./ShallowChangemaker"), exports);
52
54
  __exportStar(require("./Source"), exports);
53
55
  __exportStar(require("./SourceBundle"), exports);
54
56
  __exportStar(require("./User"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.16.8",
3
+ "version": "0.16.9",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  ProposalFieldValue,
3
3
  } from './ProposalFieldValue';
4
+ import {
5
+ ShallowChangemaker,
6
+ } from './ShallowChangemaker';
4
7
  import { Writable } from './Writable';
5
8
 
6
9
  export interface Changemaker {
@@ -9,6 +12,7 @@ export interface Changemaker {
9
12
  name: string;
10
13
  keycloakOrganizationId?: string;
11
14
  readonly createdAt: string;
15
+ fiscalSponsors: Array<ShallowChangemaker>;
12
16
  fields: Array<ProposalFieldValue>;
13
17
  }
14
18
 
@@ -0,0 +1,13 @@
1
+ import { Writable } from './Writable';
2
+
3
+ export interface PutFiscalSponsorshipByChangemakerIds200Response {
4
+ fiscalSponseeChangemakerId: number;
5
+ fiscalSponsorChangemakerId: number;
6
+ readonly createdAt: string;
7
+ readonly createdBy: string;
8
+ readonly notAfter: string;
9
+ }
10
+
11
+ export type WritablePutFiscalSponsorshipByChangemakerIds200Response = Writable<PutFiscalSponsorshipByChangemakerIds200Response>
12
+
13
+
@@ -0,0 +1,13 @@
1
+ import { Writable } from './Writable';
2
+
3
+ export interface ShallowChangemaker {
4
+ readonly id: number;
5
+ taxId: string;
6
+ name: string;
7
+ keycloakOrganizationId?: string;
8
+ readonly createdAt: string;
9
+ }
10
+
11
+ export type WritableShallowChangemaker = Writable<ShallowChangemaker>
12
+
13
+
@@ -33,6 +33,8 @@ export * from './Proposal';
33
33
  export * from './ProposalBundle';
34
34
  export * from './ProposalFieldValue';
35
35
  export * from './ProposalVersion';
36
+ export * from './PutFiscalSponsorshipByChangemakerIds200Response';
37
+ export * from './ShallowChangemaker';
36
38
  export * from './Source';
37
39
  export * from './SourceBundle';
38
40
  export * from './User';