@se-uulm/snowballr-api-client 0.2.1-alpha.4c9a1dc → 0.2.1-alpha.5142d0d
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/package.json +10 -4
- package/.openapi-generator/FILES +0 -18
- 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 -135
- package/src/models/ProjectSettings.ts +0 -117
- package/src/models/ReviewDecisionMatrix.ts +0 -81
- package/src/models/index.ts +0 -8
- package/src/runtime.ts +0 -432
- package/tsconfig.esm.json +0 -7
- package/tsconfig.json +0 -16
package/src/models/Project.ts
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ProjectSettings } from './ProjectSettings';
|
|
17
|
-
import {
|
|
18
|
-
ProjectSettingsFromJSON,
|
|
19
|
-
ProjectSettingsFromJSONTyped,
|
|
20
|
-
ProjectSettingsToJSON,
|
|
21
|
-
ProjectSettingsToJSONTyped,
|
|
22
|
-
} from './ProjectSettings';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface Project
|
|
28
|
-
*/
|
|
29
|
-
export interface Project {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Project
|
|
34
|
-
*/
|
|
35
|
-
id?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof Project
|
|
40
|
-
*/
|
|
41
|
-
name?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Project
|
|
46
|
-
*/
|
|
47
|
-
status?: ProjectStatusEnum;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof Project
|
|
52
|
-
*/
|
|
53
|
-
currentStage?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof Project
|
|
58
|
-
*/
|
|
59
|
-
maxStage?: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof Project
|
|
64
|
-
*/
|
|
65
|
-
currentStageStartedAt?: Date;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {ProjectSettings}
|
|
69
|
-
* @memberof Project
|
|
70
|
-
*/
|
|
71
|
-
settings?: ProjectSettings;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @export
|
|
77
|
-
*/
|
|
78
|
-
export const ProjectStatusEnum = {
|
|
79
|
-
ACTIVE: 'ACTIVE',
|
|
80
|
-
ACTIVE_LOCKED: 'ACTIVE_LOCKED',
|
|
81
|
-
ARCHIVED: 'ARCHIVED',
|
|
82
|
-
DELETED: 'DELETED',
|
|
83
|
-
CLEARED: 'CLEARED'
|
|
84
|
-
} as const;
|
|
85
|
-
export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Check if a given object implements the Project interface.
|
|
90
|
-
*/
|
|
91
|
-
export function instanceOfProject(value: object): value is Project {
|
|
92
|
-
return true;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export function ProjectFromJSON(json: any): Project {
|
|
96
|
-
return ProjectFromJSONTyped(json, false);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project {
|
|
100
|
-
if (json == null) {
|
|
101
|
-
return json;
|
|
102
|
-
}
|
|
103
|
-
return {
|
|
104
|
-
|
|
105
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
106
|
-
'name': json['name'] == null ? undefined : json['name'],
|
|
107
|
-
'status': json['status'] == null ? undefined : json['status'],
|
|
108
|
-
'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
|
|
109
|
-
'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
|
|
110
|
-
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
111
|
-
'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export function ProjectToJSON(json: any): Project {
|
|
116
|
-
return ProjectToJSONTyped(json, false);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator: boolean = false): any {
|
|
120
|
-
if (value == null) {
|
|
121
|
-
return value;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
return {
|
|
125
|
-
|
|
126
|
-
'id': value['id'],
|
|
127
|
-
'name': value['name'],
|
|
128
|
-
'status': value['status'],
|
|
129
|
-
'currentStage': value['currentStage'],
|
|
130
|
-
'maxStage': value['maxStage'],
|
|
131
|
-
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
132
|
-
'settings': ProjectSettingsToJSON(value['settings']),
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
|
|
@@ -1,117 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
|
|
17
|
-
import {
|
|
18
|
-
ReviewDecisionMatrixFromJSON,
|
|
19
|
-
ReviewDecisionMatrixFromJSONTyped,
|
|
20
|
-
ReviewDecisionMatrixToJSON,
|
|
21
|
-
ReviewDecisionMatrixToJSONTyped,
|
|
22
|
-
} from './ReviewDecisionMatrix';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ProjectSettings
|
|
28
|
-
*/
|
|
29
|
-
export interface ProjectSettings {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProjectSettings
|
|
34
|
-
*/
|
|
35
|
-
similarityThreshold?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ProjectSettings
|
|
40
|
-
*/
|
|
41
|
-
snowballingType?: ProjectSettingsSnowballingTypeEnum;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof ProjectSettings
|
|
46
|
-
*/
|
|
47
|
-
reviewMaybeAllowed?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {ReviewDecisionMatrix}
|
|
51
|
-
* @memberof ProjectSettings
|
|
52
|
-
*/
|
|
53
|
-
reviewDecisionMatrix?: ReviewDecisionMatrix;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
57
|
-
* @memberof ProjectSettings
|
|
58
|
-
*/
|
|
59
|
-
fetchers?: { [key: string]: { [key: string]: string; }; };
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export const ProjectSettingsSnowballingTypeEnum = {
|
|
67
|
-
FORWARD: 'FORWARD',
|
|
68
|
-
BACKWARD: 'BACKWARD',
|
|
69
|
-
BOTH: 'BOTH'
|
|
70
|
-
} as const;
|
|
71
|
-
export type ProjectSettingsSnowballingTypeEnum = typeof ProjectSettingsSnowballingTypeEnum[keyof typeof ProjectSettingsSnowballingTypeEnum];
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the ProjectSettings interface.
|
|
76
|
-
*/
|
|
77
|
-
export function instanceOfProjectSettings(value: object): value is ProjectSettings {
|
|
78
|
-
return true;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function ProjectSettingsFromJSON(json: any): ProjectSettings {
|
|
82
|
-
return ProjectSettingsFromJSONTyped(json, false);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings {
|
|
86
|
-
if (json == null) {
|
|
87
|
-
return json;
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
|
|
91
|
-
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
92
|
-
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
93
|
-
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
94
|
-
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
95
|
-
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export function ProjectSettingsToJSON(json: any): ProjectSettings {
|
|
100
|
-
return ProjectSettingsToJSONTyped(json, false);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export function ProjectSettingsToJSONTyped(value?: ProjectSettings | null, ignoreDiscriminator: boolean = false): any {
|
|
104
|
-
if (value == null) {
|
|
105
|
-
return value;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
return {
|
|
109
|
-
|
|
110
|
-
'similarityThreshold': value['similarityThreshold'],
|
|
111
|
-
'snowballingType': value['snowballingType'],
|
|
112
|
-
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
113
|
-
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
114
|
-
'fetchers': value['fetchers'],
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
|
|
@@ -1,81 +0,0 @@
|
|
|
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
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { DecisionMatrixPattern } from './DecisionMatrixPattern';
|
|
17
|
-
import {
|
|
18
|
-
DecisionMatrixPatternFromJSON,
|
|
19
|
-
DecisionMatrixPatternFromJSONTyped,
|
|
20
|
-
DecisionMatrixPatternToJSON,
|
|
21
|
-
DecisionMatrixPatternToJSONTyped,
|
|
22
|
-
} from './DecisionMatrixPattern';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ReviewDecisionMatrix
|
|
28
|
-
*/
|
|
29
|
-
export interface ReviewDecisionMatrix {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ReviewDecisionMatrix
|
|
34
|
-
*/
|
|
35
|
-
numberOfReviewers?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<DecisionMatrixPattern>}
|
|
39
|
-
* @memberof ReviewDecisionMatrix
|
|
40
|
-
*/
|
|
41
|
-
patterns?: Array<DecisionMatrixPattern>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ReviewDecisionMatrix interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfReviewDecisionMatrix(value: object): value is ReviewDecisionMatrix {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ReviewDecisionMatrixFromJSON(json: any): ReviewDecisionMatrix {
|
|
52
|
-
return ReviewDecisionMatrixFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ReviewDecisionMatrixFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReviewDecisionMatrix {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'numberOfReviewers': json['numberOfReviewers'] == null ? undefined : json['numberOfReviewers'],
|
|
62
|
-
'patterns': json['patterns'] == null ? undefined : ((json['patterns'] as Array<any>).map(DecisionMatrixPatternFromJSON)),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function ReviewDecisionMatrixToJSON(json: any): ReviewDecisionMatrix {
|
|
67
|
-
return ReviewDecisionMatrixToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function ReviewDecisionMatrixToJSONTyped(value?: ReviewDecisionMatrix | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'numberOfReviewers': value['numberOfReviewers'],
|
|
78
|
-
'patterns': value['patterns'] == null ? undefined : ((value['patterns'] as Array<any>).map(DecisionMatrixPatternToJSON)),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
package/src/models/index.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
export * from './CreateProjectRequest';
|
|
4
|
-
export * from './DecisionMatrixPattern';
|
|
5
|
-
export * from './DecisionMatrixPatternEntry';
|
|
6
|
-
export * from './Project';
|
|
7
|
-
export * from './ProjectSettings';
|
|
8
|
-
export * from './ReviewDecisionMatrix';
|