@fivenet-app/gen 2025.4.8 → 2025.5.3
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/README.md +7 -1
- package/clients.ts +48 -42
- package/google/protobuf/any.ts +1 -1
- package/google/protobuf/descriptor.ts +108 -50
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +1 -1
- package/package.json +3 -2
- package/perms.ts +96 -91
- package/resources/accounts/accounts.ts +39 -3
- package/resources/accounts/oauth2.ts +6 -6
- package/resources/{rector → audit}/audit.ts +22 -23
- package/resources/calendar/access.ts +4 -4
- package/resources/calendar/calendar.ts +1 -1
- package/resources/centrum/attributes.ts +6 -2
- package/resources/centrum/dispatches.ts +4 -4
- package/resources/centrum/disponents.ts +2 -2
- package/resources/centrum/settings.ts +3 -3
- package/resources/centrum/units.ts +4 -4
- package/resources/centrum/{access.ts → units_access.ts} +4 -4
- package/resources/centrum/user_unit.ts +2 -2
- package/resources/common/content/content.ts +2 -2
- package/resources/common/cron/cron.ts +53 -12
- package/resources/common/database/database.ts +1 -1
- package/resources/common/error.ts +1 -1
- package/resources/common/grpcws/grpcws.ts +1 -1
- package/resources/common/i18n.ts +1 -1
- package/resources/common/tests/objects.ts +1 -1
- package/resources/common/uuid.ts +1 -1
- package/resources/documents/access.ts +4 -4
- package/resources/documents/activity.ts +7 -7
- package/resources/documents/category.ts +49 -26
- package/resources/documents/comment.ts +1 -1
- package/resources/documents/documents.ts +1 -1
- package/resources/documents/requests.ts +1 -1
- package/resources/documents/templates.ts +5 -5
- package/resources/documents/workflow.ts +2 -2
- package/resources/filestore/file.ts +1 -1
- package/resources/internet/access.ts +4 -4
- package/resources/internet/ads.ts +1 -1
- package/resources/internet/domain.ts +1 -1
- package/resources/internet/page.ts +3 -3
- package/resources/internet/search.ts +1 -1
- package/resources/jobs/activity.ts +114 -114
- package/resources/jobs/colleagues.ts +59 -48
- package/resources/jobs/conduct.ts +52 -41
- package/resources/{users → jobs}/job_props.ts +28 -41
- package/resources/{users → jobs}/job_settings.ts +54 -54
- package/resources/{users → jobs}/jobs.ts +12 -12
- package/resources/jobs/labels.ts +29 -17
- package/resources/jobs/timeclock.ts +7 -7
- package/resources/laws/laws.ts +2 -2
- package/resources/livemap/livemap.ts +1 -1
- package/resources/livemap/tracker.ts +3 -3
- package/resources/mailer/access.ts +5 -5
- package/resources/mailer/email.ts +11 -23
- package/resources/mailer/events.ts +1 -1
- package/resources/mailer/message.ts +2 -2
- package/resources/mailer/settings.ts +1 -1
- package/resources/mailer/template.ts +1 -1
- package/resources/mailer/thread.ts +2 -2
- package/resources/notifications/events.ts +23 -11
- package/resources/notifications/notifications.ts +1 -1
- package/resources/permissions/attributes.ts +689 -0
- package/resources/permissions/permissions.ts +4 -727
- package/resources/qualifications/access.ts +2 -2
- package/resources/qualifications/exam.ts +7 -7
- package/resources/qualifications/qualifications.ts +9 -9
- package/resources/{rector → settings}/banner.ts +5 -5
- package/resources/{rector → settings}/config.ts +83 -83
- package/resources/stats/stats.ts +1 -1
- package/resources/sync/activity.ts +20 -20
- package/resources/sync/data.ts +26 -26
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/users/activity.ts +196 -196
- package/resources/users/labels.ts +28 -28
- package/resources/users/licenses.ts +12 -12
- package/resources/users/props.ts +28 -17
- package/resources/users/users.ts +2 -2
- package/resources/vehicles/vehicles.ts +4 -4
- package/resources/wiki/access.ts +4 -4
- package/resources/wiki/activity.ts +7 -7
- package/resources/wiki/page.ts +2 -2
- package/services/auth/auth.client.ts +8 -8
- package/services/auth/auth.ts +32 -32
- package/services/calendar/calendar.client.ts +1 -1
- package/services/calendar/calendar.ts +6 -6
- package/services/centrum/centrum.client.ts +1 -1
- package/services/centrum/centrum.ts +8 -8
- package/services/{citizenstore/citizenstore.client.ts → citizens/citizens.client.ts} +37 -37
- package/services/{citizenstore/citizenstore.ts → citizens/citizens.ts} +72 -72
- package/services/completor/completor.client.ts +1 -1
- package/services/completor/completor.ts +17 -17
- package/services/{docstore/docstore.client.ts → documents/documents.client.ts} +163 -180
- package/services/{docstore/docstore.ts → documents/documents.ts} +280 -377
- package/services/internet/ads.client.ts +1 -1
- package/services/internet/ads.ts +2 -2
- package/services/internet/domain.client.ts +1 -1
- package/services/internet/domain.ts +3 -3
- package/services/internet/internet.client.ts +1 -1
- package/services/internet/internet.ts +2 -2
- package/services/jobs/conduct.client.ts +9 -9
- package/services/jobs/conduct.ts +4 -4
- package/services/jobs/jobs.client.ts +15 -15
- package/services/jobs/jobs.ts +77 -77
- package/services/jobs/timeclock.client.ts +9 -9
- package/services/jobs/timeclock.ts +15 -15
- package/services/{livemapper → livemap}/livemap.client.ts +16 -16
- package/services/{livemapper → livemap}/livemap.ts +63 -52
- package/services/mailer/mailer.client.ts +5 -5
- package/services/mailer/mailer.ts +6 -6
- package/services/notificator/notificator.client.ts +1 -1
- package/services/notificator/notificator.ts +5 -5
- package/services/qualifications/qualifications.client.ts +1 -1
- package/services/qualifications/qualifications.ts +4 -4
- package/services/settings/accounts.client.ts +92 -0
- package/services/settings/accounts.ts +526 -0
- package/services/{rector → settings}/config.client.ts +18 -18
- package/services/{rector → settings}/config.ts +26 -26
- package/services/settings/cron.client.ts +41 -0
- package/services/settings/cron.ts +119 -0
- package/services/{rector → settings}/filestore.client.ts +22 -22
- package/services/{rector → settings}/filestore.ts +23 -23
- package/services/{rector → settings}/laws.client.ts +26 -26
- package/services/{rector → settings}/laws.ts +28 -28
- package/services/settings/settings.client.ts +262 -0
- package/services/{rector/rector.ts → settings/settings.ts} +558 -149
- package/services/stats/stats.client.ts +1 -1
- package/services/stats/stats.ts +1 -1
- package/services/sync/sync.client.ts +1 -1
- package/services/sync/sync.ts +33 -33
- package/services/{dmv → vehicles}/vehicles.client.ts +12 -12
- package/services/{dmv → vehicles}/vehicles.ts +11 -11
- package/services/wiki/wiki.client.ts +1 -1
- package/services/wiki/wiki.ts +3 -3
- package/svcs.ts +247 -235
- package/services/rector/rector.client.ts +0 -211
|
@@ -1,326 +1,318 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
2
|
-
// @generated from protobuf file "services/
|
|
1
|
+
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
+
// @generated from protobuf file "services/documents/documents.proto" (package "services.documents", syntax proto3)
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
5
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import {
|
|
7
|
-
import type { SetDocumentReminderResponse } from "./
|
|
8
|
-
import type { SetDocumentReminderRequest } from "./
|
|
9
|
-
import type { ToggleDocumentPinResponse } from "./
|
|
10
|
-
import type { ToggleDocumentPinRequest } from "./
|
|
11
|
-
import type { ListDocumentPinsResponse } from "./
|
|
12
|
-
import type { ListDocumentPinsRequest } from "./
|
|
13
|
-
import type { DeleteCategoryResponse } from "./
|
|
14
|
-
import type { DeleteCategoryRequest } from "./
|
|
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 type {
|
|
62
|
-
import type {
|
|
63
|
-
import type {
|
|
64
|
-
import type {
|
|
65
|
-
import type {
|
|
66
|
-
import type {
|
|
67
|
-
import type {
|
|
68
|
-
import type {
|
|
69
|
-
import type {
|
|
70
|
-
import type {
|
|
71
|
-
import type {
|
|
72
|
-
import type {
|
|
73
|
-
import type {
|
|
74
|
-
import type {
|
|
75
|
-
import type {
|
|
76
|
-
import type {
|
|
77
|
-
import type { GetTemplateResponse } from "./docstore";
|
|
78
|
-
import type { GetTemplateRequest } from "./docstore";
|
|
6
|
+
import { DocumentsService } from "./documents";
|
|
7
|
+
import type { SetDocumentReminderResponse } from "./documents";
|
|
8
|
+
import type { SetDocumentReminderRequest } from "./documents";
|
|
9
|
+
import type { ToggleDocumentPinResponse } from "./documents";
|
|
10
|
+
import type { ToggleDocumentPinRequest } from "./documents";
|
|
11
|
+
import type { ListDocumentPinsResponse } from "./documents";
|
|
12
|
+
import type { ListDocumentPinsRequest } from "./documents";
|
|
13
|
+
import type { DeleteCategoryResponse } from "./documents";
|
|
14
|
+
import type { DeleteCategoryRequest } from "./documents";
|
|
15
|
+
import type { CreateOrUpdateCategoryResponse } from "./documents";
|
|
16
|
+
import type { CreateOrUpdateCategoryRequest } from "./documents";
|
|
17
|
+
import type { ListCategoriesResponse } from "./documents";
|
|
18
|
+
import type { ListCategoriesRequest } from "./documents";
|
|
19
|
+
import type { ListUserDocumentsResponse } from "./documents";
|
|
20
|
+
import type { ListUserDocumentsRequest } from "./documents";
|
|
21
|
+
import type { DeleteDocumentReqResponse } from "./documents";
|
|
22
|
+
import type { DeleteDocumentReqRequest } from "./documents";
|
|
23
|
+
import type { UpdateDocumentReqResponse } from "./documents";
|
|
24
|
+
import type { UpdateDocumentReqRequest } from "./documents";
|
|
25
|
+
import type { CreateDocumentReqResponse } from "./documents";
|
|
26
|
+
import type { CreateDocumentReqRequest } from "./documents";
|
|
27
|
+
import type { ListDocumentReqsResponse } from "./documents";
|
|
28
|
+
import type { ListDocumentReqsRequest } from "./documents";
|
|
29
|
+
import type { ListDocumentActivityResponse } from "./documents";
|
|
30
|
+
import type { ListDocumentActivityRequest } from "./documents";
|
|
31
|
+
import type { SetDocumentAccessResponse } from "./documents";
|
|
32
|
+
import type { SetDocumentAccessRequest } from "./documents";
|
|
33
|
+
import type { GetDocumentAccessResponse } from "./documents";
|
|
34
|
+
import type { GetDocumentAccessRequest } from "./documents";
|
|
35
|
+
import type { DeleteCommentResponse } from "./documents";
|
|
36
|
+
import type { DeleteCommentRequest } from "./documents";
|
|
37
|
+
import type { EditCommentResponse } from "./documents";
|
|
38
|
+
import type { EditCommentRequest } from "./documents";
|
|
39
|
+
import type { PostCommentResponse } from "./documents";
|
|
40
|
+
import type { PostCommentRequest } from "./documents";
|
|
41
|
+
import type { GetCommentsResponse } from "./documents";
|
|
42
|
+
import type { GetCommentsRequest } from "./documents";
|
|
43
|
+
import type { RemoveDocumentRelationResponse } from "./documents";
|
|
44
|
+
import type { RemoveDocumentRelationRequest } from "./documents";
|
|
45
|
+
import type { AddDocumentRelationResponse } from "./documents";
|
|
46
|
+
import type { AddDocumentRelationRequest } from "./documents";
|
|
47
|
+
import type { RemoveDocumentReferenceResponse } from "./documents";
|
|
48
|
+
import type { RemoveDocumentReferenceRequest } from "./documents";
|
|
49
|
+
import type { AddDocumentReferenceResponse } from "./documents";
|
|
50
|
+
import type { AddDocumentReferenceRequest } from "./documents";
|
|
51
|
+
import type { GetDocumentRelationsResponse } from "./documents";
|
|
52
|
+
import type { GetDocumentRelationsRequest } from "./documents";
|
|
53
|
+
import type { GetDocumentReferencesResponse } from "./documents";
|
|
54
|
+
import type { GetDocumentReferencesRequest } from "./documents";
|
|
55
|
+
import type { ChangeDocumentOwnerResponse } from "./documents";
|
|
56
|
+
import type { ChangeDocumentOwnerRequest } from "./documents";
|
|
57
|
+
import type { ToggleDocumentResponse } from "./documents";
|
|
58
|
+
import type { ToggleDocumentRequest } from "./documents";
|
|
59
|
+
import type { DeleteDocumentResponse } from "./documents";
|
|
60
|
+
import type { DeleteDocumentRequest } from "./documents";
|
|
61
|
+
import type { UpdateDocumentResponse } from "./documents";
|
|
62
|
+
import type { UpdateDocumentRequest } from "./documents";
|
|
63
|
+
import type { CreateDocumentResponse } from "./documents";
|
|
64
|
+
import type { CreateDocumentRequest } from "./documents";
|
|
65
|
+
import type { GetDocumentResponse } from "./documents";
|
|
66
|
+
import type { GetDocumentRequest } from "./documents";
|
|
67
|
+
import type { ListDocumentsResponse } from "./documents";
|
|
68
|
+
import type { ListDocumentsRequest } from "./documents";
|
|
69
|
+
import type { DeleteTemplateResponse } from "./documents";
|
|
70
|
+
import type { DeleteTemplateRequest } from "./documents";
|
|
71
|
+
import type { UpdateTemplateResponse } from "./documents";
|
|
72
|
+
import type { UpdateTemplateRequest } from "./documents";
|
|
73
|
+
import type { CreateTemplateResponse } from "./documents";
|
|
74
|
+
import type { CreateTemplateRequest } from "./documents";
|
|
75
|
+
import type { GetTemplateResponse } from "./documents";
|
|
76
|
+
import type { GetTemplateRequest } from "./documents";
|
|
79
77
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
80
|
-
import type { ListTemplatesResponse } from "./
|
|
81
|
-
import type { ListTemplatesRequest } from "./
|
|
78
|
+
import type { ListTemplatesResponse } from "./documents";
|
|
79
|
+
import type { ListTemplatesRequest } from "./documents";
|
|
82
80
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
83
81
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
84
82
|
/**
|
|
85
|
-
* @generated from protobuf service services.
|
|
83
|
+
* @generated from protobuf service services.documents.DocumentsService
|
|
86
84
|
*/
|
|
87
|
-
export interface
|
|
85
|
+
export interface IDocumentsServiceClient {
|
|
88
86
|
/**
|
|
89
87
|
* @perm
|
|
90
88
|
*
|
|
91
|
-
* @generated from protobuf rpc: ListTemplates(services.
|
|
89
|
+
* @generated from protobuf rpc: ListTemplates(services.documents.ListTemplatesRequest) returns (services.documents.ListTemplatesResponse);
|
|
92
90
|
*/
|
|
93
91
|
listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse>;
|
|
94
92
|
/**
|
|
95
93
|
* @perm: Name=ListTemplates
|
|
96
94
|
*
|
|
97
|
-
* @generated from protobuf rpc: GetTemplate(services.
|
|
95
|
+
* @generated from protobuf rpc: GetTemplate(services.documents.GetTemplateRequest) returns (services.documents.GetTemplateResponse);
|
|
98
96
|
*/
|
|
99
97
|
getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse>;
|
|
100
98
|
/**
|
|
101
99
|
* @perm
|
|
102
100
|
*
|
|
103
|
-
* @generated from protobuf rpc: CreateTemplate(services.
|
|
101
|
+
* @generated from protobuf rpc: CreateTemplate(services.documents.CreateTemplateRequest) returns (services.documents.CreateTemplateResponse);
|
|
104
102
|
*/
|
|
105
103
|
createTemplate(input: CreateTemplateRequest, options?: RpcOptions): UnaryCall<CreateTemplateRequest, CreateTemplateResponse>;
|
|
106
104
|
/**
|
|
107
105
|
* @perm: Name=CreateTemplate
|
|
108
106
|
*
|
|
109
|
-
* @generated from protobuf rpc: UpdateTemplate(services.
|
|
107
|
+
* @generated from protobuf rpc: UpdateTemplate(services.documents.UpdateTemplateRequest) returns (services.documents.UpdateTemplateResponse);
|
|
110
108
|
*/
|
|
111
109
|
updateTemplate(input: UpdateTemplateRequest, options?: RpcOptions): UnaryCall<UpdateTemplateRequest, UpdateTemplateResponse>;
|
|
112
110
|
/**
|
|
113
111
|
* @perm
|
|
114
112
|
*
|
|
115
|
-
* @generated from protobuf rpc: DeleteTemplate(services.
|
|
113
|
+
* @generated from protobuf rpc: DeleteTemplate(services.documents.DeleteTemplateRequest) returns (services.documents.DeleteTemplateResponse);
|
|
116
114
|
*/
|
|
117
115
|
deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse>;
|
|
118
116
|
/**
|
|
119
117
|
* @perm
|
|
120
118
|
*
|
|
121
|
-
* @generated from protobuf rpc: ListDocuments(services.
|
|
119
|
+
* @generated from protobuf rpc: ListDocuments(services.documents.ListDocumentsRequest) returns (services.documents.ListDocumentsResponse);
|
|
122
120
|
*/
|
|
123
121
|
listDocuments(input: ListDocumentsRequest, options?: RpcOptions): UnaryCall<ListDocumentsRequest, ListDocumentsResponse>;
|
|
124
122
|
/**
|
|
125
123
|
* @perm: Name=ListDocuments
|
|
126
124
|
*
|
|
127
|
-
* @generated from protobuf rpc: GetDocument(services.
|
|
125
|
+
* @generated from protobuf rpc: GetDocument(services.documents.GetDocumentRequest) returns (services.documents.GetDocumentResponse);
|
|
128
126
|
*/
|
|
129
127
|
getDocument(input: GetDocumentRequest, options?: RpcOptions): UnaryCall<GetDocumentRequest, GetDocumentResponse>;
|
|
130
128
|
/**
|
|
131
129
|
* @perm
|
|
132
130
|
*
|
|
133
|
-
* @generated from protobuf rpc: CreateDocument(services.
|
|
131
|
+
* @generated from protobuf rpc: CreateDocument(services.documents.CreateDocumentRequest) returns (services.documents.CreateDocumentResponse);
|
|
134
132
|
*/
|
|
135
133
|
createDocument(input: CreateDocumentRequest, options?: RpcOptions): UnaryCall<CreateDocumentRequest, CreateDocumentResponse>;
|
|
136
134
|
/**
|
|
137
135
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
138
136
|
*
|
|
139
|
-
* @generated from protobuf rpc: UpdateDocument(services.
|
|
137
|
+
* @generated from protobuf rpc: UpdateDocument(services.documents.UpdateDocumentRequest) returns (services.documents.UpdateDocumentResponse);
|
|
140
138
|
*/
|
|
141
139
|
updateDocument(input: UpdateDocumentRequest, options?: RpcOptions): UnaryCall<UpdateDocumentRequest, UpdateDocumentResponse>;
|
|
142
140
|
/**
|
|
143
141
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
144
142
|
*
|
|
145
|
-
* @generated from protobuf rpc: DeleteDocument(services.
|
|
143
|
+
* @generated from protobuf rpc: DeleteDocument(services.documents.DeleteDocumentRequest) returns (services.documents.DeleteDocumentResponse);
|
|
146
144
|
*/
|
|
147
145
|
deleteDocument(input: DeleteDocumentRequest, options?: RpcOptions): UnaryCall<DeleteDocumentRequest, DeleteDocumentResponse>;
|
|
148
146
|
/**
|
|
149
147
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
150
148
|
*
|
|
151
|
-
* @generated from protobuf rpc: ToggleDocument(services.
|
|
149
|
+
* @generated from protobuf rpc: ToggleDocument(services.documents.ToggleDocumentRequest) returns (services.documents.ToggleDocumentResponse);
|
|
152
150
|
*/
|
|
153
151
|
toggleDocument(input: ToggleDocumentRequest, options?: RpcOptions): UnaryCall<ToggleDocumentRequest, ToggleDocumentResponse>;
|
|
154
152
|
/**
|
|
155
153
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
156
154
|
*
|
|
157
|
-
* @generated from protobuf rpc: ChangeDocumentOwner(services.
|
|
155
|
+
* @generated from protobuf rpc: ChangeDocumentOwner(services.documents.ChangeDocumentOwnerRequest) returns (services.documents.ChangeDocumentOwnerResponse);
|
|
158
156
|
*/
|
|
159
157
|
changeDocumentOwner(input: ChangeDocumentOwnerRequest, options?: RpcOptions): UnaryCall<ChangeDocumentOwnerRequest, ChangeDocumentOwnerResponse>;
|
|
160
158
|
/**
|
|
161
159
|
* @perm: Name=ListDocuments
|
|
162
160
|
*
|
|
163
|
-
* @generated from protobuf rpc: GetDocumentReferences(services.
|
|
161
|
+
* @generated from protobuf rpc: GetDocumentReferences(services.documents.GetDocumentReferencesRequest) returns (services.documents.GetDocumentReferencesResponse);
|
|
164
162
|
*/
|
|
165
163
|
getDocumentReferences(input: GetDocumentReferencesRequest, options?: RpcOptions): UnaryCall<GetDocumentReferencesRequest, GetDocumentReferencesResponse>;
|
|
166
164
|
/**
|
|
167
165
|
* @perm: Name=ListDocuments
|
|
168
166
|
*
|
|
169
|
-
* @generated from protobuf rpc: GetDocumentRelations(services.
|
|
167
|
+
* @generated from protobuf rpc: GetDocumentRelations(services.documents.GetDocumentRelationsRequest) returns (services.documents.GetDocumentRelationsResponse);
|
|
170
168
|
*/
|
|
171
169
|
getDocumentRelations(input: GetDocumentRelationsRequest, options?: RpcOptions): UnaryCall<GetDocumentRelationsRequest, GetDocumentRelationsResponse>;
|
|
172
170
|
/**
|
|
173
171
|
* @perm
|
|
174
172
|
*
|
|
175
|
-
* @generated from protobuf rpc: AddDocumentReference(services.
|
|
173
|
+
* @generated from protobuf rpc: AddDocumentReference(services.documents.AddDocumentReferenceRequest) returns (services.documents.AddDocumentReferenceResponse);
|
|
176
174
|
*/
|
|
177
175
|
addDocumentReference(input: AddDocumentReferenceRequest, options?: RpcOptions): UnaryCall<AddDocumentReferenceRequest, AddDocumentReferenceResponse>;
|
|
178
176
|
/**
|
|
179
177
|
* @perm: Name=AddDocumentReference
|
|
180
178
|
*
|
|
181
|
-
* @generated from protobuf rpc: RemoveDocumentReference(services.
|
|
179
|
+
* @generated from protobuf rpc: RemoveDocumentReference(services.documents.RemoveDocumentReferenceRequest) returns (services.documents.RemoveDocumentReferenceResponse);
|
|
182
180
|
*/
|
|
183
181
|
removeDocumentReference(input: RemoveDocumentReferenceRequest, options?: RpcOptions): UnaryCall<RemoveDocumentReferenceRequest, RemoveDocumentReferenceResponse>;
|
|
184
182
|
/**
|
|
185
183
|
* @perm
|
|
186
184
|
*
|
|
187
|
-
* @generated from protobuf rpc: AddDocumentRelation(services.
|
|
185
|
+
* @generated from protobuf rpc: AddDocumentRelation(services.documents.AddDocumentRelationRequest) returns (services.documents.AddDocumentRelationResponse);
|
|
188
186
|
*/
|
|
189
187
|
addDocumentRelation(input: AddDocumentRelationRequest, options?: RpcOptions): UnaryCall<AddDocumentRelationRequest, AddDocumentRelationResponse>;
|
|
190
188
|
/**
|
|
191
189
|
* @perm: Name=AddDocumentRelation
|
|
192
190
|
*
|
|
193
|
-
* @generated from protobuf rpc: RemoveDocumentRelation(services.
|
|
191
|
+
* @generated from protobuf rpc: RemoveDocumentRelation(services.documents.RemoveDocumentRelationRequest) returns (services.documents.RemoveDocumentRelationResponse);
|
|
194
192
|
*/
|
|
195
193
|
removeDocumentRelation(input: RemoveDocumentRelationRequest, options?: RpcOptions): UnaryCall<RemoveDocumentRelationRequest, RemoveDocumentRelationResponse>;
|
|
196
194
|
/**
|
|
197
195
|
* @perm: Name=ListDocuments
|
|
198
196
|
*
|
|
199
|
-
* @generated from protobuf rpc: GetComments(services.
|
|
197
|
+
* @generated from protobuf rpc: GetComments(services.documents.GetCommentsRequest) returns (services.documents.GetCommentsResponse);
|
|
200
198
|
*/
|
|
201
199
|
getComments(input: GetCommentsRequest, options?: RpcOptions): UnaryCall<GetCommentsRequest, GetCommentsResponse>;
|
|
202
200
|
/**
|
|
203
201
|
* @perm: Name=ListDocuments
|
|
204
202
|
*
|
|
205
|
-
* @generated from protobuf rpc: PostComment(services.
|
|
203
|
+
* @generated from protobuf rpc: PostComment(services.documents.PostCommentRequest) returns (services.documents.PostCommentResponse);
|
|
206
204
|
*/
|
|
207
205
|
postComment(input: PostCommentRequest, options?: RpcOptions): UnaryCall<PostCommentRequest, PostCommentResponse>;
|
|
208
206
|
/**
|
|
209
|
-
* @perm: Name=
|
|
207
|
+
* @perm: Name=ListDocuments
|
|
210
208
|
*
|
|
211
|
-
* @generated from protobuf rpc: EditComment(services.
|
|
209
|
+
* @generated from protobuf rpc: EditComment(services.documents.EditCommentRequest) returns (services.documents.EditCommentResponse);
|
|
212
210
|
*/
|
|
213
211
|
editComment(input: EditCommentRequest, options?: RpcOptions): UnaryCall<EditCommentRequest, EditCommentResponse>;
|
|
214
212
|
/**
|
|
215
213
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
216
214
|
*
|
|
217
|
-
* @generated from protobuf rpc: DeleteComment(services.
|
|
215
|
+
* @generated from protobuf rpc: DeleteComment(services.documents.DeleteCommentRequest) returns (services.documents.DeleteCommentResponse);
|
|
218
216
|
*/
|
|
219
217
|
deleteComment(input: DeleteCommentRequest, options?: RpcOptions): UnaryCall<DeleteCommentRequest, DeleteCommentResponse>;
|
|
220
218
|
/**
|
|
221
219
|
* @perm: Name=ListDocuments
|
|
222
220
|
*
|
|
223
|
-
* @generated from protobuf rpc: GetDocumentAccess(services.
|
|
221
|
+
* @generated from protobuf rpc: GetDocumentAccess(services.documents.GetDocumentAccessRequest) returns (services.documents.GetDocumentAccessResponse);
|
|
224
222
|
*/
|
|
225
223
|
getDocumentAccess(input: GetDocumentAccessRequest, options?: RpcOptions): UnaryCall<GetDocumentAccessRequest, GetDocumentAccessResponse>;
|
|
226
224
|
/**
|
|
227
225
|
* @perm: Name=CreateDocument
|
|
228
226
|
*
|
|
229
|
-
* @generated from protobuf rpc: SetDocumentAccess(services.
|
|
227
|
+
* @generated from protobuf rpc: SetDocumentAccess(services.documents.SetDocumentAccessRequest) returns (services.documents.SetDocumentAccessResponse);
|
|
230
228
|
*/
|
|
231
229
|
setDocumentAccess(input: SetDocumentAccessRequest, options?: RpcOptions): UnaryCall<SetDocumentAccessRequest, SetDocumentAccessResponse>;
|
|
232
230
|
/**
|
|
233
231
|
* @perm
|
|
234
232
|
*
|
|
235
|
-
* @generated from protobuf rpc: ListDocumentActivity(services.
|
|
233
|
+
* @generated from protobuf rpc: ListDocumentActivity(services.documents.ListDocumentActivityRequest) returns (services.documents.ListDocumentActivityResponse);
|
|
236
234
|
*/
|
|
237
235
|
listDocumentActivity(input: ListDocumentActivityRequest, options?: RpcOptions): UnaryCall<ListDocumentActivityRequest, ListDocumentActivityResponse>;
|
|
238
236
|
/**
|
|
239
237
|
* @perm
|
|
240
238
|
*
|
|
241
|
-
* @generated from protobuf rpc: ListDocumentReqs(services.
|
|
239
|
+
* @generated from protobuf rpc: ListDocumentReqs(services.documents.ListDocumentReqsRequest) returns (services.documents.ListDocumentReqsResponse);
|
|
242
240
|
*/
|
|
243
241
|
listDocumentReqs(input: ListDocumentReqsRequest, options?: RpcOptions): UnaryCall<ListDocumentReqsRequest, ListDocumentReqsResponse>;
|
|
244
242
|
/**
|
|
245
243
|
* @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"}
|
|
246
244
|
*
|
|
247
|
-
* @generated from protobuf rpc: CreateDocumentReq(services.
|
|
245
|
+
* @generated from protobuf rpc: CreateDocumentReq(services.documents.CreateDocumentReqRequest) returns (services.documents.CreateDocumentReqResponse);
|
|
248
246
|
*/
|
|
249
247
|
createDocumentReq(input: CreateDocumentReqRequest, options?: RpcOptions): UnaryCall<CreateDocumentReqRequest, CreateDocumentReqResponse>;
|
|
250
248
|
/**
|
|
251
249
|
* @perm: Name=CreateDocumentReq
|
|
252
250
|
*
|
|
253
|
-
* @generated from protobuf rpc: UpdateDocumentReq(services.
|
|
251
|
+
* @generated from protobuf rpc: UpdateDocumentReq(services.documents.UpdateDocumentReqRequest) returns (services.documents.UpdateDocumentReqResponse);
|
|
254
252
|
*/
|
|
255
253
|
updateDocumentReq(input: UpdateDocumentReqRequest, options?: RpcOptions): UnaryCall<UpdateDocumentReqRequest, UpdateDocumentReqResponse>;
|
|
256
254
|
/**
|
|
257
255
|
* @perm
|
|
258
256
|
*
|
|
259
|
-
* @generated from protobuf rpc: DeleteDocumentReq(services.
|
|
257
|
+
* @generated from protobuf rpc: DeleteDocumentReq(services.documents.DeleteDocumentReqRequest) returns (services.documents.DeleteDocumentReqResponse);
|
|
260
258
|
*/
|
|
261
259
|
deleteDocumentReq(input: DeleteDocumentReqRequest, options?: RpcOptions): UnaryCall<DeleteDocumentReqRequest, DeleteDocumentReqResponse>;
|
|
262
260
|
/**
|
|
263
261
|
* @perm
|
|
264
262
|
*
|
|
265
|
-
* @generated from protobuf rpc: ListUserDocuments(services.
|
|
263
|
+
* @generated from protobuf rpc: ListUserDocuments(services.documents.ListUserDocumentsRequest) returns (services.documents.ListUserDocumentsResponse);
|
|
266
264
|
*/
|
|
267
265
|
listUserDocuments(input: ListUserDocumentsRequest, options?: RpcOptions): UnaryCall<ListUserDocumentsRequest, ListUserDocumentsResponse>;
|
|
268
266
|
/**
|
|
269
267
|
* @perm
|
|
270
268
|
*
|
|
271
|
-
* @generated from protobuf rpc: ListCategories(services.
|
|
269
|
+
* @generated from protobuf rpc: ListCategories(services.documents.ListCategoriesRequest) returns (services.documents.ListCategoriesResponse);
|
|
272
270
|
*/
|
|
273
271
|
listCategories(input: ListCategoriesRequest, options?: RpcOptions): UnaryCall<ListCategoriesRequest, ListCategoriesResponse>;
|
|
274
272
|
/**
|
|
275
273
|
* @perm
|
|
276
274
|
*
|
|
277
|
-
* @generated from protobuf rpc:
|
|
275
|
+
* @generated from protobuf rpc: CreateOrUpdateCategory(services.documents.CreateOrUpdateCategoryRequest) returns (services.documents.CreateOrUpdateCategoryResponse);
|
|
278
276
|
*/
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @perm: Name=CreateCategory
|
|
282
|
-
*
|
|
283
|
-
* @generated from protobuf rpc: UpdateCategory(services.docstore.UpdateCategoryRequest) returns (services.docstore.UpdateCategoryResponse);
|
|
284
|
-
*/
|
|
285
|
-
updateCategory(input: UpdateCategoryRequest, options?: RpcOptions): UnaryCall<UpdateCategoryRequest, UpdateCategoryResponse>;
|
|
277
|
+
createOrUpdateCategory(input: CreateOrUpdateCategoryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse>;
|
|
286
278
|
/**
|
|
287
279
|
* @perm
|
|
288
280
|
*
|
|
289
|
-
* @generated from protobuf rpc: DeleteCategory(services.
|
|
281
|
+
* @generated from protobuf rpc: DeleteCategory(services.documents.DeleteCategoryRequest) returns (services.documents.DeleteCategoryResponse);
|
|
290
282
|
*/
|
|
291
283
|
deleteCategory(input: DeleteCategoryRequest, options?: RpcOptions): UnaryCall<DeleteCategoryRequest, DeleteCategoryResponse>;
|
|
292
284
|
/**
|
|
293
285
|
* @perm: Name=ListDocuments
|
|
294
286
|
*
|
|
295
|
-
* @generated from protobuf rpc: ListDocumentPins(services.
|
|
287
|
+
* @generated from protobuf rpc: ListDocumentPins(services.documents.ListDocumentPinsRequest) returns (services.documents.ListDocumentPinsResponse);
|
|
296
288
|
*/
|
|
297
289
|
listDocumentPins(input: ListDocumentPinsRequest, options?: RpcOptions): UnaryCall<ListDocumentPinsRequest, ListDocumentPinsResponse>;
|
|
298
290
|
/**
|
|
299
291
|
* @perm
|
|
300
292
|
*
|
|
301
|
-
* @generated from protobuf rpc: ToggleDocumentPin(services.
|
|
293
|
+
* @generated from protobuf rpc: ToggleDocumentPin(services.documents.ToggleDocumentPinRequest) returns (services.documents.ToggleDocumentPinResponse);
|
|
302
294
|
*/
|
|
303
295
|
toggleDocumentPin(input: ToggleDocumentPinRequest, options?: RpcOptions): UnaryCall<ToggleDocumentPinRequest, ToggleDocumentPinResponse>;
|
|
304
296
|
/**
|
|
305
297
|
* @perm
|
|
306
298
|
*
|
|
307
|
-
* @generated from protobuf rpc: SetDocumentReminder(services.
|
|
299
|
+
* @generated from protobuf rpc: SetDocumentReminder(services.documents.SetDocumentReminderRequest) returns (services.documents.SetDocumentReminderResponse);
|
|
308
300
|
*/
|
|
309
301
|
setDocumentReminder(input: SetDocumentReminderRequest, options?: RpcOptions): UnaryCall<SetDocumentReminderRequest, SetDocumentReminderResponse>;
|
|
310
302
|
}
|
|
311
303
|
/**
|
|
312
|
-
* @generated from protobuf service services.
|
|
304
|
+
* @generated from protobuf service services.documents.DocumentsService
|
|
313
305
|
*/
|
|
314
|
-
export class
|
|
315
|
-
typeName =
|
|
316
|
-
methods =
|
|
317
|
-
options =
|
|
306
|
+
export class DocumentsServiceClient implements IDocumentsServiceClient, ServiceInfo {
|
|
307
|
+
typeName = DocumentsService.typeName;
|
|
308
|
+
methods = DocumentsService.methods;
|
|
309
|
+
options = DocumentsService.options;
|
|
318
310
|
constructor(private readonly _transport: RpcTransport) {
|
|
319
311
|
}
|
|
320
312
|
/**
|
|
321
313
|
* @perm
|
|
322
314
|
*
|
|
323
|
-
* @generated from protobuf rpc: ListTemplates(services.
|
|
315
|
+
* @generated from protobuf rpc: ListTemplates(services.documents.ListTemplatesRequest) returns (services.documents.ListTemplatesResponse);
|
|
324
316
|
*/
|
|
325
317
|
listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse> {
|
|
326
318
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -329,7 +321,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
329
321
|
/**
|
|
330
322
|
* @perm: Name=ListTemplates
|
|
331
323
|
*
|
|
332
|
-
* @generated from protobuf rpc: GetTemplate(services.
|
|
324
|
+
* @generated from protobuf rpc: GetTemplate(services.documents.GetTemplateRequest) returns (services.documents.GetTemplateResponse);
|
|
333
325
|
*/
|
|
334
326
|
getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse> {
|
|
335
327
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -338,7 +330,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
338
330
|
/**
|
|
339
331
|
* @perm
|
|
340
332
|
*
|
|
341
|
-
* @generated from protobuf rpc: CreateTemplate(services.
|
|
333
|
+
* @generated from protobuf rpc: CreateTemplate(services.documents.CreateTemplateRequest) returns (services.documents.CreateTemplateResponse);
|
|
342
334
|
*/
|
|
343
335
|
createTemplate(input: CreateTemplateRequest, options?: RpcOptions): UnaryCall<CreateTemplateRequest, CreateTemplateResponse> {
|
|
344
336
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
@@ -347,7 +339,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
347
339
|
/**
|
|
348
340
|
* @perm: Name=CreateTemplate
|
|
349
341
|
*
|
|
350
|
-
* @generated from protobuf rpc: UpdateTemplate(services.
|
|
342
|
+
* @generated from protobuf rpc: UpdateTemplate(services.documents.UpdateTemplateRequest) returns (services.documents.UpdateTemplateResponse);
|
|
351
343
|
*/
|
|
352
344
|
updateTemplate(input: UpdateTemplateRequest, options?: RpcOptions): UnaryCall<UpdateTemplateRequest, UpdateTemplateResponse> {
|
|
353
345
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
@@ -356,7 +348,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
356
348
|
/**
|
|
357
349
|
* @perm
|
|
358
350
|
*
|
|
359
|
-
* @generated from protobuf rpc: DeleteTemplate(services.
|
|
351
|
+
* @generated from protobuf rpc: DeleteTemplate(services.documents.DeleteTemplateRequest) returns (services.documents.DeleteTemplateResponse);
|
|
360
352
|
*/
|
|
361
353
|
deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse> {
|
|
362
354
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
@@ -365,7 +357,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
365
357
|
/**
|
|
366
358
|
* @perm
|
|
367
359
|
*
|
|
368
|
-
* @generated from protobuf rpc: ListDocuments(services.
|
|
360
|
+
* @generated from protobuf rpc: ListDocuments(services.documents.ListDocumentsRequest) returns (services.documents.ListDocumentsResponse);
|
|
369
361
|
*/
|
|
370
362
|
listDocuments(input: ListDocumentsRequest, options?: RpcOptions): UnaryCall<ListDocumentsRequest, ListDocumentsResponse> {
|
|
371
363
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
@@ -374,7 +366,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
374
366
|
/**
|
|
375
367
|
* @perm: Name=ListDocuments
|
|
376
368
|
*
|
|
377
|
-
* @generated from protobuf rpc: GetDocument(services.
|
|
369
|
+
* @generated from protobuf rpc: GetDocument(services.documents.GetDocumentRequest) returns (services.documents.GetDocumentResponse);
|
|
378
370
|
*/
|
|
379
371
|
getDocument(input: GetDocumentRequest, options?: RpcOptions): UnaryCall<GetDocumentRequest, GetDocumentResponse> {
|
|
380
372
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
@@ -383,7 +375,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
383
375
|
/**
|
|
384
376
|
* @perm
|
|
385
377
|
*
|
|
386
|
-
* @generated from protobuf rpc: CreateDocument(services.
|
|
378
|
+
* @generated from protobuf rpc: CreateDocument(services.documents.CreateDocumentRequest) returns (services.documents.CreateDocumentResponse);
|
|
387
379
|
*/
|
|
388
380
|
createDocument(input: CreateDocumentRequest, options?: RpcOptions): UnaryCall<CreateDocumentRequest, CreateDocumentResponse> {
|
|
389
381
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
@@ -392,7 +384,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
392
384
|
/**
|
|
393
385
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
394
386
|
*
|
|
395
|
-
* @generated from protobuf rpc: UpdateDocument(services.
|
|
387
|
+
* @generated from protobuf rpc: UpdateDocument(services.documents.UpdateDocumentRequest) returns (services.documents.UpdateDocumentResponse);
|
|
396
388
|
*/
|
|
397
389
|
updateDocument(input: UpdateDocumentRequest, options?: RpcOptions): UnaryCall<UpdateDocumentRequest, UpdateDocumentResponse> {
|
|
398
390
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
@@ -401,7 +393,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
401
393
|
/**
|
|
402
394
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
403
395
|
*
|
|
404
|
-
* @generated from protobuf rpc: DeleteDocument(services.
|
|
396
|
+
* @generated from protobuf rpc: DeleteDocument(services.documents.DeleteDocumentRequest) returns (services.documents.DeleteDocumentResponse);
|
|
405
397
|
*/
|
|
406
398
|
deleteDocument(input: DeleteDocumentRequest, options?: RpcOptions): UnaryCall<DeleteDocumentRequest, DeleteDocumentResponse> {
|
|
407
399
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
@@ -410,7 +402,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
410
402
|
/**
|
|
411
403
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
412
404
|
*
|
|
413
|
-
* @generated from protobuf rpc: ToggleDocument(services.
|
|
405
|
+
* @generated from protobuf rpc: ToggleDocument(services.documents.ToggleDocumentRequest) returns (services.documents.ToggleDocumentResponse);
|
|
414
406
|
*/
|
|
415
407
|
toggleDocument(input: ToggleDocumentRequest, options?: RpcOptions): UnaryCall<ToggleDocumentRequest, ToggleDocumentResponse> {
|
|
416
408
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
@@ -419,7 +411,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
419
411
|
/**
|
|
420
412
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
421
413
|
*
|
|
422
|
-
* @generated from protobuf rpc: ChangeDocumentOwner(services.
|
|
414
|
+
* @generated from protobuf rpc: ChangeDocumentOwner(services.documents.ChangeDocumentOwnerRequest) returns (services.documents.ChangeDocumentOwnerResponse);
|
|
423
415
|
*/
|
|
424
416
|
changeDocumentOwner(input: ChangeDocumentOwnerRequest, options?: RpcOptions): UnaryCall<ChangeDocumentOwnerRequest, ChangeDocumentOwnerResponse> {
|
|
425
417
|
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
@@ -428,7 +420,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
428
420
|
/**
|
|
429
421
|
* @perm: Name=ListDocuments
|
|
430
422
|
*
|
|
431
|
-
* @generated from protobuf rpc: GetDocumentReferences(services.
|
|
423
|
+
* @generated from protobuf rpc: GetDocumentReferences(services.documents.GetDocumentReferencesRequest) returns (services.documents.GetDocumentReferencesResponse);
|
|
432
424
|
*/
|
|
433
425
|
getDocumentReferences(input: GetDocumentReferencesRequest, options?: RpcOptions): UnaryCall<GetDocumentReferencesRequest, GetDocumentReferencesResponse> {
|
|
434
426
|
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
@@ -437,7 +429,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
437
429
|
/**
|
|
438
430
|
* @perm: Name=ListDocuments
|
|
439
431
|
*
|
|
440
|
-
* @generated from protobuf rpc: GetDocumentRelations(services.
|
|
432
|
+
* @generated from protobuf rpc: GetDocumentRelations(services.documents.GetDocumentRelationsRequest) returns (services.documents.GetDocumentRelationsResponse);
|
|
441
433
|
*/
|
|
442
434
|
getDocumentRelations(input: GetDocumentRelationsRequest, options?: RpcOptions): UnaryCall<GetDocumentRelationsRequest, GetDocumentRelationsResponse> {
|
|
443
435
|
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
@@ -446,7 +438,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
446
438
|
/**
|
|
447
439
|
* @perm
|
|
448
440
|
*
|
|
449
|
-
* @generated from protobuf rpc: AddDocumentReference(services.
|
|
441
|
+
* @generated from protobuf rpc: AddDocumentReference(services.documents.AddDocumentReferenceRequest) returns (services.documents.AddDocumentReferenceResponse);
|
|
450
442
|
*/
|
|
451
443
|
addDocumentReference(input: AddDocumentReferenceRequest, options?: RpcOptions): UnaryCall<AddDocumentReferenceRequest, AddDocumentReferenceResponse> {
|
|
452
444
|
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
@@ -455,7 +447,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
455
447
|
/**
|
|
456
448
|
* @perm: Name=AddDocumentReference
|
|
457
449
|
*
|
|
458
|
-
* @generated from protobuf rpc: RemoveDocumentReference(services.
|
|
450
|
+
* @generated from protobuf rpc: RemoveDocumentReference(services.documents.RemoveDocumentReferenceRequest) returns (services.documents.RemoveDocumentReferenceResponse);
|
|
459
451
|
*/
|
|
460
452
|
removeDocumentReference(input: RemoveDocumentReferenceRequest, options?: RpcOptions): UnaryCall<RemoveDocumentReferenceRequest, RemoveDocumentReferenceResponse> {
|
|
461
453
|
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
@@ -464,7 +456,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
464
456
|
/**
|
|
465
457
|
* @perm
|
|
466
458
|
*
|
|
467
|
-
* @generated from protobuf rpc: AddDocumentRelation(services.
|
|
459
|
+
* @generated from protobuf rpc: AddDocumentRelation(services.documents.AddDocumentRelationRequest) returns (services.documents.AddDocumentRelationResponse);
|
|
468
460
|
*/
|
|
469
461
|
addDocumentRelation(input: AddDocumentRelationRequest, options?: RpcOptions): UnaryCall<AddDocumentRelationRequest, AddDocumentRelationResponse> {
|
|
470
462
|
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
@@ -473,7 +465,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
473
465
|
/**
|
|
474
466
|
* @perm: Name=AddDocumentRelation
|
|
475
467
|
*
|
|
476
|
-
* @generated from protobuf rpc: RemoveDocumentRelation(services.
|
|
468
|
+
* @generated from protobuf rpc: RemoveDocumentRelation(services.documents.RemoveDocumentRelationRequest) returns (services.documents.RemoveDocumentRelationResponse);
|
|
477
469
|
*/
|
|
478
470
|
removeDocumentRelation(input: RemoveDocumentRelationRequest, options?: RpcOptions): UnaryCall<RemoveDocumentRelationRequest, RemoveDocumentRelationResponse> {
|
|
479
471
|
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
@@ -482,7 +474,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
482
474
|
/**
|
|
483
475
|
* @perm: Name=ListDocuments
|
|
484
476
|
*
|
|
485
|
-
* @generated from protobuf rpc: GetComments(services.
|
|
477
|
+
* @generated from protobuf rpc: GetComments(services.documents.GetCommentsRequest) returns (services.documents.GetCommentsResponse);
|
|
486
478
|
*/
|
|
487
479
|
getComments(input: GetCommentsRequest, options?: RpcOptions): UnaryCall<GetCommentsRequest, GetCommentsResponse> {
|
|
488
480
|
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
@@ -491,16 +483,16 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
491
483
|
/**
|
|
492
484
|
* @perm: Name=ListDocuments
|
|
493
485
|
*
|
|
494
|
-
* @generated from protobuf rpc: PostComment(services.
|
|
486
|
+
* @generated from protobuf rpc: PostComment(services.documents.PostCommentRequest) returns (services.documents.PostCommentResponse);
|
|
495
487
|
*/
|
|
496
488
|
postComment(input: PostCommentRequest, options?: RpcOptions): UnaryCall<PostCommentRequest, PostCommentResponse> {
|
|
497
489
|
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
498
490
|
return stackIntercept<PostCommentRequest, PostCommentResponse>("unary", this._transport, method, opt, input);
|
|
499
491
|
}
|
|
500
492
|
/**
|
|
501
|
-
* @perm: Name=
|
|
493
|
+
* @perm: Name=ListDocuments
|
|
502
494
|
*
|
|
503
|
-
* @generated from protobuf rpc: EditComment(services.
|
|
495
|
+
* @generated from protobuf rpc: EditComment(services.documents.EditCommentRequest) returns (services.documents.EditCommentResponse);
|
|
504
496
|
*/
|
|
505
497
|
editComment(input: EditCommentRequest, options?: RpcOptions): UnaryCall<EditCommentRequest, EditCommentResponse> {
|
|
506
498
|
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
@@ -509,7 +501,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
509
501
|
/**
|
|
510
502
|
* @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
|
|
511
503
|
*
|
|
512
|
-
* @generated from protobuf rpc: DeleteComment(services.
|
|
504
|
+
* @generated from protobuf rpc: DeleteComment(services.documents.DeleteCommentRequest) returns (services.documents.DeleteCommentResponse);
|
|
513
505
|
*/
|
|
514
506
|
deleteComment(input: DeleteCommentRequest, options?: RpcOptions): UnaryCall<DeleteCommentRequest, DeleteCommentResponse> {
|
|
515
507
|
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
@@ -518,7 +510,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
518
510
|
/**
|
|
519
511
|
* @perm: Name=ListDocuments
|
|
520
512
|
*
|
|
521
|
-
* @generated from protobuf rpc: GetDocumentAccess(services.
|
|
513
|
+
* @generated from protobuf rpc: GetDocumentAccess(services.documents.GetDocumentAccessRequest) returns (services.documents.GetDocumentAccessResponse);
|
|
522
514
|
*/
|
|
523
515
|
getDocumentAccess(input: GetDocumentAccessRequest, options?: RpcOptions): UnaryCall<GetDocumentAccessRequest, GetDocumentAccessResponse> {
|
|
524
516
|
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
@@ -527,7 +519,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
527
519
|
/**
|
|
528
520
|
* @perm: Name=CreateDocument
|
|
529
521
|
*
|
|
530
|
-
* @generated from protobuf rpc: SetDocumentAccess(services.
|
|
522
|
+
* @generated from protobuf rpc: SetDocumentAccess(services.documents.SetDocumentAccessRequest) returns (services.documents.SetDocumentAccessResponse);
|
|
531
523
|
*/
|
|
532
524
|
setDocumentAccess(input: SetDocumentAccessRequest, options?: RpcOptions): UnaryCall<SetDocumentAccessRequest, SetDocumentAccessResponse> {
|
|
533
525
|
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
@@ -536,7 +528,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
536
528
|
/**
|
|
537
529
|
* @perm
|
|
538
530
|
*
|
|
539
|
-
* @generated from protobuf rpc: ListDocumentActivity(services.
|
|
531
|
+
* @generated from protobuf rpc: ListDocumentActivity(services.documents.ListDocumentActivityRequest) returns (services.documents.ListDocumentActivityResponse);
|
|
540
532
|
*/
|
|
541
533
|
listDocumentActivity(input: ListDocumentActivityRequest, options?: RpcOptions): UnaryCall<ListDocumentActivityRequest, ListDocumentActivityResponse> {
|
|
542
534
|
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
@@ -545,7 +537,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
545
537
|
/**
|
|
546
538
|
* @perm
|
|
547
539
|
*
|
|
548
|
-
* @generated from protobuf rpc: ListDocumentReqs(services.
|
|
540
|
+
* @generated from protobuf rpc: ListDocumentReqs(services.documents.ListDocumentReqsRequest) returns (services.documents.ListDocumentReqsResponse);
|
|
549
541
|
*/
|
|
550
542
|
listDocumentReqs(input: ListDocumentReqsRequest, options?: RpcOptions): UnaryCall<ListDocumentReqsRequest, ListDocumentReqsResponse> {
|
|
551
543
|
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
@@ -554,7 +546,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
554
546
|
/**
|
|
555
547
|
* @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"}
|
|
556
548
|
*
|
|
557
|
-
* @generated from protobuf rpc: CreateDocumentReq(services.
|
|
549
|
+
* @generated from protobuf rpc: CreateDocumentReq(services.documents.CreateDocumentReqRequest) returns (services.documents.CreateDocumentReqResponse);
|
|
558
550
|
*/
|
|
559
551
|
createDocumentReq(input: CreateDocumentReqRequest, options?: RpcOptions): UnaryCall<CreateDocumentReqRequest, CreateDocumentReqResponse> {
|
|
560
552
|
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
@@ -563,7 +555,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
563
555
|
/**
|
|
564
556
|
* @perm: Name=CreateDocumentReq
|
|
565
557
|
*
|
|
566
|
-
* @generated from protobuf rpc: UpdateDocumentReq(services.
|
|
558
|
+
* @generated from protobuf rpc: UpdateDocumentReq(services.documents.UpdateDocumentReqRequest) returns (services.documents.UpdateDocumentReqResponse);
|
|
567
559
|
*/
|
|
568
560
|
updateDocumentReq(input: UpdateDocumentReqRequest, options?: RpcOptions): UnaryCall<UpdateDocumentReqRequest, UpdateDocumentReqResponse> {
|
|
569
561
|
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
@@ -572,7 +564,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
572
564
|
/**
|
|
573
565
|
* @perm
|
|
574
566
|
*
|
|
575
|
-
* @generated from protobuf rpc: DeleteDocumentReq(services.
|
|
567
|
+
* @generated from protobuf rpc: DeleteDocumentReq(services.documents.DeleteDocumentReqRequest) returns (services.documents.DeleteDocumentReqResponse);
|
|
576
568
|
*/
|
|
577
569
|
deleteDocumentReq(input: DeleteDocumentReqRequest, options?: RpcOptions): UnaryCall<DeleteDocumentReqRequest, DeleteDocumentReqResponse> {
|
|
578
570
|
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
@@ -581,7 +573,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
581
573
|
/**
|
|
582
574
|
* @perm
|
|
583
575
|
*
|
|
584
|
-
* @generated from protobuf rpc: ListUserDocuments(services.
|
|
576
|
+
* @generated from protobuf rpc: ListUserDocuments(services.documents.ListUserDocumentsRequest) returns (services.documents.ListUserDocumentsResponse);
|
|
585
577
|
*/
|
|
586
578
|
listUserDocuments(input: ListUserDocumentsRequest, options?: RpcOptions): UnaryCall<ListUserDocumentsRequest, ListUserDocumentsResponse> {
|
|
587
579
|
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
@@ -590,7 +582,7 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
590
582
|
/**
|
|
591
583
|
* @perm
|
|
592
584
|
*
|
|
593
|
-
* @generated from protobuf rpc: ListCategories(services.
|
|
585
|
+
* @generated from protobuf rpc: ListCategories(services.documents.ListCategoriesRequest) returns (services.documents.ListCategoriesResponse);
|
|
594
586
|
*/
|
|
595
587
|
listCategories(input: ListCategoriesRequest, options?: RpcOptions): UnaryCall<ListCategoriesRequest, ListCategoriesResponse> {
|
|
596
588
|
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
@@ -599,55 +591,46 @@ export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInf
|
|
|
599
591
|
/**
|
|
600
592
|
* @perm
|
|
601
593
|
*
|
|
602
|
-
* @generated from protobuf rpc:
|
|
594
|
+
* @generated from protobuf rpc: CreateOrUpdateCategory(services.documents.CreateOrUpdateCategoryRequest) returns (services.documents.CreateOrUpdateCategoryResponse);
|
|
603
595
|
*/
|
|
604
|
-
|
|
596
|
+
createOrUpdateCategory(input: CreateOrUpdateCategoryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse> {
|
|
605
597
|
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
606
|
-
return stackIntercept<
|
|
607
|
-
}
|
|
608
|
-
/**
|
|
609
|
-
* @perm: Name=CreateCategory
|
|
610
|
-
*
|
|
611
|
-
* @generated from protobuf rpc: UpdateCategory(services.docstore.UpdateCategoryRequest) returns (services.docstore.UpdateCategoryResponse);
|
|
612
|
-
*/
|
|
613
|
-
updateCategory(input: UpdateCategoryRequest, options?: RpcOptions): UnaryCall<UpdateCategoryRequest, UpdateCategoryResponse> {
|
|
614
|
-
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
615
|
-
return stackIntercept<UpdateCategoryRequest, UpdateCategoryResponse>("unary", this._transport, method, opt, input);
|
|
598
|
+
return stackIntercept<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse>("unary", this._transport, method, opt, input);
|
|
616
599
|
}
|
|
617
600
|
/**
|
|
618
601
|
* @perm
|
|
619
602
|
*
|
|
620
|
-
* @generated from protobuf rpc: DeleteCategory(services.
|
|
603
|
+
* @generated from protobuf rpc: DeleteCategory(services.documents.DeleteCategoryRequest) returns (services.documents.DeleteCategoryResponse);
|
|
621
604
|
*/
|
|
622
605
|
deleteCategory(input: DeleteCategoryRequest, options?: RpcOptions): UnaryCall<DeleteCategoryRequest, DeleteCategoryResponse> {
|
|
623
|
-
const method = this.methods[
|
|
606
|
+
const method = this.methods[32], opt = this._transport.mergeOptions(options);
|
|
624
607
|
return stackIntercept<DeleteCategoryRequest, DeleteCategoryResponse>("unary", this._transport, method, opt, input);
|
|
625
608
|
}
|
|
626
609
|
/**
|
|
627
610
|
* @perm: Name=ListDocuments
|
|
628
611
|
*
|
|
629
|
-
* @generated from protobuf rpc: ListDocumentPins(services.
|
|
612
|
+
* @generated from protobuf rpc: ListDocumentPins(services.documents.ListDocumentPinsRequest) returns (services.documents.ListDocumentPinsResponse);
|
|
630
613
|
*/
|
|
631
614
|
listDocumentPins(input: ListDocumentPinsRequest, options?: RpcOptions): UnaryCall<ListDocumentPinsRequest, ListDocumentPinsResponse> {
|
|
632
|
-
const method = this.methods[
|
|
615
|
+
const method = this.methods[33], opt = this._transport.mergeOptions(options);
|
|
633
616
|
return stackIntercept<ListDocumentPinsRequest, ListDocumentPinsResponse>("unary", this._transport, method, opt, input);
|
|
634
617
|
}
|
|
635
618
|
/**
|
|
636
619
|
* @perm
|
|
637
620
|
*
|
|
638
|
-
* @generated from protobuf rpc: ToggleDocumentPin(services.
|
|
621
|
+
* @generated from protobuf rpc: ToggleDocumentPin(services.documents.ToggleDocumentPinRequest) returns (services.documents.ToggleDocumentPinResponse);
|
|
639
622
|
*/
|
|
640
623
|
toggleDocumentPin(input: ToggleDocumentPinRequest, options?: RpcOptions): UnaryCall<ToggleDocumentPinRequest, ToggleDocumentPinResponse> {
|
|
641
|
-
const method = this.methods[
|
|
624
|
+
const method = this.methods[34], opt = this._transport.mergeOptions(options);
|
|
642
625
|
return stackIntercept<ToggleDocumentPinRequest, ToggleDocumentPinResponse>("unary", this._transport, method, opt, input);
|
|
643
626
|
}
|
|
644
627
|
/**
|
|
645
628
|
* @perm
|
|
646
629
|
*
|
|
647
|
-
* @generated from protobuf rpc: SetDocumentReminder(services.
|
|
630
|
+
* @generated from protobuf rpc: SetDocumentReminder(services.documents.SetDocumentReminderRequest) returns (services.documents.SetDocumentReminderResponse);
|
|
648
631
|
*/
|
|
649
632
|
setDocumentReminder(input: SetDocumentReminderRequest, options?: RpcOptions): UnaryCall<SetDocumentReminderRequest, SetDocumentReminderResponse> {
|
|
650
|
-
const method = this.methods[
|
|
633
|
+
const method = this.methods[35], opt = this._transport.mergeOptions(options);
|
|
651
634
|
return stackIntercept<SetDocumentReminderRequest, SetDocumentReminderResponse>("unary", this._transport, method, opt, input);
|
|
652
635
|
}
|
|
653
636
|
}
|