@se-uulm/snowballr-api-client 0.2.1-alpha.267f00c → 0.2.1-alpha.3ebad36
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 +2 -2
- package/dist/apis/CriterionControllerApi.d.ts +108 -0
- package/dist/apis/CriterionControllerApi.js +151 -0
- package/dist/apis/ExportControllerApi.d.ts +70 -0
- package/dist/apis/ExportControllerApi.js +101 -0
- package/dist/apis/FetcherControllerApi.d.ts +86 -0
- package/dist/apis/FetcherControllerApi.js +125 -0
- package/dist/apis/InvitationControllerApi.d.ts +88 -0
- package/dist/apis/InvitationControllerApi.js +120 -0
- package/dist/apis/PaperControllerApi.d.ts +128 -0
- package/dist/apis/PaperControllerApi.js +179 -0
- package/dist/apis/ProjectMemberControllerApi.d.ts +92 -0
- package/dist/apis/ProjectMemberControllerApi.js +128 -0
- package/dist/apis/ProjectPaperControllerApi.d.ts +190 -0
- package/dist/apis/ProjectPaperControllerApi.js +266 -0
- package/dist/apis/ProjectsControllerApi.d.ts +86 -5
- package/dist/apis/ProjectsControllerApi.js +113 -4
- package/dist/apis/ReadingListControllerApi.d.ts +102 -0
- package/dist/apis/ReadingListControllerApi.js +138 -0
- package/dist/apis/ReviewControllerApi.d.ts +88 -0
- package/dist/apis/ReviewControllerApi.js +122 -0
- package/dist/apis/UsersControllerApi.d.ts +137 -1
- package/dist/apis/UsersControllerApi.js +196 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +9 -0
- package/dist/esm/apis/CriterionControllerApi.d.ts +108 -0
- package/dist/esm/apis/CriterionControllerApi.js +147 -0
- package/dist/esm/apis/ExportControllerApi.d.ts +70 -0
- package/dist/esm/apis/ExportControllerApi.js +97 -0
- package/dist/esm/apis/FetcherControllerApi.d.ts +86 -0
- package/dist/esm/apis/FetcherControllerApi.js +121 -0
- package/dist/esm/apis/InvitationControllerApi.d.ts +88 -0
- package/dist/esm/apis/InvitationControllerApi.js +116 -0
- package/dist/esm/apis/PaperControllerApi.d.ts +128 -0
- package/dist/esm/apis/PaperControllerApi.js +175 -0
- package/dist/esm/apis/ProjectMemberControllerApi.d.ts +92 -0
- package/dist/esm/apis/ProjectMemberControllerApi.js +124 -0
- package/dist/esm/apis/ProjectPaperControllerApi.d.ts +190 -0
- package/dist/esm/apis/ProjectPaperControllerApi.js +262 -0
- package/dist/esm/apis/ProjectsControllerApi.d.ts +86 -5
- package/dist/esm/apis/ProjectsControllerApi.js +113 -4
- package/dist/esm/apis/ReadingListControllerApi.d.ts +102 -0
- package/dist/esm/apis/ReadingListControllerApi.js +134 -0
- package/dist/esm/apis/ReviewControllerApi.d.ts +88 -0
- package/dist/esm/apis/ReviewControllerApi.js +118 -0
- package/dist/esm/apis/UsersControllerApi.d.ts +137 -1
- package/dist/esm/apis/UsersControllerApi.js +197 -1
- package/dist/esm/apis/index.d.ts +9 -0
- package/dist/esm/apis/index.js +9 -0
- package/dist/esm/models/AddPaperToProjectRequest.d.ts +38 -0
- package/dist/esm/models/AddPaperToProjectRequest.js +43 -0
- package/dist/esm/models/Author.d.ts +38 -0
- package/dist/esm/models/Author.js +43 -0
- package/dist/esm/models/CreateCriterionRequest.d.ts +65 -0
- package/dist/esm/models/CreateCriterionRequest.js +57 -0
- package/dist/esm/models/CreatePaperRequest.d.ts +84 -0
- package/dist/esm/models/CreatePaperRequest.js +59 -0
- package/dist/esm/models/CreateReviewRequest.d.ts +53 -0
- package/dist/esm/models/CreateReviewRequest.js +53 -0
- package/dist/esm/models/Criterion.d.ts +77 -0
- package/dist/esm/models/Criterion.js +61 -0
- package/dist/esm/models/ExternalId.d.ts +53 -0
- package/dist/esm/models/ExternalId.js +57 -0
- package/dist/esm/models/FetcherInformation.d.ts +54 -0
- package/dist/esm/models/FetcherInformation.js +50 -0
- package/dist/esm/models/FetcherInformationWithId.d.ts +39 -0
- package/dist/esm/models/FetcherInformationWithId.js +44 -0
- package/dist/esm/models/FetcherOptionsSchema.d.ts +56 -0
- package/dist/esm/models/FetcherOptionsSchema.js +49 -0
- package/dist/esm/models/FetcherPaperResponse.d.ts +96 -0
- package/dist/esm/models/FetcherPaperResponse.js +63 -0
- package/dist/esm/models/GetCriterionById200Response.d.ts +23 -0
- package/dist/esm/models/GetCriterionById200Response.js +51 -0
- package/dist/esm/models/InvitationResponse.d.ts +80 -0
- package/dist/esm/models/InvitationResponse.js +67 -0
- package/dist/esm/models/InviteUserRequest.d.ts +32 -0
- package/dist/esm/models/InviteUserRequest.js +41 -0
- package/dist/esm/models/Link.d.ts +38 -0
- package/dist/esm/models/Link.js +43 -0
- package/dist/esm/models/PaperResponse.d.ts +96 -0
- package/dist/esm/models/PaperResponse.js +63 -0
- package/dist/esm/models/ProjectCriterion.d.ts +83 -0
- package/dist/esm/models/ProjectCriterion.js +63 -0
- package/dist/esm/models/ProjectDecisionCount.d.ts +48 -0
- package/dist/esm/models/ProjectDecisionCount.js +52 -0
- package/dist/esm/models/ProjectDecisionStatistics.d.ts +33 -0
- package/dist/esm/models/ProjectDecisionStatistics.js +42 -0
- package/dist/esm/models/ProjectInformation.d.ts +44 -0
- package/dist/esm/models/ProjectInformation.js +45 -0
- package/dist/esm/models/ProjectMember.d.ts +70 -0
- package/dist/esm/models/ProjectMember.js +59 -0
- package/dist/esm/models/ProjectMemberWithUser.d.ts +40 -0
- package/dist/esm/models/ProjectMemberWithUser.js +45 -0
- package/dist/esm/models/ProjectPaperResponse.d.ts +74 -0
- package/dist/esm/models/ProjectPaperResponse.js +62 -0
- package/dist/esm/models/ReviewResponse.d.ts +77 -0
- package/dist/esm/models/ReviewResponse.js +62 -0
- package/dist/esm/models/UpdateCriterionRequest.d.ts +65 -0
- package/dist/esm/models/UpdateCriterionRequest.js +57 -0
- package/dist/esm/models/UpdateMemberRoleRequest.d.ts +40 -0
- package/dist/esm/models/UpdateMemberRoleRequest.js +48 -0
- package/dist/esm/models/UpdatePaperRequest.d.ts +82 -0
- package/dist/esm/models/UpdatePaperRequest.js +59 -0
- package/dist/esm/models/UpdateProjectRequest.d.ts +62 -0
- package/dist/esm/models/UpdateProjectRequest.js +58 -0
- package/dist/esm/models/UpdateProjectSettingRequest.d.ts +70 -0
- package/dist/esm/models/UpdateProjectSettingRequest.js +58 -0
- package/dist/esm/models/UpdateUserRequest.d.ts +80 -0
- package/dist/esm/models/UpdateUserRequest.js +67 -0
- package/dist/esm/models/User.d.ts +122 -0
- package/dist/esm/models/User.js +82 -0
- package/dist/esm/models/UserCriterion.d.ts +77 -0
- package/dist/esm/models/UserCriterion.js +61 -0
- package/dist/esm/models/UserSettings.d.ts +88 -0
- package/dist/esm/models/UserSettings.js +64 -0
- package/dist/esm/models/UserSettingsWithCriteria.d.ts +40 -0
- package/dist/esm/models/UserSettingsWithCriteria.js +45 -0
- package/dist/esm/models/index.d.ts +34 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/models/AddPaperToProjectRequest.d.ts +38 -0
- package/dist/models/AddPaperToProjectRequest.js +50 -0
- package/dist/models/Author.d.ts +38 -0
- package/dist/models/Author.js +50 -0
- package/dist/models/CreateCriterionRequest.d.ts +65 -0
- package/dist/models/CreateCriterionRequest.js +65 -0
- package/dist/models/CreatePaperRequest.d.ts +84 -0
- package/dist/models/CreatePaperRequest.js +66 -0
- package/dist/models/CreateReviewRequest.d.ts +53 -0
- package/dist/models/CreateReviewRequest.js +61 -0
- package/dist/models/Criterion.d.ts +77 -0
- package/dist/models/Criterion.js +69 -0
- package/dist/models/ExternalId.d.ts +53 -0
- package/dist/models/ExternalId.js +65 -0
- package/dist/models/FetcherInformation.d.ts +54 -0
- package/dist/models/FetcherInformation.js +57 -0
- package/dist/models/FetcherInformationWithId.d.ts +39 -0
- package/dist/models/FetcherInformationWithId.js +51 -0
- package/dist/models/FetcherOptionsSchema.d.ts +56 -0
- package/dist/models/FetcherOptionsSchema.js +56 -0
- package/dist/models/FetcherPaperResponse.d.ts +96 -0
- package/dist/models/FetcherPaperResponse.js +70 -0
- package/dist/models/GetCriterionById200Response.d.ts +23 -0
- package/dist/models/GetCriterionById200Response.js +57 -0
- package/dist/models/InvitationResponse.d.ts +80 -0
- package/dist/models/InvitationResponse.js +75 -0
- package/dist/models/InviteUserRequest.d.ts +32 -0
- package/dist/models/InviteUserRequest.js +48 -0
- package/dist/models/Link.d.ts +38 -0
- package/dist/models/Link.js +50 -0
- package/dist/models/PaperResponse.d.ts +96 -0
- package/dist/models/PaperResponse.js +70 -0
- package/dist/models/ProjectCriterion.d.ts +83 -0
- package/dist/models/ProjectCriterion.js +71 -0
- package/dist/models/ProjectDecisionCount.d.ts +48 -0
- package/dist/models/ProjectDecisionCount.js +60 -0
- package/dist/models/ProjectDecisionStatistics.d.ts +33 -0
- package/dist/models/ProjectDecisionStatistics.js +49 -0
- package/dist/models/ProjectInformation.d.ts +44 -0
- package/dist/models/ProjectInformation.js +52 -0
- package/dist/models/ProjectMember.d.ts +70 -0
- package/dist/models/ProjectMember.js +67 -0
- package/dist/models/ProjectMemberWithUser.d.ts +40 -0
- package/dist/models/ProjectMemberWithUser.js +52 -0
- package/dist/models/ProjectPaperResponse.d.ts +74 -0
- package/dist/models/ProjectPaperResponse.js +70 -0
- package/dist/models/ReviewResponse.d.ts +77 -0
- package/dist/models/ReviewResponse.js +70 -0
- package/dist/models/UpdateCriterionRequest.d.ts +65 -0
- package/dist/models/UpdateCriterionRequest.js +65 -0
- package/dist/models/UpdateMemberRoleRequest.d.ts +40 -0
- package/dist/models/UpdateMemberRoleRequest.js +56 -0
- package/dist/models/UpdatePaperRequest.d.ts +82 -0
- package/dist/models/UpdatePaperRequest.js +66 -0
- package/dist/models/UpdateProjectRequest.d.ts +62 -0
- package/dist/models/UpdateProjectRequest.js +66 -0
- package/dist/models/UpdateProjectSettingRequest.d.ts +70 -0
- package/dist/models/UpdateProjectSettingRequest.js +66 -0
- package/dist/models/UpdateUserRequest.d.ts +80 -0
- package/dist/models/UpdateUserRequest.js +75 -0
- package/dist/models/User.d.ts +122 -0
- package/dist/models/User.js +90 -0
- package/dist/models/UserCriterion.d.ts +77 -0
- package/dist/models/UserCriterion.js +69 -0
- package/dist/models/UserSettings.d.ts +88 -0
- package/dist/models/UserSettings.js +72 -0
- package/dist/models/UserSettingsWithCriteria.d.ts +40 -0
- package/dist/models/UserSettingsWithCriteria.js +52 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +34 -0
- package/package.json +1 -1
|
@@ -10,16 +10,31 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CreateProjectRequest, ProjectResponse } from '../models/index';
|
|
13
|
+
import type { CreateProjectRequest, ProjectDecisionStatistics, ProjectInformation, ProjectResponse, UpdateProjectRequest } from '../models/index';
|
|
14
14
|
export interface CreateProjectOperationRequest {
|
|
15
15
|
createProjectRequest: CreateProjectRequest;
|
|
16
16
|
}
|
|
17
17
|
export interface DeleteProjectRequest {
|
|
18
18
|
id: string;
|
|
19
19
|
}
|
|
20
|
+
export interface GetAllProjectsRequest {
|
|
21
|
+
userId?: string;
|
|
22
|
+
status?: GetAllProjectsStatusEnum;
|
|
23
|
+
}
|
|
24
|
+
export interface GetDecisionStatisticsForStageRequest {
|
|
25
|
+
id: string;
|
|
26
|
+
stage: number;
|
|
27
|
+
}
|
|
20
28
|
export interface GetProjectRequest {
|
|
21
29
|
id: string;
|
|
22
30
|
}
|
|
31
|
+
export interface GetProjectInformationRequest {
|
|
32
|
+
id: string;
|
|
33
|
+
}
|
|
34
|
+
export interface UpdateProjectOperationRequest {
|
|
35
|
+
id: string;
|
|
36
|
+
updateProjectRequest: UpdateProjectRequest;
|
|
37
|
+
}
|
|
23
38
|
/**
|
|
24
39
|
* ProjectsControllerApi - interface
|
|
25
40
|
*
|
|
@@ -51,14 +66,28 @@ export interface ProjectsControllerApiInterface {
|
|
|
51
66
|
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
52
67
|
/**
|
|
53
68
|
*
|
|
69
|
+
* @param {string} [userId]
|
|
70
|
+
* @param {'ACTIVE' | 'ACTIVE_LOCKED' | 'ARCHIVED' | 'DELETED' | 'CLEARED'} [status]
|
|
54
71
|
* @param {*} [options] Override http request option.
|
|
55
72
|
* @throws {RequiredError}
|
|
56
73
|
* @memberof ProjectsControllerApiInterface
|
|
57
74
|
*/
|
|
58
|
-
getAllProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
75
|
+
getAllProjectsRaw(requestParameters: GetAllProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
59
76
|
/**
|
|
60
77
|
*/
|
|
61
|
-
getAllProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectResponse>>;
|
|
78
|
+
getAllProjects(requestParameters: GetAllProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectResponse>>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @param {string} id
|
|
82
|
+
* @param {number} stage
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
* @memberof ProjectsControllerApiInterface
|
|
86
|
+
*/
|
|
87
|
+
getDecisionStatisticsForStageRaw(requestParameters: GetDecisionStatisticsForStageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDecisionStatistics>>;
|
|
88
|
+
/**
|
|
89
|
+
*/
|
|
90
|
+
getDecisionStatisticsForStage(requestParameters: GetDecisionStatisticsForStageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDecisionStatistics>;
|
|
62
91
|
/**
|
|
63
92
|
*
|
|
64
93
|
* @param {string} id
|
|
@@ -70,6 +99,29 @@ export interface ProjectsControllerApiInterface {
|
|
|
70
99
|
/**
|
|
71
100
|
*/
|
|
72
101
|
getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @param {string} id
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
* @memberof ProjectsControllerApiInterface
|
|
108
|
+
*/
|
|
109
|
+
getProjectInformationRaw(requestParameters: GetProjectInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectInformation>>;
|
|
110
|
+
/**
|
|
111
|
+
*/
|
|
112
|
+
getProjectInformation(requestParameters: GetProjectInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInformation>;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @param {string} id
|
|
116
|
+
* @param {UpdateProjectRequest} updateProjectRequest
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
* @memberof ProjectsControllerApiInterface
|
|
120
|
+
*/
|
|
121
|
+
updateProjectRaw(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
122
|
+
/**
|
|
123
|
+
*/
|
|
124
|
+
updateProject(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
73
125
|
}
|
|
74
126
|
/**
|
|
75
127
|
*
|
|
@@ -89,14 +141,43 @@ export declare class ProjectsControllerApi extends runtime.BaseAPI implements Pr
|
|
|
89
141
|
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
90
142
|
/**
|
|
91
143
|
*/
|
|
92
|
-
getAllProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
144
|
+
getAllProjectsRaw(requestParameters: GetAllProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
145
|
+
/**
|
|
146
|
+
*/
|
|
147
|
+
getAllProjects(requestParameters?: GetAllProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectResponse>>;
|
|
148
|
+
/**
|
|
149
|
+
*/
|
|
150
|
+
getDecisionStatisticsForStageRaw(requestParameters: GetDecisionStatisticsForStageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDecisionStatistics>>;
|
|
93
151
|
/**
|
|
94
152
|
*/
|
|
95
|
-
|
|
153
|
+
getDecisionStatisticsForStage(requestParameters: GetDecisionStatisticsForStageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDecisionStatistics>;
|
|
96
154
|
/**
|
|
97
155
|
*/
|
|
98
156
|
getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
99
157
|
/**
|
|
100
158
|
*/
|
|
101
159
|
getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
160
|
+
/**
|
|
161
|
+
*/
|
|
162
|
+
getProjectInformationRaw(requestParameters: GetProjectInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectInformation>>;
|
|
163
|
+
/**
|
|
164
|
+
*/
|
|
165
|
+
getProjectInformation(requestParameters: GetProjectInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInformation>;
|
|
166
|
+
/**
|
|
167
|
+
*/
|
|
168
|
+
updateProjectRaw(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
169
|
+
/**
|
|
170
|
+
*/
|
|
171
|
+
updateProject(requestParameters: UpdateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
102
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* @export
|
|
175
|
+
*/
|
|
176
|
+
export declare const GetAllProjectsStatusEnum: {
|
|
177
|
+
readonly ACTIVE: "ACTIVE";
|
|
178
|
+
readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
|
|
179
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
180
|
+
readonly DELETED: "DELETED";
|
|
181
|
+
readonly CLEARED: "CLEARED";
|
|
182
|
+
};
|
|
183
|
+
export type GetAllProjectsStatusEnum = typeof GetAllProjectsStatusEnum[keyof typeof GetAllProjectsStatusEnum];
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ProjectsControllerApi = void 0;
|
|
25
|
+
exports.GetAllProjectsStatusEnum = exports.ProjectsControllerApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const index_1 = require("../models/index");
|
|
28
28
|
/**
|
|
@@ -87,9 +87,15 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
*/
|
|
90
|
-
getAllProjectsRaw(initOverrides) {
|
|
90
|
+
getAllProjectsRaw(requestParameters, initOverrides) {
|
|
91
91
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
92
|
const queryParameters = {};
|
|
93
|
+
if (requestParameters['userId'] != null) {
|
|
94
|
+
queryParameters['userId'] = requestParameters['userId'];
|
|
95
|
+
}
|
|
96
|
+
if (requestParameters['status'] != null) {
|
|
97
|
+
queryParameters['status'] = requestParameters['status'];
|
|
98
|
+
}
|
|
93
99
|
const headerParameters = {};
|
|
94
100
|
let urlPath = `/api/v1/projects`;
|
|
95
101
|
const response = yield this.request({
|
|
@@ -103,9 +109,41 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
103
109
|
}
|
|
104
110
|
/**
|
|
105
111
|
*/
|
|
106
|
-
getAllProjects(
|
|
112
|
+
getAllProjects() {
|
|
113
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
114
|
+
const response = yield this.getAllProjectsRaw(requestParameters, initOverrides);
|
|
115
|
+
return yield response.value();
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*/
|
|
120
|
+
getDecisionStatisticsForStageRaw(requestParameters, initOverrides) {
|
|
107
121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
-
|
|
122
|
+
if (requestParameters['id'] == null) {
|
|
123
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getDecisionStatisticsForStage().');
|
|
124
|
+
}
|
|
125
|
+
if (requestParameters['stage'] == null) {
|
|
126
|
+
throw new runtime.RequiredError('stage', 'Required parameter "stage" was null or undefined when calling getDecisionStatisticsForStage().');
|
|
127
|
+
}
|
|
128
|
+
const queryParameters = {};
|
|
129
|
+
const headerParameters = {};
|
|
130
|
+
let urlPath = `/api/v1/projects/{id}/stages/{stage}/decision-statistics`;
|
|
131
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
132
|
+
urlPath = urlPath.replace(`{${"stage"}}`, encodeURIComponent(String(requestParameters['stage'])));
|
|
133
|
+
const response = yield this.request({
|
|
134
|
+
path: urlPath,
|
|
135
|
+
method: 'GET',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
}, initOverrides);
|
|
139
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectDecisionStatisticsFromJSON)(jsonValue));
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
*/
|
|
144
|
+
getDecisionStatisticsForStage(requestParameters, initOverrides) {
|
|
145
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
const response = yield this.getDecisionStatisticsForStageRaw(requestParameters, initOverrides);
|
|
109
147
|
return yield response.value();
|
|
110
148
|
});
|
|
111
149
|
}
|
|
@@ -137,5 +175,76 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
137
175
|
return yield response.value();
|
|
138
176
|
});
|
|
139
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
*/
|
|
180
|
+
getProjectInformationRaw(requestParameters, initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
if (requestParameters['id'] == null) {
|
|
183
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getProjectInformation().');
|
|
184
|
+
}
|
|
185
|
+
const queryParameters = {};
|
|
186
|
+
const headerParameters = {};
|
|
187
|
+
let urlPath = `/api/v1/projects/{id}/information`;
|
|
188
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
189
|
+
const response = yield this.request({
|
|
190
|
+
path: urlPath,
|
|
191
|
+
method: 'GET',
|
|
192
|
+
headers: headerParameters,
|
|
193
|
+
query: queryParameters,
|
|
194
|
+
}, initOverrides);
|
|
195
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectInformationFromJSON)(jsonValue));
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
*/
|
|
200
|
+
getProjectInformation(requestParameters, initOverrides) {
|
|
201
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
+
const response = yield this.getProjectInformationRaw(requestParameters, initOverrides);
|
|
203
|
+
return yield response.value();
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
*/
|
|
208
|
+
updateProjectRaw(requestParameters, initOverrides) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
if (requestParameters['id'] == null) {
|
|
211
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateProject().');
|
|
212
|
+
}
|
|
213
|
+
if (requestParameters['updateProjectRequest'] == null) {
|
|
214
|
+
throw new runtime.RequiredError('updateProjectRequest', 'Required parameter "updateProjectRequest" was null or undefined when calling updateProject().');
|
|
215
|
+
}
|
|
216
|
+
const queryParameters = {};
|
|
217
|
+
const headerParameters = {};
|
|
218
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
219
|
+
let urlPath = `/api/v1/projects/{id}`;
|
|
220
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
221
|
+
const response = yield this.request({
|
|
222
|
+
path: urlPath,
|
|
223
|
+
method: 'PUT',
|
|
224
|
+
headers: headerParameters,
|
|
225
|
+
query: queryParameters,
|
|
226
|
+
body: (0, index_1.UpdateProjectRequestToJSON)(requestParameters['updateProjectRequest']),
|
|
227
|
+
}, initOverrides);
|
|
228
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectResponseFromJSON)(jsonValue));
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
*/
|
|
233
|
+
updateProject(requestParameters, initOverrides) {
|
|
234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
+
const response = yield this.updateProjectRaw(requestParameters, initOverrides);
|
|
236
|
+
return yield response.value();
|
|
237
|
+
});
|
|
238
|
+
}
|
|
140
239
|
}
|
|
141
240
|
exports.ProjectsControllerApi = ProjectsControllerApi;
|
|
241
|
+
/**
|
|
242
|
+
* @export
|
|
243
|
+
*/
|
|
244
|
+
exports.GetAllProjectsStatusEnum = {
|
|
245
|
+
ACTIVE: 'ACTIVE',
|
|
246
|
+
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
247
|
+
ARCHIVED: 'ARCHIVED',
|
|
248
|
+
DELETED: 'DELETED',
|
|
249
|
+
CLEARED: 'CLEARED'
|
|
250
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { PaperResponse } from '../models/index';
|
|
14
|
+
export interface AddPaperToReadingListRequest {
|
|
15
|
+
paperId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IsPaperOnReadingListRequest {
|
|
18
|
+
paperId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface RemovePaperFromReadingListRequest {
|
|
21
|
+
paperId: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* ReadingListControllerApi - interface
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ReadingListControllerApiInterface
|
|
28
|
+
*/
|
|
29
|
+
export interface ReadingListControllerApiInterface {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param {string} paperId
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
* @memberof ReadingListControllerApiInterface
|
|
36
|
+
*/
|
|
37
|
+
addPaperToReadingListRaw(requestParameters: AddPaperToReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
38
|
+
/**
|
|
39
|
+
*/
|
|
40
|
+
addPaperToReadingList(requestParameters: AddPaperToReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
* @memberof ReadingListControllerApiInterface
|
|
46
|
+
*/
|
|
47
|
+
getReadingListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PaperResponse>>>;
|
|
48
|
+
/**
|
|
49
|
+
*/
|
|
50
|
+
getReadingList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PaperResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @param {string} paperId
|
|
54
|
+
* @param {*} [options] Override http request option.
|
|
55
|
+
* @throws {RequiredError}
|
|
56
|
+
* @memberof ReadingListControllerApiInterface
|
|
57
|
+
*/
|
|
58
|
+
isPaperOnReadingListRaw(requestParameters: IsPaperOnReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
*/
|
|
61
|
+
isPaperOnReadingList(requestParameters: IsPaperOnReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {string} paperId
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof ReadingListControllerApiInterface
|
|
68
|
+
*/
|
|
69
|
+
removePaperFromReadingListRaw(requestParameters: RemovePaperFromReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
70
|
+
/**
|
|
71
|
+
*/
|
|
72
|
+
removePaperFromReadingList(requestParameters: RemovePaperFromReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ReadingListControllerApi extends runtime.BaseAPI implements ReadingListControllerApiInterface {
|
|
78
|
+
/**
|
|
79
|
+
*/
|
|
80
|
+
addPaperToReadingListRaw(requestParameters: AddPaperToReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
81
|
+
/**
|
|
82
|
+
*/
|
|
83
|
+
addPaperToReadingList(requestParameters: AddPaperToReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
*/
|
|
86
|
+
getReadingListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PaperResponse>>>;
|
|
87
|
+
/**
|
|
88
|
+
*/
|
|
89
|
+
getReadingList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PaperResponse>>;
|
|
90
|
+
/**
|
|
91
|
+
*/
|
|
92
|
+
isPaperOnReadingListRaw(requestParameters: IsPaperOnReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
93
|
+
/**
|
|
94
|
+
*/
|
|
95
|
+
isPaperOnReadingList(requestParameters: IsPaperOnReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
*/
|
|
98
|
+
removePaperFromReadingListRaw(requestParameters: RemovePaperFromReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
99
|
+
/**
|
|
100
|
+
*/
|
|
101
|
+
removePaperFromReadingList(requestParameters: RemovePaperFromReadingListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ReadingListControllerApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ReadingListControllerApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
*/
|
|
34
|
+
addPaperToReadingListRaw(requestParameters, initOverrides) {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
if (requestParameters['paperId'] == null) {
|
|
37
|
+
throw new runtime.RequiredError('paperId', 'Required parameter "paperId" was null or undefined when calling addPaperToReadingList().');
|
|
38
|
+
}
|
|
39
|
+
const queryParameters = {};
|
|
40
|
+
const headerParameters = {};
|
|
41
|
+
let urlPath = `/api/v1/users/me/reading-list/{paperId}`;
|
|
42
|
+
urlPath = urlPath.replace(`{${"paperId"}}`, encodeURIComponent(String(requestParameters['paperId'])));
|
|
43
|
+
const response = yield this.request({
|
|
44
|
+
path: urlPath,
|
|
45
|
+
method: 'PUT',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
}, initOverrides);
|
|
49
|
+
return new runtime.VoidApiResponse(response);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*/
|
|
54
|
+
addPaperToReadingList(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
yield this.addPaperToReadingListRaw(requestParameters, initOverrides);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
*/
|
|
61
|
+
getReadingListRaw(initOverrides) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
let urlPath = `/api/v1/users/me/reading-list`;
|
|
66
|
+
const response = yield this.request({
|
|
67
|
+
path: urlPath,
|
|
68
|
+
method: 'GET',
|
|
69
|
+
headers: headerParameters,
|
|
70
|
+
query: queryParameters,
|
|
71
|
+
}, initOverrides);
|
|
72
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.PaperResponseFromJSON));
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
*/
|
|
77
|
+
getReadingList(initOverrides) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const response = yield this.getReadingListRaw(initOverrides);
|
|
80
|
+
return yield response.value();
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
*/
|
|
85
|
+
isPaperOnReadingListRaw(requestParameters, initOverrides) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
if (requestParameters['paperId'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('paperId', 'Required parameter "paperId" was null or undefined when calling isPaperOnReadingList().');
|
|
89
|
+
}
|
|
90
|
+
const queryParameters = {};
|
|
91
|
+
const headerParameters = {};
|
|
92
|
+
let urlPath = `/api/v1/users/me/reading-list/{paperId}`;
|
|
93
|
+
urlPath = urlPath.replace(`{${"paperId"}}`, encodeURIComponent(String(requestParameters['paperId'])));
|
|
94
|
+
const response = yield this.request({
|
|
95
|
+
path: urlPath,
|
|
96
|
+
method: 'HEAD',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
}, initOverrides);
|
|
100
|
+
return new runtime.VoidApiResponse(response);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
*/
|
|
105
|
+
isPaperOnReadingList(requestParameters, initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
yield this.isPaperOnReadingListRaw(requestParameters, initOverrides);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
*/
|
|
112
|
+
removePaperFromReadingListRaw(requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
if (requestParameters['paperId'] == null) {
|
|
115
|
+
throw new runtime.RequiredError('paperId', 'Required parameter "paperId" was null or undefined when calling removePaperFromReadingList().');
|
|
116
|
+
}
|
|
117
|
+
const queryParameters = {};
|
|
118
|
+
const headerParameters = {};
|
|
119
|
+
let urlPath = `/api/v1/users/me/reading-list/{paperId}`;
|
|
120
|
+
urlPath = urlPath.replace(`{${"paperId"}}`, encodeURIComponent(String(requestParameters['paperId'])));
|
|
121
|
+
const response = yield this.request({
|
|
122
|
+
path: urlPath,
|
|
123
|
+
method: 'DELETE',
|
|
124
|
+
headers: headerParameters,
|
|
125
|
+
query: queryParameters,
|
|
126
|
+
}, initOverrides);
|
|
127
|
+
return new runtime.VoidApiResponse(response);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
*/
|
|
132
|
+
removePaperFromReadingList(requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
yield this.removePaperFromReadingListRaw(requestParameters, initOverrides);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ReadingListControllerApi = ReadingListControllerApi;
|
|
@@ -0,0 +1,88 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { CreateReviewRequest, ReviewResponse } from '../models/index';
|
|
14
|
+
export interface CreateReviewOperationRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
createReviewRequest: CreateReviewRequest;
|
|
17
|
+
}
|
|
18
|
+
export interface GetAllReviewsForProjectPaperRequest {
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetReviewByIdRequest {
|
|
22
|
+
id: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ReviewControllerApi - interface
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface ReviewControllerApiInterface
|
|
29
|
+
*/
|
|
30
|
+
export interface ReviewControllerApiInterface {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @param {string} id
|
|
34
|
+
* @param {CreateReviewRequest} createReviewRequest
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
* @memberof ReviewControllerApiInterface
|
|
38
|
+
*/
|
|
39
|
+
createReviewRaw(requestParameters: CreateReviewOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewResponse>>;
|
|
40
|
+
/**
|
|
41
|
+
*/
|
|
42
|
+
createReview(requestParameters: CreateReviewOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewResponse>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @param {string} id
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
* @memberof ReviewControllerApiInterface
|
|
49
|
+
*/
|
|
50
|
+
getAllReviewsForProjectPaperRaw(requestParameters: GetAllReviewsForProjectPaperRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ReviewResponse>>>;
|
|
51
|
+
/**
|
|
52
|
+
*/
|
|
53
|
+
getAllReviewsForProjectPaper(requestParameters: GetAllReviewsForProjectPaperRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ReviewResponse>>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @param {string} id
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
* @memberof ReviewControllerApiInterface
|
|
60
|
+
*/
|
|
61
|
+
getReviewByIdRaw(requestParameters: GetReviewByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewResponse>>;
|
|
62
|
+
/**
|
|
63
|
+
*/
|
|
64
|
+
getReviewById(requestParameters: GetReviewByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewResponse>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class ReviewControllerApi extends runtime.BaseAPI implements ReviewControllerApiInterface {
|
|
70
|
+
/**
|
|
71
|
+
*/
|
|
72
|
+
createReviewRaw(requestParameters: CreateReviewOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewResponse>>;
|
|
73
|
+
/**
|
|
74
|
+
*/
|
|
75
|
+
createReview(requestParameters: CreateReviewOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewResponse>;
|
|
76
|
+
/**
|
|
77
|
+
*/
|
|
78
|
+
getAllReviewsForProjectPaperRaw(requestParameters: GetAllReviewsForProjectPaperRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ReviewResponse>>>;
|
|
79
|
+
/**
|
|
80
|
+
*/
|
|
81
|
+
getAllReviewsForProjectPaper(requestParameters: GetAllReviewsForProjectPaperRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ReviewResponse>>;
|
|
82
|
+
/**
|
|
83
|
+
*/
|
|
84
|
+
getReviewByIdRaw(requestParameters: GetReviewByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReviewResponse>>;
|
|
85
|
+
/**
|
|
86
|
+
*/
|
|
87
|
+
getReviewById(requestParameters: GetReviewByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReviewResponse>;
|
|
88
|
+
}
|