@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,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 { GetCriterionById200ResponseFromJSON, GetCriterionById200ResponseToJSON, } from './GetCriterionById200Response';
|
|
15
|
-
import { UserSettingsFromJSON, UserSettingsToJSON, } from './UserSettings';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the UserSettingsWithCriteria interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfUserSettingsWithCriteria(value) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function UserSettingsWithCriteriaFromJSON(json) {
|
|
23
|
-
return UserSettingsWithCriteriaFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function UserSettingsWithCriteriaFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'settings': json['settings'] == null ? undefined : UserSettingsFromJSON(json['settings']),
|
|
31
|
-
'criteria': json['criteria'] == null ? undefined : (json['criteria'].map(GetCriterionById200ResponseFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function UserSettingsWithCriteriaToJSON(json) {
|
|
35
|
-
return UserSettingsWithCriteriaToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function UserSettingsWithCriteriaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'settings': UserSettingsToJSON(value['settings']),
|
|
43
|
-
'criteria': value['criteria'] == null ? undefined : (value['criteria'].map(GetCriterionById200ResponseToJSON)),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,38 +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 AddPaperToProjectRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface AddPaperToProjectRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AddPaperToProjectRequest
|
|
22
|
-
*/
|
|
23
|
-
paperId?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof AddPaperToProjectRequest
|
|
28
|
-
*/
|
|
29
|
-
stage?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the AddPaperToProjectRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfAddPaperToProjectRequest(value: object): value is AddPaperToProjectRequest;
|
|
35
|
-
export declare function AddPaperToProjectRequestFromJSON(json: any): AddPaperToProjectRequest;
|
|
36
|
-
export declare function AddPaperToProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddPaperToProjectRequest;
|
|
37
|
-
export declare function AddPaperToProjectRequestToJSON(json: any): AddPaperToProjectRequest;
|
|
38
|
-
export declare function AddPaperToProjectRequestToJSONTyped(value?: AddPaperToProjectRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SnowballR API
|
|
6
|
-
* REST API for the SnowballR Application
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAddPaperToProjectRequest = instanceOfAddPaperToProjectRequest;
|
|
17
|
-
exports.AddPaperToProjectRequestFromJSON = AddPaperToProjectRequestFromJSON;
|
|
18
|
-
exports.AddPaperToProjectRequestFromJSONTyped = AddPaperToProjectRequestFromJSONTyped;
|
|
19
|
-
exports.AddPaperToProjectRequestToJSON = AddPaperToProjectRequestToJSON;
|
|
20
|
-
exports.AddPaperToProjectRequestToJSONTyped = AddPaperToProjectRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AddPaperToProjectRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAddPaperToProjectRequest(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function AddPaperToProjectRequestFromJSON(json) {
|
|
28
|
-
return AddPaperToProjectRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function AddPaperToProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'paperId': json['paperId'] == null ? undefined : json['paperId'],
|
|
36
|
-
'stage': json['stage'] == null ? undefined : json['stage'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AddPaperToProjectRequestToJSON(json) {
|
|
40
|
-
return AddPaperToProjectRequestToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AddPaperToProjectRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'paperId': value['paperId'],
|
|
48
|
-
'stage': value['stage'],
|
|
49
|
-
};
|
|
50
|
-
}
|
package/dist/models/Author.d.ts
DELETED
|
@@ -1,38 +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 Author
|
|
16
|
-
*/
|
|
17
|
-
export interface Author {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Author
|
|
22
|
-
*/
|
|
23
|
-
firstName?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Author
|
|
28
|
-
*/
|
|
29
|
-
lastName?: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the Author interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfAuthor(value: object): value is Author;
|
|
35
|
-
export declare function AuthorFromJSON(json: any): Author;
|
|
36
|
-
export declare function AuthorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Author;
|
|
37
|
-
export declare function AuthorToJSON(json: any): Author;
|
|
38
|
-
export declare function AuthorToJSONTyped(value?: Author | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/Author.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SnowballR API
|
|
6
|
-
* REST API for the SnowballR Application
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfAuthor = instanceOfAuthor;
|
|
17
|
-
exports.AuthorFromJSON = AuthorFromJSON;
|
|
18
|
-
exports.AuthorFromJSONTyped = AuthorFromJSONTyped;
|
|
19
|
-
exports.AuthorToJSON = AuthorToJSON;
|
|
20
|
-
exports.AuthorToJSONTyped = AuthorToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the Author interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAuthor(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function AuthorFromJSON(json) {
|
|
28
|
-
return AuthorFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function AuthorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
36
|
-
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AuthorToJSON(json) {
|
|
40
|
-
return AuthorToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AuthorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'firstName': value['firstName'],
|
|
48
|
-
'lastName': value['lastName'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,65 +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 CreateCriterionRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateCriterionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateCriterionRequest
|
|
22
|
-
*/
|
|
23
|
-
tag?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateCriterionRequest
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateCriterionRequest
|
|
34
|
-
*/
|
|
35
|
-
description?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateCriterionRequest
|
|
40
|
-
*/
|
|
41
|
-
category?: CreateCriterionRequestCategoryEnum;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreateCriterionRequest
|
|
46
|
-
*/
|
|
47
|
-
projectId?: string | null;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export declare const CreateCriterionRequestCategoryEnum: {
|
|
53
|
-
readonly INCLUSION: "INCLUSION";
|
|
54
|
-
readonly EXCLUSION: "EXCLUSION";
|
|
55
|
-
readonly HARD_EXCLUSION: "HARD_EXCLUSION";
|
|
56
|
-
};
|
|
57
|
-
export type CreateCriterionRequestCategoryEnum = typeof CreateCriterionRequestCategoryEnum[keyof typeof CreateCriterionRequestCategoryEnum];
|
|
58
|
-
/**
|
|
59
|
-
* Check if a given object implements the CreateCriterionRequest interface.
|
|
60
|
-
*/
|
|
61
|
-
export declare function instanceOfCreateCriterionRequest(value: object): value is CreateCriterionRequest;
|
|
62
|
-
export declare function CreateCriterionRequestFromJSON(json: any): CreateCriterionRequest;
|
|
63
|
-
export declare function CreateCriterionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCriterionRequest;
|
|
64
|
-
export declare function CreateCriterionRequestToJSON(json: any): CreateCriterionRequest;
|
|
65
|
-
export declare function CreateCriterionRequestToJSONTyped(value?: CreateCriterionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SnowballR API
|
|
6
|
-
* REST API for the SnowballR Application
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateCriterionRequestCategoryEnum = void 0;
|
|
17
|
-
exports.instanceOfCreateCriterionRequest = instanceOfCreateCriterionRequest;
|
|
18
|
-
exports.CreateCriterionRequestFromJSON = CreateCriterionRequestFromJSON;
|
|
19
|
-
exports.CreateCriterionRequestFromJSONTyped = CreateCriterionRequestFromJSONTyped;
|
|
20
|
-
exports.CreateCriterionRequestToJSON = CreateCriterionRequestToJSON;
|
|
21
|
-
exports.CreateCriterionRequestToJSONTyped = CreateCriterionRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.CreateCriterionRequestCategoryEnum = {
|
|
26
|
-
INCLUSION: 'INCLUSION',
|
|
27
|
-
EXCLUSION: 'EXCLUSION',
|
|
28
|
-
HARD_EXCLUSION: 'HARD_EXCLUSION'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the CreateCriterionRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfCreateCriterionRequest(value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function CreateCriterionRequestFromJSON(json) {
|
|
37
|
-
return CreateCriterionRequestFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function CreateCriterionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'tag': json['tag'] == null ? undefined : json['tag'],
|
|
45
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
46
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
47
|
-
'category': json['category'] == null ? undefined : json['category'],
|
|
48
|
-
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function CreateCriterionRequestToJSON(json) {
|
|
52
|
-
return CreateCriterionRequestToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function CreateCriterionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'tag': value['tag'],
|
|
60
|
-
'name': value['name'],
|
|
61
|
-
'description': value['description'],
|
|
62
|
-
'category': value['category'],
|
|
63
|
-
'projectId': value['projectId'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,84 +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 { ExternalId } from './ExternalId';
|
|
13
|
-
import type { Author } from './Author';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CreatePaperRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface CreatePaperRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof CreatePaperRequest
|
|
24
|
-
*/
|
|
25
|
-
title?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<ExternalId>}
|
|
29
|
-
* @memberof CreatePaperRequest
|
|
30
|
-
*/
|
|
31
|
-
externalIds?: Array<ExternalId>;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof CreatePaperRequest
|
|
36
|
-
*/
|
|
37
|
-
_abstract?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof CreatePaperRequest
|
|
42
|
-
*/
|
|
43
|
-
year?: number;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof CreatePaperRequest
|
|
48
|
-
*/
|
|
49
|
-
publisher?: string;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof CreatePaperRequest
|
|
54
|
-
*/
|
|
55
|
-
publicationName?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof CreatePaperRequest
|
|
60
|
-
*/
|
|
61
|
-
publicationType?: string;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {Array<Author>}
|
|
65
|
-
* @memberof CreatePaperRequest
|
|
66
|
-
*/
|
|
67
|
-
authors?: Array<Author>;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {{ [key: string]: string; }}
|
|
71
|
-
* @memberof CreatePaperRequest
|
|
72
|
-
*/
|
|
73
|
-
fetcherMetadata?: {
|
|
74
|
-
[key: string]: string;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Check if a given object implements the CreatePaperRequest interface.
|
|
79
|
-
*/
|
|
80
|
-
export declare function instanceOfCreatePaperRequest(value: object): value is CreatePaperRequest;
|
|
81
|
-
export declare function CreatePaperRequestFromJSON(json: any): CreatePaperRequest;
|
|
82
|
-
export declare function CreatePaperRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaperRequest;
|
|
83
|
-
export declare function CreatePaperRequestToJSON(json: any): CreatePaperRequest;
|
|
84
|
-
export declare function CreatePaperRequestToJSONTyped(value?: CreatePaperRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SnowballR API
|
|
6
|
-
* REST API for the SnowballR Application
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfCreatePaperRequest = instanceOfCreatePaperRequest;
|
|
17
|
-
exports.CreatePaperRequestFromJSON = CreatePaperRequestFromJSON;
|
|
18
|
-
exports.CreatePaperRequestFromJSONTyped = CreatePaperRequestFromJSONTyped;
|
|
19
|
-
exports.CreatePaperRequestToJSON = CreatePaperRequestToJSON;
|
|
20
|
-
exports.CreatePaperRequestToJSONTyped = CreatePaperRequestToJSONTyped;
|
|
21
|
-
const ExternalId_1 = require("./ExternalId");
|
|
22
|
-
const Author_1 = require("./Author");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the CreatePaperRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfCreatePaperRequest(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function CreatePaperRequestFromJSON(json) {
|
|
30
|
-
return CreatePaperRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function CreatePaperRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'title': json['title'] == null ? undefined : json['title'],
|
|
38
|
-
'externalIds': json['externalIds'] == null ? undefined : (json['externalIds'].map(ExternalId_1.ExternalIdFromJSON)),
|
|
39
|
-
'_abstract': json['abstract'] == null ? undefined : json['abstract'],
|
|
40
|
-
'year': json['year'] == null ? undefined : json['year'],
|
|
41
|
-
'publisher': json['publisher'] == null ? undefined : json['publisher'],
|
|
42
|
-
'publicationName': json['publicationName'] == null ? undefined : json['publicationName'],
|
|
43
|
-
'publicationType': json['publicationType'] == null ? undefined : json['publicationType'],
|
|
44
|
-
'authors': json['authors'] == null ? undefined : (json['authors'].map(Author_1.AuthorFromJSON)),
|
|
45
|
-
'fetcherMetadata': json['fetcherMetadata'] == null ? undefined : json['fetcherMetadata'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
function CreatePaperRequestToJSON(json) {
|
|
49
|
-
return CreatePaperRequestToJSONTyped(json, false);
|
|
50
|
-
}
|
|
51
|
-
function CreatePaperRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'title': value['title'],
|
|
57
|
-
'externalIds': value['externalIds'] == null ? undefined : (value['externalIds'].map(ExternalId_1.ExternalIdToJSON)),
|
|
58
|
-
'abstract': value['_abstract'],
|
|
59
|
-
'year': value['year'],
|
|
60
|
-
'publisher': value['publisher'],
|
|
61
|
-
'publicationName': value['publicationName'],
|
|
62
|
-
'publicationType': value['publicationType'],
|
|
63
|
-
'authors': value['authors'] == null ? undefined : (value['authors'].map(Author_1.AuthorToJSON)),
|
|
64
|
-
'fetcherMetadata': value['fetcherMetadata'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,53 +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 CreateReviewRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateReviewRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateReviewRequest
|
|
22
|
-
*/
|
|
23
|
-
projectPaperId?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateReviewRequest
|
|
28
|
-
*/
|
|
29
|
-
decision?: CreateReviewRequestDecisionEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof CreateReviewRequest
|
|
34
|
-
*/
|
|
35
|
-
selectedCriteriaIds?: Array<string>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const CreateReviewRequestDecisionEnum: {
|
|
41
|
-
readonly DECLINED: "DECLINED";
|
|
42
|
-
readonly MAYBE: "MAYBE";
|
|
43
|
-
readonly ACCEPTED: "ACCEPTED";
|
|
44
|
-
};
|
|
45
|
-
export type CreateReviewRequestDecisionEnum = typeof CreateReviewRequestDecisionEnum[keyof typeof CreateReviewRequestDecisionEnum];
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the CreateReviewRequest interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfCreateReviewRequest(value: object): value is CreateReviewRequest;
|
|
50
|
-
export declare function CreateReviewRequestFromJSON(json: any): CreateReviewRequest;
|
|
51
|
-
export declare function CreateReviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateReviewRequest;
|
|
52
|
-
export declare function CreateReviewRequestToJSON(json: any): CreateReviewRequest;
|
|
53
|
-
export declare function CreateReviewRequestToJSONTyped(value?: CreateReviewRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* SnowballR API
|
|
6
|
-
* REST API for the SnowballR Application
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: v1
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateReviewRequestDecisionEnum = void 0;
|
|
17
|
-
exports.instanceOfCreateReviewRequest = instanceOfCreateReviewRequest;
|
|
18
|
-
exports.CreateReviewRequestFromJSON = CreateReviewRequestFromJSON;
|
|
19
|
-
exports.CreateReviewRequestFromJSONTyped = CreateReviewRequestFromJSONTyped;
|
|
20
|
-
exports.CreateReviewRequestToJSON = CreateReviewRequestToJSON;
|
|
21
|
-
exports.CreateReviewRequestToJSONTyped = CreateReviewRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.CreateReviewRequestDecisionEnum = {
|
|
26
|
-
DECLINED: 'DECLINED',
|
|
27
|
-
MAYBE: 'MAYBE',
|
|
28
|
-
ACCEPTED: 'ACCEPTED'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the CreateReviewRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfCreateReviewRequest(value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function CreateReviewRequestFromJSON(json) {
|
|
37
|
-
return CreateReviewRequestFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function CreateReviewRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'projectPaperId': json['projectPaperId'] == null ? undefined : json['projectPaperId'],
|
|
45
|
-
'decision': json['decision'] == null ? undefined : json['decision'],
|
|
46
|
-
'selectedCriteriaIds': json['selectedCriteriaIds'] == null ? undefined : json['selectedCriteriaIds'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function CreateReviewRequestToJSON(json) {
|
|
50
|
-
return CreateReviewRequestToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function CreateReviewRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'projectPaperId': value['projectPaperId'],
|
|
58
|
-
'decision': value['decision'],
|
|
59
|
-
'selectedCriteriaIds': value['selectedCriteriaIds'],
|
|
60
|
-
};
|
|
61
|
-
}
|