@se-uulm/snowballr-grpc-client 0.0.0-stage → 0.2.0

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/dist/main.ts ADDED
@@ -0,0 +1,140 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
2
+ // @generated from protobuf file "main.proto" (package "snowballr", syntax proto3)
3
+ // tslint:disable
4
+ //
5
+ /// Main file of the SnowballR service. Contains all RPCs.
6
+ //
7
+ import { Paper_PdfUpdate } from "./paper";
8
+ import { Blob } from "./base";
9
+ import { Paper_Update } from "./paper";
10
+ import { Project_Paper_SearchQuery } from "./project";
11
+ import { Paper } from "./paper";
12
+ import { Review_Update } from "./review";
13
+ import { Review_Create } from "./review";
14
+ import { Review_List } from "./review";
15
+ import { Review } from "./review";
16
+ import { Project_Paper_Update } from "./project";
17
+ import { Project_Paper_Add } from "./project";
18
+ import { Project_Paper_Get } from "./project";
19
+ import { Criterion_Update } from "./criterion";
20
+ import { Criterion_Create } from "./criterion";
21
+ import { Criterion_List } from "./criterion";
22
+ import { Criterion } from "./criterion";
23
+ import { Project_Information_DecisionStatistics } from "./project";
24
+ import { Project_Information_DecisionStatistics_Get } from "./project";
25
+ import { Project_Information } from "./project";
26
+ import { Project_Information_Get } from "./project";
27
+ import { ExportResponse } from "./export";
28
+ import { ExportRequest } from "./export";
29
+ import { AvailableExportFormatsResponse } from "./export";
30
+ import { Project_Update } from "./project";
31
+ import { Project } from "./project";
32
+ import { Project_Create } from "./project";
33
+ import { Project_List } from "./project";
34
+ import { Project_Member_Update } from "./project";
35
+ import { Project_Member_Remove } from "./project";
36
+ import { Project_Member_List } from "./project";
37
+ import { Project_Member_Accept } from "./project";
38
+ import { Project_Member_Invite } from "./project";
39
+ import { Project_InviteCandidatesRequest } from "./project";
40
+ import { BoolValue } from "./base";
41
+ import { Paper_List } from "./paper";
42
+ import { Project_Paper } from "./project";
43
+ import { Project_Paper_List } from "./project";
44
+ import { UserSettings_Update } from "./user_settings";
45
+ import { UserSettings } from "./user_settings";
46
+ import { User_Update } from "./user";
47
+ import { Email } from "./base";
48
+ import { Id } from "./base";
49
+ import { User } from "./user";
50
+ import { User_List } from "./user";
51
+ import { PasswordChangeRequest } from "./authentication";
52
+ import { PasswordResetRequest } from "./authentication";
53
+ import { RequestPasswordResetRequest } from "./authentication";
54
+ import { AuthenticationStatusResponse } from "./authentication";
55
+ import { LoginRequest } from "./authentication";
56
+ import { VerifyEmailRequest } from "./authentication";
57
+ import { RegisterRequest } from "./authentication";
58
+ import { AvailableFetchers } from "./fetcher";
59
+ import { Nothing } from "./base";
60
+ import { ServiceType } from "@protobuf-ts/runtime-rpc";
61
+ /**
62
+ * @generated ServiceType for protobuf service snowballr.SnowballR
63
+ */
64
+ export const SnowballR = new ServiceType("snowballr.SnowballR", [
65
+ { name: "GetAvailableFetchers", options: {}, I: Nothing, O: AvailableFetchers },
66
+ { name: "Register", options: {}, I: RegisterRequest, O: Nothing },
67
+ { name: "VerifyEmail", options: {}, I: VerifyEmailRequest, O: Nothing },
68
+ { name: "Login", options: {}, I: LoginRequest, O: Nothing },
69
+ { name: "Logout", options: {}, I: Nothing, O: Nothing },
70
+ { name: "GetAuthenticationStatus", options: {}, I: Nothing, O: AuthenticationStatusResponse },
71
+ { name: "RenewSession", options: {}, I: Nothing, O: Nothing },
72
+ { name: "RequestPasswordReset", options: {}, I: RequestPasswordResetRequest, O: Nothing },
73
+ { name: "ResetPassword", options: {}, I: PasswordResetRequest, O: Nothing },
74
+ { name: "ChangePassword", options: {}, I: PasswordChangeRequest, O: Nothing },
75
+ { name: "GetAllUsers", options: {}, I: Nothing, O: User_List },
76
+ { name: "GetCurrentUser", options: {}, I: Nothing, O: User },
77
+ { name: "GetUserById", options: {}, I: Id, O: User },
78
+ { name: "GetUserByEmail", options: {}, I: Email, O: User },
79
+ { name: "UpdateUser", options: {}, I: User_Update, O: User },
80
+ { name: "SoftDeleteUser", options: {}, I: Id, O: Nothing },
81
+ { name: "SoftUndeleteUser", options: {}, I: Id, O: Nothing },
82
+ { name: "GetUserSettings", options: {}, I: Nothing, O: UserSettings },
83
+ { name: "UpdateUserSettings", options: {}, I: UserSettings_Update, O: UserSettings },
84
+ { name: "GetAllPapersToReview", options: {}, I: Nothing, O: Project_Paper_List },
85
+ { name: "GetPapersToReviewForProject", options: {}, I: Id, O: Project_Paper_List },
86
+ { name: "GetNextPaper", options: {}, I: Id, O: Project_Paper },
87
+ { name: "GetNextPaperToReview", options: {}, I: Id, O: Project_Paper },
88
+ { name: "GetPreviousPaper", options: {}, I: Id, O: Project_Paper },
89
+ { name: "GetReadingList", options: {}, I: Nothing, O: Paper_List },
90
+ { name: "IsPaperOnReadingList", options: {}, I: Id, O: BoolValue },
91
+ { name: "AddPaperToReadingList", options: {}, I: Id, O: Nothing },
92
+ { name: "RemovePaperFromReadingList", options: {}, I: Id, O: Nothing },
93
+ { name: "GetInviteCandidates", options: {}, I: Project_InviteCandidatesRequest, O: User_List },
94
+ { name: "InviteUserToProject", options: {}, I: Project_Member_Invite, O: Nothing },
95
+ { name: "AcceptProjectInvitation", options: {}, I: Project_Member_Accept, O: Nothing },
96
+ { name: "GetPendingInvitationsForProject", options: {}, I: Id, O: User_List },
97
+ { name: "GetProjectMembers", options: {}, I: Id, O: Project_Member_List },
98
+ { name: "RemoveProjectMember", options: {}, I: Project_Member_Remove, O: Nothing },
99
+ { name: "UpdateProjectMemberRole", options: {}, I: Project_Member_Update, O: Nothing },
100
+ { name: "GetAllProjects", options: {}, I: Nothing, O: Project_List },
101
+ { name: "GetAllDeletedProjects", options: {}, I: Nothing, O: Project_List },
102
+ { name: "GetAllDeletedProjectsForUser", options: {}, I: Id, O: Project_List },
103
+ { name: "GetAllArchivedProjects", options: {}, I: Nothing, O: Project_List },
104
+ { name: "GetAllProjectsForUser", options: {}, I: Id, O: Project_List },
105
+ { name: "GetAllArchivedProjectsForUser", options: {}, I: Id, O: Project_List },
106
+ { name: "CreateProject", options: {}, I: Project_Create, O: Project },
107
+ { name: "GetProjectById", options: {}, I: Id, O: Project },
108
+ { name: "UpdateProject", options: {}, I: Project_Update, O: Project },
109
+ { name: "GetAvailableExportFormats", options: {}, I: Nothing, O: AvailableExportFormatsResponse },
110
+ { name: "ExportProject", options: {}, I: ExportRequest, O: ExportResponse },
111
+ { name: "SoftDeleteProject", options: {}, I: Id, O: Nothing },
112
+ { name: "SoftUndeleteProject", options: {}, I: Id, O: Nothing },
113
+ { name: "GetProjectInformation", options: {}, I: Project_Information_Get, O: Project_Information },
114
+ { name: "GetDecisionStatisticsForStage", options: {}, I: Project_Information_DecisionStatistics_Get, O: Project_Information_DecisionStatistics },
115
+ { name: "GetCriterionById", options: {}, I: Id, O: Criterion },
116
+ { name: "GetAllCriteriaForProject", options: {}, I: Id, O: Criterion_List },
117
+ { name: "CreateCriterion", options: {}, I: Criterion_Create, O: Criterion },
118
+ { name: "UpdateCriterion", options: {}, I: Criterion_Update, O: Criterion },
119
+ { name: "DeleteCriterion", options: {}, I: Id, O: Nothing },
120
+ { name: "GetProjectPaperById", options: {}, I: Id, O: Project_Paper },
121
+ { name: "GetProjectPaperByRelativeId", options: {}, I: Project_Paper_Get, O: Project_Paper },
122
+ { name: "GetAllProjectPapersForProject", options: {}, I: Id, O: Project_Paper_List },
123
+ { name: "AddPaperToProject", options: {}, I: Project_Paper_Add, O: Project_Paper },
124
+ { name: "UpdateProjectPaper", options: {}, I: Project_Paper_Update, O: Project_Paper },
125
+ { name: "RemovePaperFromProject", options: {}, I: Id, O: Nothing },
126
+ { name: "GetReviewById", options: {}, I: Id, O: Review },
127
+ { name: "GetAllReviewsForProjectPaper", options: {}, I: Id, O: Review_List },
128
+ { name: "CreateReview", options: {}, I: Review_Create, O: Review },
129
+ { name: "UpdateReview", options: {}, I: Review_Update, O: Review },
130
+ { name: "DeleteReview", options: {}, I: Id, O: Nothing },
131
+ { name: "GetPaperById", options: {}, I: Id, O: Paper },
132
+ { name: "SearchLocalProjectPaperCandidates", options: {}, I: Project_Paper_SearchQuery, O: Paper_List },
133
+ { name: "SearchFetcherProjectPaperCandidates", options: {}, I: Project_Paper_SearchQuery, O: Paper_List },
134
+ { name: "CreatePaper", options: {}, I: Paper, O: Paper },
135
+ { name: "UpdatePaper", options: {}, I: Paper_Update, O: Paper },
136
+ { name: "GetForwardReferencedPapers", options: {}, I: Id, O: Paper_List },
137
+ { name: "GetBackwardReferencedPapers", options: {}, I: Id, O: Paper_List },
138
+ { name: "GetPaperPdf", options: {}, I: Id, O: Blob },
139
+ { name: "SetPaperPdf", options: {}, I: Paper_PdfUpdate, O: Nothing }
140
+ ]);