@pdc/sdk 0.25.5 → 0.27.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.
@@ -6,6 +6,7 @@ src/index.ts
6
6
  src/types/ApplicationForm.ts
7
7
  src/types/ApplicationFormBundle.ts
8
8
  src/types/ApplicationFormField.ts
9
+ src/types/ApplicationFormFieldPatch.ts
9
10
  src/types/BaseField.ts
10
11
  src/types/BaseFieldLocalization.ts
11
12
  src/types/BaseFieldLocalizationBundle.ts
@@ -18,6 +19,8 @@ src/types/BulkUploadTaskBundle.ts
18
19
  src/types/Bundle.ts
19
20
  src/types/Changemaker.ts
20
21
  src/types/ChangemakerBundle.ts
22
+ src/types/ChangemakerFieldValue.ts
23
+ src/types/ChangemakerFieldValueBatch.ts
21
24
  src/types/ChangemakerProposal.ts
22
25
  src/types/ChangemakerProposalBundle.ts
23
26
  src/types/DataProvider.ts
@@ -0,0 +1,6 @@
1
+ import { Writable } from './Writable';
2
+ export interface ApplicationFormFieldPatch {
3
+ label?: string;
4
+ instructions?: string;
5
+ }
6
+ export type WritableApplicationFormFieldPatch = Writable<ApplicationFormFieldPatch>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import { Funder } from './Funder';
2
2
  import { Source } from './Source';
3
+ import { User } from './User';
3
4
  import { Writable } from './Writable';
4
5
  export interface BulkUploadTask {
5
6
  readonly id: number;
@@ -13,6 +14,7 @@ export interface BulkUploadTask {
13
14
  attachmentsArchiveFile?: any;
14
15
  readonly status: BulkUploadTask.StatusEnum;
15
16
  readonly createdBy: string;
17
+ readonly createdByUser: User;
16
18
  readonly createdAt: string;
17
19
  logs: Array<string>;
18
20
  }
@@ -0,0 +1,17 @@
1
+ import { BaseField } from './BaseField';
2
+ import { ChangemakerFieldValueBatch } from './ChangemakerFieldValueBatch';
3
+ import { Writable } from './Writable';
4
+ export interface ChangemakerFieldValue {
5
+ readonly id: number;
6
+ changemakerId: number;
7
+ baseFieldShortCode: string;
8
+ readonly baseField: BaseField;
9
+ batchId: number;
10
+ readonly batch: ChangemakerFieldValueBatch;
11
+ value: string;
12
+ file?: any;
13
+ goodAsOf: string;
14
+ readonly isValid: boolean;
15
+ readonly createdAt: string;
16
+ }
17
+ export type WritableChangemakerFieldValue = Writable<ChangemakerFieldValue>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import { Source } from './Source';
2
+ import { Writable } from './Writable';
3
+ export interface ChangemakerFieldValueBatch {
4
+ id: number;
5
+ sourceId: number;
6
+ readonly source: Source;
7
+ notes: string;
8
+ readonly createdAt: string;
9
+ }
10
+ export type WritableChangemakerFieldValueBatch = Writable<ChangemakerFieldValueBatch>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,7 @@
1
1
  export * from './ApplicationForm';
2
2
  export * from './ApplicationFormBundle';
3
3
  export * from './ApplicationFormField';
4
+ export * from './ApplicationFormFieldPatch';
4
5
  export * from './BaseField';
5
6
  export * from './BaseFieldLocalization';
6
7
  export * from './BaseFieldLocalizationBundle';
@@ -13,6 +14,8 @@ export * from './BulkUploadTaskBundle';
13
14
  export * from './Bundle';
14
15
  export * from './Changemaker';
15
16
  export * from './ChangemakerBundle';
17
+ export * from './ChangemakerFieldValue';
18
+ export * from './ChangemakerFieldValueBatch';
16
19
  export * from './ChangemakerProposal';
17
20
  export * from './ChangemakerProposalBundle';
18
21
  export * from './DataProvider';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ApplicationForm"), exports);
18
18
  __exportStar(require("./ApplicationFormBundle"), exports);
19
19
  __exportStar(require("./ApplicationFormField"), exports);
20
+ __exportStar(require("./ApplicationFormFieldPatch"), exports);
20
21
  __exportStar(require("./BaseField"), exports);
21
22
  __exportStar(require("./BaseFieldLocalization"), exports);
22
23
  __exportStar(require("./BaseFieldLocalizationBundle"), exports);
@@ -29,6 +30,8 @@ __exportStar(require("./BulkUploadTaskBundle"), exports);
29
30
  __exportStar(require("./Bundle"), exports);
30
31
  __exportStar(require("./Changemaker"), exports);
31
32
  __exportStar(require("./ChangemakerBundle"), exports);
33
+ __exportStar(require("./ChangemakerFieldValue"), exports);
34
+ __exportStar(require("./ChangemakerFieldValueBatch"), exports);
32
35
  __exportStar(require("./ChangemakerProposal"), exports);
33
36
  __exportStar(require("./ChangemakerProposalBundle"), exports);
34
37
  __exportStar(require("./DataProvider"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.25.5",
3
+ "version": "0.27.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -18,5 +18,9 @@
18
18
  "@tsconfig/node18": "^18.2.2",
19
19
  "rimraf": "^5.0.5",
20
20
  "typescript": "^5.3.3"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/PhilanthropyDataCommons/service.git"
21
25
  }
22
26
  }
@@ -0,0 +1,10 @@
1
+ import { Writable } from './Writable';
2
+
3
+ export interface ApplicationFormFieldPatch {
4
+ label?: string;
5
+ instructions?: string;
6
+ }
7
+
8
+ export type WritableApplicationFormFieldPatch = Writable<ApplicationFormFieldPatch>
9
+
10
+
@@ -4,6 +4,9 @@ import {
4
4
  import {
5
5
  Source,
6
6
  } from './Source';
7
+ import {
8
+ User,
9
+ } from './User';
7
10
  import { Writable } from './Writable';
8
11
 
9
12
  export interface BulkUploadTask {
@@ -18,6 +21,7 @@ export interface BulkUploadTask {
18
21
  attachmentsArchiveFile?: any;
19
22
  readonly status: BulkUploadTask.StatusEnum;
20
23
  readonly createdBy: string;
24
+ readonly createdByUser: User;
21
25
  readonly createdAt: string;
22
26
  logs: Array<string>;
23
27
  }
@@ -0,0 +1,25 @@
1
+ import {
2
+ BaseField,
3
+ } from './BaseField';
4
+ import {
5
+ ChangemakerFieldValueBatch,
6
+ } from './ChangemakerFieldValueBatch';
7
+ import { Writable } from './Writable';
8
+
9
+ export interface ChangemakerFieldValue {
10
+ readonly id: number;
11
+ changemakerId: number;
12
+ baseFieldShortCode: string;
13
+ readonly baseField: BaseField;
14
+ batchId: number;
15
+ readonly batch: ChangemakerFieldValueBatch;
16
+ value: string;
17
+ file?: any;
18
+ goodAsOf: string;
19
+ readonly isValid: boolean;
20
+ readonly createdAt: string;
21
+ }
22
+
23
+ export type WritableChangemakerFieldValue = Writable<ChangemakerFieldValue>
24
+
25
+
@@ -0,0 +1,16 @@
1
+ import {
2
+ Source,
3
+ } from './Source';
4
+ import { Writable } from './Writable';
5
+
6
+ export interface ChangemakerFieldValueBatch {
7
+ id: number;
8
+ sourceId: number;
9
+ readonly source: Source;
10
+ notes: string;
11
+ readonly createdAt: string;
12
+ }
13
+
14
+ export type WritableChangemakerFieldValueBatch = Writable<ChangemakerFieldValueBatch>
15
+
16
+
@@ -1,6 +1,7 @@
1
1
  export * from './ApplicationForm';
2
2
  export * from './ApplicationFormBundle';
3
3
  export * from './ApplicationFormField';
4
+ export * from './ApplicationFormFieldPatch';
4
5
  export * from './BaseField';
5
6
  export * from './BaseFieldLocalization';
6
7
  export * from './BaseFieldLocalizationBundle';
@@ -13,6 +14,8 @@ export * from './BulkUploadTaskBundle';
13
14
  export * from './Bundle';
14
15
  export * from './Changemaker';
15
16
  export * from './ChangemakerBundle';
17
+ export * from './ChangemakerFieldValue';
18
+ export * from './ChangemakerFieldValueBatch';
16
19
  export * from './ChangemakerProposal';
17
20
  export * from './ChangemakerProposalBundle';
18
21
  export * from './DataProvider';