@pdc/sdk 0.16.4 → 0.16.8
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 +8 -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 +1 -0
- package/dist/types/DataProvider.d.ts +1 -0
- package/dist/types/Funder.d.ts +1 -0
- package/dist/types/PartialChangemaker.d.ts +7 -0
- package/dist/types/PartialChangemaker.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 +8 -0
- package/dist/types/index.js +8 -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 +1 -0
- package/src/types/DataProvider.ts +1 -0
- package/src/types/Funder.ts +1 -0
- package/src/types/PartialChangemaker.ts +11 -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 +8 -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
|
|
@@ -40,6 +43,11 @@ src/types/SourceBundle.ts
|
|
|
40
43
|
src/types/User.ts
|
|
41
44
|
src/types/UserBundle.ts
|
|
42
45
|
src/types/UserChangemakerPermission.ts
|
|
46
|
+
src/types/UserDataProviderPermission.ts
|
|
47
|
+
src/types/UserFunderPermission.ts
|
|
48
|
+
src/types/UserGroupChangemakerPermission.ts
|
|
49
|
+
src/types/UserGroupDataProviderPermission.ts
|
|
50
|
+
src/types/UserGroupFunderPermission.ts
|
|
43
51
|
src/types/UserPermissions.ts
|
|
44
52
|
src/types/Writable.ts
|
|
45
53
|
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>;
|
package/dist/types/Funder.d.ts
CHANGED
|
@@ -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';
|
|
@@ -35,4 +38,9 @@ export * from './SourceBundle';
|
|
|
35
38
|
export * from './User';
|
|
36
39
|
export * from './UserBundle';
|
|
37
40
|
export * from './UserChangemakerPermission';
|
|
41
|
+
export * from './UserDataProviderPermission';
|
|
42
|
+
export * from './UserFunderPermission';
|
|
43
|
+
export * from './UserGroupChangemakerPermission';
|
|
44
|
+
export * from './UserGroupDataProviderPermission';
|
|
45
|
+
export * from './UserGroupFunderPermission';
|
|
38
46
|
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);
|
|
@@ -51,4 +54,9 @@ __exportStar(require("./SourceBundle"), exports);
|
|
|
51
54
|
__exportStar(require("./User"), exports);
|
|
52
55
|
__exportStar(require("./UserBundle"), exports);
|
|
53
56
|
__exportStar(require("./UserChangemakerPermission"), exports);
|
|
57
|
+
__exportStar(require("./UserDataProviderPermission"), exports);
|
|
58
|
+
__exportStar(require("./UserFunderPermission"), exports);
|
|
59
|
+
__exportStar(require("./UserGroupChangemakerPermission"), exports);
|
|
60
|
+
__exportStar(require("./UserGroupDataProviderPermission"), exports);
|
|
61
|
+
__exportStar(require("./UserGroupFunderPermission"), exports);
|
|
54
62
|
__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
package/src/types/Funder.ts
CHANGED
|
@@ -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';
|
|
@@ -35,4 +38,9 @@ export * from './SourceBundle';
|
|
|
35
38
|
export * from './User';
|
|
36
39
|
export * from './UserBundle';
|
|
37
40
|
export * from './UserChangemakerPermission';
|
|
41
|
+
export * from './UserDataProviderPermission';
|
|
42
|
+
export * from './UserFunderPermission';
|
|
43
|
+
export * from './UserGroupChangemakerPermission';
|
|
44
|
+
export * from './UserGroupDataProviderPermission';
|
|
45
|
+
export * from './UserGroupFunderPermission';
|
|
38
46
|
export * from './UserPermissions';
|