@se-uulm/snowballr-api-client 0.2.1-alpha.fba5056 → 0.2.1-alpha.fd8901d

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.
Files changed (61) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +2 -2
  5. package/dist/apis/ProjectsControllerApi.d.ts +13 -13
  6. package/dist/apis/ProjectsControllerApi.js +7 -7
  7. package/dist/apis/index.d.ts +0 -2
  8. package/dist/apis/index.js +0 -2
  9. package/dist/esm/apis/ProjectsControllerApi.d.ts +13 -13
  10. package/dist/esm/apis/ProjectsControllerApi.js +8 -8
  11. package/dist/esm/apis/index.d.ts +0 -2
  12. package/dist/esm/apis/index.js +0 -2
  13. package/dist/esm/models/Project.d.ts +80 -0
  14. package/dist/esm/models/Project.js +64 -0
  15. package/dist/esm/models/ProjectSettings.d.ts +70 -0
  16. package/dist/esm/models/{ProjectResponse.js → ProjectSettings.js} +9 -31
  17. package/dist/esm/models/index.d.ts +2 -4
  18. package/dist/esm/models/index.js +2 -4
  19. package/dist/models/Project.d.ts +80 -0
  20. package/dist/models/Project.js +72 -0
  21. package/dist/models/ProjectSettings.d.ts +70 -0
  22. package/dist/models/ProjectSettings.js +66 -0
  23. package/dist/models/index.d.ts +2 -4
  24. package/dist/models/index.js +2 -4
  25. package/package.json +4 -10
  26. package/src/apis/ProjectsControllerApi.ts +238 -0
  27. package/src/apis/index.ts +3 -0
  28. package/src/index.ts +5 -0
  29. package/src/models/CreateProjectRequest.ts +65 -0
  30. package/src/models/DecisionMatrixPattern.ts +94 -0
  31. package/src/models/DecisionMatrixPatternEntry.ts +85 -0
  32. package/src/models/Project.ts +135 -0
  33. package/src/models/ProjectSettings.ts +117 -0
  34. package/src/models/ReviewDecisionMatrix.ts +81 -0
  35. package/src/models/index.ts +8 -0
  36. package/src/runtime.ts +432 -0
  37. package/tsconfig.esm.json +7 -0
  38. package/tsconfig.json +16 -0
  39. package/dist/apis/AuthControllerApi.d.ts +0 -118
  40. package/dist/apis/AuthControllerApi.js +0 -170
  41. package/dist/apis/UsersControllerApi.d.ts +0 -46
  42. package/dist/apis/UsersControllerApi.js +0 -61
  43. package/dist/esm/apis/AuthControllerApi.d.ts +0 -118
  44. package/dist/esm/apis/AuthControllerApi.js +0 -166
  45. package/dist/esm/apis/UsersControllerApi.d.ts +0 -46
  46. package/dist/esm/apis/UsersControllerApi.js +0 -57
  47. package/dist/esm/models/ChangePasswordRequest.d.ts +0 -38
  48. package/dist/esm/models/ChangePasswordRequest.js +0 -43
  49. package/dist/esm/models/LoginRequest.d.ts +0 -38
  50. package/dist/esm/models/LoginRequest.js +0 -43
  51. package/dist/esm/models/ProjectResponse.d.ts +0 -117
  52. package/dist/esm/models/RegisterRequest.d.ts +0 -50
  53. package/dist/esm/models/RegisterRequest.js +0 -47
  54. package/dist/models/ChangePasswordRequest.d.ts +0 -38
  55. package/dist/models/ChangePasswordRequest.js +0 -50
  56. package/dist/models/LoginRequest.d.ts +0 -38
  57. package/dist/models/LoginRequest.js +0 -50
  58. package/dist/models/ProjectResponse.d.ts +0 -117
  59. package/dist/models/ProjectResponse.js +0 -88
  60. package/dist/models/RegisterRequest.d.ts +0 -50
  61. package/dist/models/RegisterRequest.js +0 -54
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export * from './runtime';
4
+ export * from './apis/index';
5
+ export * from './models/index';
@@ -0,0 +1,65 @@
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
+ /**
17
+ *
18
+ * @export
19
+ * @interface CreateProjectRequest
20
+ */
21
+ export interface CreateProjectRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof CreateProjectRequest
26
+ */
27
+ name?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the CreateProjectRequest interface.
32
+ */
33
+ export function instanceOfCreateProjectRequest(value: object): value is CreateProjectRequest {
34
+ return true;
35
+ }
36
+
37
+ export function CreateProjectRequestFromJSON(json: any): CreateProjectRequest {
38
+ return CreateProjectRequestFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function CreateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateProjectRequest {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'name': json['name'] == null ? undefined : json['name'],
48
+ };
49
+ }
50
+
51
+ export function CreateProjectRequestToJSON(json: any): CreateProjectRequest {
52
+ return CreateProjectRequestToJSONTyped(json, false);
53
+ }
54
+
55
+ export function CreateProjectRequestToJSONTyped(value?: CreateProjectRequest | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'name': value['name'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,94 @@
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 { DecisionMatrixPatternEntry } from './DecisionMatrixPatternEntry';
17
+ import {
18
+ DecisionMatrixPatternEntryFromJSON,
19
+ DecisionMatrixPatternEntryFromJSONTyped,
20
+ DecisionMatrixPatternEntryToJSON,
21
+ DecisionMatrixPatternEntryToJSONTyped,
22
+ } from './DecisionMatrixPatternEntry';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface DecisionMatrixPattern
28
+ */
29
+ export interface DecisionMatrixPattern {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DecisionMatrixPattern
34
+ */
35
+ decision?: DecisionMatrixPatternDecisionEnum;
36
+ /**
37
+ *
38
+ * @type {Array<DecisionMatrixPatternEntry>}
39
+ * @memberof DecisionMatrixPattern
40
+ */
41
+ entries?: Array<DecisionMatrixPatternEntry>;
42
+ }
43
+
44
+
45
+ /**
46
+ * @export
47
+ */
48
+ export const DecisionMatrixPatternDecisionEnum = {
49
+ UNREVIEWED: 'UNREVIEWED',
50
+ IN_REVIEW: 'IN_REVIEW',
51
+ DECLINED: 'DECLINED',
52
+ ACCEPTED: 'ACCEPTED'
53
+ } as const;
54
+ export type DecisionMatrixPatternDecisionEnum = typeof DecisionMatrixPatternDecisionEnum[keyof typeof DecisionMatrixPatternDecisionEnum];
55
+
56
+
57
+ /**
58
+ * Check if a given object implements the DecisionMatrixPattern interface.
59
+ */
60
+ export function instanceOfDecisionMatrixPattern(value: object): value is DecisionMatrixPattern {
61
+ return true;
62
+ }
63
+
64
+ export function DecisionMatrixPatternFromJSON(json: any): DecisionMatrixPattern {
65
+ return DecisionMatrixPatternFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function DecisionMatrixPatternFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPattern {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'decision': json['decision'] == null ? undefined : json['decision'],
75
+ 'entries': json['entries'] == null ? undefined : ((json['entries'] as Array<any>).map(DecisionMatrixPatternEntryFromJSON)),
76
+ };
77
+ }
78
+
79
+ export function DecisionMatrixPatternToJSON(json: any): DecisionMatrixPattern {
80
+ return DecisionMatrixPatternToJSONTyped(json, false);
81
+ }
82
+
83
+ export function DecisionMatrixPatternToJSONTyped(value?: DecisionMatrixPattern | null, ignoreDiscriminator: boolean = false): any {
84
+ if (value == null) {
85
+ return value;
86
+ }
87
+
88
+ return {
89
+
90
+ 'decision': value['decision'],
91
+ 'entries': value['entries'] == null ? undefined : ((value['entries'] as Array<any>).map(DecisionMatrixPatternEntryToJSON)),
92
+ };
93
+ }
94
+
@@ -0,0 +1,85 @@
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
+ /**
17
+ *
18
+ * @export
19
+ * @interface DecisionMatrixPatternEntry
20
+ */
21
+ export interface DecisionMatrixPatternEntry {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof DecisionMatrixPatternEntry
26
+ */
27
+ decision?: DecisionMatrixPatternEntryDecisionEnum;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof DecisionMatrixPatternEntry
32
+ */
33
+ count?: number;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const DecisionMatrixPatternEntryDecisionEnum = {
41
+ DECLINED: 'DECLINED',
42
+ MAYBE: 'MAYBE',
43
+ ACCEPTED: 'ACCEPTED'
44
+ } as const;
45
+ export type DecisionMatrixPatternEntryDecisionEnum = typeof DecisionMatrixPatternEntryDecisionEnum[keyof typeof DecisionMatrixPatternEntryDecisionEnum];
46
+
47
+
48
+ /**
49
+ * Check if a given object implements the DecisionMatrixPatternEntry interface.
50
+ */
51
+ export function instanceOfDecisionMatrixPatternEntry(value: object): value is DecisionMatrixPatternEntry {
52
+ return true;
53
+ }
54
+
55
+ export function DecisionMatrixPatternEntryFromJSON(json: any): DecisionMatrixPatternEntry {
56
+ return DecisionMatrixPatternEntryFromJSONTyped(json, false);
57
+ }
58
+
59
+ export function DecisionMatrixPatternEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPatternEntry {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+
65
+ 'decision': json['decision'] == null ? undefined : json['decision'],
66
+ 'count': json['count'] == null ? undefined : json['count'],
67
+ };
68
+ }
69
+
70
+ export function DecisionMatrixPatternEntryToJSON(json: any): DecisionMatrixPatternEntry {
71
+ return DecisionMatrixPatternEntryToJSONTyped(json, false);
72
+ }
73
+
74
+ export function DecisionMatrixPatternEntryToJSONTyped(value?: DecisionMatrixPatternEntry | null, ignoreDiscriminator: boolean = false): any {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+
79
+ return {
80
+
81
+ 'decision': value['decision'],
82
+ 'count': value['count'],
83
+ };
84
+ }
85
+
@@ -0,0 +1,135 @@
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
+
@@ -0,0 +1,117 @@
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
+
@@ -0,0 +1,81 @@
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
+
@@ -0,0 +1,8 @@
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';