@se-uulm/snowballr-api-client 0.2.1-alpha.3ebad36 → 0.2.1-alpha.4005caf
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
|
@@ -10,31 +10,26 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type CreateProjectRequest } from '../models/CreateProjectRequest';
|
|
14
|
+
import { type ProjectResponse } from '../models/ProjectResponse';
|
|
14
15
|
export interface CreateProjectOperationRequest {
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
15
19
|
createProjectRequest: CreateProjectRequest;
|
|
16
20
|
}
|
|
17
21
|
export interface DeleteProjectRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
18
25
|
id: string;
|
|
19
26
|
}
|
|
20
|
-
export interface GetAllProjectsRequest {
|
|
21
|
-
userId?: string;
|
|
22
|
-
status?: GetAllProjectsStatusEnum;
|
|
23
|
-
}
|
|
24
|
-
export interface GetDecisionStatisticsForStageRequest {
|
|
25
|
-
id: string;
|
|
26
|
-
stage: number;
|
|
27
|
-
}
|
|
28
27
|
export interface GetProjectRequest {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
29
31
|
id: string;
|
|
30
32
|
}
|
|
31
|
-
export interface GetProjectInformationRequest {
|
|
32
|
-
id: string;
|
|
33
|
-
}
|
|
34
|
-
export interface UpdateProjectOperationRequest {
|
|
35
|
-
id: string;
|
|
36
|
-
updateProjectRequest: UpdateProjectRequest;
|
|
37
|
-
}
|
|
38
33
|
/**
|
|
39
34
|
* ProjectsControllerApi - interface
|
|
40
35
|
*
|
|
@@ -42,6 +37,13 @@ export interface UpdateProjectOperationRequest {
|
|
|
42
37
|
* @interface ProjectsControllerApiInterface
|
|
43
38
|
*/
|
|
44
39
|
export interface ProjectsControllerApiInterface {
|
|
40
|
+
/**
|
|
41
|
+
* Creates request options for createProject without sending the request
|
|
42
|
+
* @param {CreateProjectRequest} createProjectRequest
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
* @memberof ProjectsControllerApiInterface
|
|
45
|
+
*/
|
|
46
|
+
createProjectRequestOpts(requestParameters: CreateProjectOperationRequest): Promise<runtime.RequestOpts>;
|
|
45
47
|
/**
|
|
46
48
|
*
|
|
47
49
|
* @param {CreateProjectRequest} createProjectRequest
|
|
@@ -54,85 +56,76 @@ export interface ProjectsControllerApiInterface {
|
|
|
54
56
|
*/
|
|
55
57
|
createProject(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
56
58
|
/**
|
|
57
|
-
*
|
|
59
|
+
* Creates request options for deleteProject without sending the request
|
|
58
60
|
* @param {string} id
|
|
59
|
-
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
* @memberof ProjectsControllerApiInterface
|
|
62
63
|
*/
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
*/
|
|
66
|
-
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
64
|
+
deleteProjectRequestOpts(requestParameters: DeleteProjectRequest): Promise<runtime.RequestOpts>;
|
|
67
65
|
/**
|
|
68
66
|
*
|
|
69
|
-
* @param {string}
|
|
70
|
-
* @param {'ACTIVE' | 'ACTIVE_LOCKED' | 'ARCHIVED' | 'DELETED' | 'CLEARED'} [status]
|
|
67
|
+
* @param {string} id
|
|
71
68
|
* @param {*} [options] Override http request option.
|
|
72
69
|
* @throws {RequiredError}
|
|
73
70
|
* @memberof ProjectsControllerApiInterface
|
|
74
71
|
*/
|
|
75
|
-
|
|
72
|
+
deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
76
73
|
/**
|
|
77
74
|
*/
|
|
78
|
-
|
|
75
|
+
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
79
76
|
/**
|
|
80
|
-
*
|
|
81
|
-
* @param {string} id
|
|
82
|
-
* @param {number} stage
|
|
83
|
-
* @param {*} [options] Override http request option.
|
|
77
|
+
* Creates request options for getAllProjects without sending the request
|
|
84
78
|
* @throws {RequiredError}
|
|
85
79
|
* @memberof ProjectsControllerApiInterface
|
|
86
80
|
*/
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
getDecisionStatisticsForStage(requestParameters: GetDecisionStatisticsForStageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDecisionStatistics>;
|
|
81
|
+
getAllProjectsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
91
82
|
/**
|
|
92
83
|
*
|
|
93
|
-
* @param {string} id
|
|
94
84
|
* @param {*} [options] Override http request option.
|
|
95
85
|
* @throws {RequiredError}
|
|
96
86
|
* @memberof ProjectsControllerApiInterface
|
|
97
87
|
*/
|
|
98
|
-
|
|
88
|
+
getAllProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
99
89
|
/**
|
|
100
90
|
*/
|
|
101
|
-
|
|
91
|
+
getAllProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectResponse>>;
|
|
102
92
|
/**
|
|
103
|
-
*
|
|
93
|
+
* Creates request options for getProject without sending the request
|
|
104
94
|
* @param {string} id
|
|
105
|
-
* @param {*} [options] Override http request option.
|
|
106
95
|
* @throws {RequiredError}
|
|
107
96
|
* @memberof ProjectsControllerApiInterface
|
|
108
97
|
*/
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
*/
|
|
112
|
-
getProjectInformation(requestParameters: GetProjectInformationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectInformation>;
|
|
98
|
+
getProjectRequestOpts(requestParameters: GetProjectRequest): Promise<runtime.RequestOpts>;
|
|
113
99
|
/**
|
|
114
100
|
*
|
|
115
101
|
* @param {string} id
|
|
116
|
-
* @param {UpdateProjectRequest} updateProjectRequest
|
|
117
102
|
* @param {*} [options] Override http request option.
|
|
118
103
|
* @throws {RequiredError}
|
|
119
104
|
* @memberof ProjectsControllerApiInterface
|
|
120
105
|
*/
|
|
121
|
-
|
|
106
|
+
getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
122
107
|
/**
|
|
123
108
|
*/
|
|
124
|
-
|
|
109
|
+
getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
125
110
|
}
|
|
126
111
|
/**
|
|
127
112
|
*
|
|
128
113
|
*/
|
|
129
114
|
export declare class ProjectsControllerApi extends runtime.BaseAPI implements ProjectsControllerApiInterface {
|
|
115
|
+
/**
|
|
116
|
+
* Creates request options for createProject without sending the request
|
|
117
|
+
*/
|
|
118
|
+
createProjectRequestOpts(requestParameters: CreateProjectOperationRequest): Promise<runtime.RequestOpts>;
|
|
130
119
|
/**
|
|
131
120
|
*/
|
|
132
121
|
createProjectRaw(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
133
122
|
/**
|
|
134
123
|
*/
|
|
135
124
|
createProject(requestParameters: CreateProjectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectResponse>;
|
|
125
|
+
/**
|
|
126
|
+
* Creates request options for deleteProject without sending the request
|
|
127
|
+
*/
|
|
128
|
+
deleteProjectRequestOpts(requestParameters: DeleteProjectRequest): Promise<runtime.RequestOpts>;
|
|
136
129
|
/**
|
|
137
130
|
*/
|
|
138
131
|
deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
@@ -140,44 +133,23 @@ export declare class ProjectsControllerApi extends runtime.BaseAPI implements Pr
|
|
|
140
133
|
*/
|
|
141
134
|
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
142
135
|
/**
|
|
136
|
+
* Creates request options for getAllProjects without sending the request
|
|
143
137
|
*/
|
|
144
|
-
|
|
138
|
+
getAllProjectsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
145
139
|
/**
|
|
146
140
|
*/
|
|
147
|
-
|
|
141
|
+
getAllProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectResponse>>>;
|
|
148
142
|
/**
|
|
149
143
|
*/
|
|
150
|
-
|
|
144
|
+
getAllProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectResponse>>;
|
|
151
145
|
/**
|
|
146
|
+
* Creates request options for getProject without sending the request
|
|
152
147
|
*/
|
|
153
|
-
|
|
148
|
+
getProjectRequestOpts(requestParameters: GetProjectRequest): Promise<runtime.RequestOpts>;
|
|
154
149
|
/**
|
|
155
150
|
*/
|
|
156
151
|
getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectResponse>>;
|
|
157
152
|
/**
|
|
158
153
|
*/
|
|
159
154
|
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>;
|
|
172
155
|
}
|
|
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];
|
|
@@ -21,14 +21,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CreateProjectRequestToJSON,
|
|
24
|
+
import { CreateProjectRequestToJSON, } from '../models/CreateProjectRequest';
|
|
25
|
+
import { ProjectResponseFromJSON, } from '../models/ProjectResponse';
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
28
|
*/
|
|
28
29
|
export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
29
30
|
/**
|
|
31
|
+
* Creates request options for createProject without sending the request
|
|
30
32
|
*/
|
|
31
|
-
|
|
33
|
+
createProjectRequestOpts(requestParameters) {
|
|
32
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
33
35
|
if (requestParameters['createProjectRequest'] == null) {
|
|
34
36
|
throw new runtime.RequiredError('createProjectRequest', 'Required parameter "createProjectRequest" was null or undefined when calling createProject().');
|
|
@@ -37,13 +39,21 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
37
39
|
const headerParameters = {};
|
|
38
40
|
headerParameters['Content-Type'] = 'application/json';
|
|
39
41
|
let urlPath = `/api/v1/projects`;
|
|
40
|
-
|
|
42
|
+
return {
|
|
41
43
|
path: urlPath,
|
|
42
44
|
method: 'POST',
|
|
43
45
|
headers: headerParameters,
|
|
44
46
|
query: queryParameters,
|
|
45
47
|
body: CreateProjectRequestToJSON(requestParameters['createProjectRequest']),
|
|
46
|
-
}
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*/
|
|
53
|
+
createProjectRaw(requestParameters, initOverrides) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
const requestOptions = yield this.createProjectRequestOpts(requestParameters);
|
|
56
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
47
57
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectResponseFromJSON(jsonValue));
|
|
48
58
|
});
|
|
49
59
|
}
|
|
@@ -56,8 +66,9 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
56
66
|
});
|
|
57
67
|
}
|
|
58
68
|
/**
|
|
69
|
+
* Creates request options for deleteProject without sending the request
|
|
59
70
|
*/
|
|
60
|
-
|
|
71
|
+
deleteProjectRequestOpts(requestParameters) {
|
|
61
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
73
|
if (requestParameters['id'] == null) {
|
|
63
74
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteProject().');
|
|
@@ -65,13 +76,21 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
65
76
|
const queryParameters = {};
|
|
66
77
|
const headerParameters = {};
|
|
67
78
|
let urlPath = `/api/v1/projects/{id}`;
|
|
68
|
-
urlPath = urlPath.replace(
|
|
69
|
-
|
|
79
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
80
|
+
return {
|
|
70
81
|
path: urlPath,
|
|
71
82
|
method: 'DELETE',
|
|
72
83
|
headers: headerParameters,
|
|
73
84
|
query: queryParameters,
|
|
74
|
-
}
|
|
85
|
+
};
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
*/
|
|
90
|
+
deleteProjectRaw(requestParameters, initOverrides) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const requestOptions = yield this.deleteProjectRequestOpts(requestParameters);
|
|
93
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
75
94
|
return new runtime.VoidApiResponse(response);
|
|
76
95
|
});
|
|
77
96
|
}
|
|
@@ -83,70 +102,42 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
83
102
|
});
|
|
84
103
|
}
|
|
85
104
|
/**
|
|
105
|
+
* Creates request options for getAllProjects without sending the request
|
|
86
106
|
*/
|
|
87
|
-
|
|
107
|
+
getAllProjectsRequestOpts() {
|
|
88
108
|
return __awaiter(this, void 0, void 0, function* () {
|
|
89
109
|
const queryParameters = {};
|
|
90
|
-
if (requestParameters['userId'] != null) {
|
|
91
|
-
queryParameters['userId'] = requestParameters['userId'];
|
|
92
|
-
}
|
|
93
|
-
if (requestParameters['status'] != null) {
|
|
94
|
-
queryParameters['status'] = requestParameters['status'];
|
|
95
|
-
}
|
|
96
110
|
const headerParameters = {};
|
|
97
111
|
let urlPath = `/api/v1/projects`;
|
|
98
|
-
|
|
112
|
+
return {
|
|
99
113
|
path: urlPath,
|
|
100
114
|
method: 'GET',
|
|
101
115
|
headers: headerParameters,
|
|
102
116
|
query: queryParameters,
|
|
103
|
-
}
|
|
104
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ProjectResponseFromJSON));
|
|
117
|
+
};
|
|
105
118
|
});
|
|
106
119
|
}
|
|
107
120
|
/**
|
|
108
121
|
*/
|
|
109
|
-
|
|
110
|
-
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
111
|
-
const response = yield this.getAllProjectsRaw(requestParameters, initOverrides);
|
|
112
|
-
return yield response.value();
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
*/
|
|
117
|
-
getDecisionStatisticsForStageRaw(requestParameters, initOverrides) {
|
|
122
|
+
getAllProjectsRaw(initOverrides) {
|
|
118
123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (requestParameters['stage'] == null) {
|
|
123
|
-
throw new runtime.RequiredError('stage', 'Required parameter "stage" was null or undefined when calling getDecisionStatisticsForStage().');
|
|
124
|
-
}
|
|
125
|
-
const queryParameters = {};
|
|
126
|
-
const headerParameters = {};
|
|
127
|
-
let urlPath = `/api/v1/projects/{id}/stages/{stage}/decision-statistics`;
|
|
128
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
129
|
-
urlPath = urlPath.replace(`{${"stage"}}`, encodeURIComponent(String(requestParameters['stage'])));
|
|
130
|
-
const response = yield this.request({
|
|
131
|
-
path: urlPath,
|
|
132
|
-
method: 'GET',
|
|
133
|
-
headers: headerParameters,
|
|
134
|
-
query: queryParameters,
|
|
135
|
-
}, initOverrides);
|
|
136
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectDecisionStatisticsFromJSON(jsonValue));
|
|
124
|
+
const requestOptions = yield this.getAllProjectsRequestOpts();
|
|
125
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
126
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ProjectResponseFromJSON));
|
|
137
127
|
});
|
|
138
128
|
}
|
|
139
129
|
/**
|
|
140
130
|
*/
|
|
141
|
-
|
|
131
|
+
getAllProjects(initOverrides) {
|
|
142
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
-
const response = yield this.
|
|
133
|
+
const response = yield this.getAllProjectsRaw(initOverrides);
|
|
144
134
|
return yield response.value();
|
|
145
135
|
});
|
|
146
136
|
}
|
|
147
137
|
/**
|
|
138
|
+
* Creates request options for getProject without sending the request
|
|
148
139
|
*/
|
|
149
|
-
|
|
140
|
+
getProjectRequestOpts(requestParameters) {
|
|
150
141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
151
142
|
if (requestParameters['id'] == null) {
|
|
152
143
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getProject().');
|
|
@@ -154,93 +145,30 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
154
145
|
const queryParameters = {};
|
|
155
146
|
const headerParameters = {};
|
|
156
147
|
let urlPath = `/api/v1/projects/{id}`;
|
|
157
|
-
urlPath = urlPath.replace(
|
|
158
|
-
|
|
148
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
149
|
+
return {
|
|
159
150
|
path: urlPath,
|
|
160
151
|
method: 'GET',
|
|
161
152
|
headers: headerParameters,
|
|
162
153
|
query: queryParameters,
|
|
163
|
-
}
|
|
164
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectResponseFromJSON(jsonValue));
|
|
154
|
+
};
|
|
165
155
|
});
|
|
166
156
|
}
|
|
167
157
|
/**
|
|
168
158
|
*/
|
|
169
|
-
|
|
170
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
-
const response = yield this.getProjectRaw(requestParameters, initOverrides);
|
|
172
|
-
return yield response.value();
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
*/
|
|
177
|
-
getProjectInformationRaw(requestParameters, initOverrides) {
|
|
178
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
-
if (requestParameters['id'] == null) {
|
|
180
|
-
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getProjectInformation().');
|
|
181
|
-
}
|
|
182
|
-
const queryParameters = {};
|
|
183
|
-
const headerParameters = {};
|
|
184
|
-
let urlPath = `/api/v1/projects/{id}/information`;
|
|
185
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
186
|
-
const response = yield this.request({
|
|
187
|
-
path: urlPath,
|
|
188
|
-
method: 'GET',
|
|
189
|
-
headers: headerParameters,
|
|
190
|
-
query: queryParameters,
|
|
191
|
-
}, initOverrides);
|
|
192
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectInformationFromJSON(jsonValue));
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
*/
|
|
197
|
-
getProjectInformation(requestParameters, initOverrides) {
|
|
198
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
-
const response = yield this.getProjectInformationRaw(requestParameters, initOverrides);
|
|
200
|
-
return yield response.value();
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
*/
|
|
205
|
-
updateProjectRaw(requestParameters, initOverrides) {
|
|
159
|
+
getProjectRaw(requestParameters, initOverrides) {
|
|
206
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
if (requestParameters['updateProjectRequest'] == null) {
|
|
211
|
-
throw new runtime.RequiredError('updateProjectRequest', 'Required parameter "updateProjectRequest" was null or undefined when calling updateProject().');
|
|
212
|
-
}
|
|
213
|
-
const queryParameters = {};
|
|
214
|
-
const headerParameters = {};
|
|
215
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
216
|
-
let urlPath = `/api/v1/projects/{id}`;
|
|
217
|
-
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
218
|
-
const response = yield this.request({
|
|
219
|
-
path: urlPath,
|
|
220
|
-
method: 'PUT',
|
|
221
|
-
headers: headerParameters,
|
|
222
|
-
query: queryParameters,
|
|
223
|
-
body: UpdateProjectRequestToJSON(requestParameters['updateProjectRequest']),
|
|
224
|
-
}, initOverrides);
|
|
161
|
+
const requestOptions = yield this.getProjectRequestOpts(requestParameters);
|
|
162
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
225
163
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectResponseFromJSON(jsonValue));
|
|
226
164
|
});
|
|
227
165
|
}
|
|
228
166
|
/**
|
|
229
167
|
*/
|
|
230
|
-
|
|
168
|
+
getProject(requestParameters, initOverrides) {
|
|
231
169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
232
|
-
const response = yield this.
|
|
170
|
+
const response = yield this.getProjectRaw(requestParameters, initOverrides);
|
|
233
171
|
return yield response.value();
|
|
234
172
|
});
|
|
235
173
|
}
|
|
236
174
|
}
|
|
237
|
-
/**
|
|
238
|
-
* @export
|
|
239
|
-
*/
|
|
240
|
-
export const GetAllProjectsStatusEnum = {
|
|
241
|
-
ACTIVE: 'ACTIVE',
|
|
242
|
-
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
243
|
-
ARCHIVED: 'ARCHIVED',
|
|
244
|
-
DELETED: 'DELETED',
|
|
245
|
-
CLEARED: 'CLEARED'
|
|
246
|
-
};
|
|
@@ -10,27 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
14
|
-
export interface DeleteUserRequest {
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
|
-
export interface GetInviteCandidatesRequest {
|
|
18
|
-
query: string;
|
|
19
|
-
projectId?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface GetUserRequest {
|
|
22
|
-
id: string;
|
|
23
|
-
}
|
|
24
|
-
export interface GetUsersRequest {
|
|
25
|
-
email?: string;
|
|
26
|
-
}
|
|
13
|
+
import { type RegisterRequest } from '../models/RegisterRequest';
|
|
27
14
|
export interface RegisterOperationRequest {
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
28
18
|
registerRequest: RegisterRequest;
|
|
29
19
|
}
|
|
30
|
-
export interface UpdateUserOperationRequest {
|
|
31
|
-
id: string;
|
|
32
|
-
updateUserRequest: UpdateUserRequest;
|
|
33
|
-
}
|
|
34
20
|
/**
|
|
35
21
|
* UsersControllerApi - interface
|
|
36
22
|
*
|
|
@@ -39,70 +25,12 @@ export interface UpdateUserOperationRequest {
|
|
|
39
25
|
*/
|
|
40
26
|
export interface UsersControllerApiInterface {
|
|
41
27
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @param {
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
* @memberof UsersControllerApiInterface
|
|
47
|
-
*/
|
|
48
|
-
deleteUserRaw(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
49
|
-
/**
|
|
50
|
-
*/
|
|
51
|
-
deleteUser(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @param {*} [options] Override http request option.
|
|
55
|
-
* @throws {RequiredError}
|
|
56
|
-
* @memberof UsersControllerApiInterface
|
|
57
|
-
*/
|
|
58
|
-
getCurrentUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
59
|
-
/**
|
|
60
|
-
*/
|
|
61
|
-
getCurrentUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @param {string} query
|
|
65
|
-
* @param {string} [projectId]
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
* @memberof UsersControllerApiInterface
|
|
69
|
-
*/
|
|
70
|
-
getInviteCandidatesRaw(requestParameters: GetInviteCandidatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<User>>>;
|
|
71
|
-
/**
|
|
72
|
-
*/
|
|
73
|
-
getInviteCandidates(requestParameters: GetInviteCandidatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<User>>;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @param {string} id
|
|
77
|
-
* @param {*} [options] Override http request option.
|
|
78
|
-
* @throws {RequiredError}
|
|
79
|
-
* @memberof UsersControllerApiInterface
|
|
80
|
-
*/
|
|
81
|
-
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
82
|
-
/**
|
|
83
|
-
*/
|
|
84
|
-
getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
* @memberof UsersControllerApiInterface
|
|
90
|
-
*/
|
|
91
|
-
getUserSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserSettingsWithCriteria>>;
|
|
92
|
-
/**
|
|
93
|
-
*/
|
|
94
|
-
getUserSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserSettingsWithCriteria>;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @param {string} [email]
|
|
98
|
-
* @param {*} [options] Override http request option.
|
|
28
|
+
* Creates request options for register without sending the request
|
|
29
|
+
* @param {RegisterRequest} registerRequest
|
|
99
30
|
* @throws {RequiredError}
|
|
100
31
|
* @memberof UsersControllerApiInterface
|
|
101
32
|
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
*/
|
|
105
|
-
getUsers(requestParameters: GetUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<User>>;
|
|
33
|
+
registerRequestOpts(requestParameters: RegisterOperationRequest): Promise<runtime.RequestOpts>;
|
|
106
34
|
/**
|
|
107
35
|
*
|
|
108
36
|
* @param {RegisterRequest} registerRequest
|
|
@@ -114,69 +42,19 @@ export interface UsersControllerApiInterface {
|
|
|
114
42
|
/**
|
|
115
43
|
*/
|
|
116
44
|
register(requestParameters: RegisterOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @param {string} id
|
|
120
|
-
* @param {UpdateUserRequest} updateUserRequest
|
|
121
|
-
* @param {*} [options] Override http request option.
|
|
122
|
-
* @throws {RequiredError}
|
|
123
|
-
* @memberof UsersControllerApiInterface
|
|
124
|
-
*/
|
|
125
|
-
updateUserRaw(requestParameters: UpdateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
126
|
-
/**
|
|
127
|
-
*/
|
|
128
|
-
updateUser(requestParameters: UpdateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
129
45
|
}
|
|
130
46
|
/**
|
|
131
47
|
*
|
|
132
48
|
*/
|
|
133
49
|
export declare class UsersControllerApi extends runtime.BaseAPI implements UsersControllerApiInterface {
|
|
134
50
|
/**
|
|
51
|
+
* Creates request options for register without sending the request
|
|
135
52
|
*/
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
*/
|
|
139
|
-
deleteUser(requestParameters: DeleteUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
140
|
-
/**
|
|
141
|
-
*/
|
|
142
|
-
getCurrentUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
143
|
-
/**
|
|
144
|
-
*/
|
|
145
|
-
getCurrentUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
146
|
-
/**
|
|
147
|
-
*/
|
|
148
|
-
getInviteCandidatesRaw(requestParameters: GetInviteCandidatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<User>>>;
|
|
149
|
-
/**
|
|
150
|
-
*/
|
|
151
|
-
getInviteCandidates(requestParameters: GetInviteCandidatesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<User>>;
|
|
152
|
-
/**
|
|
153
|
-
*/
|
|
154
|
-
getUserRaw(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
155
|
-
/**
|
|
156
|
-
*/
|
|
157
|
-
getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
158
|
-
/**
|
|
159
|
-
*/
|
|
160
|
-
getUserSettingsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserSettingsWithCriteria>>;
|
|
161
|
-
/**
|
|
162
|
-
*/
|
|
163
|
-
getUserSettings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserSettingsWithCriteria>;
|
|
164
|
-
/**
|
|
165
|
-
*/
|
|
166
|
-
getUsersRaw(requestParameters: GetUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<User>>>;
|
|
167
|
-
/**
|
|
168
|
-
*/
|
|
169
|
-
getUsers(requestParameters?: GetUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<User>>;
|
|
53
|
+
registerRequestOpts(requestParameters: RegisterOperationRequest): Promise<runtime.RequestOpts>;
|
|
170
54
|
/**
|
|
171
55
|
*/
|
|
172
56
|
registerRaw(requestParameters: RegisterOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
173
57
|
/**
|
|
174
58
|
*/
|
|
175
59
|
register(requestParameters: RegisterOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
176
|
-
/**
|
|
177
|
-
*/
|
|
178
|
-
updateUserRaw(requestParameters: UpdateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<User>>;
|
|
179
|
-
/**
|
|
180
|
-
*/
|
|
181
|
-
updateUser(requestParameters: UpdateUserOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<User>;
|
|
182
60
|
}
|