@se-uulm/snowballr-api-client 0.2.0 → 0.2.1-alpha.267f00c
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/AuthControllerApi.d.ts +118 -0
- package/dist/apis/AuthControllerApi.js +170 -0
- package/dist/apis/ProjectsControllerApi.d.ts +13 -13
- package/dist/apis/ProjectsControllerApi.js +7 -7
- package/dist/apis/UsersControllerApi.d.ts +46 -0
- package/dist/apis/UsersControllerApi.js +61 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AuthControllerApi.d.ts +118 -0
- package/dist/esm/apis/AuthControllerApi.js +166 -0
- package/dist/esm/apis/ProjectsControllerApi.d.ts +13 -13
- package/dist/esm/apis/ProjectsControllerApi.js +8 -8
- package/dist/esm/apis/UsersControllerApi.d.ts +46 -0
- package/dist/esm/apis/UsersControllerApi.js +57 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/esm/models/ChangePasswordRequest.js +43 -0
- package/dist/esm/models/LoginRequest.d.ts +38 -0
- package/dist/esm/models/LoginRequest.js +43 -0
- package/dist/{models/Project.d.ts → esm/models/ProjectResponse.d.ts} +25 -25
- package/dist/esm/models/{Project.js → ProjectResponse.js} +10 -10
- package/dist/esm/models/RegisterRequest.d.ts +50 -0
- package/dist/esm/models/RegisterRequest.js +47 -0
- package/dist/esm/models/index.d.ts +4 -1
- package/dist/esm/models/index.js +4 -1
- package/dist/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/models/ChangePasswordRequest.js +50 -0
- package/dist/models/LoginRequest.d.ts +38 -0
- package/dist/models/LoginRequest.js +50 -0
- package/dist/{esm/models/Project.d.ts → models/ProjectResponse.d.ts} +25 -25
- package/dist/models/{Project.js → ProjectResponse.js} +16 -16
- package/dist/models/RegisterRequest.d.ts +50 -0
- package/dist/models/RegisterRequest.js +54 -0
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +10 -4
- package/.openapi-generator/FILES +0 -17
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/src/apis/ProjectsControllerApi.ts +0 -238
- package/src/apis/index.ts +0 -3
- package/src/index.ts +0 -5
- package/src/models/CreateProjectRequest.ts +0 -65
- package/src/models/DecisionMatrixPattern.ts +0 -94
- package/src/models/DecisionMatrixPatternEntry.ts +0 -85
- package/src/models/Project.ts +0 -177
- package/src/models/ReviewDecisionMatrix.ts +0 -81
- package/src/models/index.ts +0 -7
- package/src/runtime.ts +0 -432
- package/tsconfig.esm.json +0 -7
- package/tsconfig.json +0 -16
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SnowballR API
|
|
5
|
+
* REST API for the SnowballR Application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the LoginRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfLoginRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function LoginRequestFromJSON(json) {
|
|
21
|
+
return LoginRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function LoginRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
29
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function LoginRequestToJSON(json) {
|
|
33
|
+
return LoginRequestToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function LoginRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'email': value['email'],
|
|
41
|
+
'password': value['password'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -13,67 +13,67 @@ import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface ProjectResponse
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface ProjectResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof ProjectResponse
|
|
23
23
|
*/
|
|
24
24
|
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof ProjectResponse
|
|
29
29
|
*/
|
|
30
30
|
name?: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof ProjectResponse
|
|
35
35
|
*/
|
|
36
|
-
status?:
|
|
36
|
+
status?: ProjectResponseStatusEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {number}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof ProjectResponse
|
|
41
41
|
*/
|
|
42
42
|
currentStage?: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {number}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof ProjectResponse
|
|
47
47
|
*/
|
|
48
48
|
maxStage?: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {number}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof ProjectResponse
|
|
53
53
|
*/
|
|
54
54
|
similarityThreshold?: number;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof ProjectResponse
|
|
59
59
|
*/
|
|
60
|
-
snowballingType?:
|
|
60
|
+
snowballingType?: ProjectResponseSnowballingTypeEnum;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {boolean}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof ProjectResponse
|
|
65
65
|
*/
|
|
66
66
|
reviewMaybeAllowed?: boolean;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {ReviewDecisionMatrix}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof ProjectResponse
|
|
71
71
|
*/
|
|
72
72
|
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof ProjectResponse
|
|
77
77
|
*/
|
|
78
78
|
fetchers?: {
|
|
79
79
|
[key: string]: {
|
|
@@ -83,35 +83,35 @@ export interface Project {
|
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {Date}
|
|
86
|
-
* @memberof
|
|
86
|
+
* @memberof ProjectResponse
|
|
87
87
|
*/
|
|
88
88
|
currentStageStartedAt?: Date;
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* @export
|
|
92
92
|
*/
|
|
93
|
-
export declare const
|
|
93
|
+
export declare const ProjectResponseStatusEnum: {
|
|
94
94
|
readonly ACTIVE: "ACTIVE";
|
|
95
95
|
readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
|
|
96
96
|
readonly ARCHIVED: "ARCHIVED";
|
|
97
97
|
readonly DELETED: "DELETED";
|
|
98
98
|
readonly CLEARED: "CLEARED";
|
|
99
99
|
};
|
|
100
|
-
export type
|
|
100
|
+
export type ProjectResponseStatusEnum = typeof ProjectResponseStatusEnum[keyof typeof ProjectResponseStatusEnum];
|
|
101
101
|
/**
|
|
102
102
|
* @export
|
|
103
103
|
*/
|
|
104
|
-
export declare const
|
|
104
|
+
export declare const ProjectResponseSnowballingTypeEnum: {
|
|
105
105
|
readonly FORWARD: "FORWARD";
|
|
106
106
|
readonly BACKWARD: "BACKWARD";
|
|
107
107
|
readonly BOTH: "BOTH";
|
|
108
108
|
};
|
|
109
|
-
export type
|
|
109
|
+
export type ProjectResponseSnowballingTypeEnum = typeof ProjectResponseSnowballingTypeEnum[keyof typeof ProjectResponseSnowballingTypeEnum];
|
|
110
110
|
/**
|
|
111
|
-
* Check if a given object implements the
|
|
111
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
112
112
|
*/
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
115
|
-
export declare function
|
|
116
|
-
export declare function
|
|
117
|
-
export declare function
|
|
113
|
+
export declare function instanceOfProjectResponse(value: object): value is ProjectResponse;
|
|
114
|
+
export declare function ProjectResponseFromJSON(json: any): ProjectResponse;
|
|
115
|
+
export declare function ProjectResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectResponse;
|
|
116
|
+
export declare function ProjectResponseToJSON(json: any): ProjectResponse;
|
|
117
|
+
export declare function ProjectResponseToJSONTyped(value?: ProjectResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -15,7 +15,7 @@ import { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './Rev
|
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const ProjectResponseStatusEnum = {
|
|
19
19
|
ACTIVE: 'ACTIVE',
|
|
20
20
|
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
21
21
|
ARCHIVED: 'ARCHIVED',
|
|
@@ -25,21 +25,21 @@ export const ProjectStatusEnum = {
|
|
|
25
25
|
/**
|
|
26
26
|
* @export
|
|
27
27
|
*/
|
|
28
|
-
export const
|
|
28
|
+
export const ProjectResponseSnowballingTypeEnum = {
|
|
29
29
|
FORWARD: 'FORWARD',
|
|
30
30
|
BACKWARD: 'BACKWARD',
|
|
31
31
|
BOTH: 'BOTH'
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
* Check if a given object implements the
|
|
34
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
35
35
|
*/
|
|
36
|
-
export function
|
|
36
|
+
export function instanceOfProjectResponse(value) {
|
|
37
37
|
return true;
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function ProjectResponseFromJSON(json) {
|
|
40
|
+
return ProjectResponseFromJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
43
|
if (json == null) {
|
|
44
44
|
return json;
|
|
45
45
|
}
|
|
@@ -57,10 +57,10 @@ export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
60
|
+
export function ProjectResponseToJSON(json) {
|
|
61
|
+
return ProjectResponseToJSONTyped(json, false);
|
|
62
62
|
}
|
|
63
|
-
export function
|
|
63
|
+
export function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
64
|
if (value == null) {
|
|
65
65
|
return value;
|
|
66
66
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SnowballR API
|
|
3
|
+
* REST API for the SnowballR Application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RegisterRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RegisterRequest
|
|
22
|
+
*/
|
|
23
|
+
firstName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RegisterRequest
|
|
28
|
+
*/
|
|
29
|
+
lastName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RegisterRequest
|
|
34
|
+
*/
|
|
35
|
+
email?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RegisterRequest
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the RegisterRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfRegisterRequest(value: object): value is RegisterRequest;
|
|
47
|
+
export declare function RegisterRequestFromJSON(json: any): RegisterRequest;
|
|
48
|
+
export declare function RegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterRequest;
|
|
49
|
+
export declare function RegisterRequestToJSON(json: any): RegisterRequest;
|
|
50
|
+
export declare function RegisterRequestToJSONTyped(value?: RegisterRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SnowballR API
|
|
5
|
+
* REST API for the SnowballR Application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RegisterRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRegisterRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RegisterRequestFromJSON(json) {
|
|
21
|
+
return RegisterRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
29
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
30
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
31
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function RegisterRequestToJSON(json) {
|
|
35
|
+
return RegisterRequestToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RegisterRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'firstName': value['firstName'],
|
|
43
|
+
'lastName': value['lastName'],
|
|
44
|
+
'email': value['email'],
|
|
45
|
+
'password': value['password'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export * from './ChangePasswordRequest';
|
|
1
2
|
export * from './CreateProjectRequest';
|
|
2
3
|
export * from './DecisionMatrixPattern';
|
|
3
4
|
export * from './DecisionMatrixPatternEntry';
|
|
4
|
-
export * from './
|
|
5
|
+
export * from './LoginRequest';
|
|
6
|
+
export * from './ProjectResponse';
|
|
7
|
+
export * from './RegisterRequest';
|
|
5
8
|
export * from './ReviewDecisionMatrix';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ChangePasswordRequest';
|
|
3
4
|
export * from './CreateProjectRequest';
|
|
4
5
|
export * from './DecisionMatrixPattern';
|
|
5
6
|
export * from './DecisionMatrixPatternEntry';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './LoginRequest';
|
|
8
|
+
export * from './ProjectResponse';
|
|
9
|
+
export * from './RegisterRequest';
|
|
7
10
|
export * from './ReviewDecisionMatrix';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SnowballR API
|
|
3
|
+
* REST API for the SnowballR Application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ChangePasswordRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangePasswordRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChangePasswordRequest
|
|
22
|
+
*/
|
|
23
|
+
oldPassword?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ChangePasswordRequest
|
|
28
|
+
*/
|
|
29
|
+
newPassword?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ChangePasswordRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfChangePasswordRequest(value: object): value is ChangePasswordRequest;
|
|
35
|
+
export declare function ChangePasswordRequestFromJSON(json: any): ChangePasswordRequest;
|
|
36
|
+
export declare function ChangePasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangePasswordRequest;
|
|
37
|
+
export declare function ChangePasswordRequestToJSON(json: any): ChangePasswordRequest;
|
|
38
|
+
export declare function ChangePasswordRequestToJSONTyped(value?: ChangePasswordRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SnowballR API
|
|
6
|
+
* REST API for the SnowballR Application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChangePasswordRequest = instanceOfChangePasswordRequest;
|
|
17
|
+
exports.ChangePasswordRequestFromJSON = ChangePasswordRequestFromJSON;
|
|
18
|
+
exports.ChangePasswordRequestFromJSONTyped = ChangePasswordRequestFromJSONTyped;
|
|
19
|
+
exports.ChangePasswordRequestToJSON = ChangePasswordRequestToJSON;
|
|
20
|
+
exports.ChangePasswordRequestToJSONTyped = ChangePasswordRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ChangePasswordRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfChangePasswordRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ChangePasswordRequestFromJSON(json) {
|
|
28
|
+
return ChangePasswordRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ChangePasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'oldPassword': json['oldPassword'] == null ? undefined : json['oldPassword'],
|
|
36
|
+
'newPassword': json['newPassword'] == null ? undefined : json['newPassword'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function ChangePasswordRequestToJSON(json) {
|
|
40
|
+
return ChangePasswordRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ChangePasswordRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'oldPassword': value['oldPassword'],
|
|
48
|
+
'newPassword': value['newPassword'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SnowballR API
|
|
3
|
+
* REST API for the SnowballR Application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LoginRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LoginRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LoginRequest
|
|
22
|
+
*/
|
|
23
|
+
email?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LoginRequest
|
|
28
|
+
*/
|
|
29
|
+
password?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LoginRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLoginRequest(value: object): value is LoginRequest;
|
|
35
|
+
export declare function LoginRequestFromJSON(json: any): LoginRequest;
|
|
36
|
+
export declare function LoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRequest;
|
|
37
|
+
export declare function LoginRequestToJSON(json: any): LoginRequest;
|
|
38
|
+
export declare function LoginRequestToJSONTyped(value?: LoginRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SnowballR API
|
|
6
|
+
* REST API for the SnowballR Application
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLoginRequest = instanceOfLoginRequest;
|
|
17
|
+
exports.LoginRequestFromJSON = LoginRequestFromJSON;
|
|
18
|
+
exports.LoginRequestFromJSONTyped = LoginRequestFromJSONTyped;
|
|
19
|
+
exports.LoginRequestToJSON = LoginRequestToJSON;
|
|
20
|
+
exports.LoginRequestToJSONTyped = LoginRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LoginRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLoginRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LoginRequestFromJSON(json) {
|
|
28
|
+
return LoginRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LoginRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
36
|
+
'password': json['password'] == null ? undefined : json['password'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function LoginRequestToJSON(json) {
|
|
40
|
+
return LoginRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function LoginRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'email': value['email'],
|
|
48
|
+
'password': value['password'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -13,67 +13,67 @@ import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface ProjectResponse
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface ProjectResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof ProjectResponse
|
|
23
23
|
*/
|
|
24
24
|
id?: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof ProjectResponse
|
|
29
29
|
*/
|
|
30
30
|
name?: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof ProjectResponse
|
|
35
35
|
*/
|
|
36
|
-
status?:
|
|
36
|
+
status?: ProjectResponseStatusEnum;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {number}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof ProjectResponse
|
|
41
41
|
*/
|
|
42
42
|
currentStage?: number;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {number}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof ProjectResponse
|
|
47
47
|
*/
|
|
48
48
|
maxStage?: number;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* @type {number}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof ProjectResponse
|
|
53
53
|
*/
|
|
54
54
|
similarityThreshold?: number;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof ProjectResponse
|
|
59
59
|
*/
|
|
60
|
-
snowballingType?:
|
|
60
|
+
snowballingType?: ProjectResponseSnowballingTypeEnum;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {boolean}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof ProjectResponse
|
|
65
65
|
*/
|
|
66
66
|
reviewMaybeAllowed?: boolean;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {ReviewDecisionMatrix}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof ProjectResponse
|
|
71
71
|
*/
|
|
72
72
|
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof ProjectResponse
|
|
77
77
|
*/
|
|
78
78
|
fetchers?: {
|
|
79
79
|
[key: string]: {
|
|
@@ -83,35 +83,35 @@ export interface Project {
|
|
|
83
83
|
/**
|
|
84
84
|
*
|
|
85
85
|
* @type {Date}
|
|
86
|
-
* @memberof
|
|
86
|
+
* @memberof ProjectResponse
|
|
87
87
|
*/
|
|
88
88
|
currentStageStartedAt?: Date;
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
91
|
* @export
|
|
92
92
|
*/
|
|
93
|
-
export declare const
|
|
93
|
+
export declare const ProjectResponseStatusEnum: {
|
|
94
94
|
readonly ACTIVE: "ACTIVE";
|
|
95
95
|
readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
|
|
96
96
|
readonly ARCHIVED: "ARCHIVED";
|
|
97
97
|
readonly DELETED: "DELETED";
|
|
98
98
|
readonly CLEARED: "CLEARED";
|
|
99
99
|
};
|
|
100
|
-
export type
|
|
100
|
+
export type ProjectResponseStatusEnum = typeof ProjectResponseStatusEnum[keyof typeof ProjectResponseStatusEnum];
|
|
101
101
|
/**
|
|
102
102
|
* @export
|
|
103
103
|
*/
|
|
104
|
-
export declare const
|
|
104
|
+
export declare const ProjectResponseSnowballingTypeEnum: {
|
|
105
105
|
readonly FORWARD: "FORWARD";
|
|
106
106
|
readonly BACKWARD: "BACKWARD";
|
|
107
107
|
readonly BOTH: "BOTH";
|
|
108
108
|
};
|
|
109
|
-
export type
|
|
109
|
+
export type ProjectResponseSnowballingTypeEnum = typeof ProjectResponseSnowballingTypeEnum[keyof typeof ProjectResponseSnowballingTypeEnum];
|
|
110
110
|
/**
|
|
111
|
-
* Check if a given object implements the
|
|
111
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
112
112
|
*/
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
115
|
-
export declare function
|
|
116
|
-
export declare function
|
|
117
|
-
export declare function
|
|
113
|
+
export declare function instanceOfProjectResponse(value: object): value is ProjectResponse;
|
|
114
|
+
export declare function ProjectResponseFromJSON(json: any): ProjectResponse;
|
|
115
|
+
export declare function ProjectResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectResponse;
|
|
116
|
+
export declare function ProjectResponseToJSON(json: any): ProjectResponse;
|
|
117
|
+
export declare function ProjectResponseToJSONTyped(value?: ProjectResponse | null, ignoreDiscriminator?: boolean): any;
|