@se-uulm/snowballr-api-client 0.2.1-alpha.8c30e26 → 0.2.1-alpha.8f4e2b6

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/README.md +23 -14
  2. package/dist/apis/AuthControllerApi.d.ts +181 -0
  3. package/dist/apis/AuthControllerApi.js +216 -0
  4. package/dist/apis/ProjectsControllerApi.d.ts +13 -13
  5. package/dist/apis/ProjectsControllerApi.js +8 -8
  6. package/dist/apis/UsersControllerApi.d.ts +60 -0
  7. package/dist/apis/UsersControllerApi.js +70 -0
  8. package/dist/apis/index.d.ts +2 -0
  9. package/dist/apis/index.js +2 -0
  10. package/dist/esm/apis/AuthControllerApi.d.ts +181 -0
  11. package/dist/esm/apis/AuthControllerApi.js +212 -0
  12. package/dist/esm/apis/ProjectsControllerApi.d.ts +13 -13
  13. package/dist/esm/apis/ProjectsControllerApi.js +8 -8
  14. package/dist/esm/apis/UsersControllerApi.d.ts +60 -0
  15. package/dist/esm/apis/UsersControllerApi.js +66 -0
  16. package/dist/esm/apis/index.d.ts +2 -0
  17. package/dist/esm/apis/index.js +2 -0
  18. package/dist/esm/models/ChangePasswordRequest.d.ts +34 -0
  19. package/dist/esm/models/ChangePasswordRequest.js +43 -0
  20. package/dist/esm/models/LoginRequest.d.ts +34 -0
  21. package/dist/esm/models/LoginRequest.js +43 -0
  22. package/dist/{models/Project.d.ts → esm/models/ProjectResponse.d.ts} +13 -13
  23. package/dist/esm/models/{Project.js → ProjectResponse.js} +11 -11
  24. package/dist/esm/models/RegisterRequest.d.ts +42 -0
  25. package/dist/esm/models/RegisterRequest.js +47 -0
  26. package/dist/esm/models/index.d.ts +4 -1
  27. package/dist/esm/models/index.js +4 -1
  28. package/dist/models/ChangePasswordRequest.d.ts +34 -0
  29. package/dist/models/ChangePasswordRequest.js +50 -0
  30. package/dist/models/LoginRequest.d.ts +34 -0
  31. package/dist/models/LoginRequest.js +50 -0
  32. package/dist/{esm/models/Project.d.ts → models/ProjectResponse.d.ts} +13 -13
  33. package/dist/models/{Project.js → ProjectResponse.js} +17 -17
  34. package/dist/models/RegisterRequest.d.ts +42 -0
  35. package/dist/models/RegisterRequest.js +54 -0
  36. package/dist/models/index.d.ts +4 -1
  37. package/dist/models/index.js +4 -1
  38. package/package.json +10 -4
  39. package/.openapi-generator/FILES +0 -25
  40. package/.openapi-generator/VERSION +0 -1
  41. package/.openapi-generator-ignore +0 -23
  42. package/docs/CreateProjectRequest.md +0 -34
  43. package/docs/DecisionMatrixPattern.md +0 -36
  44. package/docs/DecisionMatrixPatternEntry.md +0 -36
  45. package/docs/Project.md +0 -46
  46. package/docs/ProjectSettings.md +0 -42
  47. package/docs/ProjectsControllerApi.md +0 -264
  48. package/docs/ReviewDecisionMatrix.md +0 -36
  49. package/src/apis/ProjectsControllerApi.ts +0 -309
  50. package/src/apis/index.ts +0 -3
  51. package/src/index.ts +0 -5
  52. package/src/models/CreateProjectRequest.ts +0 -63
  53. package/src/models/DecisionMatrixPattern.ts +0 -90
  54. package/src/models/DecisionMatrixPatternEntry.ts +0 -81
  55. package/src/models/Project.ts +0 -121
  56. package/src/models/ProjectSettings.ts +0 -107
  57. package/src/models/ReviewDecisionMatrix.ts +0 -77
  58. package/src/models/index.ts +0 -8
  59. package/src/runtime.ts +0 -572
  60. package/tsconfig.esm.json +0 -7
  61. package/tsconfig.json +0 -16
@@ -1,90 +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 { 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
- */
33
- decision?: DecisionMatrixPatternDecisionEnum;
34
- /**
35
- *
36
- */
37
- entries?: Array<DecisionMatrixPatternEntry>;
38
- }
39
-
40
-
41
- /**
42
- * @export
43
- */
44
- export const DecisionMatrixPatternDecisionEnum = {
45
- UNREVIEWED: 'UNREVIEWED',
46
- IN_REVIEW: 'IN_REVIEW',
47
- DECLINED: 'DECLINED',
48
- ACCEPTED: 'ACCEPTED',
49
- } as const;
50
- export type DecisionMatrixPatternDecisionEnum = typeof DecisionMatrixPatternDecisionEnum[keyof typeof DecisionMatrixPatternDecisionEnum];
51
-
52
-
53
- /**
54
- * Check if a given object implements the DecisionMatrixPattern interface.
55
- */
56
- export function instanceOfDecisionMatrixPattern(value: object): value is DecisionMatrixPattern {
57
- return true;
58
- }
59
-
60
- export function DecisionMatrixPatternFromJSON(json: any): DecisionMatrixPattern {
61
- return DecisionMatrixPatternFromJSONTyped(json, false);
62
- }
63
-
64
- export function DecisionMatrixPatternFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPattern {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'decision': json['decision'] == null ? undefined : json['decision'],
71
- 'entries': json['entries'] == null ? undefined : ((json['entries'] as Array<any>).map(DecisionMatrixPatternEntryFromJSON)),
72
- };
73
- }
74
-
75
- export function DecisionMatrixPatternToJSON(json: any): DecisionMatrixPattern {
76
- return DecisionMatrixPatternToJSONTyped(json, false);
77
- }
78
-
79
- export function DecisionMatrixPatternToJSONTyped(value?: DecisionMatrixPattern | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'decision': value['decision'],
87
- 'entries': value['entries'] == null ? undefined : ((value['entries'] as Array<any>).map(DecisionMatrixPatternEntryToJSON)),
88
- };
89
- }
90
-
@@ -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
- /**
17
- *
18
- * @export
19
- * @interface DecisionMatrixPatternEntry
20
- */
21
- export interface DecisionMatrixPatternEntry {
22
- /**
23
- *
24
- */
25
- decision?: DecisionMatrixPatternEntryDecisionEnum;
26
- /**
27
- *
28
- */
29
- count?: number;
30
- }
31
-
32
-
33
- /**
34
- * @export
35
- */
36
- export const DecisionMatrixPatternEntryDecisionEnum = {
37
- DECLINED: 'DECLINED',
38
- MAYBE: 'MAYBE',
39
- ACCEPTED: 'ACCEPTED',
40
- } as const;
41
- export type DecisionMatrixPatternEntryDecisionEnum = typeof DecisionMatrixPatternEntryDecisionEnum[keyof typeof DecisionMatrixPatternEntryDecisionEnum];
42
-
43
-
44
- /**
45
- * Check if a given object implements the DecisionMatrixPatternEntry interface.
46
- */
47
- export function instanceOfDecisionMatrixPatternEntry(value: object): value is DecisionMatrixPatternEntry {
48
- return true;
49
- }
50
-
51
- export function DecisionMatrixPatternEntryFromJSON(json: any): DecisionMatrixPatternEntry {
52
- return DecisionMatrixPatternEntryFromJSONTyped(json, false);
53
- }
54
-
55
- export function DecisionMatrixPatternEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): DecisionMatrixPatternEntry {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'decision': json['decision'] == null ? undefined : json['decision'],
62
- 'count': json['count'] == null ? undefined : json['count'],
63
- };
64
- }
65
-
66
- export function DecisionMatrixPatternEntryToJSON(json: any): DecisionMatrixPatternEntry {
67
- return DecisionMatrixPatternEntryToJSONTyped(json, false);
68
- }
69
-
70
- export function DecisionMatrixPatternEntryToJSONTyped(value?: DecisionMatrixPatternEntry | null, ignoreDiscriminator: boolean = false): any {
71
- if (value == null) {
72
- return value;
73
- }
74
-
75
- return {
76
-
77
- 'decision': value['decision'],
78
- 'count': value['count'],
79
- };
80
- }
81
-
@@ -1,121 +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, parseDate, parseDateTime, serializeDate, serializeDateTime } 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
- */
33
- id?: string;
34
- /**
35
- *
36
- */
37
- name?: string;
38
- /**
39
- *
40
- */
41
- status?: ProjectStatusEnum;
42
- /**
43
- *
44
- */
45
- currentStage?: number;
46
- /**
47
- *
48
- */
49
- maxStage?: number;
50
- /**
51
- *
52
- */
53
- currentStageStartedAt?: Date;
54
- /**
55
- *
56
- */
57
- settings?: ProjectSettings;
58
- }
59
-
60
-
61
- /**
62
- * @export
63
- */
64
- export const ProjectStatusEnum = {
65
- ACTIVE: 'ACTIVE',
66
- ACTIVE_LOCKED: 'ACTIVE_LOCKED',
67
- ARCHIVED: 'ARCHIVED',
68
- DELETED: 'DELETED',
69
- CLEARED: 'CLEARED',
70
- } as const;
71
- export type ProjectStatusEnum = typeof ProjectStatusEnum[keyof typeof ProjectStatusEnum];
72
-
73
-
74
- /**
75
- * Check if a given object implements the Project interface.
76
- */
77
- export function instanceOfProject(value: object): value is Project {
78
- return true;
79
- }
80
-
81
- export function ProjectFromJSON(json: any): Project {
82
- return ProjectFromJSONTyped(json, false);
83
- }
84
-
85
- export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project {
86
- if (json == null) {
87
- return json;
88
- }
89
- return {
90
-
91
- 'id': json['id'] == null ? undefined : json['id'],
92
- 'name': json['name'] == null ? undefined : json['name'],
93
- 'status': json['status'] == null ? undefined : json['status'],
94
- 'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
95
- 'maxStage': json['maxStage'] == null ? undefined : json['maxStage'],
96
- 'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (parseDateTime(json['currentStageStartedAt'])),
97
- 'settings': json['settings'] == null ? undefined : ProjectSettingsFromJSON(json['settings']),
98
- };
99
- }
100
-
101
- export function ProjectToJSON(json: any): Project {
102
- return ProjectToJSONTyped(json, false);
103
- }
104
-
105
- export function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator: boolean = false): any {
106
- if (value == null) {
107
- return value;
108
- }
109
-
110
- return {
111
-
112
- 'id': value['id'],
113
- 'name': value['name'],
114
- 'status': value['status'],
115
- 'currentStage': value['currentStage'],
116
- 'maxStage': value['maxStage'],
117
- 'currentStageStartedAt': value['currentStageStartedAt'] == null ? value['currentStageStartedAt'] : serializeDateTime(value['currentStageStartedAt']),
118
- 'settings': ProjectSettingsToJSON(value['settings']),
119
- };
120
- }
121
-
@@ -1,107 +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
- */
33
- similarityThreshold?: number;
34
- /**
35
- *
36
- */
37
- snowballingType?: ProjectSettingsSnowballingTypeEnum;
38
- /**
39
- *
40
- */
41
- reviewMaybeAllowed?: boolean;
42
- /**
43
- *
44
- */
45
- reviewDecisionMatrix?: ReviewDecisionMatrix;
46
- /**
47
- *
48
- */
49
- fetchers?: { [key: string]: { [key: string]: string; }; };
50
- }
51
-
52
-
53
- /**
54
- * @export
55
- */
56
- export const ProjectSettingsSnowballingTypeEnum = {
57
- FORWARD: 'FORWARD',
58
- BACKWARD: 'BACKWARD',
59
- BOTH: 'BOTH',
60
- } as const;
61
- export type ProjectSettingsSnowballingTypeEnum = typeof ProjectSettingsSnowballingTypeEnum[keyof typeof ProjectSettingsSnowballingTypeEnum];
62
-
63
-
64
- /**
65
- * Check if a given object implements the ProjectSettings interface.
66
- */
67
- export function instanceOfProjectSettings(value: object): value is ProjectSettings {
68
- return true;
69
- }
70
-
71
- export function ProjectSettingsFromJSON(json: any): ProjectSettings {
72
- return ProjectSettingsFromJSONTyped(json, false);
73
- }
74
-
75
- export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings {
76
- if (json == null) {
77
- return json;
78
- }
79
- return {
80
-
81
- 'similarityThreshold': json['similarityThreshold'] == null ? undefined : json['similarityThreshold'],
82
- 'snowballingType': json['snowballingType'] == null ? undefined : json['snowballingType'],
83
- 'reviewMaybeAllowed': json['reviewMaybeAllowed'] == null ? undefined : json['reviewMaybeAllowed'],
84
- 'reviewDecisionMatrix': json['reviewDecisionMatrix'] == null ? undefined : ReviewDecisionMatrixFromJSON(json['reviewDecisionMatrix']),
85
- 'fetchers': json['fetchers'] == null ? undefined : json['fetchers'],
86
- };
87
- }
88
-
89
- export function ProjectSettingsToJSON(json: any): ProjectSettings {
90
- return ProjectSettingsToJSONTyped(json, false);
91
- }
92
-
93
- export function ProjectSettingsToJSONTyped(value?: ProjectSettings | null, ignoreDiscriminator: boolean = false): any {
94
- if (value == null) {
95
- return value;
96
- }
97
-
98
- return {
99
-
100
- 'similarityThreshold': value['similarityThreshold'],
101
- 'snowballingType': value['snowballingType'],
102
- 'reviewMaybeAllowed': value['reviewMaybeAllowed'],
103
- 'reviewDecisionMatrix': ReviewDecisionMatrixToJSON(value['reviewDecisionMatrix']),
104
- 'fetchers': value['fetchers'],
105
- };
106
- }
107
-
@@ -1,77 +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
- */
33
- numberOfReviewers?: number;
34
- /**
35
- *
36
- */
37
- patterns?: Array<DecisionMatrixPattern>;
38
- }
39
-
40
- /**
41
- * Check if a given object implements the ReviewDecisionMatrix interface.
42
- */
43
- export function instanceOfReviewDecisionMatrix(value: object): value is ReviewDecisionMatrix {
44
- return true;
45
- }
46
-
47
- export function ReviewDecisionMatrixFromJSON(json: any): ReviewDecisionMatrix {
48
- return ReviewDecisionMatrixFromJSONTyped(json, false);
49
- }
50
-
51
- export function ReviewDecisionMatrixFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReviewDecisionMatrix {
52
- if (json == null) {
53
- return json;
54
- }
55
- return {
56
-
57
- 'numberOfReviewers': json['numberOfReviewers'] == null ? undefined : json['numberOfReviewers'],
58
- 'patterns': json['patterns'] == null ? undefined : ((json['patterns'] as Array<any>).map(DecisionMatrixPatternFromJSON)),
59
- };
60
- }
61
-
62
- export function ReviewDecisionMatrixToJSON(json: any): ReviewDecisionMatrix {
63
- return ReviewDecisionMatrixToJSONTyped(json, false);
64
- }
65
-
66
- export function ReviewDecisionMatrixToJSONTyped(value?: ReviewDecisionMatrix | null, ignoreDiscriminator: boolean = false): any {
67
- if (value == null) {
68
- return value;
69
- }
70
-
71
- return {
72
-
73
- 'numberOfReviewers': value['numberOfReviewers'],
74
- 'patterns': value['patterns'] == null ? undefined : ((value['patterns'] as Array<any>).map(DecisionMatrixPatternToJSON)),
75
- };
76
- }
77
-
@@ -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';