@se-uulm/snowballr-grpc-client 0.2.0 → 0.2.1-alpha.2fd7ace
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/authentication.d.ts +216 -0
- package/dist/{authentication.ts → authentication.js} +50 -155
- package/dist/base.d.ts +139 -0
- package/dist/{base.ts → base.js} +43 -108
- package/dist/criterion.d.ts +170 -0
- package/dist/{criterion.ts → criterion.js} +33 -122
- package/dist/export.d.ts +84 -0
- package/dist/{export.ts → export.js} +19 -65
- package/dist/fetcher.d.ts +161 -0
- package/dist/{fetcher.ts → fetcher.js} +30 -140
- package/dist/google/protobuf/{field_mask.ts → field_mask.d.ts} +10 -73
- package/dist/google/protobuf/field_mask.js +117 -0
- package/dist/google/protobuf/{timestamp.ts → timestamp.d.ts} +13 -111
- package/dist/google/protobuf/timestamp.js +166 -0
- package/dist/{main.client.ts → main.client.d.ts} +135 -362
- package/dist/main.client.js +1690 -0
- package/dist/main.d.ts +10 -0
- package/dist/{main.ts → main.js} +60 -54
- package/dist/paper.d.ts +217 -0
- package/dist/{paper.ts → paper.js} +41 -187
- package/dist/project.d.ts +866 -0
- package/dist/{project.ts → project.js} +195 -641
- package/dist/review.d.ts +153 -0
- package/dist/{review.ts → review.js} +33 -105
- package/dist/user.d.ts +157 -0
- package/dist/{user.ts → user.js} +33 -93
- package/dist/user_settings.d.ts +74 -0
- package/dist/{user_settings.ts → user_settings.js} +16 -59
- package/package.json +15 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies,output_javascript
|
|
2
2
|
// @generated from protobuf file "main.proto" (package "snowballr", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
//
|
|
@@ -6,61 +6,59 @@
|
|
|
6
6
|
//
|
|
7
7
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
8
8
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
14
|
-
import type {
|
|
15
|
-
import type {
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import type {
|
|
23
|
-
import type {
|
|
24
|
-
import type {
|
|
25
|
-
import type {
|
|
26
|
-
import type {
|
|
27
|
-
import type {
|
|
28
|
-
import type {
|
|
29
|
-
import type {
|
|
30
|
-
import type {
|
|
31
|
-
import type {
|
|
32
|
-
import type {
|
|
33
|
-
import type {
|
|
34
|
-
import type {
|
|
35
|
-
import type {
|
|
36
|
-
import type {
|
|
37
|
-
import type {
|
|
38
|
-
import type {
|
|
39
|
-
import type {
|
|
40
|
-
import type {
|
|
41
|
-
import type {
|
|
42
|
-
import type {
|
|
43
|
-
import type {
|
|
44
|
-
import type {
|
|
45
|
-
import type {
|
|
46
|
-
import type {
|
|
47
|
-
import type {
|
|
48
|
-
import type {
|
|
49
|
-
import type {
|
|
50
|
-
import type {
|
|
51
|
-
import type {
|
|
52
|
-
import type {
|
|
53
|
-
import type {
|
|
54
|
-
import type {
|
|
55
|
-
import type {
|
|
56
|
-
import type {
|
|
57
|
-
import type {
|
|
58
|
-
import type {
|
|
59
|
-
import type {
|
|
60
|
-
import type {
|
|
61
|
-
import {
|
|
62
|
-
import type { AvailableFetchers } from "./fetcher";
|
|
63
|
-
import type { Nothing } from "./base";
|
|
9
|
+
import type { Paper_PdfUpdate } from "./paper.js";
|
|
10
|
+
import type { Blob } from "./base.js";
|
|
11
|
+
import type { Paper_Update } from "./paper.js";
|
|
12
|
+
import type { Project_Paper_SearchQuery } from "./project.js";
|
|
13
|
+
import type { Paper } from "./paper.js";
|
|
14
|
+
import type { Review_Update } from "./review.js";
|
|
15
|
+
import type { Review_Create } from "./review.js";
|
|
16
|
+
import type { Review_List } from "./review.js";
|
|
17
|
+
import type { Review } from "./review.js";
|
|
18
|
+
import type { Project_Paper_Update } from "./project.js";
|
|
19
|
+
import type { Project_Paper_Add } from "./project.js";
|
|
20
|
+
import type { Project_Paper_Get } from "./project.js";
|
|
21
|
+
import type { Criterion_Update } from "./criterion.js";
|
|
22
|
+
import type { Criterion_Create } from "./criterion.js";
|
|
23
|
+
import type { Criterion_List } from "./criterion.js";
|
|
24
|
+
import type { Criterion } from "./criterion.js";
|
|
25
|
+
import type { Project_Information_DecisionStatistics } from "./project.js";
|
|
26
|
+
import type { Project_Information_DecisionStatistics_Get } from "./project.js";
|
|
27
|
+
import type { Project_Information } from "./project.js";
|
|
28
|
+
import type { Project_Information_Get } from "./project.js";
|
|
29
|
+
import type { ExportResponse } from "./export.js";
|
|
30
|
+
import type { ExportRequest } from "./export.js";
|
|
31
|
+
import type { AvailableExportFormatsResponse } from "./export.js";
|
|
32
|
+
import type { Project_Update } from "./project.js";
|
|
33
|
+
import type { Project } from "./project.js";
|
|
34
|
+
import type { Project_Create } from "./project.js";
|
|
35
|
+
import type { Project_List } from "./project.js";
|
|
36
|
+
import type { Project_Member_Update } from "./project.js";
|
|
37
|
+
import type { Project_Member_Remove } from "./project.js";
|
|
38
|
+
import type { Project_Member_List } from "./project.js";
|
|
39
|
+
import type { Project_Member_Accept } from "./project.js";
|
|
40
|
+
import type { Project_Member_Invite } from "./project.js";
|
|
41
|
+
import type { Project_InviteCandidatesRequest } from "./project.js";
|
|
42
|
+
import type { BoolValue } from "./base.js";
|
|
43
|
+
import type { Paper_List } from "./paper.js";
|
|
44
|
+
import type { Project_Paper } from "./project.js";
|
|
45
|
+
import type { Project_Paper_List } from "./project.js";
|
|
46
|
+
import type { UserSettings_Update } from "./user_settings.js";
|
|
47
|
+
import type { UserSettings } from "./user_settings.js";
|
|
48
|
+
import type { User_Update } from "./user.js";
|
|
49
|
+
import type { Email } from "./base.js";
|
|
50
|
+
import type { Id } from "./base.js";
|
|
51
|
+
import type { User } from "./user.js";
|
|
52
|
+
import type { User_List } from "./user.js";
|
|
53
|
+
import type { PasswordChangeRequest } from "./authentication.js";
|
|
54
|
+
import type { PasswordResetRequest } from "./authentication.js";
|
|
55
|
+
import type { RequestPasswordResetRequest } from "./authentication.js";
|
|
56
|
+
import type { AuthenticationStatusResponse } from "./authentication.js";
|
|
57
|
+
import type { LoginRequest } from "./authentication.js";
|
|
58
|
+
import type { VerifyEmailRequest } from "./authentication.js";
|
|
59
|
+
import type { RegisterRequest } from "./authentication.js";
|
|
60
|
+
import type { AvailableFetchers } from "./fetcher.js";
|
|
61
|
+
import type { Nothing } from "./base.js";
|
|
64
62
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
65
63
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
66
64
|
/**
|
|
@@ -1627,12 +1625,12 @@ export interface ISnowballRClient {
|
|
|
1627
1625
|
*
|
|
1628
1626
|
* @generated from protobuf service snowballr.SnowballR
|
|
1629
1627
|
*/
|
|
1630
|
-
export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1628
|
+
export declare class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
1629
|
+
private readonly _transport;
|
|
1630
|
+
typeName: any;
|
|
1631
|
+
methods: any;
|
|
1632
|
+
options: any;
|
|
1633
|
+
constructor(_transport: RpcTransport);
|
|
1636
1634
|
/**
|
|
1637
1635
|
* Get all available fetchers from which a paper may be sourced by the backend.
|
|
1638
1636
|
* Each source is identified by a unique ID and is later used to specify
|
|
@@ -1648,10 +1646,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1648
1646
|
*
|
|
1649
1647
|
* @generated from protobuf rpc: GetAvailableFetchers
|
|
1650
1648
|
*/
|
|
1651
|
-
getAvailableFetchers(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AvailableFetchers
|
|
1652
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
1653
|
-
return stackIntercept<Nothing, AvailableFetchers>("unary", this._transport, method, opt, input);
|
|
1654
|
-
}
|
|
1649
|
+
getAvailableFetchers(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AvailableFetchers>;
|
|
1655
1650
|
/**
|
|
1656
1651
|
* Create an account. The provided email address **must not already be registered**,
|
|
1657
1652
|
* and no field may be blank. If successful, login tokens are
|
|
@@ -1674,10 +1669,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1674
1669
|
*
|
|
1675
1670
|
* @generated from protobuf rpc: Register
|
|
1676
1671
|
*/
|
|
1677
|
-
register(input: RegisterRequest, options?: RpcOptions): UnaryCall<RegisterRequest, Nothing
|
|
1678
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
1679
|
-
return stackIntercept<RegisterRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1680
|
-
}
|
|
1672
|
+
register(input: RegisterRequest, options?: RpcOptions): UnaryCall<RegisterRequest, Nothing>;
|
|
1681
1673
|
/**
|
|
1682
1674
|
* After registering, a user receives a verification token via email.
|
|
1683
1675
|
* This call is then used to submit that token, confirming the ownership of the
|
|
@@ -1691,10 +1683,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1691
1683
|
*
|
|
1692
1684
|
* @generated from protobuf rpc: VerifyEmail
|
|
1693
1685
|
*/
|
|
1694
|
-
verifyEmail(input: VerifyEmailRequest, options?: RpcOptions): UnaryCall<VerifyEmailRequest, Nothing
|
|
1695
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
1696
|
-
return stackIntercept<VerifyEmailRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1697
|
-
}
|
|
1686
|
+
verifyEmail(input: VerifyEmailRequest, options?: RpcOptions): UnaryCall<VerifyEmailRequest, Nothing>;
|
|
1698
1687
|
/**
|
|
1699
1688
|
* If the provided email address and password exactly match those of a user in the server's database and
|
|
1700
1689
|
* the user's email address has been verified, a new set of login tokens is
|
|
@@ -1709,10 +1698,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1709
1698
|
*
|
|
1710
1699
|
* @generated from protobuf rpc: Login
|
|
1711
1700
|
*/
|
|
1712
|
-
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, Nothing
|
|
1713
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
1714
|
-
return stackIntercept<LoginRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1715
|
-
}
|
|
1701
|
+
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, Nothing>;
|
|
1716
1702
|
/**
|
|
1717
1703
|
* Revoke access through the currently used set of access and refresh tokens.
|
|
1718
1704
|
* Other token pairs may not be affected.
|
|
@@ -1726,10 +1712,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1726
1712
|
*
|
|
1727
1713
|
* @generated from protobuf rpc: Logout
|
|
1728
1714
|
*/
|
|
1729
|
-
logout(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Nothing
|
|
1730
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
1731
|
-
return stackIntercept<Nothing, Nothing>("unary", this._transport, method, opt, input);
|
|
1732
|
-
}
|
|
1715
|
+
logout(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Nothing>;
|
|
1733
1716
|
/**
|
|
1734
1717
|
* Acquire the client's authentication status. The result is **guaranteed to
|
|
1735
1718
|
* be specified**.
|
|
@@ -1739,10 +1722,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1739
1722
|
*
|
|
1740
1723
|
* @generated from protobuf rpc: GetAuthenticationStatus
|
|
1741
1724
|
*/
|
|
1742
|
-
getAuthenticationStatus(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AuthenticationStatusResponse
|
|
1743
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
1744
|
-
return stackIntercept<Nothing, AuthenticationStatusResponse>("unary", this._transport, method, opt, input);
|
|
1745
|
-
}
|
|
1725
|
+
getAuthenticationStatus(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AuthenticationStatusResponse>;
|
|
1746
1726
|
/**
|
|
1747
1727
|
* Upon presentation of a valid refresh token, a new set of login tokens
|
|
1748
1728
|
* is issued, authenticating the owner of the token. This new pair is
|
|
@@ -1763,10 +1743,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1763
1743
|
*
|
|
1764
1744
|
* @generated from protobuf rpc: RenewSession
|
|
1765
1745
|
*/
|
|
1766
|
-
renewSession(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Nothing
|
|
1767
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
1768
|
-
return stackIntercept<Nothing, Nothing>("unary", this._transport, method, opt, input);
|
|
1769
|
-
}
|
|
1746
|
+
renewSession(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Nothing>;
|
|
1770
1747
|
/**
|
|
1771
1748
|
* If the provided email address belongs to an active user, the server sends a
|
|
1772
1749
|
* challenge/token to that address. This token must then be sent
|
|
@@ -1782,10 +1759,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1782
1759
|
*
|
|
1783
1760
|
* @generated from protobuf rpc: RequestPasswordReset
|
|
1784
1761
|
*/
|
|
1785
|
-
requestPasswordReset(input: RequestPasswordResetRequest, options?: RpcOptions): UnaryCall<RequestPasswordResetRequest, Nothing
|
|
1786
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
1787
|
-
return stackIntercept<RequestPasswordResetRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1788
|
-
}
|
|
1762
|
+
requestPasswordReset(input: RequestPasswordResetRequest, options?: RpcOptions): UnaryCall<RequestPasswordResetRequest, Nothing>;
|
|
1789
1763
|
/**
|
|
1790
1764
|
* After requesting a password reset email using
|
|
1791
1765
|
* [RequestPasswordReset](#service-snowballr.SnowballR-RequestPasswordReset),
|
|
@@ -1803,10 +1777,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1803
1777
|
*
|
|
1804
1778
|
* @generated from protobuf rpc: ResetPassword
|
|
1805
1779
|
*/
|
|
1806
|
-
resetPassword(input: PasswordResetRequest, options?: RpcOptions): UnaryCall<PasswordResetRequest, Nothing
|
|
1807
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
1808
|
-
return stackIntercept<PasswordResetRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1809
|
-
}
|
|
1780
|
+
resetPassword(input: PasswordResetRequest, options?: RpcOptions): UnaryCall<PasswordResetRequest, Nothing>;
|
|
1810
1781
|
/**
|
|
1811
1782
|
* Set a new password using the old password.
|
|
1812
1783
|
* The new password must follow the same rules as during
|
|
@@ -1824,10 +1795,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1824
1795
|
*
|
|
1825
1796
|
* @generated from protobuf rpc: ChangePassword
|
|
1826
1797
|
*/
|
|
1827
|
-
changePassword(input: PasswordChangeRequest, options?: RpcOptions): UnaryCall<PasswordChangeRequest, Nothing
|
|
1828
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
1829
|
-
return stackIntercept<PasswordChangeRequest, Nothing>("unary", this._transport, method, opt, input);
|
|
1830
|
-
}
|
|
1798
|
+
changePassword(input: PasswordChangeRequest, options?: RpcOptions): UnaryCall<PasswordChangeRequest, Nothing>;
|
|
1831
1799
|
/**
|
|
1832
1800
|
* Get all registered users.
|
|
1833
1801
|
*
|
|
@@ -1841,10 +1809,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1841
1809
|
*
|
|
1842
1810
|
* @generated from protobuf rpc: GetAllUsers
|
|
1843
1811
|
*/
|
|
1844
|
-
getAllUsers(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, User_List
|
|
1845
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
1846
|
-
return stackIntercept<Nothing, User_List>("unary", this._transport, method, opt, input);
|
|
1847
|
-
}
|
|
1812
|
+
getAllUsers(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, User_List>;
|
|
1848
1813
|
/**
|
|
1849
1814
|
* Get the user who is currently logged in by looking up the provided access
|
|
1850
1815
|
* token. **If the user is properly authenticated, this call is guaranteed to return a valid
|
|
@@ -1859,10 +1824,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1859
1824
|
*
|
|
1860
1825
|
* @generated from protobuf rpc: GetCurrentUser
|
|
1861
1826
|
*/
|
|
1862
|
-
getCurrentUser(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, User
|
|
1863
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
1864
|
-
return stackIntercept<Nothing, User>("unary", this._transport, method, opt, input);
|
|
1865
|
-
}
|
|
1827
|
+
getCurrentUser(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, User>;
|
|
1866
1828
|
/**
|
|
1867
1829
|
* Get a user by their ID.
|
|
1868
1830
|
*
|
|
@@ -1878,10 +1840,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1878
1840
|
*
|
|
1879
1841
|
* @generated from protobuf rpc: GetUserById
|
|
1880
1842
|
*/
|
|
1881
|
-
getUserById(input: Id, options?: RpcOptions): UnaryCall<Id, User
|
|
1882
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
1883
|
-
return stackIntercept<Id, User>("unary", this._transport, method, opt, input);
|
|
1884
|
-
}
|
|
1843
|
+
getUserById(input: Id, options?: RpcOptions): UnaryCall<Id, User>;
|
|
1885
1844
|
/**
|
|
1886
1845
|
* Get the user with the specified email address.
|
|
1887
1846
|
*
|
|
@@ -1897,10 +1856,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1897
1856
|
*
|
|
1898
1857
|
* @generated from protobuf rpc: GetUserByEmail
|
|
1899
1858
|
*/
|
|
1900
|
-
getUserByEmail(input: Email, options?: RpcOptions): UnaryCall<Email, User
|
|
1901
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
1902
|
-
return stackIntercept<Email, User>("unary", this._transport, method, opt, input);
|
|
1903
|
-
}
|
|
1859
|
+
getUserByEmail(input: Email, options?: RpcOptions): UnaryCall<Email, User>;
|
|
1904
1860
|
/**
|
|
1905
1861
|
* Update all attributes specified in the field mask for the user with the
|
|
1906
1862
|
* provided ID, except the `status` field. A server admin may update the `role` field using this call.
|
|
@@ -1920,10 +1876,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1920
1876
|
*
|
|
1921
1877
|
* @generated from protobuf rpc: UpdateUser
|
|
1922
1878
|
*/
|
|
1923
|
-
updateUser(input: User_Update, options?: RpcOptions): UnaryCall<User_Update, User
|
|
1924
|
-
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
1925
|
-
return stackIntercept<User_Update, User>("unary", this._transport, method, opt, input);
|
|
1926
|
-
}
|
|
1879
|
+
updateUser(input: User_Update, options?: RpcOptions): UnaryCall<User_Update, User>;
|
|
1927
1880
|
/**
|
|
1928
1881
|
* Prevent the user with the provided ID from logging in. They are not fully
|
|
1929
1882
|
* deleted from the database but are no longer considered an **active** user.
|
|
@@ -1941,10 +1894,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1941
1894
|
*
|
|
1942
1895
|
* @generated from protobuf rpc: SoftDeleteUser
|
|
1943
1896
|
*/
|
|
1944
|
-
softDeleteUser(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
1945
|
-
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
1946
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
1947
|
-
}
|
|
1897
|
+
softDeleteUser(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
1948
1898
|
/**
|
|
1949
1899
|
* Allow a previously soft-deleted user to log in again.
|
|
1950
1900
|
* The calling user is **required to be an admin**.
|
|
@@ -1962,10 +1912,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1962
1912
|
*
|
|
1963
1913
|
* @generated from protobuf rpc: SoftUndeleteUser
|
|
1964
1914
|
*/
|
|
1965
|
-
softUndeleteUser(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
1966
|
-
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
1967
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
1968
|
-
}
|
|
1915
|
+
softUndeleteUser(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
1969
1916
|
/**
|
|
1970
1917
|
* Get the user-specific settings for the calling user. The user settings are returned and **guaranteed to be specified**.
|
|
1971
1918
|
*
|
|
@@ -1979,10 +1926,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1979
1926
|
*
|
|
1980
1927
|
* @generated from protobuf rpc: GetUserSettings
|
|
1981
1928
|
*/
|
|
1982
|
-
getUserSettings(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, UserSettings
|
|
1983
|
-
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
1984
|
-
return stackIntercept<Nothing, UserSettings>("unary", this._transport, method, opt, input);
|
|
1985
|
-
}
|
|
1929
|
+
getUserSettings(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, UserSettings>;
|
|
1986
1930
|
/**
|
|
1987
1931
|
* Update all attributes specified in the field mask for the user settings of the calling user.
|
|
1988
1932
|
* The updated user settings are returned and **guaranteed to be specified**.
|
|
@@ -1998,10 +1942,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
1998
1942
|
*
|
|
1999
1943
|
* @generated from protobuf rpc: UpdateUserSettings
|
|
2000
1944
|
*/
|
|
2001
|
-
updateUserSettings(input: UserSettings_Update, options?: RpcOptions): UnaryCall<UserSettings_Update, UserSettings
|
|
2002
|
-
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
2003
|
-
return stackIntercept<UserSettings_Update, UserSettings>("unary", this._transport, method, opt, input);
|
|
2004
|
-
}
|
|
1945
|
+
updateUserSettings(input: UserSettings_Update, options?: RpcOptions): UnaryCall<UserSettings_Update, UserSettings>;
|
|
2005
1946
|
/**
|
|
2006
1947
|
* Get all project papers that the calling user can review. It is not
|
|
2007
1948
|
* guaranteed that the returned papers belong to the same project.
|
|
@@ -2016,10 +1957,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2016
1957
|
*
|
|
2017
1958
|
* @generated from protobuf rpc: GetAllPapersToReview
|
|
2018
1959
|
*/
|
|
2019
|
-
getAllPapersToReview(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_Paper_List
|
|
2020
|
-
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
2021
|
-
return stackIntercept<Nothing, Project_Paper_List>("unary", this._transport, method, opt, input);
|
|
2022
|
-
}
|
|
1960
|
+
getAllPapersToReview(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_Paper_List>;
|
|
2023
1961
|
/**
|
|
2024
1962
|
* Get all project papers from the project identified by its ID that
|
|
2025
1963
|
* the calling user can review.
|
|
@@ -2037,10 +1975,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2037
1975
|
*
|
|
2038
1976
|
* @generated from protobuf rpc: GetPapersToReviewForProject
|
|
2039
1977
|
*/
|
|
2040
|
-
getPapersToReviewForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper_List
|
|
2041
|
-
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
2042
|
-
return stackIntercept<Id, Project_Paper_List>("unary", this._transport, method, opt, input);
|
|
2043
|
-
}
|
|
1978
|
+
getPapersToReviewForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper_List>;
|
|
2044
1979
|
/**
|
|
2045
1980
|
* Get the project paper with the succeeding local ID (`local_id`) of the project paper
|
|
2046
1981
|
* identified by the provided global ID (`id`). It is **guaranteed** that the
|
|
@@ -2059,10 +1994,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2059
1994
|
*
|
|
2060
1995
|
* @generated from protobuf rpc: GetNextPaper
|
|
2061
1996
|
*/
|
|
2062
|
-
getNextPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper
|
|
2063
|
-
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
2064
|
-
return stackIntercept<Id, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2065
|
-
}
|
|
1997
|
+
getNextPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper>;
|
|
2066
1998
|
/**
|
|
2067
1999
|
* Get the next project paper that the calling user can review. Papers with
|
|
2068
2000
|
* lower local IDs are preferred. It is **guaranteed** that the returned paper
|
|
@@ -2081,10 +2013,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2081
2013
|
*
|
|
2082
2014
|
* @generated from protobuf rpc: GetNextPaperToReview
|
|
2083
2015
|
*/
|
|
2084
|
-
getNextPaperToReview(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper
|
|
2085
|
-
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
2086
|
-
return stackIntercept<Id, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2087
|
-
}
|
|
2016
|
+
getNextPaperToReview(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper>;
|
|
2088
2017
|
/**
|
|
2089
2018
|
* Get the project paper with the previous local ID (`local_id`) of the project paper
|
|
2090
2019
|
* identified by the provided global ID (`id`). It is **guaranteed** that the
|
|
@@ -2103,10 +2032,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2103
2032
|
*
|
|
2104
2033
|
* @generated from protobuf rpc: GetPreviousPaper
|
|
2105
2034
|
*/
|
|
2106
|
-
getPreviousPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper
|
|
2107
|
-
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
2108
|
-
return stackIntercept<Id, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2109
|
-
}
|
|
2035
|
+
getPreviousPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper>;
|
|
2110
2036
|
/**
|
|
2111
2037
|
* Get the list of papers on the reading list of the calling user.
|
|
2112
2038
|
*
|
|
@@ -2119,10 +2045,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2119
2045
|
*
|
|
2120
2046
|
* @generated from protobuf rpc: GetReadingList
|
|
2121
2047
|
*/
|
|
2122
|
-
getReadingList(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Paper_List
|
|
2123
|
-
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
2124
|
-
return stackIntercept<Nothing, Paper_List>("unary", this._transport, method, opt, input);
|
|
2125
|
-
}
|
|
2048
|
+
getReadingList(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Paper_List>;
|
|
2126
2049
|
/**
|
|
2127
2050
|
* Return whether the paper with the provided ID is on the calling
|
|
2128
2051
|
* user's reading list.
|
|
@@ -2138,10 +2061,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2138
2061
|
*
|
|
2139
2062
|
* @generated from protobuf rpc: IsPaperOnReadingList
|
|
2140
2063
|
*/
|
|
2141
|
-
isPaperOnReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, BoolValue
|
|
2142
|
-
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
2143
|
-
return stackIntercept<Id, BoolValue>("unary", this._transport, method, opt, input);
|
|
2144
|
-
}
|
|
2064
|
+
isPaperOnReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, BoolValue>;
|
|
2145
2065
|
/**
|
|
2146
2066
|
* Add the paper with the provided ID to the calling user's reading list. If
|
|
2147
2067
|
* the paper is already on the reading list, nothing will be changed
|
|
@@ -2158,10 +2078,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2158
2078
|
*
|
|
2159
2079
|
* @generated from protobuf rpc: AddPaperToReadingList
|
|
2160
2080
|
*/
|
|
2161
|
-
addPaperToReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2162
|
-
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
2163
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2164
|
-
}
|
|
2081
|
+
addPaperToReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2165
2082
|
/**
|
|
2166
2083
|
* Remove the paper with the provided ID from the calling user's reading
|
|
2167
2084
|
* list.
|
|
@@ -2177,10 +2094,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2177
2094
|
*
|
|
2178
2095
|
* @generated from protobuf rpc: RemovePaperFromReadingList
|
|
2179
2096
|
*/
|
|
2180
|
-
removePaperFromReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2181
|
-
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
2182
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2183
|
-
}
|
|
2097
|
+
removePaperFromReadingList(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2184
2098
|
/**
|
|
2185
2099
|
* Get a list of users that match the search query and can be invited.
|
|
2186
2100
|
* If the query is too short or no users match, an empty list is returned.
|
|
@@ -2198,10 +2112,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2198
2112
|
*
|
|
2199
2113
|
* @generated from protobuf rpc: GetInviteCandidates
|
|
2200
2114
|
*/
|
|
2201
|
-
getInviteCandidates(input: Project_InviteCandidatesRequest, options?: RpcOptions): UnaryCall<Project_InviteCandidatesRequest, User_List
|
|
2202
|
-
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
2203
|
-
return stackIntercept<Project_InviteCandidatesRequest, User_List>("unary", this._transport, method, opt, input);
|
|
2204
|
-
}
|
|
2115
|
+
getInviteCandidates(input: Project_InviteCandidatesRequest, options?: RpcOptions): UnaryCall<Project_InviteCandidatesRequest, User_List>;
|
|
2205
2116
|
/**
|
|
2206
2117
|
* Invite a user to a project. If the user is already a project member or invitee, nothing happens.
|
|
2207
2118
|
* The provided project must be active, meaning it is neither deleted nor archived.
|
|
@@ -2223,10 +2134,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2223
2134
|
*
|
|
2224
2135
|
* @generated from protobuf rpc: InviteUserToProject
|
|
2225
2136
|
*/
|
|
2226
|
-
inviteUserToProject(input: Project_Member_Invite, options?: RpcOptions): UnaryCall<Project_Member_Invite, Nothing
|
|
2227
|
-
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
2228
|
-
return stackIntercept<Project_Member_Invite, Nothing>("unary", this._transport, method, opt, input);
|
|
2229
|
-
}
|
|
2137
|
+
inviteUserToProject(input: Project_Member_Invite, options?: RpcOptions): UnaryCall<Project_Member_Invite, Nothing>;
|
|
2230
2138
|
/**
|
|
2231
2139
|
* Accept a project invitation. After inviting a user to a project, the invited user
|
|
2232
2140
|
* receives an email containing the link to accept the invitation. This call is used to
|
|
@@ -2241,10 +2149,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2241
2149
|
*
|
|
2242
2150
|
* @generated from protobuf rpc: AcceptProjectInvitation
|
|
2243
2151
|
*/
|
|
2244
|
-
acceptProjectInvitation(input: Project_Member_Accept, options?: RpcOptions): UnaryCall<Project_Member_Accept, Nothing
|
|
2245
|
-
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
2246
|
-
return stackIntercept<Project_Member_Accept, Nothing>("unary", this._transport, method, opt, input);
|
|
2247
|
-
}
|
|
2152
|
+
acceptProjectInvitation(input: Project_Member_Accept, options?: RpcOptions): UnaryCall<Project_Member_Accept, Nothing>;
|
|
2248
2153
|
/**
|
|
2249
2154
|
* Get a list of all users with a pending invitation to the specified project.
|
|
2250
2155
|
* If the `id` field of the returned user is specified, it is **guaranteed** that the user exists.
|
|
@@ -2262,10 +2167,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2262
2167
|
*
|
|
2263
2168
|
* @generated from protobuf rpc: GetPendingInvitationsForProject
|
|
2264
2169
|
*/
|
|
2265
|
-
getPendingInvitationsForProject(input: Id, options?: RpcOptions): UnaryCall<Id, User_List
|
|
2266
|
-
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
2267
|
-
return stackIntercept<Id, User_List>("unary", this._transport, method, opt, input);
|
|
2268
|
-
}
|
|
2170
|
+
getPendingInvitationsForProject(input: Id, options?: RpcOptions): UnaryCall<Id, User_List>;
|
|
2269
2171
|
/**
|
|
2270
2172
|
* Get a list of all members of the specified project. The calling user is
|
|
2271
2173
|
* included. Pending invitations are excluded.
|
|
@@ -2282,10 +2184,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2282
2184
|
*
|
|
2283
2185
|
* @generated from protobuf rpc: GetProjectMembers
|
|
2284
2186
|
*/
|
|
2285
|
-
getProjectMembers(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Member_List
|
|
2286
|
-
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
2287
|
-
return stackIntercept<Id, Project_Member_List>("unary", this._transport, method, opt, input);
|
|
2288
|
-
}
|
|
2187
|
+
getProjectMembers(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Member_List>;
|
|
2289
2188
|
/**
|
|
2290
2189
|
* Remove the specified user or invitee from the specified project. If the user is not part
|
|
2291
2190
|
* of the project, nothing happens. The calling user is **required to be a
|
|
@@ -2304,10 +2203,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2304
2203
|
*
|
|
2305
2204
|
* @generated from protobuf rpc: RemoveProjectMember
|
|
2306
2205
|
*/
|
|
2307
|
-
removeProjectMember(input: Project_Member_Remove, options?: RpcOptions): UnaryCall<Project_Member_Remove, Nothing
|
|
2308
|
-
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
2309
|
-
return stackIntercept<Project_Member_Remove, Nothing>("unary", this._transport, method, opt, input);
|
|
2310
|
-
}
|
|
2206
|
+
removeProjectMember(input: Project_Member_Remove, options?: RpcOptions): UnaryCall<Project_Member_Remove, Nothing>;
|
|
2311
2207
|
/**
|
|
2312
2208
|
* Change the role of the user with the provided ID within the specified project.
|
|
2313
2209
|
* The new role **must be specified**.
|
|
@@ -2326,10 +2222,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2326
2222
|
*
|
|
2327
2223
|
* @generated from protobuf rpc: UpdateProjectMemberRole
|
|
2328
2224
|
*/
|
|
2329
|
-
updateProjectMemberRole(input: Project_Member_Update, options?: RpcOptions): UnaryCall<Project_Member_Update, Nothing
|
|
2330
|
-
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
2331
|
-
return stackIntercept<Project_Member_Update, Nothing>("unary", this._transport, method, opt, input);
|
|
2332
|
-
}
|
|
2225
|
+
updateProjectMemberRole(input: Project_Member_Update, options?: RpcOptions): UnaryCall<Project_Member_Update, Nothing>;
|
|
2333
2226
|
/**
|
|
2334
2227
|
* Get a list of all active projects.
|
|
2335
2228
|
*
|
|
@@ -2343,10 +2236,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2343
2236
|
*
|
|
2344
2237
|
* @generated from protobuf rpc: GetAllProjects
|
|
2345
2238
|
*/
|
|
2346
|
-
getAllProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List
|
|
2347
|
-
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
2348
|
-
return stackIntercept<Nothing, Project_List>("unary", this._transport, method, opt, input);
|
|
2349
|
-
}
|
|
2239
|
+
getAllProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List>;
|
|
2350
2240
|
/**
|
|
2351
2241
|
* Get a list of all projects that are marked as deleted.
|
|
2352
2242
|
*
|
|
@@ -2360,10 +2250,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2360
2250
|
*
|
|
2361
2251
|
* @generated from protobuf rpc: GetAllDeletedProjects
|
|
2362
2252
|
*/
|
|
2363
|
-
getAllDeletedProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List
|
|
2364
|
-
const method = this.methods[36], opt = this._transport.mergeOptions(options);
|
|
2365
|
-
return stackIntercept<Nothing, Project_List>("unary", this._transport, method, opt, input);
|
|
2366
|
-
}
|
|
2253
|
+
getAllDeletedProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List>;
|
|
2367
2254
|
/**
|
|
2368
2255
|
* Get a list of all projects the specified user is a member of and that are
|
|
2369
2256
|
* marked as deleted.
|
|
@@ -2380,10 +2267,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2380
2267
|
*
|
|
2381
2268
|
* @generated from protobuf rpc: GetAllDeletedProjectsForUser
|
|
2382
2269
|
*/
|
|
2383
|
-
getAllDeletedProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List
|
|
2384
|
-
const method = this.methods[37], opt = this._transport.mergeOptions(options);
|
|
2385
|
-
return stackIntercept<Id, Project_List>("unary", this._transport, method, opt, input);
|
|
2386
|
-
}
|
|
2270
|
+
getAllDeletedProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List>;
|
|
2387
2271
|
/**
|
|
2388
2272
|
* Get a list of all projects that are marked as archived.
|
|
2389
2273
|
*
|
|
@@ -2397,10 +2281,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2397
2281
|
*
|
|
2398
2282
|
* @generated from protobuf rpc: GetAllArchivedProjects
|
|
2399
2283
|
*/
|
|
2400
|
-
getAllArchivedProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List
|
|
2401
|
-
const method = this.methods[38], opt = this._transport.mergeOptions(options);
|
|
2402
|
-
return stackIntercept<Nothing, Project_List>("unary", this._transport, method, opt, input);
|
|
2403
|
-
}
|
|
2284
|
+
getAllArchivedProjects(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, Project_List>;
|
|
2404
2285
|
/**
|
|
2405
2286
|
* Get a list of all active projects the specified user is a member of.
|
|
2406
2287
|
* Projects that the user is invited to are excluded.
|
|
@@ -2417,10 +2298,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2417
2298
|
*
|
|
2418
2299
|
* @generated from protobuf rpc: GetAllProjectsForUser
|
|
2419
2300
|
*/
|
|
2420
|
-
getAllProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List
|
|
2421
|
-
const method = this.methods[39], opt = this._transport.mergeOptions(options);
|
|
2422
|
-
return stackIntercept<Id, Project_List>("unary", this._transport, method, opt, input);
|
|
2423
|
-
}
|
|
2301
|
+
getAllProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List>;
|
|
2424
2302
|
/**
|
|
2425
2303
|
* Get a list of all projects the specified user is a member of and that are
|
|
2426
2304
|
* marked as archived.
|
|
@@ -2437,10 +2315,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2437
2315
|
*
|
|
2438
2316
|
* @generated from protobuf rpc: GetAllArchivedProjectsForUser
|
|
2439
2317
|
*/
|
|
2440
|
-
getAllArchivedProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List
|
|
2441
|
-
const method = this.methods[40], opt = this._transport.mergeOptions(options);
|
|
2442
|
-
return stackIntercept<Id, Project_List>("unary", this._transport, method, opt, input);
|
|
2443
|
-
}
|
|
2318
|
+
getAllArchivedProjectsForUser(input: Id, options?: RpcOptions): UnaryCall<Id, Project_List>;
|
|
2444
2319
|
/**
|
|
2445
2320
|
* Create a new project. All fields **must be specified** and **non-blank**.
|
|
2446
2321
|
* The calling user is automatically a member of that project with the
|
|
@@ -2460,10 +2335,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2460
2335
|
*
|
|
2461
2336
|
* @generated from protobuf rpc: CreateProject
|
|
2462
2337
|
*/
|
|
2463
|
-
createProject(input: Project_Create, options?: RpcOptions): UnaryCall<Project_Create, Project
|
|
2464
|
-
const method = this.methods[41], opt = this._transport.mergeOptions(options);
|
|
2465
|
-
return stackIntercept<Project_Create, Project>("unary", this._transport, method, opt, input);
|
|
2466
|
-
}
|
|
2338
|
+
createProject(input: Project_Create, options?: RpcOptions): UnaryCall<Project_Create, Project>;
|
|
2467
2339
|
/**
|
|
2468
2340
|
* Get a project by its ID.
|
|
2469
2341
|
*
|
|
@@ -2479,10 +2351,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2479
2351
|
*
|
|
2480
2352
|
* @generated from protobuf rpc: GetProjectById
|
|
2481
2353
|
*/
|
|
2482
|
-
getProjectById(input: Id, options?: RpcOptions): UnaryCall<Id, Project
|
|
2483
|
-
const method = this.methods[42], opt = this._transport.mergeOptions(options);
|
|
2484
|
-
return stackIntercept<Id, Project>("unary", this._transport, method, opt, input);
|
|
2485
|
-
}
|
|
2354
|
+
getProjectById(input: Id, options?: RpcOptions): UnaryCall<Id, Project>;
|
|
2486
2355
|
/**
|
|
2487
2356
|
* Update all attributes specified in the field mask for the project with the provided ID,
|
|
2488
2357
|
* except the fields `current_stage` and `max_stage`. The updated project
|
|
@@ -2513,10 +2382,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2513
2382
|
*
|
|
2514
2383
|
* @generated from protobuf rpc: UpdateProject
|
|
2515
2384
|
*/
|
|
2516
|
-
updateProject(input: Project_Update, options?: RpcOptions): UnaryCall<Project_Update, Project
|
|
2517
|
-
const method = this.methods[43], opt = this._transport.mergeOptions(options);
|
|
2518
|
-
return stackIntercept<Project_Update, Project>("unary", this._transport, method, opt, input);
|
|
2519
|
-
}
|
|
2385
|
+
updateProject(input: Project_Update, options?: RpcOptions): UnaryCall<Project_Update, Project>;
|
|
2520
2386
|
/**
|
|
2521
2387
|
* Get all available export formats that the backend supports.
|
|
2522
2388
|
* Each export format is identified by a unique string and can be used to specify the format
|
|
@@ -2525,10 +2391,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2525
2391
|
*
|
|
2526
2392
|
* @generated from protobuf rpc: GetAvailableExportFormats
|
|
2527
2393
|
*/
|
|
2528
|
-
getAvailableExportFormats(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AvailableExportFormatsResponse
|
|
2529
|
-
const method = this.methods[44], opt = this._transport.mergeOptions(options);
|
|
2530
|
-
return stackIntercept<Nothing, AvailableExportFormatsResponse>("unary", this._transport, method, opt, input);
|
|
2531
|
-
}
|
|
2394
|
+
getAvailableExportFormats(input: Nothing, options?: RpcOptions): UnaryCall<Nothing, AvailableExportFormatsResponse>;
|
|
2532
2395
|
/**
|
|
2533
2396
|
* Export the specified project in the specified format. A blob and a file name is returned.
|
|
2534
2397
|
* This includes everything necessary for the project to be reimported and remain indistinguishable from the original.
|
|
@@ -2548,10 +2411,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2548
2411
|
*
|
|
2549
2412
|
* @generated from protobuf rpc: ExportProject
|
|
2550
2413
|
*/
|
|
2551
|
-
exportProject(input: ExportRequest, options?: RpcOptions): UnaryCall<ExportRequest, ExportResponse
|
|
2552
|
-
const method = this.methods[45], opt = this._transport.mergeOptions(options);
|
|
2553
|
-
return stackIntercept<ExportRequest, ExportResponse>("unary", this._transport, method, opt, input);
|
|
2554
|
-
}
|
|
2414
|
+
exportProject(input: ExportRequest, options?: RpcOptions): UnaryCall<ExportRequest, ExportResponse>;
|
|
2555
2415
|
/**
|
|
2556
2416
|
* Mark the specified project as deleted. It is not permanently removed from the database and can be restored later.
|
|
2557
2417
|
* The calling user is **required to be a project admin**.
|
|
@@ -2568,10 +2428,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2568
2428
|
*
|
|
2569
2429
|
* @generated from protobuf rpc: SoftDeleteProject
|
|
2570
2430
|
*/
|
|
2571
|
-
softDeleteProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2572
|
-
const method = this.methods[46], opt = this._transport.mergeOptions(options);
|
|
2573
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2574
|
-
}
|
|
2431
|
+
softDeleteProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2575
2432
|
/**
|
|
2576
2433
|
* Restore a previously deleted project to the **active** state.
|
|
2577
2434
|
* The calling user is **required to be a project admin**.
|
|
@@ -2589,10 +2446,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2589
2446
|
*
|
|
2590
2447
|
* @generated from protobuf rpc: SoftUndeleteProject
|
|
2591
2448
|
*/
|
|
2592
|
-
softUndeleteProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2593
|
-
const method = this.methods[47], opt = this._transport.mergeOptions(options);
|
|
2594
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2595
|
-
}
|
|
2449
|
+
softUndeleteProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2596
2450
|
/**
|
|
2597
2451
|
* Get information about the specified project.
|
|
2598
2452
|
* The response only includes attributes specified in the field mask or all attributes when the field mask is not
|
|
@@ -2610,10 +2464,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2610
2464
|
*
|
|
2611
2465
|
* @generated from protobuf rpc: GetProjectInformation
|
|
2612
2466
|
*/
|
|
2613
|
-
getProjectInformation(input: Project_Information_Get, options?: RpcOptions): UnaryCall<Project_Information_Get, Project_Information
|
|
2614
|
-
const method = this.methods[48], opt = this._transport.mergeOptions(options);
|
|
2615
|
-
return stackIntercept<Project_Information_Get, Project_Information>("unary", this._transport, method, opt, input);
|
|
2616
|
-
}
|
|
2467
|
+
getProjectInformation(input: Project_Information_Get, options?: RpcOptions): UnaryCall<Project_Information_Get, Project_Information>;
|
|
2617
2468
|
/**
|
|
2618
2469
|
* Get the distribution of paper decisions within a project's stage, meaning
|
|
2619
2470
|
* it returns the number of papers for each possible `PaperDecision` in the
|
|
@@ -2631,10 +2482,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2631
2482
|
*
|
|
2632
2483
|
* @generated from protobuf rpc: GetDecisionStatisticsForStage
|
|
2633
2484
|
*/
|
|
2634
|
-
getDecisionStatisticsForStage(input: Project_Information_DecisionStatistics_Get, options?: RpcOptions): UnaryCall<Project_Information_DecisionStatistics_Get, Project_Information_DecisionStatistics
|
|
2635
|
-
const method = this.methods[49], opt = this._transport.mergeOptions(options);
|
|
2636
|
-
return stackIntercept<Project_Information_DecisionStatistics_Get, Project_Information_DecisionStatistics>("unary", this._transport, method, opt, input);
|
|
2637
|
-
}
|
|
2485
|
+
getDecisionStatisticsForStage(input: Project_Information_DecisionStatistics_Get, options?: RpcOptions): UnaryCall<Project_Information_DecisionStatistics_Get, Project_Information_DecisionStatistics>;
|
|
2638
2486
|
/**
|
|
2639
2487
|
* Get a criterion by its ID.
|
|
2640
2488
|
*
|
|
@@ -2650,10 +2498,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2650
2498
|
*
|
|
2651
2499
|
* @generated from protobuf rpc: GetCriterionById
|
|
2652
2500
|
*/
|
|
2653
|
-
getCriterionById(input: Id, options?: RpcOptions): UnaryCall<Id, Criterion
|
|
2654
|
-
const method = this.methods[50], opt = this._transport.mergeOptions(options);
|
|
2655
|
-
return stackIntercept<Id, Criterion>("unary", this._transport, method, opt, input);
|
|
2656
|
-
}
|
|
2501
|
+
getCriterionById(input: Id, options?: RpcOptions): UnaryCall<Id, Criterion>;
|
|
2657
2502
|
/**
|
|
2658
2503
|
* Get all criteria associated with a given project.
|
|
2659
2504
|
*
|
|
@@ -2669,10 +2514,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2669
2514
|
*
|
|
2670
2515
|
* @generated from protobuf rpc: GetAllCriteriaForProject
|
|
2671
2516
|
*/
|
|
2672
|
-
getAllCriteriaForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Criterion_List
|
|
2673
|
-
const method = this.methods[51], opt = this._transport.mergeOptions(options);
|
|
2674
|
-
return stackIntercept<Id, Criterion_List>("unary", this._transport, method, opt, input);
|
|
2675
|
-
}
|
|
2517
|
+
getAllCriteriaForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Criterion_List>;
|
|
2676
2518
|
/**
|
|
2677
2519
|
* Create a new criterion. All fields **must be specified** and
|
|
2678
2520
|
* **non-blank**. If the criterion is successfully created, it is returned and **guaranteed to be specified**.
|
|
@@ -2694,10 +2536,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2694
2536
|
*
|
|
2695
2537
|
* @generated from protobuf rpc: CreateCriterion
|
|
2696
2538
|
*/
|
|
2697
|
-
createCriterion(input: Criterion_Create, options?: RpcOptions): UnaryCall<Criterion_Create, Criterion
|
|
2698
|
-
const method = this.methods[52], opt = this._transport.mergeOptions(options);
|
|
2699
|
-
return stackIntercept<Criterion_Create, Criterion>("unary", this._transport, method, opt, input);
|
|
2700
|
-
}
|
|
2539
|
+
createCriterion(input: Criterion_Create, options?: RpcOptions): UnaryCall<Criterion_Create, Criterion>;
|
|
2701
2540
|
/**
|
|
2702
2541
|
* Update all attributes specified in the field mask for the criterion with the given ID.
|
|
2703
2542
|
* The updated criterion is returned and **guaranteed to be specified**.
|
|
@@ -2718,10 +2557,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2718
2557
|
*
|
|
2719
2558
|
* @generated from protobuf rpc: UpdateCriterion
|
|
2720
2559
|
*/
|
|
2721
|
-
updateCriterion(input: Criterion_Update, options?: RpcOptions): UnaryCall<Criterion_Update, Criterion
|
|
2722
|
-
const method = this.methods[53], opt = this._transport.mergeOptions(options);
|
|
2723
|
-
return stackIntercept<Criterion_Update, Criterion>("unary", this._transport, method, opt, input);
|
|
2724
|
-
}
|
|
2560
|
+
updateCriterion(input: Criterion_Update, options?: RpcOptions): UnaryCall<Criterion_Update, Criterion>;
|
|
2725
2561
|
/**
|
|
2726
2562
|
* Permanently delete the specified criterion. All references to it will also
|
|
2727
2563
|
* be removed. **This cannot be undone**.
|
|
@@ -2741,10 +2577,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2741
2577
|
*
|
|
2742
2578
|
* @generated from protobuf rpc: DeleteCriterion
|
|
2743
2579
|
*/
|
|
2744
|
-
deleteCriterion(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2745
|
-
const method = this.methods[54], opt = this._transport.mergeOptions(options);
|
|
2746
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2747
|
-
}
|
|
2580
|
+
deleteCriterion(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2748
2581
|
/**
|
|
2749
2582
|
* Get a project paper by its ID.
|
|
2750
2583
|
*
|
|
@@ -2760,10 +2593,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2760
2593
|
*
|
|
2761
2594
|
* @generated from protobuf rpc: GetProjectPaperById
|
|
2762
2595
|
*/
|
|
2763
|
-
getProjectPaperById(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper
|
|
2764
|
-
const method = this.methods[55], opt = this._transport.mergeOptions(options);
|
|
2765
|
-
return stackIntercept<Id, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2766
|
-
}
|
|
2596
|
+
getProjectPaperById(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper>;
|
|
2767
2597
|
/**
|
|
2768
2598
|
* Get a project paper using the project ID and the relative ID (`local_id`) within that
|
|
2769
2599
|
* project. The relative ID is only **unique within its project**, not globally.
|
|
@@ -2781,10 +2611,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2781
2611
|
*
|
|
2782
2612
|
* @generated from protobuf rpc: GetProjectPaperByRelativeId
|
|
2783
2613
|
*/
|
|
2784
|
-
getProjectPaperByRelativeId(input: Project_Paper_Get, options?: RpcOptions): UnaryCall<Project_Paper_Get, Project_Paper
|
|
2785
|
-
const method = this.methods[56], opt = this._transport.mergeOptions(options);
|
|
2786
|
-
return stackIntercept<Project_Paper_Get, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2787
|
-
}
|
|
2614
|
+
getProjectPaperByRelativeId(input: Project_Paper_Get, options?: RpcOptions): UnaryCall<Project_Paper_Get, Project_Paper>;
|
|
2788
2615
|
/**
|
|
2789
2616
|
* Get all project papers associated with the given project.
|
|
2790
2617
|
*
|
|
@@ -2800,10 +2627,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2800
2627
|
*
|
|
2801
2628
|
* @generated from protobuf rpc: GetAllProjectPapersForProject
|
|
2802
2629
|
*/
|
|
2803
|
-
getAllProjectPapersForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper_List
|
|
2804
|
-
const method = this.methods[57], opt = this._transport.mergeOptions(options);
|
|
2805
|
-
return stackIntercept<Id, Project_Paper_List>("unary", this._transport, method, opt, input);
|
|
2806
|
-
}
|
|
2630
|
+
getAllProjectPapersForProject(input: Id, options?: RpcOptions): UnaryCall<Id, Project_Paper_List>;
|
|
2807
2631
|
/**
|
|
2808
2632
|
* Add the provided paper to the given project at the specified stage.
|
|
2809
2633
|
* The stage must be non-negative and less than or equal to the project's `max_stage`.
|
|
@@ -2823,10 +2647,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2823
2647
|
*
|
|
2824
2648
|
* @generated from protobuf rpc: AddPaperToProject
|
|
2825
2649
|
*/
|
|
2826
|
-
addPaperToProject(input: Project_Paper_Add, options?: RpcOptions): UnaryCall<Project_Paper_Add, Project_Paper
|
|
2827
|
-
const method = this.methods[58], opt = this._transport.mergeOptions(options);
|
|
2828
|
-
return stackIntercept<Project_Paper_Add, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2829
|
-
}
|
|
2650
|
+
addPaperToProject(input: Project_Paper_Add, options?: RpcOptions): UnaryCall<Project_Paper_Add, Project_Paper>;
|
|
2830
2651
|
/**
|
|
2831
2652
|
* Update all attributes specified in the field mask for the project paper with the provided ID,
|
|
2832
2653
|
* except the fields `local_id`, `decision`, `stage`, and `reviews`. Furthermore, the underlying paper
|
|
@@ -2846,10 +2667,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2846
2667
|
*
|
|
2847
2668
|
* @generated from protobuf rpc: UpdateProjectPaper
|
|
2848
2669
|
*/
|
|
2849
|
-
updateProjectPaper(input: Project_Paper_Update, options?: RpcOptions): UnaryCall<Project_Paper_Update, Project_Paper
|
|
2850
|
-
const method = this.methods[59], opt = this._transport.mergeOptions(options);
|
|
2851
|
-
return stackIntercept<Project_Paper_Update, Project_Paper>("unary", this._transport, method, opt, input);
|
|
2852
|
-
}
|
|
2670
|
+
updateProjectPaper(input: Project_Paper_Update, options?: RpcOptions): UnaryCall<Project_Paper_Update, Project_Paper>;
|
|
2853
2671
|
/**
|
|
2854
2672
|
* Permanently remove the specified project paper from the project. All
|
|
2855
2673
|
* references to this project paper will also be deleted. **This cannot be
|
|
@@ -2868,10 +2686,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2868
2686
|
*
|
|
2869
2687
|
* @generated from protobuf rpc: RemovePaperFromProject
|
|
2870
2688
|
*/
|
|
2871
|
-
removePaperFromProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2872
|
-
const method = this.methods[60], opt = this._transport.mergeOptions(options);
|
|
2873
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2874
|
-
}
|
|
2689
|
+
removePaperFromProject(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2875
2690
|
/**
|
|
2876
2691
|
* Get a review by its ID.
|
|
2877
2692
|
*
|
|
@@ -2887,10 +2702,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2887
2702
|
*
|
|
2888
2703
|
* @generated from protobuf rpc: GetReviewById
|
|
2889
2704
|
*/
|
|
2890
|
-
getReviewById(input: Id, options?: RpcOptions): UnaryCall<Id, Review
|
|
2891
|
-
const method = this.methods[61], opt = this._transport.mergeOptions(options);
|
|
2892
|
-
return stackIntercept<Id, Review>("unary", this._transport, method, opt, input);
|
|
2893
|
-
}
|
|
2705
|
+
getReviewById(input: Id, options?: RpcOptions): UnaryCall<Id, Review>;
|
|
2894
2706
|
/**
|
|
2895
2707
|
* Get all reviews for the specific project paper.
|
|
2896
2708
|
*
|
|
@@ -2906,10 +2718,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2906
2718
|
*
|
|
2907
2719
|
* @generated from protobuf rpc: GetAllReviewsForProjectPaper
|
|
2908
2720
|
*/
|
|
2909
|
-
getAllReviewsForProjectPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Review_List
|
|
2910
|
-
const method = this.methods[62], opt = this._transport.mergeOptions(options);
|
|
2911
|
-
return stackIntercept<Id, Review_List>("unary", this._transport, method, opt, input);
|
|
2912
|
-
}
|
|
2721
|
+
getAllReviewsForProjectPaper(input: Id, options?: RpcOptions): UnaryCall<Id, Review_List>;
|
|
2913
2722
|
/**
|
|
2914
2723
|
* Create a new review for the specific project paper. All fields **must be
|
|
2915
2724
|
* specified** and **non-blank**. The field `selected_criteria_ids` **may be empty**. The
|
|
@@ -2932,10 +2741,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2932
2741
|
*
|
|
2933
2742
|
* @generated from protobuf rpc: CreateReview
|
|
2934
2743
|
*/
|
|
2935
|
-
createReview(input: Review_Create, options?: RpcOptions): UnaryCall<Review_Create, Review
|
|
2936
|
-
const method = this.methods[63], opt = this._transport.mergeOptions(options);
|
|
2937
|
-
return stackIntercept<Review_Create, Review>("unary", this._transport, method, opt, input);
|
|
2938
|
-
}
|
|
2744
|
+
createReview(input: Review_Create, options?: RpcOptions): UnaryCall<Review_Create, Review>;
|
|
2939
2745
|
/**
|
|
2940
2746
|
* Update all attributes specified in the field mask for the review with the given ID, except the `user_id` field.
|
|
2941
2747
|
* The updated review is returned and **guaranteed to be specified**. Only the
|
|
@@ -2955,10 +2761,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2955
2761
|
*
|
|
2956
2762
|
* @generated from protobuf rpc: UpdateReview
|
|
2957
2763
|
*/
|
|
2958
|
-
updateReview(input: Review_Update, options?: RpcOptions): UnaryCall<Review_Update, Review
|
|
2959
|
-
const method = this.methods[64], opt = this._transport.mergeOptions(options);
|
|
2960
|
-
return stackIntercept<Review_Update, Review>("unary", this._transport, method, opt, input);
|
|
2961
|
-
}
|
|
2764
|
+
updateReview(input: Review_Update, options?: RpcOptions): UnaryCall<Review_Update, Review>;
|
|
2962
2765
|
/**
|
|
2963
2766
|
* Permanently remove the specified review from the project paper. **This
|
|
2964
2767
|
* cannot be undone**. Only the owner of a review is allowed to delete a
|
|
@@ -2979,10 +2782,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2979
2782
|
*
|
|
2980
2783
|
* @generated from protobuf rpc: DeleteReview
|
|
2981
2784
|
*/
|
|
2982
|
-
deleteReview(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing
|
|
2983
|
-
const method = this.methods[65], opt = this._transport.mergeOptions(options);
|
|
2984
|
-
return stackIntercept<Id, Nothing>("unary", this._transport, method, opt, input);
|
|
2985
|
-
}
|
|
2785
|
+
deleteReview(input: Id, options?: RpcOptions): UnaryCall<Id, Nothing>;
|
|
2986
2786
|
/**
|
|
2987
2787
|
* Get a paper by its ID.
|
|
2988
2788
|
*
|
|
@@ -2997,10 +2797,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
2997
2797
|
*
|
|
2998
2798
|
* @generated from protobuf rpc: GetPaperById
|
|
2999
2799
|
*/
|
|
3000
|
-
getPaperById(input: Id, options?: RpcOptions): UnaryCall<Id, Paper
|
|
3001
|
-
const method = this.methods[66], opt = this._transport.mergeOptions(options);
|
|
3002
|
-
return stackIntercept<Id, Paper>("unary", this._transport, method, opt, input);
|
|
3003
|
-
}
|
|
2800
|
+
getPaperById(input: Id, options?: RpcOptions): UnaryCall<Id, Paper>;
|
|
3004
2801
|
/**
|
|
3005
2802
|
* Search the local database for papers using a search string in order to find
|
|
3006
2803
|
* candidates for addition to the specified project. The search is performed
|
|
@@ -3029,10 +2826,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3029
2826
|
*
|
|
3030
2827
|
* @generated from protobuf rpc: SearchLocalProjectPaperCandidates
|
|
3031
2828
|
*/
|
|
3032
|
-
searchLocalProjectPaperCandidates(input: Project_Paper_SearchQuery, options?: RpcOptions): UnaryCall<Project_Paper_SearchQuery, Paper_List
|
|
3033
|
-
const method = this.methods[67], opt = this._transport.mergeOptions(options);
|
|
3034
|
-
return stackIntercept<Project_Paper_SearchQuery, Paper_List>("unary", this._transport, method, opt, input);
|
|
3035
|
-
}
|
|
2829
|
+
searchLocalProjectPaperCandidates(input: Project_Paper_SearchQuery, options?: RpcOptions): UnaryCall<Project_Paper_SearchQuery, Paper_List>;
|
|
3036
2830
|
/**
|
|
3037
2831
|
* Search for papers that match the search query using all available fetchers
|
|
3038
2832
|
* of the specified project in order to find candidates for addition to the
|
|
@@ -3065,10 +2859,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3065
2859
|
*
|
|
3066
2860
|
* @generated from protobuf rpc: SearchFetcherProjectPaperCandidates
|
|
3067
2861
|
*/
|
|
3068
|
-
searchFetcherProjectPaperCandidates(input: Project_Paper_SearchQuery, options?: RpcOptions): UnaryCall<Project_Paper_SearchQuery, Paper_List
|
|
3069
|
-
const method = this.methods[68], opt = this._transport.mergeOptions(options);
|
|
3070
|
-
return stackIntercept<Project_Paper_SearchQuery, Paper_List>("unary", this._transport, method, opt, input);
|
|
3071
|
-
}
|
|
2862
|
+
searchFetcherProjectPaperCandidates(input: Project_Paper_SearchQuery, options?: RpcOptions): UnaryCall<Project_Paper_SearchQuery, Paper_List>;
|
|
3072
2863
|
/**
|
|
3073
2864
|
* Create a new paper. The `id` field will be ignored and set by
|
|
3074
2865
|
* the server. The created paper is returned and **guaranteed to be specified**.
|
|
@@ -3092,10 +2883,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3092
2883
|
*
|
|
3093
2884
|
* @generated from protobuf rpc: CreatePaper
|
|
3094
2885
|
*/
|
|
3095
|
-
createPaper(input: Paper, options?: RpcOptions): UnaryCall<Paper, Paper
|
|
3096
|
-
const method = this.methods[69], opt = this._transport.mergeOptions(options);
|
|
3097
|
-
return stackIntercept<Paper, Paper>("unary", this._transport, method, opt, input);
|
|
3098
|
-
}
|
|
2886
|
+
createPaper(input: Paper, options?: RpcOptions): UnaryCall<Paper, Paper>;
|
|
3099
2887
|
/**
|
|
3100
2888
|
* Update all attributes specified in the field mask for the paper with the given ID, except the field `has_pdf`.
|
|
3101
2889
|
* The updated paper is returned and **guaranteed to be specified**.
|
|
@@ -3114,10 +2902,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3114
2902
|
*
|
|
3115
2903
|
* @generated from protobuf rpc: UpdatePaper
|
|
3116
2904
|
*/
|
|
3117
|
-
updatePaper(input: Paper_Update, options?: RpcOptions): UnaryCall<Paper_Update, Paper
|
|
3118
|
-
const method = this.methods[70], opt = this._transport.mergeOptions(options);
|
|
3119
|
-
return stackIntercept<Paper_Update, Paper>("unary", this._transport, method, opt, input);
|
|
3120
|
-
}
|
|
2905
|
+
updatePaper(input: Paper_Update, options?: RpcOptions): UnaryCall<Paper_Update, Paper>;
|
|
3121
2906
|
/**
|
|
3122
2907
|
* Get a list of papers that are referring to the provided paper, i.e., the papers that cite this paper.
|
|
3123
2908
|
*
|
|
@@ -3132,10 +2917,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3132
2917
|
*
|
|
3133
2918
|
* @generated from protobuf rpc: GetForwardReferencedPapers
|
|
3134
2919
|
*/
|
|
3135
|
-
getForwardReferencedPapers(input: Id, options?: RpcOptions): UnaryCall<Id, Paper_List
|
|
3136
|
-
const method = this.methods[71], opt = this._transport.mergeOptions(options);
|
|
3137
|
-
return stackIntercept<Id, Paper_List>("unary", this._transport, method, opt, input);
|
|
3138
|
-
}
|
|
2920
|
+
getForwardReferencedPapers(input: Id, options?: RpcOptions): UnaryCall<Id, Paper_List>;
|
|
3139
2921
|
/**
|
|
3140
2922
|
* Get a list of papers that are referred to by the provided paper, i.e., the references of this paper.
|
|
3141
2923
|
*
|
|
@@ -3150,10 +2932,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3150
2932
|
*
|
|
3151
2933
|
* @generated from protobuf rpc: GetBackwardReferencedPapers
|
|
3152
2934
|
*/
|
|
3153
|
-
getBackwardReferencedPapers(input: Id, options?: RpcOptions): UnaryCall<Id, Paper_List
|
|
3154
|
-
const method = this.methods[72], opt = this._transport.mergeOptions(options);
|
|
3155
|
-
return stackIntercept<Id, Paper_List>("unary", this._transport, method, opt, input);
|
|
3156
|
-
}
|
|
2935
|
+
getBackwardReferencedPapers(input: Id, options?: RpcOptions): UnaryCall<Id, Paper_List>;
|
|
3157
2936
|
/**
|
|
3158
2937
|
* Get a paper's PDF as a blob.
|
|
3159
2938
|
*
|
|
@@ -3169,10 +2948,7 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3169
2948
|
*
|
|
3170
2949
|
* @generated from protobuf rpc: GetPaperPdf
|
|
3171
2950
|
*/
|
|
3172
|
-
getPaperPdf(input: Id, options?: RpcOptions): UnaryCall<Id, Blob
|
|
3173
|
-
const method = this.methods[73], opt = this._transport.mergeOptions(options);
|
|
3174
|
-
return stackIntercept<Id, Blob>("unary", this._transport, method, opt, input);
|
|
3175
|
-
}
|
|
2951
|
+
getPaperPdf(input: Id, options?: RpcOptions): UnaryCall<Id, Blob>;
|
|
3176
2952
|
/**
|
|
3177
2953
|
* Set or overwrite the PDF for the specified paper. This call may also be
|
|
3178
2954
|
* used to remove the PDF of a paper by omitting the `pdf` field.
|
|
@@ -3190,8 +2966,5 @@ export class SnowballRClient implements ISnowballRClient, ServiceInfo {
|
|
|
3190
2966
|
*
|
|
3191
2967
|
* @generated from protobuf rpc: SetPaperPdf
|
|
3192
2968
|
*/
|
|
3193
|
-
setPaperPdf(input: Paper_PdfUpdate, options?: RpcOptions): UnaryCall<Paper_PdfUpdate, Nothing
|
|
3194
|
-
const method = this.methods[74], opt = this._transport.mergeOptions(options);
|
|
3195
|
-
return stackIntercept<Paper_PdfUpdate, Nothing>("unary", this._transport, method, opt, input);
|
|
3196
|
-
}
|
|
2969
|
+
setPaperPdf(input: Paper_PdfUpdate, options?: RpcOptions): UnaryCall<Paper_PdfUpdate, Nothing>;
|
|
3197
2970
|
}
|