@pdc/sdk 0.17.2 → 0.18.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.
@@ -3,7 +3,7 @@ import { Writable } from './Writable';
3
3
  export interface ApplicationFormField {
4
4
  readonly id: number;
5
5
  readonly applicationFormId: number;
6
- baseFieldId: number;
6
+ baseFieldShortCode: string;
7
7
  readonly baseField: BaseField;
8
8
  position: number;
9
9
  label: string;
@@ -1,10 +1,9 @@
1
1
  import { BaseFieldLocalization } from './BaseFieldLocalization';
2
2
  import { Writable } from './Writable';
3
3
  export interface BaseField {
4
- readonly id: number;
4
+ shortCode: string;
5
5
  label: string;
6
6
  description: string;
7
- shortCode: string;
8
7
  readonly localizations?: {
9
8
  [key: string]: BaseFieldLocalization;
10
9
  };
@@ -1,6 +1,6 @@
1
1
  import { Writable } from './Writable';
2
2
  export interface BaseFieldLocalization {
3
- baseFieldId: number;
3
+ baseFieldShortCode: string;
4
4
  readonly language: string;
5
5
  label: string;
6
6
  description?: string;
@@ -7,6 +7,7 @@ export interface ProposalFieldValue {
7
7
  readonly applicationFormField: ApplicationFormField;
8
8
  position: number;
9
9
  value: string;
10
+ goodAsOf?: string;
10
11
  readonly isValid: boolean;
11
12
  readonly createdAt: string;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.17.2",
3
+ "version": "0.18.1",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -6,7 +6,7 @@ import { Writable } from './Writable';
6
6
  export interface ApplicationFormField {
7
7
  readonly id: number;
8
8
  readonly applicationFormId: number;
9
- baseFieldId: number;
9
+ baseFieldShortCode: string;
10
10
  readonly baseField: BaseField;
11
11
  position: number;
12
12
  label: string;
@@ -4,10 +4,9 @@ import {
4
4
  import { Writable } from './Writable';
5
5
 
6
6
  export interface BaseField {
7
- readonly id: number;
7
+ shortCode: string;
8
8
  label: string;
9
9
  description: string;
10
- shortCode: string;
11
10
  readonly localizations?: { [key: string]: BaseFieldLocalization; };
12
11
  dataType: BaseField.DataTypeEnum;
13
12
  scope: BaseField.ScopeEnum;
@@ -1,7 +1,7 @@
1
1
  import { Writable } from './Writable';
2
2
 
3
3
  export interface BaseFieldLocalization {
4
- baseFieldId: number;
4
+ baseFieldShortCode: string;
5
5
  readonly language: string;
6
6
  label: string;
7
7
  description?: string;
@@ -10,6 +10,7 @@ export interface ProposalFieldValue {
10
10
  readonly applicationFormField: ApplicationFormField;
11
11
  position: number;
12
12
  value: string;
13
+ goodAsOf?: string;
13
14
  readonly isValid: boolean;
14
15
  readonly createdAt: string;
15
16
  }