@se-uulm/snowballr-api-client 0.2.1-alpha.81a413f → 0.2.1-alpha.882feae
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/esm/models/ProjectResponse.d.ts +80 -0
- package/dist/esm/models/ProjectResponse.js +64 -0
- package/dist/esm/models/ProjectSettings.d.ts +70 -0
- package/dist/esm/models/{Project.js → ProjectSettings.js} +9 -31
- package/dist/esm/models/RegisterRequest.d.ts +50 -0
- package/dist/esm/models/RegisterRequest.js +47 -0
- package/dist/esm/models/index.d.ts +5 -1
- package/dist/esm/models/index.js +5 -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/models/ProjectResponse.d.ts +80 -0
- package/dist/models/ProjectResponse.js +72 -0
- package/dist/models/ProjectSettings.d.ts +70 -0
- package/dist/models/ProjectSettings.js +66 -0
- package/dist/models/RegisterRequest.d.ts +50 -0
- package/dist/models/RegisterRequest.js +54 -0
- package/dist/models/index.d.ts +5 -1
- package/dist/models/index.js +5 -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/dist/esm/models/Project.d.ts +0 -117
- package/dist/models/Project.d.ts +0 -117
- package/dist/models/Project.js +0 -88
- 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
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SnowballR API
|
|
3
|
+
* REST API for the SnowballR Application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ProjectSettings } from './ProjectSettings';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProjectResponse
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProjectResponse
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProjectResponse
|
|
35
|
+
*/
|
|
36
|
+
status?: ProjectResponseStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ProjectResponse
|
|
41
|
+
*/
|
|
42
|
+
currentStage?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ProjectResponse
|
|
47
|
+
*/
|
|
48
|
+
maxStage?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ProjectSettings}
|
|
52
|
+
* @memberof ProjectResponse
|
|
53
|
+
*/
|
|
54
|
+
settings?: ProjectSettings;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof ProjectResponse
|
|
59
|
+
*/
|
|
60
|
+
currentStageStartedAt?: Date;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const ProjectResponseStatusEnum: {
|
|
66
|
+
readonly ACTIVE: "ACTIVE";
|
|
67
|
+
readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
|
|
68
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
69
|
+
readonly DELETED: "DELETED";
|
|
70
|
+
readonly CLEARED: "CLEARED";
|
|
71
|
+
};
|
|
72
|
+
export type ProjectResponseStatusEnum = typeof ProjectResponseStatusEnum[keyof typeof ProjectResponseStatusEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfProjectResponse(value: object): value is ProjectResponse;
|
|
77
|
+
export declare function ProjectResponseFromJSON(json: any): ProjectResponse;
|
|
78
|
+
export declare function ProjectResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectResponse;
|
|
79
|
+
export declare function ProjectResponseToJSON(json: any): ProjectResponse;
|
|
80
|
+
export declare function ProjectResponseToJSONTyped(value?: ProjectResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SnowballR API
|
|
5
|
+
* REST API for the SnowballR Application
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ProjectSettingsFromJSON, ProjectSettingsToJSON, } from './ProjectSettings';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ProjectResponseStatusEnum = {
|
|
19
|
+
ACTIVE: 'ACTIVE',
|
|
20
|
+
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
21
|
+
ARCHIVED: 'ARCHIVED',
|
|
22
|
+
DELETED: 'DELETED',
|
|
23
|
+
CLEARED: 'CLEARED'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfProjectResponse(value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function ProjectResponseFromJSON(json) {
|
|
32
|
+
return ProjectResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
41
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
42
|
+
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
43
|
+
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
44
|
+
'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
|
|
45
|
+
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function ProjectResponseToJSON(json) {
|
|
49
|
+
return ProjectResponseToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'name': value['name'],
|
|
58
|
+
'status': value['status'],
|
|
59
|
+
'currentStage': value['currentStage'],
|
|
60
|
+
'maxStage': value['maxStage'],
|
|
61
|
+
'settings': ProjectSettingsToJSON(value['settings']),
|
|
62
|
+
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SnowballR API
|
|
3
|
+
* REST API for the SnowballR Application
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectSettings
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectSettings {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ProjectSettings
|
|
23
|
+
*/
|
|
24
|
+
similarityThreshold?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProjectSettings
|
|
29
|
+
*/
|
|
30
|
+
snowballingType?: ProjectSettingsSnowballingTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof ProjectSettings
|
|
35
|
+
*/
|
|
36
|
+
reviewMaybeAllowed?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ReviewDecisionMatrix}
|
|
40
|
+
* @memberof ProjectSettings
|
|
41
|
+
*/
|
|
42
|
+
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
46
|
+
* @memberof ProjectSettings
|
|
47
|
+
*/
|
|
48
|
+
fetchers?: {
|
|
49
|
+
[key: string]: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export declare const ProjectSettingsSnowballingTypeEnum: {
|
|
58
|
+
readonly FORWARD: "FORWARD";
|
|
59
|
+
readonly BACKWARD: "BACKWARD";
|
|
60
|
+
readonly BOTH: "BOTH";
|
|
61
|
+
};
|
|
62
|
+
export type ProjectSettingsSnowballingTypeEnum = typeof ProjectSettingsSnowballingTypeEnum[keyof typeof ProjectSettingsSnowballingTypeEnum];
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the ProjectSettings interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfProjectSettings(value: object): value is ProjectSettings;
|
|
67
|
+
export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
|
|
68
|
+
export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
|
|
69
|
+
export declare function ProjectSettingsToJSON(json: any): ProjectSettings;
|
|
70
|
+
export declare function ProjectSettingsToJSONTyped(value?: ProjectSettings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -15,66 +15,44 @@ import { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './Rev
|
|
|
15
15
|
/**
|
|
16
16
|
* @export
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
19
|
-
ACTIVE: 'ACTIVE',
|
|
20
|
-
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
21
|
-
ARCHIVED: 'ARCHIVED',
|
|
22
|
-
DELETED: 'DELETED',
|
|
23
|
-
CLEARED: 'CLEARED'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export const ProjectSnowballingTypeEnum = {
|
|
18
|
+
export const ProjectSettingsSnowballingTypeEnum = {
|
|
29
19
|
FORWARD: 'FORWARD',
|
|
30
20
|
BACKWARD: 'BACKWARD',
|
|
31
21
|
BOTH: 'BOTH'
|
|
32
22
|
};
|
|
33
23
|
/**
|
|
34
|
-
* Check if a given object implements the
|
|
24
|
+
* Check if a given object implements the ProjectSettings interface.
|
|
35
25
|
*/
|
|
36
|
-
export function
|
|
26
|
+
export function instanceOfProjectSettings(value) {
|
|
37
27
|
return true;
|
|
38
28
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
29
|
+
export function ProjectSettingsFromJSON(json) {
|
|
30
|
+
return ProjectSettingsFromJSONTyped(json, false);
|
|
41
31
|
}
|
|
42
|
-
export function
|
|
32
|
+
export function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
33
|
if (json == null) {
|
|
44
34
|
return json;
|
|
45
35
|
}
|
|
46
36
|
return {
|
|
47
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
48
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
49
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
50
|
-
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
51
|
-
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
52
37
|
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
53
38
|
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
54
39
|
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
55
40
|
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
56
41
|
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
57
|
-
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
58
42
|
};
|
|
59
43
|
}
|
|
60
|
-
export function
|
|
61
|
-
return
|
|
44
|
+
export function ProjectSettingsToJSON(json) {
|
|
45
|
+
return ProjectSettingsToJSONTyped(json, false);
|
|
62
46
|
}
|
|
63
|
-
export function
|
|
47
|
+
export function ProjectSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
48
|
if (value == null) {
|
|
65
49
|
return value;
|
|
66
50
|
}
|
|
67
51
|
return {
|
|
68
|
-
'id': value['id'],
|
|
69
|
-
'name': value['name'],
|
|
70
|
-
'status': value['status'],
|
|
71
|
-
'currentStage': value['currentStage'],
|
|
72
|
-
'maxStage': value['maxStage'],
|
|
73
52
|
'similarityThreshold': value['similarityThreshold'],
|
|
74
53
|
'snowballingType': value['snowballingType'],
|
|
75
54
|
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
76
55
|
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
77
56
|
'fetchers': value['fetchers'],
|
|
78
|
-
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
79
57
|
};
|
|
80
58
|
}
|
|
@@ -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,9 @@
|
|
|
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 './ProjectSettings';
|
|
8
|
+
export * from './RegisterRequest';
|
|
5
9
|
export * from './ReviewDecisionMatrix';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
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 './ProjectSettings';
|
|
10
|
+
export * from './RegisterRequest';
|
|
7
11
|
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
|
+
}
|