@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
@@ -1,88 +0,0 @@
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.ProjectResponseSnowballingTypeEnum = exports.ProjectResponseStatusEnum = void 0;
17
- exports.instanceOfProjectResponse = instanceOfProjectResponse;
18
- exports.ProjectResponseFromJSON = ProjectResponseFromJSON;
19
- exports.ProjectResponseFromJSONTyped = ProjectResponseFromJSONTyped;
20
- exports.ProjectResponseToJSON = ProjectResponseToJSON;
21
- exports.ProjectResponseToJSONTyped = ProjectResponseToJSONTyped;
22
- const ReviewDecisionMatrix_1 = require("./ReviewDecisionMatrix");
23
- /**
24
- * @export
25
- */
26
- exports.ProjectResponseStatusEnum = {
27
- ACTIVE: 'ACTIVE',
28
- ACTIVE_LOCKED: 'ACTIVE_LOCKED',
29
- ARCHIVED: 'ARCHIVED',
30
- DELETED: 'DELETED',
31
- CLEARED: 'CLEARED'
32
- };
33
- /**
34
- * @export
35
- */
36
- exports.ProjectResponseSnowballingTypeEnum = {
37
- FORWARD: 'FORWARD',
38
- BACKWARD: 'BACKWARD',
39
- BOTH: 'BOTH'
40
- };
41
- /**
42
- * Check if a given object implements the ProjectResponse interface.
43
- */
44
- function instanceOfProjectResponse(value) {
45
- return true;
46
- }
47
- function ProjectResponseFromJSON(json) {
48
- return ProjectResponseFromJSONTyped(json, false);
49
- }
50
- function ProjectResponseFromJSONTyped(json, ignoreDiscriminator) {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
- 'id': json['id'] == null ? undefined : json['id'],
56
- 'name': json['name'] == null ? undefined : json['name'],
57
- 'status': json['status'] == null ? undefined : json['status'],
58
- 'currentStage': json['currentStage'] == null ? undefined : json['currentStage'],
59
- '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
- 'currentStageStartedAt': json['currentStageStartedAt'] == null ? undefined : (new Date(json['currentStageStartedAt'])),
66
- };
67
- }
68
- function ProjectResponseToJSON(json) {
69
- return ProjectResponseToJSONTyped(json, false);
70
- }
71
- function ProjectResponseToJSONTyped(value, ignoreDiscriminator = false) {
72
- if (value == null) {
73
- return value;
74
- }
75
- return {
76
- 'id': value['id'],
77
- 'name': value['name'],
78
- 'status': value['status'],
79
- 'currentStage': value['currentStage'],
80
- '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
- 'currentStageStartedAt': value['currentStageStartedAt'] == null ? undefined : ((value['currentStageStartedAt']).toISOString()),
87
- };
88
- }
@@ -1,50 +0,0 @@
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;
@@ -1,54 +0,0 @@
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.instanceOfRegisterRequest = instanceOfRegisterRequest;
17
- exports.RegisterRequestFromJSON = RegisterRequestFromJSON;
18
- exports.RegisterRequestFromJSONTyped = RegisterRequestFromJSONTyped;
19
- exports.RegisterRequestToJSON = RegisterRequestToJSON;
20
- exports.RegisterRequestToJSONTyped = RegisterRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the RegisterRequest interface.
23
- */
24
- function instanceOfRegisterRequest(value) {
25
- return true;
26
- }
27
- function RegisterRequestFromJSON(json) {
28
- return RegisterRequestFromJSONTyped(json, false);
29
- }
30
- function RegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'firstName': json['firstName'] == null ? undefined : json['firstName'],
36
- 'lastName': json['lastName'] == null ? undefined : json['lastName'],
37
- 'email': json['email'] == null ? undefined : json['email'],
38
- 'password': json['password'] == null ? undefined : json['password'],
39
- };
40
- }
41
- function RegisterRequestToJSON(json) {
42
- return RegisterRequestToJSONTyped(json, false);
43
- }
44
- function RegisterRequestToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'firstName': value['firstName'],
50
- 'lastName': value['lastName'],
51
- 'email': value['email'],
52
- 'password': value['password'],
53
- };
54
- }