@se-uulm/snowballr-api-client 0.2.1-alpha.3ebad36 → 0.2.1-alpha.41d12d0
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/README.md +111 -28
- package/dist/apis/AuthControllerApi.d.ts +64 -1
- package/dist/apis/AuthControllerApi.js +64 -18
- package/dist/apis/ProjectsControllerApi.d.ts +45 -73
- package/dist/apis/ProjectsControllerApi.js +51 -123
- package/dist/apis/UsersControllerApi.d.ts +9 -131
- package/dist/apis/UsersControllerApi.js +12 -199
- package/dist/apis/index.d.ts +0 -9
- package/dist/apis/index.js +0 -9
- package/dist/esm/apis/AuthControllerApi.d.ts +64 -1
- package/dist/esm/apis/AuthControllerApi.js +62 -16
- package/dist/esm/apis/ProjectsControllerApi.d.ts +45 -73
- package/dist/esm/apis/ProjectsControllerApi.js +47 -119
- package/dist/esm/apis/UsersControllerApi.d.ts +9 -131
- package/dist/esm/apis/UsersControllerApi.js +11 -198
- package/dist/esm/apis/index.d.ts +0 -9
- package/dist/esm/apis/index.js +0 -9
- package/dist/esm/models/ChangePasswordRequest.d.ts +0 -4
- package/dist/esm/models/CreateProjectRequest.d.ts +0 -2
- package/dist/esm/models/DecisionMatrixPattern.d.ts +0 -4
- package/dist/esm/models/DecisionMatrixPattern.js +1 -1
- package/dist/esm/models/DecisionMatrixPatternEntry.d.ts +0 -4
- package/dist/esm/models/DecisionMatrixPatternEntry.js +1 -1
- package/dist/esm/models/LoginRequest.d.ts +0 -4
- package/dist/esm/models/ProjectResponse.d.ts +2 -53
- package/dist/esm/models/ProjectResponse.js +7 -22
- package/dist/esm/models/ProjectSettings.d.ts +60 -0
- package/dist/esm/models/{UpdateProjectSettingRequest.js → ProjectSettings.js} +12 -12
- package/dist/esm/models/RegisterRequest.d.ts +0 -8
- package/dist/esm/models/ReviewDecisionMatrix.d.ts +0 -4
- package/dist/esm/models/index.d.ts +1 -34
- package/dist/esm/models/index.js +1 -34
- package/dist/esm/runtime.d.ts +34 -1
- package/dist/esm/runtime.js +130 -4
- package/dist/models/ChangePasswordRequest.d.ts +0 -4
- package/dist/models/CreateProjectRequest.d.ts +0 -2
- package/dist/models/DecisionMatrixPattern.d.ts +0 -4
- package/dist/models/DecisionMatrixPattern.js +1 -1
- package/dist/models/DecisionMatrixPatternEntry.d.ts +0 -4
- package/dist/models/DecisionMatrixPatternEntry.js +1 -1
- package/dist/models/LoginRequest.d.ts +0 -4
- package/dist/models/ProjectResponse.d.ts +2 -53
- package/dist/models/ProjectResponse.js +8 -23
- package/dist/models/ProjectSettings.d.ts +60 -0
- package/dist/models/ProjectSettings.js +66 -0
- package/dist/models/RegisterRequest.d.ts +0 -8
- package/dist/models/ReviewDecisionMatrix.d.ts +0 -4
- package/dist/models/index.d.ts +1 -34
- package/dist/models/index.js +1 -34
- package/dist/runtime.d.ts +34 -1
- package/dist/runtime.js +136 -4
- package/package.json +2 -2
- package/dist/apis/CriterionControllerApi.d.ts +0 -108
- package/dist/apis/CriterionControllerApi.js +0 -151
- package/dist/apis/ExportControllerApi.d.ts +0 -70
- package/dist/apis/ExportControllerApi.js +0 -101
- package/dist/apis/FetcherControllerApi.d.ts +0 -86
- package/dist/apis/FetcherControllerApi.js +0 -125
- package/dist/apis/InvitationControllerApi.d.ts +0 -88
- package/dist/apis/InvitationControllerApi.js +0 -120
- package/dist/apis/PaperControllerApi.d.ts +0 -128
- package/dist/apis/PaperControllerApi.js +0 -179
- package/dist/apis/ProjectMemberControllerApi.d.ts +0 -92
- package/dist/apis/ProjectMemberControllerApi.js +0 -128
- package/dist/apis/ProjectPaperControllerApi.d.ts +0 -190
- package/dist/apis/ProjectPaperControllerApi.js +0 -266
- package/dist/apis/ReadingListControllerApi.d.ts +0 -102
- package/dist/apis/ReadingListControllerApi.js +0 -138
- package/dist/apis/ReviewControllerApi.d.ts +0 -88
- package/dist/apis/ReviewControllerApi.js +0 -122
- package/dist/esm/apis/CriterionControllerApi.d.ts +0 -108
- package/dist/esm/apis/CriterionControllerApi.js +0 -147
- package/dist/esm/apis/ExportControllerApi.d.ts +0 -70
- package/dist/esm/apis/ExportControllerApi.js +0 -97
- package/dist/esm/apis/FetcherControllerApi.d.ts +0 -86
- package/dist/esm/apis/FetcherControllerApi.js +0 -121
- package/dist/esm/apis/InvitationControllerApi.d.ts +0 -88
- package/dist/esm/apis/InvitationControllerApi.js +0 -116
- package/dist/esm/apis/PaperControllerApi.d.ts +0 -128
- package/dist/esm/apis/PaperControllerApi.js +0 -175
- package/dist/esm/apis/ProjectMemberControllerApi.d.ts +0 -92
- package/dist/esm/apis/ProjectMemberControllerApi.js +0 -124
- package/dist/esm/apis/ProjectPaperControllerApi.d.ts +0 -190
- package/dist/esm/apis/ProjectPaperControllerApi.js +0 -262
- package/dist/esm/apis/ReadingListControllerApi.d.ts +0 -102
- package/dist/esm/apis/ReadingListControllerApi.js +0 -134
- package/dist/esm/apis/ReviewControllerApi.d.ts +0 -88
- package/dist/esm/apis/ReviewControllerApi.js +0 -118
- package/dist/esm/models/AddPaperToProjectRequest.d.ts +0 -38
- package/dist/esm/models/AddPaperToProjectRequest.js +0 -43
- package/dist/esm/models/Author.d.ts +0 -38
- package/dist/esm/models/Author.js +0 -43
- package/dist/esm/models/CreateCriterionRequest.d.ts +0 -65
- package/dist/esm/models/CreateCriterionRequest.js +0 -57
- package/dist/esm/models/CreatePaperRequest.d.ts +0 -84
- package/dist/esm/models/CreatePaperRequest.js +0 -59
- package/dist/esm/models/CreateReviewRequest.d.ts +0 -53
- package/dist/esm/models/CreateReviewRequest.js +0 -53
- package/dist/esm/models/Criterion.d.ts +0 -77
- package/dist/esm/models/Criterion.js +0 -61
- package/dist/esm/models/ExternalId.d.ts +0 -53
- package/dist/esm/models/ExternalId.js +0 -57
- package/dist/esm/models/FetcherInformation.d.ts +0 -54
- package/dist/esm/models/FetcherInformation.js +0 -50
- package/dist/esm/models/FetcherInformationWithId.d.ts +0 -39
- package/dist/esm/models/FetcherInformationWithId.js +0 -44
- package/dist/esm/models/FetcherOptionsSchema.d.ts +0 -56
- package/dist/esm/models/FetcherOptionsSchema.js +0 -49
- package/dist/esm/models/FetcherPaperResponse.d.ts +0 -96
- package/dist/esm/models/FetcherPaperResponse.js +0 -63
- package/dist/esm/models/GetCriterionById200Response.d.ts +0 -23
- package/dist/esm/models/GetCriterionById200Response.js +0 -51
- package/dist/esm/models/InvitationResponse.d.ts +0 -80
- package/dist/esm/models/InvitationResponse.js +0 -67
- package/dist/esm/models/InviteUserRequest.d.ts +0 -32
- package/dist/esm/models/InviteUserRequest.js +0 -41
- package/dist/esm/models/Link.d.ts +0 -38
- package/dist/esm/models/Link.js +0 -43
- package/dist/esm/models/PaperResponse.d.ts +0 -96
- package/dist/esm/models/PaperResponse.js +0 -63
- package/dist/esm/models/ProjectCriterion.d.ts +0 -83
- package/dist/esm/models/ProjectCriterion.js +0 -63
- package/dist/esm/models/ProjectDecisionCount.d.ts +0 -48
- package/dist/esm/models/ProjectDecisionCount.js +0 -52
- package/dist/esm/models/ProjectDecisionStatistics.d.ts +0 -33
- package/dist/esm/models/ProjectDecisionStatistics.js +0 -42
- package/dist/esm/models/ProjectInformation.d.ts +0 -44
- package/dist/esm/models/ProjectInformation.js +0 -45
- package/dist/esm/models/ProjectMember.d.ts +0 -70
- package/dist/esm/models/ProjectMember.js +0 -59
- package/dist/esm/models/ProjectMemberWithUser.d.ts +0 -40
- package/dist/esm/models/ProjectMemberWithUser.js +0 -45
- package/dist/esm/models/ProjectPaperResponse.d.ts +0 -74
- package/dist/esm/models/ProjectPaperResponse.js +0 -62
- package/dist/esm/models/ReviewResponse.d.ts +0 -77
- package/dist/esm/models/ReviewResponse.js +0 -62
- package/dist/esm/models/UpdateCriterionRequest.d.ts +0 -65
- package/dist/esm/models/UpdateCriterionRequest.js +0 -57
- package/dist/esm/models/UpdateMemberRoleRequest.d.ts +0 -40
- package/dist/esm/models/UpdateMemberRoleRequest.js +0 -48
- package/dist/esm/models/UpdatePaperRequest.d.ts +0 -82
- package/dist/esm/models/UpdatePaperRequest.js +0 -59
- package/dist/esm/models/UpdateProjectRequest.d.ts +0 -62
- package/dist/esm/models/UpdateProjectRequest.js +0 -58
- package/dist/esm/models/UpdateProjectSettingRequest.d.ts +0 -70
- package/dist/esm/models/UpdateUserRequest.d.ts +0 -80
- package/dist/esm/models/UpdateUserRequest.js +0 -67
- package/dist/esm/models/User.d.ts +0 -122
- package/dist/esm/models/User.js +0 -82
- package/dist/esm/models/UserCriterion.d.ts +0 -77
- package/dist/esm/models/UserCriterion.js +0 -61
- package/dist/esm/models/UserSettings.d.ts +0 -88
- package/dist/esm/models/UserSettings.js +0 -64
- package/dist/esm/models/UserSettingsWithCriteria.d.ts +0 -40
- package/dist/esm/models/UserSettingsWithCriteria.js +0 -45
- package/dist/models/AddPaperToProjectRequest.d.ts +0 -38
- package/dist/models/AddPaperToProjectRequest.js +0 -50
- package/dist/models/Author.d.ts +0 -38
- package/dist/models/Author.js +0 -50
- package/dist/models/CreateCriterionRequest.d.ts +0 -65
- package/dist/models/CreateCriterionRequest.js +0 -65
- package/dist/models/CreatePaperRequest.d.ts +0 -84
- package/dist/models/CreatePaperRequest.js +0 -66
- package/dist/models/CreateReviewRequest.d.ts +0 -53
- package/dist/models/CreateReviewRequest.js +0 -61
- package/dist/models/Criterion.d.ts +0 -77
- package/dist/models/Criterion.js +0 -69
- package/dist/models/ExternalId.d.ts +0 -53
- package/dist/models/ExternalId.js +0 -65
- package/dist/models/FetcherInformation.d.ts +0 -54
- package/dist/models/FetcherInformation.js +0 -57
- package/dist/models/FetcherInformationWithId.d.ts +0 -39
- package/dist/models/FetcherInformationWithId.js +0 -51
- package/dist/models/FetcherOptionsSchema.d.ts +0 -56
- package/dist/models/FetcherOptionsSchema.js +0 -56
- package/dist/models/FetcherPaperResponse.d.ts +0 -96
- package/dist/models/FetcherPaperResponse.js +0 -70
- package/dist/models/GetCriterionById200Response.d.ts +0 -23
- package/dist/models/GetCriterionById200Response.js +0 -57
- package/dist/models/InvitationResponse.d.ts +0 -80
- package/dist/models/InvitationResponse.js +0 -75
- package/dist/models/InviteUserRequest.d.ts +0 -32
- package/dist/models/InviteUserRequest.js +0 -48
- package/dist/models/Link.d.ts +0 -38
- package/dist/models/Link.js +0 -50
- package/dist/models/PaperResponse.d.ts +0 -96
- package/dist/models/PaperResponse.js +0 -70
- package/dist/models/ProjectCriterion.d.ts +0 -83
- package/dist/models/ProjectCriterion.js +0 -71
- package/dist/models/ProjectDecisionCount.d.ts +0 -48
- package/dist/models/ProjectDecisionCount.js +0 -60
- package/dist/models/ProjectDecisionStatistics.d.ts +0 -33
- package/dist/models/ProjectDecisionStatistics.js +0 -49
- package/dist/models/ProjectInformation.d.ts +0 -44
- package/dist/models/ProjectInformation.js +0 -52
- package/dist/models/ProjectMember.d.ts +0 -70
- package/dist/models/ProjectMember.js +0 -67
- package/dist/models/ProjectMemberWithUser.d.ts +0 -40
- package/dist/models/ProjectMemberWithUser.js +0 -52
- package/dist/models/ProjectPaperResponse.d.ts +0 -74
- package/dist/models/ProjectPaperResponse.js +0 -70
- package/dist/models/ReviewResponse.d.ts +0 -77
- package/dist/models/ReviewResponse.js +0 -70
- package/dist/models/UpdateCriterionRequest.d.ts +0 -65
- package/dist/models/UpdateCriterionRequest.js +0 -65
- package/dist/models/UpdateMemberRoleRequest.d.ts +0 -40
- package/dist/models/UpdateMemberRoleRequest.js +0 -56
- package/dist/models/UpdatePaperRequest.d.ts +0 -82
- package/dist/models/UpdatePaperRequest.js +0 -66
- package/dist/models/UpdateProjectRequest.d.ts +0 -62
- package/dist/models/UpdateProjectRequest.js +0 -66
- package/dist/models/UpdateProjectSettingRequest.d.ts +0 -70
- package/dist/models/UpdateProjectSettingRequest.js +0 -66
- package/dist/models/UpdateUserRequest.d.ts +0 -80
- package/dist/models/UpdateUserRequest.js +0 -75
- package/dist/models/User.d.ts +0 -122
- package/dist/models/User.js +0 -90
- package/dist/models/UserCriterion.d.ts +0 -77
- package/dist/models/UserCriterion.js +0 -69
- package/dist/models/UserSettings.d.ts +0 -88
- package/dist/models/UserSettings.js +0 -72
- package/dist/models/UserSettingsWithCriteria.d.ts +0 -40
- package/dist/models/UserSettingsWithCriteria.js +0 -52
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const ProjectCriterionCategoryEnum = {
|
|
18
|
-
INCLUSION: 'INCLUSION',
|
|
19
|
-
EXCLUSION: 'EXCLUSION',
|
|
20
|
-
HARD_EXCLUSION: 'HARD_EXCLUSION'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProjectCriterion interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfProjectCriterion(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
export function ProjectCriterionFromJSON(json) {
|
|
29
|
-
return ProjectCriterionFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
export function ProjectCriterionFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
38
|
-
'category': json['category'] == null ? undefined : json['category'],
|
|
39
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
40
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
41
|
-
'tag': json['tag'] == null ? undefined : json['tag'],
|
|
42
|
-
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
43
|
-
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
export function ProjectCriterionToJSON(json) {
|
|
47
|
-
return ProjectCriterionToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
export function ProjectCriterionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'category': value['category'],
|
|
57
|
-
'description': value['description'],
|
|
58
|
-
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
59
|
-
'tag': value['tag'],
|
|
60
|
-
'createdBy': value['createdBy'],
|
|
61
|
-
'projectId': value['projectId'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProjectDecisionCount
|
|
16
|
-
*/
|
|
17
|
-
export interface ProjectDecisionCount {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProjectDecisionCount
|
|
22
|
-
*/
|
|
23
|
-
decision?: ProjectDecisionCountDecisionEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ProjectDecisionCount
|
|
28
|
-
*/
|
|
29
|
-
count?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const ProjectDecisionCountDecisionEnum: {
|
|
35
|
-
readonly UNREVIEWED: "UNREVIEWED";
|
|
36
|
-
readonly IN_REVIEW: "IN_REVIEW";
|
|
37
|
-
readonly DECLINED: "DECLINED";
|
|
38
|
-
readonly ACCEPTED: "ACCEPTED";
|
|
39
|
-
};
|
|
40
|
-
export type ProjectDecisionCountDecisionEnum = typeof ProjectDecisionCountDecisionEnum[keyof typeof ProjectDecisionCountDecisionEnum];
|
|
41
|
-
/**
|
|
42
|
-
* Check if a given object implements the ProjectDecisionCount interface.
|
|
43
|
-
*/
|
|
44
|
-
export declare function instanceOfProjectDecisionCount(value: object): value is ProjectDecisionCount;
|
|
45
|
-
export declare function ProjectDecisionCountFromJSON(json: any): ProjectDecisionCount;
|
|
46
|
-
export declare function ProjectDecisionCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDecisionCount;
|
|
47
|
-
export declare function ProjectDecisionCountToJSON(json: any): ProjectDecisionCount;
|
|
48
|
-
export declare function ProjectDecisionCountToJSONTyped(value?: ProjectDecisionCount | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const ProjectDecisionCountDecisionEnum = {
|
|
18
|
-
UNREVIEWED: 'UNREVIEWED',
|
|
19
|
-
IN_REVIEW: 'IN_REVIEW',
|
|
20
|
-
DECLINED: 'DECLINED',
|
|
21
|
-
ACCEPTED: 'ACCEPTED'
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the ProjectDecisionCount interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfProjectDecisionCount(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function ProjectDecisionCountFromJSON(json) {
|
|
30
|
-
return ProjectDecisionCountFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function ProjectDecisionCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'decision': json['decision'] == null ? undefined : json['decision'],
|
|
38
|
-
'count': json['count'] == null ? undefined : json['count'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export function ProjectDecisionCountToJSON(json) {
|
|
42
|
-
return ProjectDecisionCountToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
export function ProjectDecisionCountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'decision': value['decision'],
|
|
50
|
-
'count': value['count'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ProjectDecisionCount } from './ProjectDecisionCount';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProjectDecisionStatistics
|
|
17
|
-
*/
|
|
18
|
-
export interface ProjectDecisionStatistics {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProjectDecisionCount>}
|
|
22
|
-
* @memberof ProjectDecisionStatistics
|
|
23
|
-
*/
|
|
24
|
-
statistics?: Array<ProjectDecisionCount>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProjectDecisionStatistics interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProjectDecisionStatistics(value: object): value is ProjectDecisionStatistics;
|
|
30
|
-
export declare function ProjectDecisionStatisticsFromJSON(json: any): ProjectDecisionStatistics;
|
|
31
|
-
export declare function ProjectDecisionStatisticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDecisionStatistics;
|
|
32
|
-
export declare function ProjectDecisionStatisticsToJSON(json: any): ProjectDecisionStatistics;
|
|
33
|
-
export declare function ProjectDecisionStatisticsToJSONTyped(value?: ProjectDecisionStatistics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ProjectDecisionCountFromJSON, ProjectDecisionCountToJSON, } from './ProjectDecisionCount';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the ProjectDecisionStatistics interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfProjectDecisionStatistics(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function ProjectDecisionStatisticsFromJSON(json) {
|
|
22
|
-
return ProjectDecisionStatisticsFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function ProjectDecisionStatisticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'statistics': json['statistics'] == null ? undefined : (json['statistics'].map(ProjectDecisionCountFromJSON)),
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export function ProjectDecisionStatisticsToJSON(json) {
|
|
33
|
-
return ProjectDecisionStatisticsToJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function ProjectDecisionStatisticsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
-
if (value == null) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'statistics': value['statistics'] == null ? undefined : (value['statistics'].map(ProjectDecisionCountToJSON)),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProjectInformation
|
|
16
|
-
*/
|
|
17
|
-
export interface ProjectInformation {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProjectInformation
|
|
22
|
-
*/
|
|
23
|
-
progress?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Date}
|
|
27
|
-
* @memberof ProjectInformation
|
|
28
|
-
*/
|
|
29
|
-
creationDate?: Date;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Date}
|
|
33
|
-
* @memberof ProjectInformation
|
|
34
|
-
*/
|
|
35
|
-
lastStageStarted?: Date;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProjectInformation interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProjectInformation(value: object): value is ProjectInformation;
|
|
41
|
-
export declare function ProjectInformationFromJSON(json: any): ProjectInformation;
|
|
42
|
-
export declare function ProjectInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectInformation;
|
|
43
|
-
export declare function ProjectInformationToJSON(json: any): ProjectInformation;
|
|
44
|
-
export declare function ProjectInformationToJSONTyped(value?: ProjectInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ProjectInformation interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfProjectInformation(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function ProjectInformationFromJSON(json) {
|
|
21
|
-
return ProjectInformationFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function ProjectInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'progress': json['progress'] == null ? undefined : json['progress'],
|
|
29
|
-
'creationDate': json['creationDate'] == null ? undefined : (new Date(json['creationDate'])),
|
|
30
|
-
'lastStageStarted': json['lastStageStarted'] == null ? undefined : (new Date(json['lastStageStarted'])),
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ProjectInformationToJSON(json) {
|
|
34
|
-
return ProjectInformationToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function ProjectInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'progress': value['progress'],
|
|
42
|
-
'creationDate': value['creationDate'] == null ? undefined : ((value['creationDate']).toISOString()),
|
|
43
|
-
'lastStageStarted': value['lastStageStarted'] == null ? undefined : ((value['lastStageStarted']).toISOString()),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProjectMember
|
|
16
|
-
*/
|
|
17
|
-
export interface ProjectMember {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProjectMember
|
|
22
|
-
*/
|
|
23
|
-
projectId?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProjectMember
|
|
28
|
-
*/
|
|
29
|
-
userId?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ProjectMember
|
|
34
|
-
*/
|
|
35
|
-
role?: ProjectMemberRoleEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Date}
|
|
39
|
-
* @memberof ProjectMember
|
|
40
|
-
*/
|
|
41
|
-
createdAt?: Date;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Date}
|
|
45
|
-
* @memberof ProjectMember
|
|
46
|
-
*/
|
|
47
|
-
modifiedAt?: Date | null;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof ProjectMember
|
|
52
|
-
*/
|
|
53
|
-
projectAdmin?: boolean;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const ProjectMemberRoleEnum: {
|
|
59
|
-
readonly DEFAULT: "DEFAULT";
|
|
60
|
-
readonly ADMIN: "ADMIN";
|
|
61
|
-
};
|
|
62
|
-
export type ProjectMemberRoleEnum = typeof ProjectMemberRoleEnum[keyof typeof ProjectMemberRoleEnum];
|
|
63
|
-
/**
|
|
64
|
-
* Check if a given object implements the ProjectMember interface.
|
|
65
|
-
*/
|
|
66
|
-
export declare function instanceOfProjectMember(value: object): value is ProjectMember;
|
|
67
|
-
export declare function ProjectMemberFromJSON(json: any): ProjectMember;
|
|
68
|
-
export declare function ProjectMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMember;
|
|
69
|
-
export declare function ProjectMemberToJSON(json: any): ProjectMember;
|
|
70
|
-
export declare function ProjectMemberToJSONTyped(value?: ProjectMember | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const ProjectMemberRoleEnum = {
|
|
18
|
-
DEFAULT: 'DEFAULT',
|
|
19
|
-
ADMIN: 'ADMIN'
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProjectMember interface.
|
|
23
|
-
*/
|
|
24
|
-
export function instanceOfProjectMember(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
export function ProjectMemberFromJSON(json) {
|
|
28
|
-
return ProjectMemberFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
export function ProjectMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
36
|
-
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
37
|
-
'role': json['role'] == null ? undefined : json['role'],
|
|
38
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
39
|
-
'modifiedAt': json['modifiedAt'] == null ? undefined : (new Date(json['modifiedAt'])),
|
|
40
|
-
'projectAdmin': json['projectAdmin'] == null ? undefined : json['projectAdmin'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function ProjectMemberToJSON(json) {
|
|
44
|
-
return ProjectMemberToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function ProjectMemberToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
var _a;
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'projectId': value['projectId'],
|
|
53
|
-
'userId': value['userId'],
|
|
54
|
-
'role': value['role'],
|
|
55
|
-
'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
56
|
-
'modifiedAt': value['modifiedAt'] === null ? null : ((_a = value['modifiedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
57
|
-
'projectAdmin': value['projectAdmin'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { User } from './User';
|
|
13
|
-
import type { ProjectMember } from './ProjectMember';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProjectMemberWithUser
|
|
18
|
-
*/
|
|
19
|
-
export interface ProjectMemberWithUser {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ProjectMember}
|
|
23
|
-
* @memberof ProjectMemberWithUser
|
|
24
|
-
*/
|
|
25
|
-
projectMember?: ProjectMember;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {User}
|
|
29
|
-
* @memberof ProjectMemberWithUser
|
|
30
|
-
*/
|
|
31
|
-
user?: User;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the ProjectMemberWithUser interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfProjectMemberWithUser(value: object): value is ProjectMemberWithUser;
|
|
37
|
-
export declare function ProjectMemberWithUserFromJSON(json: any): ProjectMemberWithUser;
|
|
38
|
-
export declare function ProjectMemberWithUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMemberWithUser;
|
|
39
|
-
export declare function ProjectMemberWithUserToJSON(json: any): ProjectMemberWithUser;
|
|
40
|
-
export declare function ProjectMemberWithUserToJSONTyped(value?: ProjectMemberWithUser | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { UserFromJSON, UserToJSON, } from './User';
|
|
15
|
-
import { ProjectMemberFromJSON, ProjectMemberToJSON, } from './ProjectMember';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the ProjectMemberWithUser interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfProjectMemberWithUser(value) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function ProjectMemberWithUserFromJSON(json) {
|
|
23
|
-
return ProjectMemberWithUserFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function ProjectMemberWithUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'projectMember': json['projectMember'] == null ? undefined : ProjectMemberFromJSON(json['projectMember']),
|
|
31
|
-
'user': json['user'] == null ? undefined : UserFromJSON(json['user']),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function ProjectMemberWithUserToJSON(json) {
|
|
35
|
-
return ProjectMemberWithUserToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function ProjectMemberWithUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'projectMember': ProjectMemberToJSON(value['projectMember']),
|
|
43
|
-
'user': UserToJSON(value['user']),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SnowballR API
|
|
3
|
-
* REST API for the SnowballR Application
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PaperResponse } from './PaperResponse';
|
|
13
|
-
import type { ReviewResponse } from './ReviewResponse';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProjectPaperResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface ProjectPaperResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ProjectPaperResponse
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof ProjectPaperResponse
|
|
30
|
-
*/
|
|
31
|
-
stage?: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ProjectPaperResponse
|
|
36
|
-
*/
|
|
37
|
-
decision?: ProjectPaperResponseDecisionEnum;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof ProjectPaperResponse
|
|
42
|
-
*/
|
|
43
|
-
localPaperId?: number;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {PaperResponse}
|
|
47
|
-
* @memberof ProjectPaperResponse
|
|
48
|
-
*/
|
|
49
|
-
paper?: PaperResponse;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {Array<ReviewResponse>}
|
|
53
|
-
* @memberof ProjectPaperResponse
|
|
54
|
-
*/
|
|
55
|
-
reviews?: Array<ReviewResponse>;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const ProjectPaperResponseDecisionEnum: {
|
|
61
|
-
readonly UNREVIEWED: "UNREVIEWED";
|
|
62
|
-
readonly IN_REVIEW: "IN_REVIEW";
|
|
63
|
-
readonly DECLINED: "DECLINED";
|
|
64
|
-
readonly ACCEPTED: "ACCEPTED";
|
|
65
|
-
};
|
|
66
|
-
export type ProjectPaperResponseDecisionEnum = typeof ProjectPaperResponseDecisionEnum[keyof typeof ProjectPaperResponseDecisionEnum];
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the ProjectPaperResponse interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfProjectPaperResponse(value: object): value is ProjectPaperResponse;
|
|
71
|
-
export declare function ProjectPaperResponseFromJSON(json: any): ProjectPaperResponse;
|
|
72
|
-
export declare function ProjectPaperResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectPaperResponse;
|
|
73
|
-
export declare function ProjectPaperResponseToJSON(json: any): ProjectPaperResponse;
|
|
74
|
-
export declare function ProjectPaperResponseToJSONTyped(value?: ProjectPaperResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* SnowballR API
|
|
5
|
-
* REST API for the SnowballR Application
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { PaperResponseFromJSON, PaperResponseToJSON, } from './PaperResponse';
|
|
15
|
-
import { ReviewResponseFromJSON, ReviewResponseToJSON, } from './ReviewResponse';
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export const ProjectPaperResponseDecisionEnum = {
|
|
20
|
-
UNREVIEWED: 'UNREVIEWED',
|
|
21
|
-
IN_REVIEW: 'IN_REVIEW',
|
|
22
|
-
DECLINED: 'DECLINED',
|
|
23
|
-
ACCEPTED: 'ACCEPTED'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ProjectPaperResponse interface.
|
|
27
|
-
*/
|
|
28
|
-
export function instanceOfProjectPaperResponse(value) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
export function ProjectPaperResponseFromJSON(json) {
|
|
32
|
-
return ProjectPaperResponseFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
export function ProjectPaperResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
-
'stage': json['stage'] == null ? undefined : json['stage'],
|
|
41
|
-
'decision': json['decision'] == null ? undefined : json['decision'],
|
|
42
|
-
'localPaperId': json['localPaperId'] == null ? undefined : json['localPaperId'],
|
|
43
|
-
'paper': json['paper'] == null ? undefined : PaperResponseFromJSON(json['paper']),
|
|
44
|
-
'reviews': json['reviews'] == null ? undefined : (json['reviews'].map(ReviewResponseFromJSON)),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
export function ProjectPaperResponseToJSON(json) {
|
|
48
|
-
return ProjectPaperResponseToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
export function ProjectPaperResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'stage': value['stage'],
|
|
57
|
-
'decision': value['decision'],
|
|
58
|
-
'localPaperId': value['localPaperId'],
|
|
59
|
-
'paper': PaperResponseToJSON(value['paper']),
|
|
60
|
-
'reviews': value['reviews'] == null ? undefined : (value['reviews'].map(ReviewResponseToJSON)),
|
|
61
|
-
};
|
|
62
|
-
}
|