@se-uulm/snowballr-api-client 0.1.1-alpha.16a25a3
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 +22 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/CHANGELOG.md +9 -0
- package/LICENSE +674 -0
- package/README.md +46 -0
- package/dist/apis/AuthControllerApi.d.ts +118 -0
- package/dist/apis/AuthControllerApi.js +170 -0
- package/dist/apis/ProjectsControllerApi.d.ts +102 -0
- package/dist/apis/ProjectsControllerApi.js +141 -0
- package/dist/apis/UsersControllerApi.d.ts +46 -0
- package/dist/apis/UsersControllerApi.js +61 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +21 -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 +102 -0
- package/dist/esm/apis/ProjectsControllerApi.js +137 -0
- package/dist/esm/apis/UsersControllerApi.d.ts +46 -0
- package/dist/esm/apis/UsersControllerApi.js +57 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/esm/models/ChangePasswordRequest.js +43 -0
- package/dist/esm/models/CreateProjectRequest.d.ts +32 -0
- package/dist/esm/models/CreateProjectRequest.js +41 -0
- package/dist/esm/models/DecisionMatrixPattern.d.ts +49 -0
- package/dist/esm/models/DecisionMatrixPattern.js +53 -0
- package/dist/esm/models/DecisionMatrixPatternEntry.d.ts +47 -0
- package/dist/esm/models/DecisionMatrixPatternEntry.js +51 -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 +117 -0
- package/dist/esm/models/ProjectResponse.js +80 -0
- package/dist/esm/models/RegisterRequest.d.ts +50 -0
- package/dist/esm/models/RegisterRequest.js +47 -0
- package/dist/esm/models/ReviewDecisionMatrix.d.ts +39 -0
- package/dist/esm/models/ReviewDecisionMatrix.js +44 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ChangePasswordRequest.d.ts +38 -0
- package/dist/models/ChangePasswordRequest.js +50 -0
- package/dist/models/CreateProjectRequest.d.ts +32 -0
- package/dist/models/CreateProjectRequest.js +48 -0
- package/dist/models/DecisionMatrixPattern.d.ts +49 -0
- package/dist/models/DecisionMatrixPattern.js +61 -0
- package/dist/models/DecisionMatrixPatternEntry.d.ts +47 -0
- package/dist/models/DecisionMatrixPatternEntry.js +59 -0
- package/dist/models/LoginRequest.d.ts +38 -0
- package/dist/models/LoginRequest.js +50 -0
- package/dist/models/ProjectResponse.d.ts +117 -0
- package/dist/models/ProjectResponse.js +88 -0
- package/dist/models/RegisterRequest.d.ts +50 -0
- package/dist/models/RegisterRequest.js +54 -0
- package/dist/models/ReviewDecisionMatrix.d.ts +39 -0
- package/dist/models/ReviewDecisionMatrix.js +51 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +26 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +22 -0
- package/src/apis/AuthControllerApi.ts +283 -0
- package/src/apis/ProjectsControllerApi.ts +238 -0
- package/src/apis/UsersControllerApi.ts +92 -0
- package/src/apis/index.ts +5 -0
- package/src/index.ts +5 -0
- package/src/models/ChangePasswordRequest.ts +73 -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/LoginRequest.ts +73 -0
- package/src/models/ProjectResponse.ts +177 -0
- package/src/models/RegisterRequest.ts +89 -0
- package/src/models/ReviewDecisionMatrix.ts +81 -0
- package/src/models/index.ts +10 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -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,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 ChangePasswordRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfChangePasswordRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ChangePasswordRequestFromJSON(json) {
|
|
21
|
+
return ChangePasswordRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ChangePasswordRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'oldPassword': json['oldPassword'] == null ? undefined : json['oldPassword'],
|
|
29
|
+
'newPassword': json['newPassword'] == null ? undefined : json['newPassword'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ChangePasswordRequestToJSON(json) {
|
|
33
|
+
return ChangePasswordRequestToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ChangePasswordRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'oldPassword': value['oldPassword'],
|
|
41
|
+
'newPassword': value['newPassword'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 CreateProjectRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateProjectRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateProjectRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateProjectRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateProjectRequest(value: object): value is CreateProjectRequest;
|
|
29
|
+
export declare function CreateProjectRequestFromJSON(json: any): CreateProjectRequest;
|
|
30
|
+
export declare function CreateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectRequest;
|
|
31
|
+
export declare function CreateProjectRequestToJSON(json: any): CreateProjectRequest;
|
|
32
|
+
export declare function CreateProjectRequestToJSONTyped(value?: CreateProjectRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 CreateProjectRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateProjectRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CreateProjectRequestFromJSON(json) {
|
|
21
|
+
return CreateProjectRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CreateProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function CreateProjectRequestToJSON(json) {
|
|
32
|
+
return CreateProjectRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function CreateProjectRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': value['name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { DecisionMatrixPatternEntry } from './DecisionMatrixPatternEntry';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DecisionMatrixPattern
|
|
17
|
+
*/
|
|
18
|
+
export interface DecisionMatrixPattern {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof DecisionMatrixPattern
|
|
23
|
+
*/
|
|
24
|
+
decision?: DecisionMatrixPatternDecisionEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<DecisionMatrixPatternEntry>}
|
|
28
|
+
* @memberof DecisionMatrixPattern
|
|
29
|
+
*/
|
|
30
|
+
entries?: Array<DecisionMatrixPatternEntry>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const DecisionMatrixPatternDecisionEnum: {
|
|
36
|
+
readonly UNREVIEWED: "UNREVIEWED";
|
|
37
|
+
readonly IN_REVIEW: "IN_REVIEW";
|
|
38
|
+
readonly DECLINED: "DECLINED";
|
|
39
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
40
|
+
};
|
|
41
|
+
export type DecisionMatrixPatternDecisionEnum = typeof DecisionMatrixPatternDecisionEnum[keyof typeof DecisionMatrixPatternDecisionEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the DecisionMatrixPattern interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfDecisionMatrixPattern(value: object): value is DecisionMatrixPattern;
|
|
46
|
+
export declare function DecisionMatrixPatternFromJSON(json: any): DecisionMatrixPattern;
|
|
47
|
+
export declare function DecisionMatrixPatternFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPattern;
|
|
48
|
+
export declare function DecisionMatrixPatternToJSON(json: any): DecisionMatrixPattern;
|
|
49
|
+
export declare function DecisionMatrixPatternToJSONTyped(value?: DecisionMatrixPattern | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { DecisionMatrixPatternEntryFromJSON, DecisionMatrixPatternEntryToJSON, } from './DecisionMatrixPatternEntry';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DecisionMatrixPatternDecisionEnum = {
|
|
19
|
+
UNREVIEWED: 'UNREVIEWED',
|
|
20
|
+
IN_REVIEW: 'IN_REVIEW',
|
|
21
|
+
DECLINED: 'DECLINED',
|
|
22
|
+
ACCEPTED: 'ACCEPTED'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the DecisionMatrixPattern interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfDecisionMatrixPattern(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function DecisionMatrixPatternFromJSON(json) {
|
|
31
|
+
return DecisionMatrixPatternFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function DecisionMatrixPatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'decision': json['decision'] == null ? undefined : json['decision'],
|
|
39
|
+
'entries': json['entries'] == null ? undefined : (json['entries'].map(DecisionMatrixPatternEntryFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function DecisionMatrixPatternToJSON(json) {
|
|
43
|
+
return DecisionMatrixPatternToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function DecisionMatrixPatternToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'decision': value['decision'],
|
|
51
|
+
'entries': value['entries'] == null ? undefined : (value['entries'].map(DecisionMatrixPatternEntryToJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 DecisionMatrixPatternEntry
|
|
16
|
+
*/
|
|
17
|
+
export interface DecisionMatrixPatternEntry {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DecisionMatrixPatternEntry
|
|
22
|
+
*/
|
|
23
|
+
decision?: DecisionMatrixPatternEntryDecisionEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DecisionMatrixPatternEntry
|
|
28
|
+
*/
|
|
29
|
+
count?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const DecisionMatrixPatternEntryDecisionEnum: {
|
|
35
|
+
readonly DECLINED: "DECLINED";
|
|
36
|
+
readonly MAYBE: "MAYBE";
|
|
37
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
38
|
+
};
|
|
39
|
+
export type DecisionMatrixPatternEntryDecisionEnum = typeof DecisionMatrixPatternEntryDecisionEnum[keyof typeof DecisionMatrixPatternEntryDecisionEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the DecisionMatrixPatternEntry interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfDecisionMatrixPatternEntry(value: object): value is DecisionMatrixPatternEntry;
|
|
44
|
+
export declare function DecisionMatrixPatternEntryFromJSON(json: any): DecisionMatrixPatternEntry;
|
|
45
|
+
export declare function DecisionMatrixPatternEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPatternEntry;
|
|
46
|
+
export declare function DecisionMatrixPatternEntryToJSON(json: any): DecisionMatrixPatternEntry;
|
|
47
|
+
export declare function DecisionMatrixPatternEntryToJSONTyped(value?: DecisionMatrixPatternEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const DecisionMatrixPatternEntryDecisionEnum = {
|
|
18
|
+
DECLINED: 'DECLINED',
|
|
19
|
+
MAYBE: 'MAYBE',
|
|
20
|
+
ACCEPTED: 'ACCEPTED'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DecisionMatrixPatternEntry interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfDecisionMatrixPatternEntry(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function DecisionMatrixPatternEntryFromJSON(json) {
|
|
29
|
+
return DecisionMatrixPatternEntryFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function DecisionMatrixPatternEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'decision': json['decision'] == null ? undefined : json['decision'],
|
|
37
|
+
'count': json['count'] == null ? undefined : json['count'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function DecisionMatrixPatternEntryToJSON(json) {
|
|
41
|
+
return DecisionMatrixPatternEntryToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function DecisionMatrixPatternEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'decision': value['decision'],
|
|
49
|
+
'count': value['count'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,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,117 @@
|
|
|
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;
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './ReviewDecisionMatrix';
|
|
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
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export const ProjectResponseSnowballingTypeEnum = {
|
|
29
|
+
FORWARD: 'FORWARD',
|
|
30
|
+
BACKWARD: 'BACKWARD',
|
|
31
|
+
BOTH: 'BOTH'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ProjectResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export function instanceOfProjectResponse(value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function ProjectResponseFromJSON(json) {
|
|
40
|
+
return ProjectResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
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
|
+
'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
|
|
53
|
+
'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
|
|
54
|
+
'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
|
|
55
|
+
'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
|
|
56
|
+
'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
|
|
57
|
+
'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function ProjectResponseToJSON(json) {
|
|
61
|
+
return ProjectResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'id': value['id'],
|
|
69
|
+
'name': value['name'],
|
|
70
|
+
'status': value['status'],
|
|
71
|
+
'currentStage': value['currentStage'],
|
|
72
|
+
'maxStage': value['maxStage'],
|
|
73
|
+
'similarityThreshold': value['similarityThreshold'],
|
|
74
|
+
'snowballingType': value['snowballingType'],
|
|
75
|
+
'reviewMaybeAllowed': value['reviewMaybeAllowed'],
|
|
76
|
+
'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
|
|
77
|
+
'fetchers': value['fetchers'],
|
|
78
|
+
'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -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;
|