@se-uulm/snowballr-api-client 0.2.1-alpha.ccb4642 → 0.2.1-alpha.cd9417a

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @se-uulm/snowballr-api-client@0.2.1-alpha.ccb4642
1
+ ## @se-uulm/snowballr-api-client@0.2.1-alpha.cd9417a
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @se-uulm/snowballr-api-client@0.2.1-alpha.ccb4642 --save
39
+ npm install @se-uulm/snowballr-api-client@0.2.1-alpha.cd9417a --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -39,7 +39,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
39
39
  const queryParameters = {};
40
40
  const headerParameters = {};
41
41
  headerParameters['Content-Type'] = 'application/json';
42
- let urlPath = `/projects`;
42
+ let urlPath = `/api/v1/projects`;
43
43
  const response = yield this.request({
44
44
  path: urlPath,
45
45
  method: 'POST',
@@ -67,7 +67,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
67
67
  }
68
68
  const queryParameters = {};
69
69
  const headerParameters = {};
70
- let urlPath = `/projects/{id}`;
70
+ let urlPath = `/api/v1/projects/{id}`;
71
71
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
72
72
  const response = yield this.request({
73
73
  path: urlPath,
@@ -91,7 +91,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
91
91
  return __awaiter(this, void 0, void 0, function* () {
92
92
  const queryParameters = {};
93
93
  const headerParameters = {};
94
- let urlPath = `/projects`;
94
+ let urlPath = `/api/v1/projects`;
95
95
  const response = yield this.request({
96
96
  path: urlPath,
97
97
  method: 'GET',
@@ -118,7 +118,7 @@ class ProjectsControllerApi extends runtime.BaseAPI {
118
118
  }
119
119
  const queryParameters = {};
120
120
  const headerParameters = {};
121
- let urlPath = `/projects/{id}`;
121
+ let urlPath = `/api/v1/projects/{id}`;
122
122
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
123
123
  const response = yield this.request({
124
124
  path: urlPath,
@@ -36,7 +36,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
36
36
  const queryParameters = {};
37
37
  const headerParameters = {};
38
38
  headerParameters['Content-Type'] = 'application/json';
39
- let urlPath = `/projects`;
39
+ let urlPath = `/api/v1/projects`;
40
40
  const response = yield this.request({
41
41
  path: urlPath,
42
42
  method: 'POST',
@@ -64,7 +64,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
64
64
  }
65
65
  const queryParameters = {};
66
66
  const headerParameters = {};
67
- let urlPath = `/projects/{id}`;
67
+ let urlPath = `/api/v1/projects/{id}`;
68
68
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
69
69
  const response = yield this.request({
70
70
  path: urlPath,
@@ -88,7 +88,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
88
88
  return __awaiter(this, void 0, void 0, function* () {
89
89
  const queryParameters = {};
90
90
  const headerParameters = {};
91
- let urlPath = `/projects`;
91
+ let urlPath = `/api/v1/projects`;
92
92
  const response = yield this.request({
93
93
  path: urlPath,
94
94
  method: 'GET',
@@ -115,7 +115,7 @@ export class ProjectsControllerApi extends runtime.BaseAPI {
115
115
  }
116
116
  const queryParameters = {};
117
117
  const headerParameters = {};
118
- let urlPath = `/projects/{id}`;
118
+ let urlPath = `/api/v1/projects/{id}`;
119
119
  urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
120
120
  const response = yield this.request({
121
121
  path: urlPath,
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
12
+ import type { ProjectSettings } from './ProjectSettings';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -48,44 +48,16 @@ export interface Project {
48
48
  maxStage?: number;
49
49
  /**
50
50
  *
51
- * @type {number}
52
- * @memberof Project
53
- */
54
- similarityThreshold?: number;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof Project
59
- */
60
- snowballingType?: ProjectSnowballingTypeEnum;
61
- /**
62
- *
63
- * @type {boolean}
64
- * @memberof Project
65
- */
66
- reviewMaybeAllowed?: boolean;
67
- /**
68
- *
69
- * @type {ReviewDecisionMatrix}
51
+ * @type {Date}
70
52
  * @memberof Project
71
53
  */
72
- reviewDecisionMatrix?: ReviewDecisionMatrix;
54
+ currentStageStartedAt?: Date;
73
55
  /**
74
56
  *
75
- * @type {{ [key: string]: { [key: string]: string; }; }}
57
+ * @type {ProjectSettings}
76
58
  * @memberof Project
77
59
  */
78
- fetchers?: {
79
- [key: string]: {
80
- [key: string]: string;
81
- };
82
- };
83
- /**
84
- *
85
- * @type {Date}
86
- * @memberof Project
87
- */
88
- currentStageStartedAt?: Date;
60
+ settings?: ProjectSettings;
89
61
  }
90
62
  /**
91
63
  * @export
@@ -98,15 +70,6 @@ export declare const ProjectStatusEnum: {
98
70
  readonly CLEARED: "CLEARED";
99
71
  };
100
72
  export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
101
- /**
102
- * @export
103
- */
104
- export declare const ProjectSnowballingTypeEnum: {
105
- readonly FORWARD: "FORWARD";
106
- readonly BACKWARD: "BACKWARD";
107
- readonly BOTH: "BOTH";
108
- };
109
- export type ProjectSnowballingTypeEnum = typeof ProjectSnowballingTypeEnum[keyof typeof ProjectSnowballingTypeEnum];
110
73
  /**
111
74
  * Check if a given object implements the Project interface.
112
75
  */
@@ -11,7 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ReviewDecisionMatrixFromJSON, ReviewDecisionMatrixToJSON, } from './ReviewDecisionMatrix';
14
+ import { ProjectSettingsFromJSON, ProjectSettingsToJSON, } from './ProjectSettings';
15
15
  /**
16
16
  * @export
17
17
  */
@@ -22,14 +22,6 @@ export const ProjectStatusEnum = {
22
22
  DELETED: 'DELETED',
23
23
  CLEARED: 'CLEARED'
24
24
  };
25
- /**
26
- * @export
27
- */
28
- export const ProjectSnowballingTypeEnum = {
29
- FORWARD: 'FORWARD',
30
- BACKWARD: 'BACKWARD',
31
- BOTH: 'BOTH'
32
- };
33
25
  /**
34
26
  * Check if a given object implements the Project interface.
35
27
  */
@@ -49,12 +41,8 @@ export function ProjectFromJSONTyped(json, ignoreDiscriminator) {
49
41
  'status': json['status'] == null ? undefined : json['status'],
50
42
  'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
51
43
  '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
44
  'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
45
+ 'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
58
46
  };
59
47
  }
60
48
  export function ProjectToJSON(json) {
@@ -70,11 +58,7 @@ export function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
70
58
  'status': value['status'],
71
59
  'currentStage': value['currentStage'],
72
60
  '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
61
  'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
62
+ 'settings': ProjectSettingsToJSON(value['settings']),
79
63
  };
80
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;
@@ -0,0 +1,58 @@
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 ProjectSettingsSnowballingTypeEnum = {
19
+ FORWARD: 'FORWARD',
20
+ BACKWARD: 'BACKWARD',
21
+ BOTH: 'BOTH'
22
+ };
23
+ /**
24
+ * Check if a given object implements the ProjectSettings interface.
25
+ */
26
+ export function instanceOfProjectSettings(value) {
27
+ return true;
28
+ }
29
+ export function ProjectSettingsFromJSON(json) {
30
+ return ProjectSettingsFromJSONTyped(json, false);
31
+ }
32
+ export function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
38
+ 'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
39
+ 'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
40
+ 'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
41
+ 'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
42
+ };
43
+ }
44
+ export function ProjectSettingsToJSON(json) {
45
+ return ProjectSettingsToJSONTyped(json, false);
46
+ }
47
+ export function ProjectSettingsToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'similarityThreshold': value['similarityThreshold'],
53
+ 'snowballingType': value['snowballingType'],
54
+ 'reviewMaybeAllowed': value['reviewMaybeAllowed'],
55
+ 'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
56
+ 'fetchers': value['fetchers'],
57
+ };
58
+ }
@@ -2,4 +2,5 @@ export * from './CreateProjectRequest';
2
2
  export * from './DecisionMatrixPattern';
3
3
  export * from './DecisionMatrixPatternEntry';
4
4
  export * from './Project';
5
+ export * from './ProjectSettings';
5
6
  export * from './ReviewDecisionMatrix';
@@ -4,4 +4,5 @@ export * from './CreateProjectRequest';
4
4
  export * from './DecisionMatrixPattern';
5
5
  export * from './DecisionMatrixPatternEntry';
6
6
  export * from './Project';
7
+ export * from './ProjectSettings';
7
8
  export * from './ReviewDecisionMatrix';
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ReviewDecisionMatrix } from './ReviewDecisionMatrix';
12
+ import type { ProjectSettings } from './ProjectSettings';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -48,44 +48,16 @@ export interface Project {
48
48
  maxStage?: number;
49
49
  /**
50
50
  *
51
- * @type {number}
52
- * @memberof Project
53
- */
54
- similarityThreshold?: number;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof Project
59
- */
60
- snowballingType?: ProjectSnowballingTypeEnum;
61
- /**
62
- *
63
- * @type {boolean}
64
- * @memberof Project
65
- */
66
- reviewMaybeAllowed?: boolean;
67
- /**
68
- *
69
- * @type {ReviewDecisionMatrix}
51
+ * @type {Date}
70
52
  * @memberof Project
71
53
  */
72
- reviewDecisionMatrix?: ReviewDecisionMatrix;
54
+ currentStageStartedAt?: Date;
73
55
  /**
74
56
  *
75
- * @type {{ [key: string]: { [key: string]: string; }; }}
57
+ * @type {ProjectSettings}
76
58
  * @memberof Project
77
59
  */
78
- fetchers?: {
79
- [key: string]: {
80
- [key: string]: string;
81
- };
82
- };
83
- /**
84
- *
85
- * @type {Date}
86
- * @memberof Project
87
- */
88
- currentStageStartedAt?: Date;
60
+ settings?: ProjectSettings;
89
61
  }
90
62
  /**
91
63
  * @export
@@ -98,15 +70,6 @@ export declare const ProjectStatusEnum: {
98
70
  readonly CLEARED: "CLEARED";
99
71
  };
100
72
  export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
101
- /**
102
- * @export
103
- */
104
- export declare const ProjectSnowballingTypeEnum: {
105
- readonly FORWARD: "FORWARD";
106
- readonly BACKWARD: "BACKWARD";
107
- readonly BOTH: "BOTH";
108
- };
109
- export type ProjectSnowballingTypeEnum = typeof ProjectSnowballingTypeEnum[keyof typeof ProjectSnowballingTypeEnum];
110
73
  /**
111
74
  * Check if a given object implements the Project interface.
112
75
  */
@@ -13,13 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ProjectSnowballingTypeEnum = exports.ProjectStatusEnum = void 0;
16
+ exports.ProjectStatusEnum = void 0;
17
17
  exports.instanceOfProject = instanceOfProject;
18
18
  exports.ProjectFromJSON = ProjectFromJSON;
19
19
  exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
20
20
  exports.ProjectToJSON = ProjectToJSON;
21
21
  exports.ProjectToJSONTyped = ProjectToJSONTyped;
22
- const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
22
+ const ProjectSettings_1 = require("./ProjectSettings");
23
23
  /**
24
24
  * @export
25
25
  */
@@ -30,14 +30,6 @@ exports.ProjectStatusEnum = {
30
30
  DELETED: 'DELETED',
31
31
  CLEARED: 'CLEARED'
32
32
  };
33
- /**
34
- * @export
35
- */
36
- exports.ProjectSnowballingTypeEnum = {
37
- FORWARD: 'FORWARD',
38
- BACKWARD: 'BACKWARD',
39
- BOTH: 'BOTH'
40
- };
41
33
  /**
42
34
  * Check if a given object implements the Project interface.
43
35
  */
@@ -57,12 +49,8 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
57
49
  'status': json['status'] == null ? undefined : json['status'],
58
50
  'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
59
51
  '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
52
  'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
53
+ 'settings': json['settings'] == null ? undefined : (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
66
54
  };
67
55
  }
68
56
  function ProjectToJSON(json) {
@@ -78,11 +66,7 @@ function ProjectToJSONTyped(value, ignoreDiscriminator = false) {
78
66
  'status': value['status'],
79
67
  'currentStage': value['currentStage'],
80
68
  '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
69
  'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
70
+ 'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value['settings']),
87
71
  };
88
72
  }
@@ -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;
@@ -0,0 +1,66 @@
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.ProjectSettingsSnowballingTypeEnum = void 0;
17
+ exports.instanceOfProjectSettings = instanceOfProjectSettings;
18
+ exports.ProjectSettingsFromJSON = ProjectSettingsFromJSON;
19
+ exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
20
+ exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
21
+ exports.ProjectSettingsToJSONTyped = ProjectSettingsToJSONTyped;
22
+ const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProjectSettingsSnowballingTypeEnum = {
27
+ FORWARD: 'FORWARD',
28
+ BACKWARD: 'BACKWARD',
29
+ BOTH: 'BOTH'
30
+ };
31
+ /**
32
+ * Check if a given object implements the ProjectSettings interface.
33
+ */
34
+ function instanceOfProjectSettings(value) {
35
+ return true;
36
+ }
37
+ function ProjectSettingsFromJSON(json) {
38
+ return ProjectSettingsFromJSONTyped(json, false);
39
+ }
40
+ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
46
+ 'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
47
+ 'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
48
+ 'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixFromJSON)(json['reviewDecisionMatrix']),
49
+ 'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
50
+ };
51
+ }
52
+ function ProjectSettingsToJSON(json) {
53
+ return ProjectSettingsToJSONTyped(json, false);
54
+ }
55
+ function ProjectSettingsToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'similarityThreshold': value['similarityThreshold'],
61
+ 'snowballingType': value['snowballingType'],
62
+ 'reviewMaybeAllowed': value['reviewMaybeAllowed'],
63
+ 'reviewDecisionMatrix': (0, ReviewDecisionMatrix_1.ReviewDecisionMatrixToJSON)(value['reviewDecisionMatrix']),
64
+ 'fetchers': value['fetchers'],
65
+ };
66
+ }
@@ -2,4 +2,5 @@ export * from './CreateProjectRequest';
2
2
  export * from './DecisionMatrixPattern';
3
3
  export * from './DecisionMatrixPatternEntry';
4
4
  export * from './Project';
5
+ export * from './ProjectSettings';
5
6
  export * from './ReviewDecisionMatrix';
@@ -20,4 +20,5 @@ __exportStar(require("./CreateProjectRequest"), exports);
20
20
  __exportStar(require("./DecisionMatrixPattern"), exports);
21
21
  __exportStar(require("./DecisionMatrixPatternEntry"), exports);
22
22
  __exportStar(require("./Project"), exports);
23
+ __exportStar(require("./ProjectSettings"), exports);
23
24
  __exportStar(require("./ReviewDecisionMatrix"), exports);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@se-uulm/snowballr-api-client",
3
- "version": "0.2.1-alpha.ccb4642",
4
- "description": "OpenAPI client for @se-uulm/snowballr-api-client",
5
- "author": "OpenAPI-Generator",
3
+ "version": "0.2.1-alpha.cd9417a",
4
+ "description": "API client for the SnowballR Web Application",
5
+ "author": "SnowballR",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/SE-UUlm/snowballr-backend.git"
@@ -18,5 +18,11 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^4.0 || ^5.0"
21
- }
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md",
25
+ "LICENSE",
26
+ "CHANGELOG.md"
27
+ ]
22
28
  }