@pdc/sdk 0.16.7 → 0.16.9
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/.openapi-generator/FILES +10 -0
- package/dist/types/BaseFieldsCopyTask.d.ts +19 -0
- package/dist/types/BaseFieldsCopyTask.js +14 -0
- package/dist/types/BaseFieldsCopyTaskBundle.d.ts +7 -0
- package/dist/types/BaseFieldsCopyTaskBundle.js +2 -0
- package/dist/types/Changemaker.d.ts +2 -0
- package/dist/types/PartialChangemaker.d.ts +7 -0
- package/dist/types/PartialChangemaker.js +2 -0
- package/dist/types/PutFiscalSponsorshipByChangemakerIds200Response.d.ts +9 -0
- package/dist/types/PutFiscalSponsorshipByChangemakerIds200Response.js +2 -0
- package/dist/types/ShallowChangemaker.d.ts +9 -0
- package/dist/types/ShallowChangemaker.js +2 -0
- package/dist/types/UserChangemakerPermission.d.ts +4 -4
- package/dist/types/UserDataProviderPermission.d.ts +12 -0
- package/dist/types/UserDataProviderPermission.js +2 -0
- package/dist/types/UserFunderPermission.d.ts +12 -0
- package/dist/types/UserFunderPermission.js +2 -0
- package/dist/types/UserGroupChangemakerPermission.d.ts +12 -0
- package/dist/types/UserGroupChangemakerPermission.js +2 -0
- package/dist/types/UserGroupDataProviderPermission.d.ts +12 -0
- package/dist/types/UserGroupDataProviderPermission.js +2 -0
- package/dist/types/UserGroupFunderPermission.d.ts +12 -0
- package/dist/types/UserGroupFunderPermission.js +2 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.js +10 -0
- package/package.json +1 -1
- package/src/types/BaseFieldsCopyTask.ts +22 -0
- package/src/types/BaseFieldsCopyTaskBundle.ts +13 -0
- package/src/types/Changemaker.ts +4 -0
- package/src/types/PartialChangemaker.ts +11 -0
- package/src/types/PutFiscalSponsorshipByChangemakerIds200Response.ts +13 -0
- package/src/types/ShallowChangemaker.ts +13 -0
- package/src/types/UserChangemakerPermission.ts +4 -4
- package/src/types/UserDataProviderPermission.ts +17 -0
- package/src/types/UserFunderPermission.ts +17 -0
- package/src/types/UserGroupChangemakerPermission.ts +17 -0
- package/src/types/UserGroupDataProviderPermission.ts +17 -0
- package/src/types/UserGroupFunderPermission.ts +17 -0
- package/src/types/index.ts +10 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,8 @@ src/types/ApplicationFormField.ts
|
|
|
9
9
|
src/types/BaseField.ts
|
|
10
10
|
src/types/BaseFieldLocalization.ts
|
|
11
11
|
src/types/BaseFieldLocalizationBundle.ts
|
|
12
|
+
src/types/BaseFieldsCopyTask.ts
|
|
13
|
+
src/types/BaseFieldsCopyTaskBundle.ts
|
|
12
14
|
src/types/BulkUploadTask.ts
|
|
13
15
|
src/types/BulkUploadTaskBundle.ts
|
|
14
16
|
src/types/Bundle.ts
|
|
@@ -25,6 +27,7 @@ src/types/FunderBundle.ts
|
|
|
25
27
|
src/types/FunderRole.ts
|
|
26
28
|
src/types/Opportunity.ts
|
|
27
29
|
src/types/OpportunityBundle.ts
|
|
30
|
+
src/types/PartialChangemaker.ts
|
|
28
31
|
src/types/PdcError.ts
|
|
29
32
|
src/types/Permission.ts
|
|
30
33
|
src/types/PlatformProviderResponse.ts
|
|
@@ -35,11 +38,18 @@ src/types/Proposal.ts
|
|
|
35
38
|
src/types/ProposalBundle.ts
|
|
36
39
|
src/types/ProposalFieldValue.ts
|
|
37
40
|
src/types/ProposalVersion.ts
|
|
41
|
+
src/types/PutFiscalSponsorshipByChangemakerIds200Response.ts
|
|
42
|
+
src/types/ShallowChangemaker.ts
|
|
38
43
|
src/types/Source.ts
|
|
39
44
|
src/types/SourceBundle.ts
|
|
40
45
|
src/types/User.ts
|
|
41
46
|
src/types/UserBundle.ts
|
|
42
47
|
src/types/UserChangemakerPermission.ts
|
|
48
|
+
src/types/UserDataProviderPermission.ts
|
|
49
|
+
src/types/UserFunderPermission.ts
|
|
50
|
+
src/types/UserGroupChangemakerPermission.ts
|
|
51
|
+
src/types/UserGroupDataProviderPermission.ts
|
|
52
|
+
src/types/UserGroupFunderPermission.ts
|
|
43
53
|
src/types/UserPermissions.ts
|
|
44
54
|
src/types/Writable.ts
|
|
45
55
|
src/types/index.ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
export interface BaseFieldsCopyTask {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
readonly status: BaseFieldsCopyTask.StatusEnum;
|
|
5
|
+
pdcApiUrl: string;
|
|
6
|
+
readonly statusUpdatedAt: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableBaseFieldsCopyTask = Writable<BaseFieldsCopyTask>;
|
|
11
|
+
export declare namespace BaseFieldsCopyTask {
|
|
12
|
+
enum StatusEnum {
|
|
13
|
+
Pending = "pending",
|
|
14
|
+
InProgress = "in_progress",
|
|
15
|
+
Completed = "completed",
|
|
16
|
+
Failed = "failed",
|
|
17
|
+
Canceled = "canceled"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseFieldsCopyTask = void 0;
|
|
4
|
+
var BaseFieldsCopyTask;
|
|
5
|
+
(function (BaseFieldsCopyTask) {
|
|
6
|
+
let StatusEnum;
|
|
7
|
+
(function (StatusEnum) {
|
|
8
|
+
StatusEnum["Pending"] = "pending";
|
|
9
|
+
StatusEnum["InProgress"] = "in_progress";
|
|
10
|
+
StatusEnum["Completed"] = "completed";
|
|
11
|
+
StatusEnum["Failed"] = "failed";
|
|
12
|
+
StatusEnum["Canceled"] = "canceled";
|
|
13
|
+
})(StatusEnum = BaseFieldsCopyTask.StatusEnum || (BaseFieldsCopyTask.StatusEnum = {}));
|
|
14
|
+
})(BaseFieldsCopyTask || (exports.BaseFieldsCopyTask = BaseFieldsCopyTask = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseFieldsCopyTask } from './BaseFieldsCopyTask';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface BaseFieldsCopyTaskBundle {
|
|
4
|
+
entries: Array<BaseFieldsCopyTask>;
|
|
5
|
+
total: number;
|
|
6
|
+
}
|
|
7
|
+
export type WritableBaseFieldsCopyTaskBundle = Writable<BaseFieldsCopyTaskBundle>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ProposalFieldValue } from './ProposalFieldValue';
|
|
2
|
+
import { ShallowChangemaker } from './ShallowChangemaker';
|
|
2
3
|
import { Writable } from './Writable';
|
|
3
4
|
export interface Changemaker {
|
|
4
5
|
readonly id: number;
|
|
@@ -6,6 +7,7 @@ export interface Changemaker {
|
|
|
6
7
|
name: string;
|
|
7
8
|
keycloakOrganizationId?: string;
|
|
8
9
|
readonly createdAt: string;
|
|
10
|
+
fiscalSponsors: Array<ShallowChangemaker>;
|
|
9
11
|
fields: Array<ProposalFieldValue>;
|
|
10
12
|
}
|
|
11
13
|
export type WritableChangemaker = Writable<Changemaker>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
export interface PutFiscalSponsorshipByChangemakerIds200Response {
|
|
3
|
+
fiscalSponseeChangemakerId: number;
|
|
4
|
+
fiscalSponsorChangemakerId: number;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly createdBy: string;
|
|
7
|
+
readonly notAfter: string;
|
|
8
|
+
}
|
|
9
|
+
export type WritablePutFiscalSponsorshipByChangemakerIds200Response = Writable<PutFiscalSponsorshipByChangemakerIds200Response>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
export interface ShallowChangemaker {
|
|
3
|
+
readonly id: number;
|
|
4
|
+
taxId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
keycloakOrganizationId?: string;
|
|
7
|
+
readonly createdAt: string;
|
|
8
|
+
}
|
|
9
|
+
export type WritableShallowChangemaker = Writable<ShallowChangemaker>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Permission } from './Permission';
|
|
2
2
|
import { Writable } from './Writable';
|
|
3
3
|
export interface UserChangemakerPermission {
|
|
4
|
-
readonly permission
|
|
5
|
-
readonly changemakerId
|
|
6
|
-
readonly userKeycloakUserId
|
|
7
|
-
readonly createdBy
|
|
4
|
+
readonly permission: Permission;
|
|
5
|
+
readonly changemakerId: number;
|
|
6
|
+
readonly userKeycloakUserId: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
8
|
readonly createdAt: string;
|
|
9
9
|
}
|
|
10
10
|
export type WritableUserChangemakerPermission = Writable<UserChangemakerPermission>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Permission } from './Permission';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface UserDataProviderPermission {
|
|
4
|
+
readonly permission?: Permission;
|
|
5
|
+
dataProviderShortcode: string;
|
|
6
|
+
readonly userKeycloakUserId: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableUserDataProviderPermission = Writable<UserDataProviderPermission>;
|
|
11
|
+
export declare namespace UserDataProviderPermission {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Permission } from './Permission';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface UserFunderPermission {
|
|
4
|
+
readonly permission: Permission;
|
|
5
|
+
funderShortcode: string;
|
|
6
|
+
readonly userKeycloakUserId: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableUserFunderPermission = Writable<UserFunderPermission>;
|
|
11
|
+
export declare namespace UserFunderPermission {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Permission } from './Permission';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface UserGroupChangemakerPermission {
|
|
4
|
+
readonly permission?: Permission;
|
|
5
|
+
readonly changemakerId?: number;
|
|
6
|
+
readonly keycloakOrganizationId?: string;
|
|
7
|
+
readonly createdBy?: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableUserGroupChangemakerPermission = Writable<UserGroupChangemakerPermission>;
|
|
11
|
+
export declare namespace UserGroupChangemakerPermission {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Permission } from './Permission';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface UserGroupDataProviderPermission {
|
|
4
|
+
readonly permission?: Permission;
|
|
5
|
+
dataProviderShortcode: string;
|
|
6
|
+
readonly keycloakOrganizationId?: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableUserGroupDataProviderPermission = Writable<UserGroupDataProviderPermission>;
|
|
11
|
+
export declare namespace UserGroupDataProviderPermission {
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Permission } from './Permission';
|
|
2
|
+
import { Writable } from './Writable';
|
|
3
|
+
export interface UserGroupFunderPermission {
|
|
4
|
+
readonly permission: Permission;
|
|
5
|
+
funderShortcode: string;
|
|
6
|
+
readonly keycloakOrganizationId?: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type WritableUserGroupFunderPermission = Writable<UserGroupFunderPermission>;
|
|
11
|
+
export declare namespace UserGroupFunderPermission {
|
|
12
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './ApplicationFormField';
|
|
|
4
4
|
export * from './BaseField';
|
|
5
5
|
export * from './BaseFieldLocalization';
|
|
6
6
|
export * from './BaseFieldLocalizationBundle';
|
|
7
|
+
export * from './BaseFieldsCopyTask';
|
|
8
|
+
export * from './BaseFieldsCopyTaskBundle';
|
|
7
9
|
export * from './BulkUploadTask';
|
|
8
10
|
export * from './BulkUploadTaskBundle';
|
|
9
11
|
export * from './Bundle';
|
|
@@ -20,6 +22,7 @@ export * from './FunderBundle';
|
|
|
20
22
|
export * from './FunderRole';
|
|
21
23
|
export * from './Opportunity';
|
|
22
24
|
export * from './OpportunityBundle';
|
|
25
|
+
export * from './PartialChangemaker';
|
|
23
26
|
export * from './PdcError';
|
|
24
27
|
export * from './Permission';
|
|
25
28
|
export * from './PlatformProviderResponse';
|
|
@@ -30,9 +33,16 @@ export * from './Proposal';
|
|
|
30
33
|
export * from './ProposalBundle';
|
|
31
34
|
export * from './ProposalFieldValue';
|
|
32
35
|
export * from './ProposalVersion';
|
|
36
|
+
export * from './PutFiscalSponsorshipByChangemakerIds200Response';
|
|
37
|
+
export * from './ShallowChangemaker';
|
|
33
38
|
export * from './Source';
|
|
34
39
|
export * from './SourceBundle';
|
|
35
40
|
export * from './User';
|
|
36
41
|
export * from './UserBundle';
|
|
37
42
|
export * from './UserChangemakerPermission';
|
|
43
|
+
export * from './UserDataProviderPermission';
|
|
44
|
+
export * from './UserFunderPermission';
|
|
45
|
+
export * from './UserGroupChangemakerPermission';
|
|
46
|
+
export * from './UserGroupDataProviderPermission';
|
|
47
|
+
export * from './UserGroupFunderPermission';
|
|
38
48
|
export * from './UserPermissions';
|
package/dist/types/index.js
CHANGED
|
@@ -20,6 +20,8 @@ __exportStar(require("./ApplicationFormField"), exports);
|
|
|
20
20
|
__exportStar(require("./BaseField"), exports);
|
|
21
21
|
__exportStar(require("./BaseFieldLocalization"), exports);
|
|
22
22
|
__exportStar(require("./BaseFieldLocalizationBundle"), exports);
|
|
23
|
+
__exportStar(require("./BaseFieldsCopyTask"), exports);
|
|
24
|
+
__exportStar(require("./BaseFieldsCopyTaskBundle"), exports);
|
|
23
25
|
__exportStar(require("./BulkUploadTask"), exports);
|
|
24
26
|
__exportStar(require("./BulkUploadTaskBundle"), exports);
|
|
25
27
|
__exportStar(require("./Bundle"), exports);
|
|
@@ -36,6 +38,7 @@ __exportStar(require("./FunderBundle"), exports);
|
|
|
36
38
|
__exportStar(require("./FunderRole"), exports);
|
|
37
39
|
__exportStar(require("./Opportunity"), exports);
|
|
38
40
|
__exportStar(require("./OpportunityBundle"), exports);
|
|
41
|
+
__exportStar(require("./PartialChangemaker"), exports);
|
|
39
42
|
__exportStar(require("./PdcError"), exports);
|
|
40
43
|
__exportStar(require("./Permission"), exports);
|
|
41
44
|
__exportStar(require("./PlatformProviderResponse"), exports);
|
|
@@ -46,9 +49,16 @@ __exportStar(require("./Proposal"), exports);
|
|
|
46
49
|
__exportStar(require("./ProposalBundle"), exports);
|
|
47
50
|
__exportStar(require("./ProposalFieldValue"), exports);
|
|
48
51
|
__exportStar(require("./ProposalVersion"), exports);
|
|
52
|
+
__exportStar(require("./PutFiscalSponsorshipByChangemakerIds200Response"), exports);
|
|
53
|
+
__exportStar(require("./ShallowChangemaker"), exports);
|
|
49
54
|
__exportStar(require("./Source"), exports);
|
|
50
55
|
__exportStar(require("./SourceBundle"), exports);
|
|
51
56
|
__exportStar(require("./User"), exports);
|
|
52
57
|
__exportStar(require("./UserBundle"), exports);
|
|
53
58
|
__exportStar(require("./UserChangemakerPermission"), exports);
|
|
59
|
+
__exportStar(require("./UserDataProviderPermission"), exports);
|
|
60
|
+
__exportStar(require("./UserFunderPermission"), exports);
|
|
61
|
+
__exportStar(require("./UserGroupChangemakerPermission"), exports);
|
|
62
|
+
__exportStar(require("./UserGroupDataProviderPermission"), exports);
|
|
63
|
+
__exportStar(require("./UserGroupFunderPermission"), exports);
|
|
54
64
|
__exportStar(require("./UserPermissions"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
|
|
3
|
+
export interface BaseFieldsCopyTask {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
readonly status: BaseFieldsCopyTask.StatusEnum;
|
|
6
|
+
pdcApiUrl: string;
|
|
7
|
+
readonly statusUpdatedAt: string;
|
|
8
|
+
readonly createdBy: string;
|
|
9
|
+
readonly createdAt: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type WritableBaseFieldsCopyTask = Writable<BaseFieldsCopyTask>
|
|
13
|
+
|
|
14
|
+
export namespace BaseFieldsCopyTask {
|
|
15
|
+
export enum StatusEnum {
|
|
16
|
+
Pending = 'pending',
|
|
17
|
+
InProgress = 'in_progress',
|
|
18
|
+
Completed = 'completed',
|
|
19
|
+
Failed = 'failed',
|
|
20
|
+
Canceled = 'canceled',
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseFieldsCopyTask,
|
|
3
|
+
} from './BaseFieldsCopyTask';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface BaseFieldsCopyTaskBundle {
|
|
7
|
+
entries: Array<BaseFieldsCopyTask>;
|
|
8
|
+
total: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type WritableBaseFieldsCopyTaskBundle = Writable<BaseFieldsCopyTaskBundle>
|
|
12
|
+
|
|
13
|
+
|
package/src/types/Changemaker.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProposalFieldValue,
|
|
3
3
|
} from './ProposalFieldValue';
|
|
4
|
+
import {
|
|
5
|
+
ShallowChangemaker,
|
|
6
|
+
} from './ShallowChangemaker';
|
|
4
7
|
import { Writable } from './Writable';
|
|
5
8
|
|
|
6
9
|
export interface Changemaker {
|
|
@@ -9,6 +12,7 @@ export interface Changemaker {
|
|
|
9
12
|
name: string;
|
|
10
13
|
keycloakOrganizationId?: string;
|
|
11
14
|
readonly createdAt: string;
|
|
15
|
+
fiscalSponsors: Array<ShallowChangemaker>;
|
|
12
16
|
fields: Array<ProposalFieldValue>;
|
|
13
17
|
}
|
|
14
18
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
|
|
3
|
+
export interface PutFiscalSponsorshipByChangemakerIds200Response {
|
|
4
|
+
fiscalSponseeChangemakerId: number;
|
|
5
|
+
fiscalSponsorChangemakerId: number;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly createdBy: string;
|
|
8
|
+
readonly notAfter: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type WritablePutFiscalSponsorshipByChangemakerIds200Response = Writable<PutFiscalSponsorshipByChangemakerIds200Response>
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Writable } from './Writable';
|
|
2
|
+
|
|
3
|
+
export interface ShallowChangemaker {
|
|
4
|
+
readonly id: number;
|
|
5
|
+
taxId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
keycloakOrganizationId?: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type WritableShallowChangemaker = Writable<ShallowChangemaker>
|
|
12
|
+
|
|
13
|
+
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import { Writable } from './Writable';
|
|
5
5
|
|
|
6
6
|
export interface UserChangemakerPermission {
|
|
7
|
-
readonly permission
|
|
8
|
-
readonly changemakerId
|
|
9
|
-
readonly userKeycloakUserId
|
|
10
|
-
readonly createdBy
|
|
7
|
+
readonly permission: Permission;
|
|
8
|
+
readonly changemakerId: number;
|
|
9
|
+
readonly userKeycloakUserId: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
11
|
readonly createdAt: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Permission,
|
|
3
|
+
} from './Permission';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface UserDataProviderPermission {
|
|
7
|
+
readonly permission?: Permission;
|
|
8
|
+
dataProviderShortcode: string;
|
|
9
|
+
readonly userKeycloakUserId: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type WritableUserDataProviderPermission = Writable<UserDataProviderPermission>
|
|
15
|
+
|
|
16
|
+
export namespace UserDataProviderPermission {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Permission,
|
|
3
|
+
} from './Permission';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface UserFunderPermission {
|
|
7
|
+
readonly permission: Permission;
|
|
8
|
+
funderShortcode: string;
|
|
9
|
+
readonly userKeycloakUserId: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type WritableUserFunderPermission = Writable<UserFunderPermission>
|
|
15
|
+
|
|
16
|
+
export namespace UserFunderPermission {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Permission,
|
|
3
|
+
} from './Permission';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface UserGroupChangemakerPermission {
|
|
7
|
+
readonly permission?: Permission;
|
|
8
|
+
readonly changemakerId?: number;
|
|
9
|
+
readonly keycloakOrganizationId?: string;
|
|
10
|
+
readonly createdBy?: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type WritableUserGroupChangemakerPermission = Writable<UserGroupChangemakerPermission>
|
|
15
|
+
|
|
16
|
+
export namespace UserGroupChangemakerPermission {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Permission,
|
|
3
|
+
} from './Permission';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface UserGroupDataProviderPermission {
|
|
7
|
+
readonly permission?: Permission;
|
|
8
|
+
dataProviderShortcode: string;
|
|
9
|
+
readonly keycloakOrganizationId?: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type WritableUserGroupDataProviderPermission = Writable<UserGroupDataProviderPermission>
|
|
15
|
+
|
|
16
|
+
export namespace UserGroupDataProviderPermission {
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Permission,
|
|
3
|
+
} from './Permission';
|
|
4
|
+
import { Writable } from './Writable';
|
|
5
|
+
|
|
6
|
+
export interface UserGroupFunderPermission {
|
|
7
|
+
readonly permission: Permission;
|
|
8
|
+
funderShortcode: string;
|
|
9
|
+
readonly keycloakOrganizationId?: string;
|
|
10
|
+
readonly createdBy: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type WritableUserGroupFunderPermission = Writable<UserGroupFunderPermission>
|
|
15
|
+
|
|
16
|
+
export namespace UserGroupFunderPermission {
|
|
17
|
+
}
|
package/src/types/index.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './ApplicationFormField';
|
|
|
4
4
|
export * from './BaseField';
|
|
5
5
|
export * from './BaseFieldLocalization';
|
|
6
6
|
export * from './BaseFieldLocalizationBundle';
|
|
7
|
+
export * from './BaseFieldsCopyTask';
|
|
8
|
+
export * from './BaseFieldsCopyTaskBundle';
|
|
7
9
|
export * from './BulkUploadTask';
|
|
8
10
|
export * from './BulkUploadTaskBundle';
|
|
9
11
|
export * from './Bundle';
|
|
@@ -20,6 +22,7 @@ export * from './FunderBundle';
|
|
|
20
22
|
export * from './FunderRole';
|
|
21
23
|
export * from './Opportunity';
|
|
22
24
|
export * from './OpportunityBundle';
|
|
25
|
+
export * from './PartialChangemaker';
|
|
23
26
|
export * from './PdcError';
|
|
24
27
|
export * from './Permission';
|
|
25
28
|
export * from './PlatformProviderResponse';
|
|
@@ -30,9 +33,16 @@ export * from './Proposal';
|
|
|
30
33
|
export * from './ProposalBundle';
|
|
31
34
|
export * from './ProposalFieldValue';
|
|
32
35
|
export * from './ProposalVersion';
|
|
36
|
+
export * from './PutFiscalSponsorshipByChangemakerIds200Response';
|
|
37
|
+
export * from './ShallowChangemaker';
|
|
33
38
|
export * from './Source';
|
|
34
39
|
export * from './SourceBundle';
|
|
35
40
|
export * from './User';
|
|
36
41
|
export * from './UserBundle';
|
|
37
42
|
export * from './UserChangemakerPermission';
|
|
43
|
+
export * from './UserDataProviderPermission';
|
|
44
|
+
export * from './UserFunderPermission';
|
|
45
|
+
export * from './UserGroupChangemakerPermission';
|
|
46
|
+
export * from './UserGroupDataProviderPermission';
|
|
47
|
+
export * from './UserGroupFunderPermission';
|
|
38
48
|
export * from './UserPermissions';
|