@pdc/sdk 0.9.1 → 0.10.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.
- package/dist/types/ApplicationForm.d.ts +1 -1
- package/dist/types/ApplicationFormField.d.ts +1 -1
- package/dist/types/BaseField.d.ts +2 -2
- package/dist/types/BulkUpload.d.ts +4 -4
- package/dist/types/Organization.d.ts +0 -1
- package/dist/types/OrganizationProposal.d.ts +2 -2
- package/dist/types/Proposal.d.ts +2 -2
- package/dist/types/ProposalFieldValue.d.ts +1 -1
- package/dist/types/ProposalVersion.d.ts +2 -2
- package/package.json +1 -1
- package/src/types/ApplicationForm.ts +1 -1
- package/src/types/ApplicationFormField.ts +1 -1
- package/src/types/BaseField.ts +2 -2
- package/src/types/BulkUpload.ts +4 -4
- package/src/types/Organization.ts +0 -1
- package/src/types/OrganizationProposal.ts +2 -2
- package/src/types/Proposal.ts +2 -2
- package/src/types/ProposalFieldValue.ts +1 -1
- package/src/types/ProposalVersion.ts +2 -2
|
@@ -4,7 +4,7 @@ export interface ApplicationForm {
|
|
|
4
4
|
readonly id: number;
|
|
5
5
|
opportunityId: number;
|
|
6
6
|
readonly version: number;
|
|
7
|
-
fields
|
|
7
|
+
fields: Array<ApplicationFormField>;
|
|
8
8
|
readonly createdAt: Date;
|
|
9
9
|
}
|
|
10
10
|
export type WritableApplicationForm = Writable<ApplicationForm>;
|
|
@@ -2,10 +2,10 @@ import { Writable } from './Writable';
|
|
|
2
2
|
export interface BaseField {
|
|
3
3
|
readonly id: number;
|
|
4
4
|
label: string;
|
|
5
|
-
description
|
|
5
|
+
description: string;
|
|
6
6
|
shortCode: string;
|
|
7
7
|
dataType: BaseField.DataTypeEnum;
|
|
8
|
-
readonly scope
|
|
8
|
+
readonly scope: BaseField.ScopeEnum;
|
|
9
9
|
readonly createdAt: Date;
|
|
10
10
|
}
|
|
11
11
|
export type WritableBaseField = Writable<BaseField>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
export interface BulkUpload {
|
|
3
|
-
readonly id
|
|
3
|
+
readonly id: number;
|
|
4
4
|
fileName: string;
|
|
5
5
|
readonly fileSize?: number;
|
|
6
6
|
sourceKey: string;
|
|
7
|
-
readonly status
|
|
8
|
-
readonly createdBy
|
|
9
|
-
readonly createdAt
|
|
7
|
+
readonly status: BulkUpload.StatusEnum;
|
|
8
|
+
readonly createdBy: number;
|
|
9
|
+
readonly createdAt: Date;
|
|
10
10
|
}
|
|
11
11
|
export type WritableBulkUpload = Writable<BulkUpload>;
|
|
12
12
|
export declare namespace BulkUpload {
|
|
@@ -4,9 +4,9 @@ import { Writable } from './Writable';
|
|
|
4
4
|
export interface OrganizationProposal {
|
|
5
5
|
readonly id: number;
|
|
6
6
|
organizationId: number;
|
|
7
|
-
organization
|
|
7
|
+
organization: Organization & any;
|
|
8
8
|
proposalId: number;
|
|
9
|
-
proposal
|
|
9
|
+
proposal: Proposal & any;
|
|
10
10
|
readonly createdAt: Date;
|
|
11
11
|
}
|
|
12
12
|
export type WritableOrganizationProposal = Writable<OrganizationProposal>;
|
package/dist/types/Proposal.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export interface Proposal {
|
|
|
4
4
|
readonly id: number;
|
|
5
5
|
opportunityId: number;
|
|
6
6
|
externalId: string;
|
|
7
|
-
readonly versions
|
|
7
|
+
readonly versions: Array<ProposalVersion>;
|
|
8
8
|
readonly createdAt: Date;
|
|
9
|
-
readonly createdBy
|
|
9
|
+
readonly createdBy: number;
|
|
10
10
|
}
|
|
11
11
|
export type WritableProposal = Writable<Proposal>;
|
|
@@ -4,7 +4,7 @@ export interface ProposalFieldValue {
|
|
|
4
4
|
readonly id: number;
|
|
5
5
|
readonly proposalVersionId: number;
|
|
6
6
|
applicationFormFieldId: number;
|
|
7
|
-
applicationFormField
|
|
7
|
+
applicationFormField: ApplicationFormField & any;
|
|
8
8
|
position: number;
|
|
9
9
|
value: string;
|
|
10
10
|
readonly isValid: boolean;
|
|
@@ -3,9 +3,9 @@ import { Writable } from './Writable';
|
|
|
3
3
|
export interface ProposalVersion {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
proposalId: number;
|
|
6
|
-
applicationFormId
|
|
6
|
+
applicationFormId: number;
|
|
7
7
|
readonly version: number;
|
|
8
|
-
fieldValues
|
|
8
|
+
fieldValues: Array<ProposalFieldValue>;
|
|
9
9
|
readonly createdAt: Date;
|
|
10
10
|
}
|
|
11
11
|
export type WritableProposalVersion = Writable<ProposalVersion>;
|
package/package.json
CHANGED
package/src/types/BaseField.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { Writable } from './Writable';
|
|
|
3
3
|
export interface BaseField {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
label: string;
|
|
6
|
-
description
|
|
6
|
+
description: string;
|
|
7
7
|
shortCode: string;
|
|
8
8
|
dataType: BaseField.DataTypeEnum;
|
|
9
|
-
readonly scope
|
|
9
|
+
readonly scope: BaseField.ScopeEnum;
|
|
10
10
|
readonly createdAt: Date;
|
|
11
11
|
}
|
|
12
12
|
|
package/src/types/BulkUpload.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Writable } from './Writable';
|
|
2
2
|
|
|
3
3
|
export interface BulkUpload {
|
|
4
|
-
readonly id
|
|
4
|
+
readonly id: number;
|
|
5
5
|
fileName: string;
|
|
6
6
|
readonly fileSize?: number;
|
|
7
7
|
sourceKey: string;
|
|
8
|
-
readonly status
|
|
9
|
-
readonly createdBy
|
|
10
|
-
readonly createdAt
|
|
8
|
+
readonly status: BulkUpload.StatusEnum;
|
|
9
|
+
readonly createdBy: number;
|
|
10
|
+
readonly createdAt: Date;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export type WritableBulkUpload = Writable<BulkUpload>
|
|
@@ -9,9 +9,9 @@ import { Writable } from './Writable';
|
|
|
9
9
|
export interface OrganizationProposal {
|
|
10
10
|
readonly id: number;
|
|
11
11
|
organizationId: number;
|
|
12
|
-
organization
|
|
12
|
+
organization: Organization & any;
|
|
13
13
|
proposalId: number;
|
|
14
|
-
proposal
|
|
14
|
+
proposal: Proposal & any;
|
|
15
15
|
readonly createdAt: Date;
|
|
16
16
|
}
|
|
17
17
|
|
package/src/types/Proposal.ts
CHANGED
|
@@ -7,9 +7,9 @@ export interface Proposal {
|
|
|
7
7
|
readonly id: number;
|
|
8
8
|
opportunityId: number;
|
|
9
9
|
externalId: string;
|
|
10
|
-
readonly versions
|
|
10
|
+
readonly versions: Array<ProposalVersion>;
|
|
11
11
|
readonly createdAt: Date;
|
|
12
|
-
readonly createdBy
|
|
12
|
+
readonly createdBy: number;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export type WritableProposal = Writable<Proposal>
|
|
@@ -7,7 +7,7 @@ export interface ProposalFieldValue {
|
|
|
7
7
|
readonly id: number;
|
|
8
8
|
readonly proposalVersionId: number;
|
|
9
9
|
applicationFormFieldId: number;
|
|
10
|
-
applicationFormField
|
|
10
|
+
applicationFormField: ApplicationFormField & any;
|
|
11
11
|
position: number;
|
|
12
12
|
value: string;
|
|
13
13
|
readonly isValid: boolean;
|
|
@@ -6,9 +6,9 @@ import { Writable } from './Writable';
|
|
|
6
6
|
export interface ProposalVersion {
|
|
7
7
|
readonly id: number;
|
|
8
8
|
proposalId: number;
|
|
9
|
-
applicationFormId
|
|
9
|
+
applicationFormId: number;
|
|
10
10
|
readonly version: number;
|
|
11
|
-
fieldValues
|
|
11
|
+
fieldValues: Array<ProposalFieldValue>;
|
|
12
12
|
readonly createdAt: Date;
|
|
13
13
|
}
|
|
14
14
|
|