@se-uulm/snowballr-api-client 0.2.1-alpha.267f00c → 0.2.1-alpha.2d2b6b0
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/.openapi-generator/FILES +25 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +102 -28
- package/dist/apis/ProjectsControllerApi.d.ts +66 -13
- package/dist/apis/ProjectsControllerApi.js +60 -23
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -2
- package/dist/esm/apis/ProjectsControllerApi.d.ts +66 -13
- package/dist/esm/apis/ProjectsControllerApi.js +59 -22
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.js +0 -2
- 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/Project.d.ts +66 -0
- package/dist/esm/models/Project.js +65 -0
- package/dist/esm/models/ProjectSettings.d.ts +60 -0
- package/dist/esm/models/{ProjectResponse.js → ProjectSettings.js} +10 -32
- package/dist/esm/models/ReviewDecisionMatrix.d.ts +0 -4
- package/dist/esm/models/index.d.ts +2 -4
- package/dist/esm/models/index.js +2 -4
- package/dist/esm/runtime.d.ts +34 -1
- package/dist/esm/runtime.js +130 -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/Project.d.ts +66 -0
- package/dist/models/Project.js +73 -0
- package/dist/models/ProjectSettings.d.ts +60 -0
- package/dist/models/ProjectSettings.js +66 -0
- package/dist/models/ReviewDecisionMatrix.d.ts +0 -4
- package/dist/models/index.d.ts +2 -4
- package/dist/models/index.js +2 -4
- package/dist/runtime.d.ts +34 -1
- package/dist/runtime.js +136 -4
- package/docs/CreateProjectRequest.md +34 -0
- package/docs/DecisionMatrixPattern.md +36 -0
- package/docs/DecisionMatrixPatternEntry.md +36 -0
- package/docs/Project.md +46 -0
- package/docs/ProjectSettings.md +42 -0
- package/docs/ProjectsControllerApi.md +264 -0
- package/docs/ReviewDecisionMatrix.md +36 -0
- package/package.json +5 -11
- package/src/apis/ProjectsControllerApi.ts +309 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/CreateProjectRequest.ts +63 -0
- package/src/models/DecisionMatrixPattern.ts +90 -0
- package/src/models/DecisionMatrixPatternEntry.ts +81 -0
- package/src/models/Project.ts +121 -0
- package/src/models/ProjectSettings.ts +107 -0
- package/src/models/ReviewDecisionMatrix.ts +77 -0
- package/src/models/index.ts +8 -0
- package/src/runtime.ts +572 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
- package/dist/apis/AuthControllerApi.d.ts +0 -118
- package/dist/apis/AuthControllerApi.js +0 -170
- package/dist/apis/UsersControllerApi.d.ts +0 -46
- package/dist/apis/UsersControllerApi.js +0 -61
- package/dist/esm/apis/AuthControllerApi.d.ts +0 -118
- package/dist/esm/apis/AuthControllerApi.js +0 -166
- package/dist/esm/apis/UsersControllerApi.d.ts +0 -46
- package/dist/esm/apis/UsersControllerApi.js +0 -57
- package/dist/esm/models/ChangePasswordRequest.d.ts +0 -38
- package/dist/esm/models/ChangePasswordRequest.js +0 -43
- package/dist/esm/models/LoginRequest.d.ts +0 -38
- package/dist/esm/models/LoginRequest.js +0 -43
- package/dist/esm/models/ProjectResponse.d.ts +0 -117
- package/dist/esm/models/RegisterRequest.d.ts +0 -50
- package/dist/esm/models/RegisterRequest.js +0 -47
- package/dist/models/ChangePasswordRequest.d.ts +0 -38
- package/dist/models/ChangePasswordRequest.js +0 -50
- package/dist/models/LoginRequest.d.ts +0 -38
- package/dist/models/LoginRequest.js +0 -50
- package/dist/models/ProjectResponse.d.ts +0 -117
- package/dist/models/ProjectResponse.js +0 -88
- package/dist/models/RegisterRequest.d.ts +0 -50
- package/dist/models/RegisterRequest.js +0 -54
|
@@ -1,117 +0,0 @@
|
|
|
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 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 {number}
|
|
52
|
-
* @memberof ProjectResponse
|
|
53
|
-
*/
|
|
54
|
-
similarityThreshold?: number;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof ProjectResponse
|
|
59
|
-
*/
|
|
60
|
-
snowballingType?: ProjectResponseSnowballingTypeEnum;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {boolean}
|
|
64
|
-
* @memberof ProjectResponse
|
|
65
|
-
*/
|
|
66
|
-
reviewMaybeAllowed?: boolean;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {ReviewDecisionMatrix}
|
|
70
|
-
* @memberof ProjectResponse
|
|
71
|
-
*/
|
|
72
|
-
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
76
|
-
* @memberof ProjectResponse
|
|
77
|
-
*/
|
|
78
|
-
fetchers?: {
|
|
79
|
-
[key: string]: {
|
|
80
|
-
[key: string]: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Date}
|
|
86
|
-
* @memberof ProjectResponse
|
|
87
|
-
*/
|
|
88
|
-
currentStageStartedAt?: Date;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export declare const ProjectResponseStatusEnum: {
|
|
94
|
-
readonly ACTIVE: "ACTIVE";
|
|
95
|
-
readonly ACTIVE_LOCKED: "ACTIVE_LOCKED";
|
|
96
|
-
readonly ARCHIVED: "ARCHIVED";
|
|
97
|
-
readonly DELETED: "DELETED";
|
|
98
|
-
readonly CLEARED: "CLEARED";
|
|
99
|
-
};
|
|
100
|
-
export type ProjectResponseStatusEnum = typeof ProjectResponseStatusEnum[keyof typeof ProjectResponseStatusEnum];
|
|
101
|
-
/**
|
|
102
|
-
* @export
|
|
103
|
-
*/
|
|
104
|
-
export declare const ProjectResponseSnowballingTypeEnum: {
|
|
105
|
-
readonly FORWARD: "FORWARD";
|
|
106
|
-
readonly BACKWARD: "BACKWARD";
|
|
107
|
-
readonly BOTH: "BOTH";
|
|
108
|
-
};
|
|
109
|
-
export type ProjectResponseSnowballingTypeEnum = typeof ProjectResponseSnowballingTypeEnum[keyof typeof ProjectResponseSnowballingTypeEnum];
|
|
110
|
-
/**
|
|
111
|
-
* Check if a given object implements the ProjectResponse interface.
|
|
112
|
-
*/
|
|
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;
|
|
@@ -1,88 +0,0 @@
|
|
|
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.ProjectResponseSnowballingTypeEnum = exports.ProjectResponseStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfProjectResponse = instanceOfProjectResponse;
|
|
18
|
-
exports.ProjectResponseFromJSON = ProjectResponseFromJSON;
|
|
19
|
-
exports.ProjectResponseFromJSONTyped = ProjectResponseFromJSONTyped;
|
|
20
|
-
exports.ProjectResponseToJSON = ProjectResponseToJSON;
|
|
21
|
-
exports.ProjectResponseToJSONTyped = ProjectResponseToJSONTyped;
|
|
22
|
-
const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProjectResponseStatusEnum = {
|
|
27
|
-
ACTIVE: 'ACTIVE',
|
|
28
|
-
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
29
|
-
ARCHIVED: 'ARCHIVED',
|
|
30
|
-
DELETED: 'DELETED',
|
|
31
|
-
CLEARED: 'CLEARED'
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @export
|
|
35
|
-
*/
|
|
36
|
-
exports.ProjectResponseSnowballingTypeEnum = {
|
|
37
|
-
FORWARD: 'FORWARD',
|
|
38
|
-
BACKWARD: 'BACKWARD',
|
|
39
|
-
BOTH: 'BOTH'
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Check if a given object implements the ProjectResponse interface.
|
|
43
|
-
*/
|
|
44
|
-
function instanceOfProjectResponse(value) {
|
|
45
|
-
return true;
|
|
46
|
-
}
|
|
47
|
-
function ProjectResponseFromJSON(json) {
|
|
48
|
-
return ProjectResponseFromJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
56
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
57
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
58
|
-
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
59
|
-
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
60
|
-
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
61
|
-
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
62
|
-
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
63
|
-
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixFromJSON)(json['reviewDecisionMatrix']),
|
|
64
|
-
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
65
|
-
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function ProjectResponseToJSON(json) {
|
|
69
|
-
return ProjectResponseToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
-
if (value == null) {
|
|
73
|
-
return value;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
'id': value['id'],
|
|
77
|
-
'name': value['name'],
|
|
78
|
-
'status': value['status'],
|
|
79
|
-
'currentStage': value['currentStage'],
|
|
80
|
-
'maxStage': value['maxStage'],
|
|
81
|
-
'similarityThreshold': value['similarityThreshold'],
|
|
82
|
-
'snowballingType': value['snowballingType'],
|
|
83
|
-
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
84
|
-
'reviewDecisionMatrix': (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixToJSON)(value['reviewDecisionMatrix']),
|
|
85
|
-
'fetchers': value['fetchers'],
|
|
86
|
-
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
87
|
-
};
|
|
88
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfRegisterRequest = instanceOfRegisterRequest;
|
|
17
|
-
exports.RegisterRequestFromJSON = RegisterRequestFromJSON;
|
|
18
|
-
exports.RegisterRequestFromJSONTyped = RegisterRequestFromJSONTyped;
|
|
19
|
-
exports.RegisterRequestToJSON = RegisterRequestToJSON;
|
|
20
|
-
exports.RegisterRequestToJSONTyped = RegisterRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the RegisterRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfRegisterRequest(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function RegisterRequestFromJSON(json) {
|
|
28
|
-
return RegisterRequestFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function RegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
36
|
-
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
37
|
-
'email': json['email'] == null ? undefined : json['email'],
|
|
38
|
-
'password': json['password'] == null ? undefined : json['password'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function RegisterRequestToJSON(json) {
|
|
42
|
-
return RegisterRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function RegisterRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'firstName': value['firstName'],
|
|
50
|
-
'lastName': value['lastName'],
|
|
51
|
-
'email': value['email'],
|
|
52
|
-
'password': value['password'],
|
|
53
|
-
};
|
|
54
|
-
}
|