@se-uulm/snowballr-api-client 0.2.1-alpha.267f00c → 0.2.1-alpha.2ef3e63
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 +18 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/dist/apis/ProjectsControllerApi.d.ts +13 -13
- package/dist/apis/ProjectsControllerApi.js +7 -7
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.js +0 -2
- package/dist/esm/apis/ProjectsControllerApi.d.ts +13 -13
- package/dist/esm/apis/ProjectsControllerApi.js +8 -8
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.js +0 -2
- package/dist/esm/models/Project.d.ts +80 -0
- package/dist/esm/models/Project.js +64 -0
- package/dist/esm/models/ProjectSettings.d.ts +70 -0
- package/dist/esm/models/{ProjectResponse.js → ProjectSettings.js} +9 -31
- package/dist/esm/models/index.d.ts +2 -4
- package/dist/esm/models/index.js +2 -4
- package/dist/models/Project.d.ts +80 -0
- package/dist/models/Project.js +72 -0
- package/dist/models/ProjectSettings.d.ts +70 -0
- package/dist/models/ProjectSettings.js +66 -0
- package/dist/models/index.d.ts +2 -4
- package/dist/models/index.js +2 -4
- package/package.json +4 -10
- package/src/apis/ProjectsControllerApi.ts +238 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/CreateProjectRequest.ts +65 -0
- package/src/models/DecisionMatrixPattern.ts +94 -0
- package/src/models/DecisionMatrixPatternEntry.ts +85 -0
- package/src/models/Project.ts +135 -0
- package/src/models/ProjectSettings.ts +117 -0
- package/src/models/ReviewDecisionMatrix.ts +81 -0
- package/src/models/index.ts +8 -0
- package/src/runtime.ts +432 -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,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
|
-
}
|