@pdc/sdk 0.18.1 → 0.20.2

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.
@@ -8,8 +8,9 @@ export interface BaseField {
8
8
  [key: string]: BaseFieldLocalization;
9
9
  };
10
10
  dataType: BaseField.DataTypeEnum;
11
- scope: BaseField.ScopeEnum;
12
- valueRelevanceHours?: number;
11
+ category: BaseField.CategoryEnum;
12
+ valueRelevanceHours: number;
13
+ sensitivityClassification: BaseField.SensitivityClassificationEnum;
13
14
  readonly createdAt: string;
14
15
  }
15
16
  export type WritableBaseField = Writable<BaseField>;
@@ -22,8 +23,22 @@ export declare namespace BaseField {
22
23
  Url = "url",
23
24
  Boolean = "boolean"
24
25
  }
25
- enum ScopeEnum {
26
- Proposal = "proposal",
27
- Changemaker = "changemaker"
26
+ enum CategoryEnum {
27
+ Project = "project",
28
+ Organization = "organization",
29
+ NeedsAssessment = "needs_assessment",
30
+ Methodology = "methodology",
31
+ Budget = "budget",
32
+ Evaluation = "evaluation",
33
+ Sustainability = "sustainability",
34
+ Partnerships = "partnerships",
35
+ Outcomes = "outcomes",
36
+ Technical = "technical",
37
+ Uncategorized = "uncategorized"
38
+ }
39
+ enum SensitivityClassificationEnum {
40
+ Public = "public",
41
+ Restricted = "restricted",
42
+ Forbidden = "forbidden"
28
43
  }
29
44
  }
@@ -12,9 +12,24 @@ var BaseField;
12
12
  DataTypeEnum["Url"] = "url";
13
13
  DataTypeEnum["Boolean"] = "boolean";
14
14
  })(DataTypeEnum = BaseField.DataTypeEnum || (BaseField.DataTypeEnum = {}));
15
- let ScopeEnum;
16
- (function (ScopeEnum) {
17
- ScopeEnum["Proposal"] = "proposal";
18
- ScopeEnum["Changemaker"] = "changemaker";
19
- })(ScopeEnum = BaseField.ScopeEnum || (BaseField.ScopeEnum = {}));
15
+ let CategoryEnum;
16
+ (function (CategoryEnum) {
17
+ CategoryEnum["Project"] = "project";
18
+ CategoryEnum["Organization"] = "organization";
19
+ CategoryEnum["NeedsAssessment"] = "needs_assessment";
20
+ CategoryEnum["Methodology"] = "methodology";
21
+ CategoryEnum["Budget"] = "budget";
22
+ CategoryEnum["Evaluation"] = "evaluation";
23
+ CategoryEnum["Sustainability"] = "sustainability";
24
+ CategoryEnum["Partnerships"] = "partnerships";
25
+ CategoryEnum["Outcomes"] = "outcomes";
26
+ CategoryEnum["Technical"] = "technical";
27
+ CategoryEnum["Uncategorized"] = "uncategorized";
28
+ })(CategoryEnum = BaseField.CategoryEnum || (BaseField.CategoryEnum = {}));
29
+ let SensitivityClassificationEnum;
30
+ (function (SensitivityClassificationEnum) {
31
+ SensitivityClassificationEnum["Public"] = "public";
32
+ SensitivityClassificationEnum["Restricted"] = "restricted";
33
+ SensitivityClassificationEnum["Forbidden"] = "forbidden";
34
+ })(SensitivityClassificationEnum = BaseField.SensitivityClassificationEnum || (BaseField.SensitivityClassificationEnum = {}));
20
35
  })(BaseField || (exports.BaseField = BaseField = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdc/sdk",
3
- "version": "0.18.1",
3
+ "version": "0.20.2",
4
4
  "description": "A swagger client for the Philanthropy Data Commons (PDC)",
5
5
  "author": "Open Tech Strategies",
6
6
  "keywords": [
@@ -9,8 +9,9 @@ export interface BaseField {
9
9
  description: string;
10
10
  readonly localizations?: { [key: string]: BaseFieldLocalization; };
11
11
  dataType: BaseField.DataTypeEnum;
12
- scope: BaseField.ScopeEnum;
13
- valueRelevanceHours?: number;
12
+ category: BaseField.CategoryEnum;
13
+ valueRelevanceHours: number;
14
+ sensitivityClassification: BaseField.SensitivityClassificationEnum;
14
15
  readonly createdAt: string;
15
16
  }
16
17
 
@@ -25,8 +26,22 @@ export namespace BaseField {
25
26
  Url = 'url',
26
27
  Boolean = 'boolean',
27
28
  }
28
- export enum ScopeEnum {
29
- Proposal = 'proposal',
30
- Changemaker = 'changemaker',
29
+ export enum CategoryEnum {
30
+ Project = 'project',
31
+ Organization = 'organization',
32
+ NeedsAssessment = 'needs_assessment',
33
+ Methodology = 'methodology',
34
+ Budget = 'budget',
35
+ Evaluation = 'evaluation',
36
+ Sustainability = 'sustainability',
37
+ Partnerships = 'partnerships',
38
+ Outcomes = 'outcomes',
39
+ Technical = 'technical',
40
+ Uncategorized = 'uncategorized',
41
+ }
42
+ export enum SensitivityClassificationEnum {
43
+ Public = 'public',
44
+ Restricted = 'restricted',
45
+ Forbidden = 'forbidden',
31
46
  }
32
47
  }