@se-uulm/snowballr-api-client 0.2.1-alpha.3ebad36 → 0.2.1-alpha.41d12d0

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 (223) hide show
  1. package/README.md +111 -28
  2. package/dist/apis/AuthControllerApi.d.ts +64 -1
  3. package/dist/apis/AuthControllerApi.js +64 -18
  4. package/dist/apis/ProjectsControllerApi.d.ts +45 -73
  5. package/dist/apis/ProjectsControllerApi.js +51 -123
  6. package/dist/apis/UsersControllerApi.d.ts +9 -131
  7. package/dist/apis/UsersControllerApi.js +12 -199
  8. package/dist/apis/index.d.ts +0 -9
  9. package/dist/apis/index.js +0 -9
  10. package/dist/esm/apis/AuthControllerApi.d.ts +64 -1
  11. package/dist/esm/apis/AuthControllerApi.js +62 -16
  12. package/dist/esm/apis/ProjectsControllerApi.d.ts +45 -73
  13. package/dist/esm/apis/ProjectsControllerApi.js +47 -119
  14. package/dist/esm/apis/UsersControllerApi.d.ts +9 -131
  15. package/dist/esm/apis/UsersControllerApi.js +11 -198
  16. package/dist/esm/apis/index.d.ts +0 -9
  17. package/dist/esm/apis/index.js +0 -9
  18. package/dist/esm/models/ChangePasswordRequest.d.ts +0 -4
  19. package/dist/esm/models/CreateProjectRequest.d.ts +0 -2
  20. package/dist/esm/models/DecisionMatrixPattern.d.ts +0 -4
  21. package/dist/esm/models/DecisionMatrixPattern.js +1 -1
  22. package/dist/esm/models/DecisionMatrixPatternEntry.d.ts +0 -4
  23. package/dist/esm/models/DecisionMatrixPatternEntry.js +1 -1
  24. package/dist/esm/models/LoginRequest.d.ts +0 -4
  25. package/dist/esm/models/ProjectResponse.d.ts +2 -53
  26. package/dist/esm/models/ProjectResponse.js +7 -22
  27. package/dist/esm/models/ProjectSettings.d.ts +60 -0
  28. package/dist/esm/models/{UpdateProjectSettingRequest.js → ProjectSettings.js} +12 -12
  29. package/dist/esm/models/RegisterRequest.d.ts +0 -8
  30. package/dist/esm/models/ReviewDecisionMatrix.d.ts +0 -4
  31. package/dist/esm/models/index.d.ts +1 -34
  32. package/dist/esm/models/index.js +1 -34
  33. package/dist/esm/runtime.d.ts +34 -1
  34. package/dist/esm/runtime.js +130 -4
  35. package/dist/models/ChangePasswordRequest.d.ts +0 -4
  36. package/dist/models/CreateProjectRequest.d.ts +0 -2
  37. package/dist/models/DecisionMatrixPattern.d.ts +0 -4
  38. package/dist/models/DecisionMatrixPattern.js +1 -1
  39. package/dist/models/DecisionMatrixPatternEntry.d.ts +0 -4
  40. package/dist/models/DecisionMatrixPatternEntry.js +1 -1
  41. package/dist/models/LoginRequest.d.ts +0 -4
  42. package/dist/models/ProjectResponse.d.ts +2 -53
  43. package/dist/models/ProjectResponse.js +8 -23
  44. package/dist/models/ProjectSettings.d.ts +60 -0
  45. package/dist/models/ProjectSettings.js +66 -0
  46. package/dist/models/RegisterRequest.d.ts +0 -8
  47. package/dist/models/ReviewDecisionMatrix.d.ts +0 -4
  48. package/dist/models/index.d.ts +1 -34
  49. package/dist/models/index.js +1 -34
  50. package/dist/runtime.d.ts +34 -1
  51. package/dist/runtime.js +136 -4
  52. package/package.json +2 -2
  53. package/dist/apis/CriterionControllerApi.d.ts +0 -108
  54. package/dist/apis/CriterionControllerApi.js +0 -151
  55. package/dist/apis/ExportControllerApi.d.ts +0 -70
  56. package/dist/apis/ExportControllerApi.js +0 -101
  57. package/dist/apis/FetcherControllerApi.d.ts +0 -86
  58. package/dist/apis/FetcherControllerApi.js +0 -125
  59. package/dist/apis/InvitationControllerApi.d.ts +0 -88
  60. package/dist/apis/InvitationControllerApi.js +0 -120
  61. package/dist/apis/PaperControllerApi.d.ts +0 -128
  62. package/dist/apis/PaperControllerApi.js +0 -179
  63. package/dist/apis/ProjectMemberControllerApi.d.ts +0 -92
  64. package/dist/apis/ProjectMemberControllerApi.js +0 -128
  65. package/dist/apis/ProjectPaperControllerApi.d.ts +0 -190
  66. package/dist/apis/ProjectPaperControllerApi.js +0 -266
  67. package/dist/apis/ReadingListControllerApi.d.ts +0 -102
  68. package/dist/apis/ReadingListControllerApi.js +0 -138
  69. package/dist/apis/ReviewControllerApi.d.ts +0 -88
  70. package/dist/apis/ReviewControllerApi.js +0 -122
  71. package/dist/esm/apis/CriterionControllerApi.d.ts +0 -108
  72. package/dist/esm/apis/CriterionControllerApi.js +0 -147
  73. package/dist/esm/apis/ExportControllerApi.d.ts +0 -70
  74. package/dist/esm/apis/ExportControllerApi.js +0 -97
  75. package/dist/esm/apis/FetcherControllerApi.d.ts +0 -86
  76. package/dist/esm/apis/FetcherControllerApi.js +0 -121
  77. package/dist/esm/apis/InvitationControllerApi.d.ts +0 -88
  78. package/dist/esm/apis/InvitationControllerApi.js +0 -116
  79. package/dist/esm/apis/PaperControllerApi.d.ts +0 -128
  80. package/dist/esm/apis/PaperControllerApi.js +0 -175
  81. package/dist/esm/apis/ProjectMemberControllerApi.d.ts +0 -92
  82. package/dist/esm/apis/ProjectMemberControllerApi.js +0 -124
  83. package/dist/esm/apis/ProjectPaperControllerApi.d.ts +0 -190
  84. package/dist/esm/apis/ProjectPaperControllerApi.js +0 -262
  85. package/dist/esm/apis/ReadingListControllerApi.d.ts +0 -102
  86. package/dist/esm/apis/ReadingListControllerApi.js +0 -134
  87. package/dist/esm/apis/ReviewControllerApi.d.ts +0 -88
  88. package/dist/esm/apis/ReviewControllerApi.js +0 -118
  89. package/dist/esm/models/AddPaperToProjectRequest.d.ts +0 -38
  90. package/dist/esm/models/AddPaperToProjectRequest.js +0 -43
  91. package/dist/esm/models/Author.d.ts +0 -38
  92. package/dist/esm/models/Author.js +0 -43
  93. package/dist/esm/models/CreateCriterionRequest.d.ts +0 -65
  94. package/dist/esm/models/CreateCriterionRequest.js +0 -57
  95. package/dist/esm/models/CreatePaperRequest.d.ts +0 -84
  96. package/dist/esm/models/CreatePaperRequest.js +0 -59
  97. package/dist/esm/models/CreateReviewRequest.d.ts +0 -53
  98. package/dist/esm/models/CreateReviewRequest.js +0 -53
  99. package/dist/esm/models/Criterion.d.ts +0 -77
  100. package/dist/esm/models/Criterion.js +0 -61
  101. package/dist/esm/models/ExternalId.d.ts +0 -53
  102. package/dist/esm/models/ExternalId.js +0 -57
  103. package/dist/esm/models/FetcherInformation.d.ts +0 -54
  104. package/dist/esm/models/FetcherInformation.js +0 -50
  105. package/dist/esm/models/FetcherInformationWithId.d.ts +0 -39
  106. package/dist/esm/models/FetcherInformationWithId.js +0 -44
  107. package/dist/esm/models/FetcherOptionsSchema.d.ts +0 -56
  108. package/dist/esm/models/FetcherOptionsSchema.js +0 -49
  109. package/dist/esm/models/FetcherPaperResponse.d.ts +0 -96
  110. package/dist/esm/models/FetcherPaperResponse.js +0 -63
  111. package/dist/esm/models/GetCriterionById200Response.d.ts +0 -23
  112. package/dist/esm/models/GetCriterionById200Response.js +0 -51
  113. package/dist/esm/models/InvitationResponse.d.ts +0 -80
  114. package/dist/esm/models/InvitationResponse.js +0 -67
  115. package/dist/esm/models/InviteUserRequest.d.ts +0 -32
  116. package/dist/esm/models/InviteUserRequest.js +0 -41
  117. package/dist/esm/models/Link.d.ts +0 -38
  118. package/dist/esm/models/Link.js +0 -43
  119. package/dist/esm/models/PaperResponse.d.ts +0 -96
  120. package/dist/esm/models/PaperResponse.js +0 -63
  121. package/dist/esm/models/ProjectCriterion.d.ts +0 -83
  122. package/dist/esm/models/ProjectCriterion.js +0 -63
  123. package/dist/esm/models/ProjectDecisionCount.d.ts +0 -48
  124. package/dist/esm/models/ProjectDecisionCount.js +0 -52
  125. package/dist/esm/models/ProjectDecisionStatistics.d.ts +0 -33
  126. package/dist/esm/models/ProjectDecisionStatistics.js +0 -42
  127. package/dist/esm/models/ProjectInformation.d.ts +0 -44
  128. package/dist/esm/models/ProjectInformation.js +0 -45
  129. package/dist/esm/models/ProjectMember.d.ts +0 -70
  130. package/dist/esm/models/ProjectMember.js +0 -59
  131. package/dist/esm/models/ProjectMemberWithUser.d.ts +0 -40
  132. package/dist/esm/models/ProjectMemberWithUser.js +0 -45
  133. package/dist/esm/models/ProjectPaperResponse.d.ts +0 -74
  134. package/dist/esm/models/ProjectPaperResponse.js +0 -62
  135. package/dist/esm/models/ReviewResponse.d.ts +0 -77
  136. package/dist/esm/models/ReviewResponse.js +0 -62
  137. package/dist/esm/models/UpdateCriterionRequest.d.ts +0 -65
  138. package/dist/esm/models/UpdateCriterionRequest.js +0 -57
  139. package/dist/esm/models/UpdateMemberRoleRequest.d.ts +0 -40
  140. package/dist/esm/models/UpdateMemberRoleRequest.js +0 -48
  141. package/dist/esm/models/UpdatePaperRequest.d.ts +0 -82
  142. package/dist/esm/models/UpdatePaperRequest.js +0 -59
  143. package/dist/esm/models/UpdateProjectRequest.d.ts +0 -62
  144. package/dist/esm/models/UpdateProjectRequest.js +0 -58
  145. package/dist/esm/models/UpdateProjectSettingRequest.d.ts +0 -70
  146. package/dist/esm/models/UpdateUserRequest.d.ts +0 -80
  147. package/dist/esm/models/UpdateUserRequest.js +0 -67
  148. package/dist/esm/models/User.d.ts +0 -122
  149. package/dist/esm/models/User.js +0 -82
  150. package/dist/esm/models/UserCriterion.d.ts +0 -77
  151. package/dist/esm/models/UserCriterion.js +0 -61
  152. package/dist/esm/models/UserSettings.d.ts +0 -88
  153. package/dist/esm/models/UserSettings.js +0 -64
  154. package/dist/esm/models/UserSettingsWithCriteria.d.ts +0 -40
  155. package/dist/esm/models/UserSettingsWithCriteria.js +0 -45
  156. package/dist/models/AddPaperToProjectRequest.d.ts +0 -38
  157. package/dist/models/AddPaperToProjectRequest.js +0 -50
  158. package/dist/models/Author.d.ts +0 -38
  159. package/dist/models/Author.js +0 -50
  160. package/dist/models/CreateCriterionRequest.d.ts +0 -65
  161. package/dist/models/CreateCriterionRequest.js +0 -65
  162. package/dist/models/CreatePaperRequest.d.ts +0 -84
  163. package/dist/models/CreatePaperRequest.js +0 -66
  164. package/dist/models/CreateReviewRequest.d.ts +0 -53
  165. package/dist/models/CreateReviewRequest.js +0 -61
  166. package/dist/models/Criterion.d.ts +0 -77
  167. package/dist/models/Criterion.js +0 -69
  168. package/dist/models/ExternalId.d.ts +0 -53
  169. package/dist/models/ExternalId.js +0 -65
  170. package/dist/models/FetcherInformation.d.ts +0 -54
  171. package/dist/models/FetcherInformation.js +0 -57
  172. package/dist/models/FetcherInformationWithId.d.ts +0 -39
  173. package/dist/models/FetcherInformationWithId.js +0 -51
  174. package/dist/models/FetcherOptionsSchema.d.ts +0 -56
  175. package/dist/models/FetcherOptionsSchema.js +0 -56
  176. package/dist/models/FetcherPaperResponse.d.ts +0 -96
  177. package/dist/models/FetcherPaperResponse.js +0 -70
  178. package/dist/models/GetCriterionById200Response.d.ts +0 -23
  179. package/dist/models/GetCriterionById200Response.js +0 -57
  180. package/dist/models/InvitationResponse.d.ts +0 -80
  181. package/dist/models/InvitationResponse.js +0 -75
  182. package/dist/models/InviteUserRequest.d.ts +0 -32
  183. package/dist/models/InviteUserRequest.js +0 -48
  184. package/dist/models/Link.d.ts +0 -38
  185. package/dist/models/Link.js +0 -50
  186. package/dist/models/PaperResponse.d.ts +0 -96
  187. package/dist/models/PaperResponse.js +0 -70
  188. package/dist/models/ProjectCriterion.d.ts +0 -83
  189. package/dist/models/ProjectCriterion.js +0 -71
  190. package/dist/models/ProjectDecisionCount.d.ts +0 -48
  191. package/dist/models/ProjectDecisionCount.js +0 -60
  192. package/dist/models/ProjectDecisionStatistics.d.ts +0 -33
  193. package/dist/models/ProjectDecisionStatistics.js +0 -49
  194. package/dist/models/ProjectInformation.d.ts +0 -44
  195. package/dist/models/ProjectInformation.js +0 -52
  196. package/dist/models/ProjectMember.d.ts +0 -70
  197. package/dist/models/ProjectMember.js +0 -67
  198. package/dist/models/ProjectMemberWithUser.d.ts +0 -40
  199. package/dist/models/ProjectMemberWithUser.js +0 -52
  200. package/dist/models/ProjectPaperResponse.d.ts +0 -74
  201. package/dist/models/ProjectPaperResponse.js +0 -70
  202. package/dist/models/ReviewResponse.d.ts +0 -77
  203. package/dist/models/ReviewResponse.js +0 -70
  204. package/dist/models/UpdateCriterionRequest.d.ts +0 -65
  205. package/dist/models/UpdateCriterionRequest.js +0 -65
  206. package/dist/models/UpdateMemberRoleRequest.d.ts +0 -40
  207. package/dist/models/UpdateMemberRoleRequest.js +0 -56
  208. package/dist/models/UpdatePaperRequest.d.ts +0 -82
  209. package/dist/models/UpdatePaperRequest.js +0 -66
  210. package/dist/models/UpdateProjectRequest.d.ts +0 -62
  211. package/dist/models/UpdateProjectRequest.js +0 -66
  212. package/dist/models/UpdateProjectSettingRequest.d.ts +0 -70
  213. package/dist/models/UpdateProjectSettingRequest.js +0 -66
  214. package/dist/models/UpdateUserRequest.d.ts +0 -80
  215. package/dist/models/UpdateUserRequest.js +0 -75
  216. package/dist/models/User.d.ts +0 -122
  217. package/dist/models/User.js +0 -90
  218. package/dist/models/UserCriterion.d.ts +0 -77
  219. package/dist/models/UserCriterion.js +0 -69
  220. package/dist/models/UserSettings.d.ts +0 -88
  221. package/dist/models/UserSettings.js +0 -72
  222. package/dist/models/UserSettingsWithCriteria.d.ts +0 -40
  223. package/dist/models/UserSettingsWithCriteria.js +0 -52
@@ -1,77 +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 Criterion
16
- */
17
- export interface Criterion {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof Criterion
22
- */
23
- name?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof Criterion
28
- */
29
- id?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof Criterion
34
- */
35
- category?: CriterionCategoryEnum;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof Criterion
40
- */
41
- description?: string;
42
- /**
43
- *
44
- * @type {Date}
45
- * @memberof Criterion
46
- */
47
- createdAt?: Date;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof Criterion
52
- */
53
- tag?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof Criterion
58
- */
59
- createdBy?: string;
60
- }
61
- /**
62
- * @export
63
- */
64
- export declare const CriterionCategoryEnum: {
65
- readonly INCLUSION: "INCLUSION";
66
- readonly EXCLUSION: "EXCLUSION";
67
- readonly HARD_EXCLUSION: "HARD_EXCLUSION";
68
- };
69
- export type CriterionCategoryEnum = typeof CriterionCategoryEnum[keyof typeof CriterionCategoryEnum];
70
- /**
71
- * Check if a given object implements the Criterion interface.
72
- */
73
- export declare function instanceOfCriterion(value: object): value is Criterion;
74
- export declare function CriterionFromJSON(json: any): Criterion;
75
- export declare function CriterionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Criterion;
76
- export declare function CriterionToJSON(json: any): Criterion;
77
- export declare function CriterionToJSONTyped(value?: Criterion | null, ignoreDiscriminator?: boolean): any;
@@ -1,69 +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.CriterionCategoryEnum = void 0;
17
- exports.instanceOfCriterion = instanceOfCriterion;
18
- exports.CriterionFromJSON = CriterionFromJSON;
19
- exports.CriterionFromJSONTyped = CriterionFromJSONTyped;
20
- exports.CriterionToJSON = CriterionToJSON;
21
- exports.CriterionToJSONTyped = CriterionToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.CriterionCategoryEnum = {
26
- INCLUSION: 'INCLUSION',
27
- EXCLUSION: 'EXCLUSION',
28
- HARD_EXCLUSION: 'HARD_EXCLUSION'
29
- };
30
- /**
31
- * Check if a given object implements the Criterion interface.
32
- */
33
- function instanceOfCriterion(value) {
34
- return true;
35
- }
36
- function CriterionFromJSON(json) {
37
- return CriterionFromJSONTyped(json, false);
38
- }
39
- function CriterionFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'name': json['name'] == null ? undefined : json['name'],
45
- 'id': json['id'] == null ? undefined : json['id'],
46
- 'category': json['category'] == null ? undefined : json['category'],
47
- 'description': json['description'] == null ? undefined : json['description'],
48
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
49
- 'tag': json['tag'] == null ? undefined : json['tag'],
50
- 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
51
- };
52
- }
53
- function CriterionToJSON(json) {
54
- return CriterionToJSONTyped(json, false);
55
- }
56
- function CriterionToJSONTyped(value, ignoreDiscriminator = false) {
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'name': value['name'],
62
- 'id': value['id'],
63
- 'category': value['category'],
64
- 'description': value['description'],
65
- 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
66
- 'tag': value['tag'],
67
- 'createdBy': value['createdBy'],
68
- };
69
- }
@@ -1,53 +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 ExternalId
16
- */
17
- export interface ExternalId {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ExternalId
22
- */
23
- type?: ExternalIdTypeEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ExternalId
28
- */
29
- value?: string;
30
- }
31
- /**
32
- * @export
33
- */
34
- export declare const ExternalIdTypeEnum: {
35
- readonly DOI: "DOI";
36
- readonly ARXIV: "ARXIV";
37
- readonly MAG: "MAG";
38
- readonly ACL: "ACL";
39
- readonly PUB_MED: "PUB_MED";
40
- readonly MEDLINE: "MEDLINE";
41
- readonly PUB_MED_CENTRAL: "PUB_MED_CENTRAL";
42
- readonly DBLP: "DBLP";
43
- readonly SEMANTIC_SCHOLAR: "SEMANTIC_SCHOLAR";
44
- };
45
- export type ExternalIdTypeEnum = typeof ExternalIdTypeEnum[keyof typeof ExternalIdTypeEnum];
46
- /**
47
- * Check if a given object implements the ExternalId interface.
48
- */
49
- export declare function instanceOfExternalId(value: object): value is ExternalId;
50
- export declare function ExternalIdFromJSON(json: any): ExternalId;
51
- export declare function ExternalIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalId;
52
- export declare function ExternalIdToJSON(json: any): ExternalId;
53
- export declare function ExternalIdToJSONTyped(value?: ExternalId | null, ignoreDiscriminator?: boolean): any;
@@ -1,65 +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.ExternalIdTypeEnum = void 0;
17
- exports.instanceOfExternalId = instanceOfExternalId;
18
- exports.ExternalIdFromJSON = ExternalIdFromJSON;
19
- exports.ExternalIdFromJSONTyped = ExternalIdFromJSONTyped;
20
- exports.ExternalIdToJSON = ExternalIdToJSON;
21
- exports.ExternalIdToJSONTyped = ExternalIdToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.ExternalIdTypeEnum = {
26
- DOI: 'DOI',
27
- ARXIV: 'ARXIV',
28
- MAG: 'MAG',
29
- ACL: 'ACL',
30
- PUB_MED: 'PUB_MED',
31
- MEDLINE: 'MEDLINE',
32
- PUB_MED_CENTRAL: 'PUB_MED_CENTRAL',
33
- DBLP: 'DBLP',
34
- SEMANTIC_SCHOLAR: 'SEMANTIC_SCHOLAR'
35
- };
36
- /**
37
- * Check if a given object implements the ExternalId interface.
38
- */
39
- function instanceOfExternalId(value) {
40
- return true;
41
- }
42
- function ExternalIdFromJSON(json) {
43
- return ExternalIdFromJSONTyped(json, false);
44
- }
45
- function ExternalIdFromJSONTyped(json, ignoreDiscriminator) {
46
- if (json == null) {
47
- return json;
48
- }
49
- return {
50
- 'type': json['type'] == null ? undefined : json['type'],
51
- 'value': json['value'] == null ? undefined : json['value'],
52
- };
53
- }
54
- function ExternalIdToJSON(json) {
55
- return ExternalIdToJSONTyped(json, false);
56
- }
57
- function ExternalIdToJSONTyped(value, ignoreDiscriminator = false) {
58
- if (value == null) {
59
- return value;
60
- }
61
- return {
62
- 'type': value['type'],
63
- 'value': value['value'],
64
- };
65
- }
@@ -1,54 +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
- import type { FetcherOptionsSchema } from './FetcherOptionsSchema';
13
- import type { Link } from './Link';
14
- /**
15
- *
16
- * @export
17
- * @interface FetcherInformation
18
- */
19
- export interface FetcherInformation {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof FetcherInformation
24
- */
25
- name?: string;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof FetcherInformation
30
- */
31
- description?: string;
32
- /**
33
- *
34
- * @type {Array<Link>}
35
- * @memberof FetcherInformation
36
- */
37
- links?: Array<Link>;
38
- /**
39
- *
40
- * @type {{ [key: string]: FetcherOptionsSchema; }}
41
- * @memberof FetcherInformation
42
- */
43
- optionsSchema?: {
44
- [key: string]: FetcherOptionsSchema;
45
- };
46
- }
47
- /**
48
- * Check if a given object implements the FetcherInformation interface.
49
- */
50
- export declare function instanceOfFetcherInformation(value: object): value is FetcherInformation;
51
- export declare function FetcherInformationFromJSON(json: any): FetcherInformation;
52
- export declare function FetcherInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FetcherInformation;
53
- export declare function FetcherInformationToJSON(json: any): FetcherInformation;
54
- export declare function FetcherInformationToJSONTyped(value?: FetcherInformation | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfFetcherInformation = instanceOfFetcherInformation;
17
- exports.FetcherInformationFromJSON = FetcherInformationFromJSON;
18
- exports.FetcherInformationFromJSONTyped = FetcherInformationFromJSONTyped;
19
- exports.FetcherInformationToJSON = FetcherInformationToJSON;
20
- exports.FetcherInformationToJSONTyped = FetcherInformationToJSONTyped;
21
- const runtime_1 = require("../runtime");
22
- const FetcherOptionsSchema_1 = require("./FetcherOptionsSchema");
23
- const Link_1 = require("./Link");
24
- /**
25
- * Check if a given object implements the FetcherInformation interface.
26
- */
27
- function instanceOfFetcherInformation(value) {
28
- return true;
29
- }
30
- function FetcherInformationFromJSON(json) {
31
- return FetcherInformationFromJSONTyped(json, false);
32
- }
33
- function FetcherInformationFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'name': json['name'] == null ? undefined : json['name'],
39
- 'description': json['description'] == null ? undefined : json['description'],
40
- 'links': json['links'] == null ? undefined : (json['links'].map(Link_1.LinkFromJSON)),
41
- 'optionsSchema': json['optionsSchema'] == null ? undefined : ((0, runtime_1.mapValues)(json['optionsSchema'], FetcherOptionsSchema_1.FetcherOptionsSchemaFromJSON)),
42
- };
43
- }
44
- function FetcherInformationToJSON(json) {
45
- return FetcherInformationToJSONTyped(json, false);
46
- }
47
- function FetcherInformationToJSONTyped(value, ignoreDiscriminator = false) {
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'name': value['name'],
53
- 'description': value['description'],
54
- 'links': value['links'] == null ? undefined : (value['links'].map(Link_1.LinkToJSON)),
55
- 'optionsSchema': value['optionsSchema'] == null ? undefined : ((0, runtime_1.mapValues)(value['optionsSchema'], FetcherOptionsSchema_1.FetcherOptionsSchemaToJSON)),
56
- };
57
- }
@@ -1,39 +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
- import type { FetcherInformation } from './FetcherInformation';
13
- /**
14
- *
15
- * @export
16
- * @interface FetcherInformationWithId
17
- */
18
- export interface FetcherInformationWithId {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof FetcherInformationWithId
23
- */
24
- id?: string;
25
- /**
26
- *
27
- * @type {FetcherInformation}
28
- * @memberof FetcherInformationWithId
29
- */
30
- information?: FetcherInformation;
31
- }
32
- /**
33
- * Check if a given object implements the FetcherInformationWithId interface.
34
- */
35
- export declare function instanceOfFetcherInformationWithId(value: object): value is FetcherInformationWithId;
36
- export declare function FetcherInformationWithIdFromJSON(json: any): FetcherInformationWithId;
37
- export declare function FetcherInformationWithIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): FetcherInformationWithId;
38
- export declare function FetcherInformationWithIdToJSON(json: any): FetcherInformationWithId;
39
- export declare function FetcherInformationWithIdToJSONTyped(value?: FetcherInformationWithId | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +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.instanceOfFetcherInformationWithId = instanceOfFetcherInformationWithId;
17
- exports.FetcherInformationWithIdFromJSON = FetcherInformationWithIdFromJSON;
18
- exports.FetcherInformationWithIdFromJSONTyped = FetcherInformationWithIdFromJSONTyped;
19
- exports.FetcherInformationWithIdToJSON = FetcherInformationWithIdToJSON;
20
- exports.FetcherInformationWithIdToJSONTyped = FetcherInformationWithIdToJSONTyped;
21
- const FetcherInformation_1 = require("./FetcherInformation");
22
- /**
23
- * Check if a given object implements the FetcherInformationWithId interface.
24
- */
25
- function instanceOfFetcherInformationWithId(value) {
26
- return true;
27
- }
28
- function FetcherInformationWithIdFromJSON(json) {
29
- return FetcherInformationWithIdFromJSONTyped(json, false);
30
- }
31
- function FetcherInformationWithIdFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'id': json['id'] == null ? undefined : json['id'],
37
- 'information': json['information'] == null ? undefined : (0, FetcherInformation_1.FetcherInformationFromJSON)(json['information']),
38
- };
39
- }
40
- function FetcherInformationWithIdToJSON(json) {
41
- return FetcherInformationWithIdToJSONTyped(json, false);
42
- }
43
- function FetcherInformationWithIdToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'id': value['id'],
49
- 'information': (0, FetcherInformation_1.FetcherInformationToJSON)(value['information']),
50
- };
51
- }
@@ -1,56 +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 FetcherOptionsSchema
16
- */
17
- export interface FetcherOptionsSchema {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof FetcherOptionsSchema
22
- */
23
- name?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof FetcherOptionsSchema
28
- */
29
- description?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof FetcherOptionsSchema
34
- */
35
- defaultValue?: string | null;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof FetcherOptionsSchema
40
- */
41
- required?: boolean;
42
- /**
43
- *
44
- * @type {boolean}
45
- * @memberof FetcherOptionsSchema
46
- */
47
- secret?: boolean;
48
- }
49
- /**
50
- * Check if a given object implements the FetcherOptionsSchema interface.
51
- */
52
- export declare function instanceOfFetcherOptionsSchema(value: object): value is FetcherOptionsSchema;
53
- export declare function FetcherOptionsSchemaFromJSON(json: any): FetcherOptionsSchema;
54
- export declare function FetcherOptionsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): FetcherOptionsSchema;
55
- export declare function FetcherOptionsSchemaToJSON(json: any): FetcherOptionsSchema;
56
- export declare function FetcherOptionsSchemaToJSONTyped(value?: FetcherOptionsSchema | null, ignoreDiscriminator?: boolean): any;
@@ -1,56 +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.instanceOfFetcherOptionsSchema = instanceOfFetcherOptionsSchema;
17
- exports.FetcherOptionsSchemaFromJSON = FetcherOptionsSchemaFromJSON;
18
- exports.FetcherOptionsSchemaFromJSONTyped = FetcherOptionsSchemaFromJSONTyped;
19
- exports.FetcherOptionsSchemaToJSON = FetcherOptionsSchemaToJSON;
20
- exports.FetcherOptionsSchemaToJSONTyped = FetcherOptionsSchemaToJSONTyped;
21
- /**
22
- * Check if a given object implements the FetcherOptionsSchema interface.
23
- */
24
- function instanceOfFetcherOptionsSchema(value) {
25
- return true;
26
- }
27
- function FetcherOptionsSchemaFromJSON(json) {
28
- return FetcherOptionsSchemaFromJSONTyped(json, false);
29
- }
30
- function FetcherOptionsSchemaFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'name': json['name'] == null ? undefined : json['name'],
36
- 'description': json['description'] == null ? undefined : json['description'],
37
- 'defaultValue': json['defaultValue'] == null ? undefined : json['defaultValue'],
38
- 'required': json['required'] == null ? undefined : json['required'],
39
- 'secret': json['secret'] == null ? undefined : json['secret'],
40
- };
41
- }
42
- function FetcherOptionsSchemaToJSON(json) {
43
- return FetcherOptionsSchemaToJSONTyped(json, false);
44
- }
45
- function FetcherOptionsSchemaToJSONTyped(value, ignoreDiscriminator = false) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'name': value['name'],
51
- 'description': value['description'],
52
- 'defaultValue': value['defaultValue'],
53
- 'required': value['required'],
54
- 'secret': value['secret'],
55
- };
56
- }
@@ -1,96 +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
- import type { ExternalId } from './ExternalId';
13
- import type { Author } from './Author';
14
- /**
15
- *
16
- * @export
17
- * @interface FetcherPaperResponse
18
- */
19
- export interface FetcherPaperResponse {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof FetcherPaperResponse
24
- */
25
- id?: string | null;
26
- /**
27
- *
28
- * @type {Array<ExternalId>}
29
- * @memberof FetcherPaperResponse
30
- */
31
- externalIds?: Array<ExternalId>;
32
- /**
33
- *
34
- * @type {string}
35
- * @memberof FetcherPaperResponse
36
- */
37
- title?: string;
38
- /**
39
- *
40
- * @type {string}
41
- * @memberof FetcherPaperResponse
42
- */
43
- _abstract?: string;
44
- /**
45
- *
46
- * @type {number}
47
- * @memberof FetcherPaperResponse
48
- */
49
- year?: number;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof FetcherPaperResponse
54
- */
55
- publisher?: string;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof FetcherPaperResponse
60
- */
61
- publicationName?: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof FetcherPaperResponse
66
- */
67
- publicationType?: string;
68
- /**
69
- *
70
- * @type {Array<Author>}
71
- * @memberof FetcherPaperResponse
72
- */
73
- authors?: Array<Author>;
74
- /**
75
- *
76
- * @type {{ [key: string]: string; }}
77
- * @memberof FetcherPaperResponse
78
- */
79
- fetcherMetadata?: {
80
- [key: string]: string;
81
- };
82
- /**
83
- *
84
- * @type {Array<string>}
85
- * @memberof FetcherPaperResponse
86
- */
87
- backwardReferencedIds?: Array<string>;
88
- }
89
- /**
90
- * Check if a given object implements the FetcherPaperResponse interface.
91
- */
92
- export declare function instanceOfFetcherPaperResponse(value: object): value is FetcherPaperResponse;
93
- export declare function FetcherPaperResponseFromJSON(json: any): FetcherPaperResponse;
94
- export declare function FetcherPaperResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FetcherPaperResponse;
95
- export declare function FetcherPaperResponseToJSON(json: any): FetcherPaperResponse;
96
- export declare function FetcherPaperResponseToJSONTyped(value?: FetcherPaperResponse | null, ignoreDiscriminator?: boolean): any;