@pdc/sdk 0.4.1 → 0.5.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,8 +1,10 @@
1
+ import { BaseField } from './BaseField';
1
2
  import { Writable } from './Writable';
2
3
  export interface ApplicationFormField {
3
4
  readonly id: number;
4
5
  readonly applicationFormId: number;
5
6
  baseFieldId: number;
7
+ baseField?: BaseField;
6
8
  position: number;
7
9
  label: string;
8
10
  readonly createdAt: Date;
@@ -0,0 +1,12 @@
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
+ organization?: Organization & any;
8
+ proposalId: number;
9
+ proposal?: Proposal & any;
10
+ readonly createdAt: Date;
11
+ }
12
+ export type WritableOrganizationProposal = Writable<OrganizationProposal>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ import { OrganizationProposal } from './OrganizationProposal';
2
+ import { Writable } from './Writable';
3
+ export interface OrganizationProposalBundle {
4
+ entries: Array<OrganizationProposal>;
5
+ }
6
+ export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,6 +6,8 @@ export * from './Bundle';
6
6
  export * from './Opportunity';
7
7
  export * from './Organization';
8
8
  export * from './OrganizationBundle';
9
+ export * from './OrganizationProposal';
10
+ export * from './OrganizationProposalBundle';
9
11
  export * from './PdcError';
10
12
  export * from './PlatformProviderResponse';
11
13
  export * from './PresignedPostRequest';
@@ -22,6 +22,8 @@ __exportStar(require("./Bundle"), exports);
22
22
  __exportStar(require("./Opportunity"), exports);
23
23
  __exportStar(require("./Organization"), exports);
24
24
  __exportStar(require("./OrganizationBundle"), exports);
25
+ __exportStar(require("./OrganizationProposal"), exports);
26
+ __exportStar(require("./OrganizationProposalBundle"), exports);
25
27
  __exportStar(require("./PdcError"), exports);
26
28
  __exportStar(require("./PlatformProviderResponse"), exports);
27
29
  __exportStar(require("./PresignedPostRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.4.1",
3
+ "version": "0.5.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -1,9 +1,13 @@
1
+ import {
2
+ BaseField,
3
+ } from './BaseField';
1
4
  import { Writable } from './Writable';
2
5
 
3
6
  export interface ApplicationFormField {
4
7
  readonly id: number;
5
8
  readonly applicationFormId: number;
6
9
  baseFieldId: number;
10
+ baseField?: BaseField;
7
11
  position: number;
8
12
  label: string;
9
13
  readonly createdAt: Date;
@@ -0,0 +1,20 @@
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
+ organization?: Organization & any;
13
+ proposalId: number;
14
+ proposal?: Proposal & any;
15
+ readonly createdAt: Date;
16
+ }
17
+
18
+ export type WritableOrganizationProposal = Writable<OrganizationProposal>
19
+
20
+
@@ -0,0 +1,15 @@
1
+ import {
2
+ Bundle,
3
+ } from './Bundle';
4
+ import {
5
+ OrganizationProposal,
6
+ } from './OrganizationProposal';
7
+ import { Writable } from './Writable';
8
+
9
+ export interface OrganizationProposalBundle {
10
+ entries: Array<OrganizationProposal>;
11
+ }
12
+
13
+ export type WritableOrganizationProposalBundle = Writable<OrganizationProposalBundle>
14
+
15
+
@@ -6,6 +6,8 @@ export * from './Bundle';
6
6
  export * from './Opportunity';
7
7
  export * from './Organization';
8
8
  export * from './OrganizationBundle';
9
+ export * from './OrganizationProposal';
10
+ export * from './OrganizationProposalBundle';
9
11
  export * from './PdcError';
10
12
  export * from './PlatformProviderResponse';
11
13
  export * from './PresignedPostRequest';