@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];
|
|
@@ -22,16 +22,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.ProjectsControllerApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
-
const
|
|
27
|
+
const CreateProjectRequest_1 = require("../models/CreateProjectRequest");
|
|
28
|
+
const ProjectResponse_1 = require("../models/ProjectResponse");
|
|
28
29
|
/**
|
|
29
30
|
*
|
|
30
31
|
*/
|
|
31
32
|
class ProjectsControllerApi extends runtime.BaseAPI {
|
|
32
33
|
/**
|
|
34
|
+
* Creates request options for createProject without sending the request
|
|
33
35
|
*/
|
|
34
|
-
|
|
36
|
+
createProjectRequestOpts(requestParameters) {
|
|
35
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
36
38
|
if (requestParameters['createProjectRequest'] == null) {
|
|
37
39
|
throw new runtime.RequiredError('createProjectRequest', 'Required parameter "createProjectRequest" was null or undefined when calling createProject().');
|
|
@@ -40,14 +42,22 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
40
42
|
const headerParameters = {};
|
|
41
43
|
headerParameters['Content-Type'] = 'application/json';
|
|
42
44
|
let urlPath = `/api/v1/projects`;
|
|
43
|
-
|
|
45
|
+
return {
|
|
44
46
|
path: urlPath,
|
|
45
47
|
method: 'POST',
|
|
46
48
|
headers: headerParameters,
|
|
47
49
|
query: queryParameters,
|
|
48
|
-
body: (0,
|
|
49
|
-
}
|
|
50
|
-
|
|
50
|
+
body: (0, CreateProjectRequest_1.CreateProjectRequestToJSON)(requestParameters['createProjectRequest']),
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
56
|
+
createProjectRaw(requestParameters, initOverrides) {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
const requestOptions = yield this.createProjectRequestOpts(requestParameters);
|
|
59
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
60
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ProjectResponse_1.ProjectResponseFromJSON)(jsonValue));
|
|
51
61
|
});
|
|
52
62
|
}
|
|
53
63
|
/**
|
|
@@ -59,8 +69,9 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
59
69
|
});
|
|
60
70
|
}
|
|
61
71
|
/**
|
|
72
|
+
* Creates request options for deleteProject without sending the request
|
|
62
73
|
*/
|
|
63
|
-
|
|
74
|
+
deleteProjectRequestOpts(requestParameters) {
|
|
64
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
76
|
if (requestParameters['id'] == null) {
|
|
66
77
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteProject().');
|
|
@@ -68,13 +79,21 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
68
79
|
const queryParameters = {};
|
|
69
80
|
const headerParameters = {};
|
|
70
81
|
let urlPath = `/api/v1/projects/{id}`;
|
|
71
|
-
urlPath = urlPath.replace(
|
|
72
|
-
|
|
82
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
83
|
+
return {
|
|
73
84
|
path: urlPath,
|
|
74
85
|
method: 'DELETE',
|
|
75
86
|
headers: headerParameters,
|
|
76
87
|
query: queryParameters,
|
|
77
|
-
}
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
*/
|
|
93
|
+
deleteProjectRaw(requestParameters, initOverrides) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const requestOptions = yield this.deleteProjectRequestOpts(requestParameters);
|
|
96
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
78
97
|
return new runtime.VoidApiResponse(response);
|
|
79
98
|
});
|
|
80
99
|
}
|
|
@@ -86,70 +105,42 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
86
105
|
});
|
|
87
106
|
}
|
|
88
107
|
/**
|
|
108
|
+
* Creates request options for getAllProjects without sending the request
|
|
89
109
|
*/
|
|
90
|
-
|
|
110
|
+
getAllProjectsRequestOpts() {
|
|
91
111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
92
112
|
const queryParameters = {};
|
|
93
|
-
if (requestParameters['userId'] != null) {
|
|
94
|
-
queryParameters['userId'] = requestParameters['userId'];
|
|
95
|
-
}
|
|
96
|
-
if (requestParameters['status'] != null) {
|
|
97
|
-
queryParameters['status'] = requestParameters['status'];
|
|
98
|
-
}
|
|
99
113
|
const headerParameters = {};
|
|
100
114
|
let urlPath = `/api/v1/projects`;
|
|
101
|
-
|
|
115
|
+
return {
|
|
102
116
|
path: urlPath,
|
|
103
117
|
method: 'GET',
|
|
104
118
|
headers: headerParameters,
|
|
105
119
|
query: queryParameters,
|
|
106
|
-
}
|
|
107
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.ProjectResponseFromJSON));
|
|
120
|
+
};
|
|
108
121
|
});
|
|
109
122
|
}
|
|
110
123
|
/**
|
|
111
124
|
*/
|
|
112
|
-
|
|
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) {
|
|
125
|
+
getAllProjectsRaw(initOverrides) {
|
|
121
126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
|
|
123
|
-
|
|
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));
|
|
127
|
+
const requestOptions = yield this.getAllProjectsRequestOpts();
|
|
128
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
129
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ProjectResponse_1.ProjectResponseFromJSON));
|
|
140
130
|
});
|
|
141
131
|
}
|
|
142
132
|
/**
|
|
143
133
|
*/
|
|
144
|
-
|
|
134
|
+
getAllProjects(initOverrides) {
|
|
145
135
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
|
-
const response = yield this.
|
|
136
|
+
const response = yield this.getAllProjectsRaw(initOverrides);
|
|
147
137
|
return yield response.value();
|
|
148
138
|
});
|
|
149
139
|
}
|
|
150
140
|
/**
|
|
141
|
+
* Creates request options for getProject without sending the request
|
|
151
142
|
*/
|
|
152
|
-
|
|
143
|
+
getProjectRequestOpts(requestParameters) {
|
|
153
144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
154
145
|
if (requestParameters['id'] == null) {
|
|
155
146
|
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getProject().');
|
|
@@ -157,94 +148,31 @@ class ProjectsControllerApi extends runtime.BaseAPI {
|
|
|
157
148
|
const queryParameters = {};
|
|
158
149
|
const headerParameters = {};
|
|
159
150
|
let urlPath = `/api/v1/projects/{id}`;
|
|
160
|
-
urlPath = urlPath.replace(
|
|
161
|
-
|
|
162
|
-
path: urlPath,
|
|
163
|
-
method: 'GET',
|
|
164
|
-
headers: headerParameters,
|
|
165
|
-
query: queryParameters,
|
|
166
|
-
}, initOverrides);
|
|
167
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectResponseFromJSON)(jsonValue));
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
*/
|
|
172
|
-
getProject(requestParameters, initOverrides) {
|
|
173
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
const response = yield this.getProjectRaw(requestParameters, initOverrides);
|
|
175
|
-
return yield response.value();
|
|
176
|
-
});
|
|
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({
|
|
151
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
152
|
+
return {
|
|
190
153
|
path: urlPath,
|
|
191
154
|
method: 'GET',
|
|
192
155
|
headers: headerParameters,
|
|
193
156
|
query: queryParameters,
|
|
194
|
-
}
|
|
195
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProjectInformationFromJSON)(jsonValue));
|
|
157
|
+
};
|
|
196
158
|
});
|
|
197
159
|
}
|
|
198
160
|
/**
|
|
199
161
|
*/
|
|
200
|
-
|
|
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) {
|
|
162
|
+
getProjectRaw(requestParameters, initOverrides) {
|
|
209
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
-
|
|
211
|
-
|
|
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));
|
|
164
|
+
const requestOptions = yield this.getProjectRequestOpts(requestParameters);
|
|
165
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
166
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ProjectResponse_1.ProjectResponseFromJSON)(jsonValue));
|
|
229
167
|
});
|
|
230
168
|
}
|
|
231
169
|
/**
|
|
232
170
|
*/
|
|
233
|
-
|
|
171
|
+
getProject(requestParameters, initOverrides) {
|
|
234
172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
-
const response = yield this.
|
|
173
|
+
const response = yield this.getProjectRaw(requestParameters, initOverrides);
|
|
236
174
|
return yield response.value();
|
|
237
175
|
});
|
|
238
176
|
}
|
|
239
177
|
}
|
|
240
178
|
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
|
-
};
|
|
@@ -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
|
}
|