@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.
Files changed (136) hide show
  1. package/README.md +7 -1
  2. package/clients.ts +48 -42
  3. package/google/protobuf/any.ts +1 -1
  4. package/google/protobuf/descriptor.ts +108 -50
  5. package/google/protobuf/duration.ts +1 -1
  6. package/google/protobuf/timestamp.ts +1 -1
  7. package/package.json +3 -2
  8. package/perms.ts +96 -91
  9. package/resources/accounts/accounts.ts +39 -3
  10. package/resources/accounts/oauth2.ts +6 -6
  11. package/resources/{rector → audit}/audit.ts +22 -23
  12. package/resources/calendar/access.ts +4 -4
  13. package/resources/calendar/calendar.ts +1 -1
  14. package/resources/centrum/attributes.ts +6 -2
  15. package/resources/centrum/dispatches.ts +4 -4
  16. package/resources/centrum/disponents.ts +2 -2
  17. package/resources/centrum/settings.ts +3 -3
  18. package/resources/centrum/units.ts +4 -4
  19. package/resources/centrum/{access.ts → units_access.ts} +4 -4
  20. package/resources/centrum/user_unit.ts +2 -2
  21. package/resources/common/content/content.ts +2 -2
  22. package/resources/common/cron/cron.ts +53 -12
  23. package/resources/common/database/database.ts +1 -1
  24. package/resources/common/error.ts +1 -1
  25. package/resources/common/grpcws/grpcws.ts +1 -1
  26. package/resources/common/i18n.ts +1 -1
  27. package/resources/common/tests/objects.ts +1 -1
  28. package/resources/common/uuid.ts +1 -1
  29. package/resources/documents/access.ts +4 -4
  30. package/resources/documents/activity.ts +7 -7
  31. package/resources/documents/category.ts +49 -26
  32. package/resources/documents/comment.ts +1 -1
  33. package/resources/documents/documents.ts +1 -1
  34. package/resources/documents/requests.ts +1 -1
  35. package/resources/documents/templates.ts +5 -5
  36. package/resources/documents/workflow.ts +2 -2
  37. package/resources/filestore/file.ts +1 -1
  38. package/resources/internet/access.ts +4 -4
  39. package/resources/internet/ads.ts +1 -1
  40. package/resources/internet/domain.ts +1 -1
  41. package/resources/internet/page.ts +3 -3
  42. package/resources/internet/search.ts +1 -1
  43. package/resources/jobs/activity.ts +114 -114
  44. package/resources/jobs/colleagues.ts +59 -48
  45. package/resources/jobs/conduct.ts +52 -41
  46. package/resources/{users → jobs}/job_props.ts +28 -41
  47. package/resources/{users → jobs}/job_settings.ts +54 -54
  48. package/resources/{users → jobs}/jobs.ts +12 -12
  49. package/resources/jobs/labels.ts +29 -17
  50. package/resources/jobs/timeclock.ts +7 -7
  51. package/resources/laws/laws.ts +2 -2
  52. package/resources/livemap/livemap.ts +1 -1
  53. package/resources/livemap/tracker.ts +3 -3
  54. package/resources/mailer/access.ts +5 -5
  55. package/resources/mailer/email.ts +11 -23
  56. package/resources/mailer/events.ts +1 -1
  57. package/resources/mailer/message.ts +2 -2
  58. package/resources/mailer/settings.ts +1 -1
  59. package/resources/mailer/template.ts +1 -1
  60. package/resources/mailer/thread.ts +2 -2
  61. package/resources/notifications/events.ts +23 -11
  62. package/resources/notifications/notifications.ts +1 -1
  63. package/resources/permissions/attributes.ts +689 -0
  64. package/resources/permissions/permissions.ts +4 -727
  65. package/resources/qualifications/access.ts +2 -2
  66. package/resources/qualifications/exam.ts +7 -7
  67. package/resources/qualifications/qualifications.ts +9 -9
  68. package/resources/{rector → settings}/banner.ts +5 -5
  69. package/resources/{rector → settings}/config.ts +83 -83
  70. package/resources/stats/stats.ts +1 -1
  71. package/resources/sync/activity.ts +20 -20
  72. package/resources/sync/data.ts +26 -26
  73. package/resources/timestamp/timestamp.ts +1 -1
  74. package/resources/users/activity.ts +196 -196
  75. package/resources/users/labels.ts +28 -28
  76. package/resources/users/licenses.ts +12 -12
  77. package/resources/users/props.ts +28 -17
  78. package/resources/users/users.ts +2 -2
  79. package/resources/vehicles/vehicles.ts +4 -4
  80. package/resources/wiki/access.ts +4 -4
  81. package/resources/wiki/activity.ts +7 -7
  82. package/resources/wiki/page.ts +2 -2
  83. package/services/auth/auth.client.ts +8 -8
  84. package/services/auth/auth.ts +32 -32
  85. package/services/calendar/calendar.client.ts +1 -1
  86. package/services/calendar/calendar.ts +6 -6
  87. package/services/centrum/centrum.client.ts +1 -1
  88. package/services/centrum/centrum.ts +8 -8
  89. package/services/{citizenstore/citizenstore.client.ts → citizens/citizens.client.ts} +37 -37
  90. package/services/{citizenstore/citizenstore.ts → citizens/citizens.ts} +72 -72
  91. package/services/completor/completor.client.ts +1 -1
  92. package/services/completor/completor.ts +17 -17
  93. package/services/{docstore/docstore.client.ts → documents/documents.client.ts} +163 -180
  94. package/services/{docstore/docstore.ts → documents/documents.ts} +280 -377
  95. package/services/internet/ads.client.ts +1 -1
  96. package/services/internet/ads.ts +2 -2
  97. package/services/internet/domain.client.ts +1 -1
  98. package/services/internet/domain.ts +3 -3
  99. package/services/internet/internet.client.ts +1 -1
  100. package/services/internet/internet.ts +2 -2
  101. package/services/jobs/conduct.client.ts +9 -9
  102. package/services/jobs/conduct.ts +4 -4
  103. package/services/jobs/jobs.client.ts +15 -15
  104. package/services/jobs/jobs.ts +77 -77
  105. package/services/jobs/timeclock.client.ts +9 -9
  106. package/services/jobs/timeclock.ts +15 -15
  107. package/services/{livemapper → livemap}/livemap.client.ts +16 -16
  108. package/services/{livemapper → livemap}/livemap.ts +63 -52
  109. package/services/mailer/mailer.client.ts +5 -5
  110. package/services/mailer/mailer.ts +6 -6
  111. package/services/notificator/notificator.client.ts +1 -1
  112. package/services/notificator/notificator.ts +5 -5
  113. package/services/qualifications/qualifications.client.ts +1 -1
  114. package/services/qualifications/qualifications.ts +4 -4
  115. package/services/settings/accounts.client.ts +92 -0
  116. package/services/settings/accounts.ts +526 -0
  117. package/services/{rector → settings}/config.client.ts +18 -18
  118. package/services/{rector → settings}/config.ts +26 -26
  119. package/services/settings/cron.client.ts +41 -0
  120. package/services/settings/cron.ts +119 -0
  121. package/services/{rector → settings}/filestore.client.ts +22 -22
  122. package/services/{rector → settings}/filestore.ts +23 -23
  123. package/services/{rector → settings}/laws.client.ts +26 -26
  124. package/services/{rector → settings}/laws.ts +28 -28
  125. package/services/settings/settings.client.ts +262 -0
  126. package/services/{rector/rector.ts → settings/settings.ts} +558 -149
  127. package/services/stats/stats.client.ts +1 -1
  128. package/services/stats/stats.ts +1 -1
  129. package/services/sync/sync.client.ts +1 -1
  130. package/services/sync/sync.ts +33 -33
  131. package/services/{dmv → vehicles}/vehicles.client.ts +12 -12
  132. package/services/{dmv → vehicles}/vehicles.ts +11 -11
  133. package/services/wiki/wiki.client.ts +1 -1
  134. package/services/wiki/wiki.ts +3 -3
  135. package/svcs.ts +247 -235
  136. package/services/rector/rector.client.ts +0 -211
@@ -1,326 +1,318 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
2
- // @generated from protobuf file "services/docstore/docstore.proto" (package "services.docstore", syntax proto3)
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 { DocStoreService } from "./docstore";
7
- import type { SetDocumentReminderResponse } from "./docstore";
8
- import type { SetDocumentReminderRequest } from "./docstore";
9
- import type { ToggleDocumentPinResponse } from "./docstore";
10
- import type { ToggleDocumentPinRequest } from "./docstore";
11
- import type { ListDocumentPinsResponse } from "./docstore";
12
- import type { ListDocumentPinsRequest } from "./docstore";
13
- import type { DeleteCategoryResponse } from "./docstore";
14
- import type { DeleteCategoryRequest } from "./docstore";
15
- import type { UpdateCategoryResponse } from "./docstore";
16
- import type { UpdateCategoryRequest } from "./docstore";
17
- import type { CreateCategoryResponse } from "./docstore";
18
- import type { CreateCategoryRequest } from "./docstore";
19
- import type { ListCategoriesResponse } from "./docstore";
20
- import type { ListCategoriesRequest } from "./docstore";
21
- import type { ListUserDocumentsResponse } from "./docstore";
22
- import type { ListUserDocumentsRequest } from "./docstore";
23
- import type { DeleteDocumentReqResponse } from "./docstore";
24
- import type { DeleteDocumentReqRequest } from "./docstore";
25
- import type { UpdateDocumentReqResponse } from "./docstore";
26
- import type { UpdateDocumentReqRequest } from "./docstore";
27
- import type { CreateDocumentReqResponse } from "./docstore";
28
- import type { CreateDocumentReqRequest } from "./docstore";
29
- import type { ListDocumentReqsResponse } from "./docstore";
30
- import type { ListDocumentReqsRequest } from "./docstore";
31
- import type { ListDocumentActivityResponse } from "./docstore";
32
- import type { ListDocumentActivityRequest } from "./docstore";
33
- import type { SetDocumentAccessResponse } from "./docstore";
34
- import type { SetDocumentAccessRequest } from "./docstore";
35
- import type { GetDocumentAccessResponse } from "./docstore";
36
- import type { GetDocumentAccessRequest } from "./docstore";
37
- import type { DeleteCommentResponse } from "./docstore";
38
- import type { DeleteCommentRequest } from "./docstore";
39
- import type { EditCommentResponse } from "./docstore";
40
- import type { EditCommentRequest } from "./docstore";
41
- import type { PostCommentResponse } from "./docstore";
42
- import type { PostCommentRequest } from "./docstore";
43
- import type { GetCommentsResponse } from "./docstore";
44
- import type { GetCommentsRequest } from "./docstore";
45
- import type { RemoveDocumentRelationResponse } from "./docstore";
46
- import type { RemoveDocumentRelationRequest } from "./docstore";
47
- import type { AddDocumentRelationResponse } from "./docstore";
48
- import type { AddDocumentRelationRequest } from "./docstore";
49
- import type { RemoveDocumentReferenceResponse } from "./docstore";
50
- import type { RemoveDocumentReferenceRequest } from "./docstore";
51
- import type { AddDocumentReferenceResponse } from "./docstore";
52
- import type { AddDocumentReferenceRequest } from "./docstore";
53
- import type { GetDocumentRelationsResponse } from "./docstore";
54
- import type { GetDocumentRelationsRequest } from "./docstore";
55
- import type { GetDocumentReferencesResponse } from "./docstore";
56
- import type { GetDocumentReferencesRequest } from "./docstore";
57
- import type { ChangeDocumentOwnerResponse } from "./docstore";
58
- import type { ChangeDocumentOwnerRequest } from "./docstore";
59
- import type { ToggleDocumentResponse } from "./docstore";
60
- import type { ToggleDocumentRequest } from "./docstore";
61
- import type { DeleteDocumentResponse } from "./docstore";
62
- import type { DeleteDocumentRequest } from "./docstore";
63
- import type { UpdateDocumentResponse } from "./docstore";
64
- import type { UpdateDocumentRequest } from "./docstore";
65
- import type { CreateDocumentResponse } from "./docstore";
66
- import type { CreateDocumentRequest } from "./docstore";
67
- import type { GetDocumentResponse } from "./docstore";
68
- import type { GetDocumentRequest } from "./docstore";
69
- import type { ListDocumentsResponse } from "./docstore";
70
- import type { ListDocumentsRequest } from "./docstore";
71
- import type { DeleteTemplateResponse } from "./docstore";
72
- import type { DeleteTemplateRequest } from "./docstore";
73
- import type { UpdateTemplateResponse } from "./docstore";
74
- import type { UpdateTemplateRequest } from "./docstore";
75
- import type { CreateTemplateResponse } from "./docstore";
76
- import type { CreateTemplateRequest } from "./docstore";
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 "./docstore";
81
- import type { ListTemplatesRequest } from "./docstore";
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.docstore.DocStoreService
83
+ * @generated from protobuf service services.documents.DocumentsService
86
84
  */
87
- export interface IDocStoreServiceClient {
85
+ export interface IDocumentsServiceClient {
88
86
  /**
89
87
  * @perm
90
88
  *
91
- * @generated from protobuf rpc: ListTemplates(services.docstore.ListTemplatesRequest) returns (services.docstore.ListTemplatesResponse);
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.docstore.GetTemplateRequest) returns (services.docstore.GetTemplateResponse);
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.docstore.CreateTemplateRequest) returns (services.docstore.CreateTemplateResponse);
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.docstore.UpdateTemplateRequest) returns (services.docstore.UpdateTemplateResponse);
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.docstore.DeleteTemplateRequest) returns (services.docstore.DeleteTemplateResponse);
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.docstore.ListDocumentsRequest) returns (services.docstore.ListDocumentsResponse);
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.docstore.GetDocumentRequest) returns (services.docstore.GetDocumentResponse);
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.docstore.CreateDocumentRequest) returns (services.docstore.CreateDocumentResponse);
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.docstore.UpdateDocumentRequest) returns (services.docstore.UpdateDocumentResponse);
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.docstore.DeleteDocumentRequest) returns (services.docstore.DeleteDocumentResponse);
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.docstore.ToggleDocumentRequest) returns (services.docstore.ToggleDocumentResponse);
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.docstore.ChangeDocumentOwnerRequest) returns (services.docstore.ChangeDocumentOwnerResponse);
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.docstore.GetDocumentReferencesRequest) returns (services.docstore.GetDocumentReferencesResponse);
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.docstore.GetDocumentRelationsRequest) returns (services.docstore.GetDocumentRelationsResponse);
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.docstore.AddDocumentReferenceRequest) returns (services.docstore.AddDocumentReferenceResponse);
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.docstore.RemoveDocumentReferenceRequest) returns (services.docstore.RemoveDocumentReferenceResponse);
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.docstore.AddDocumentRelationRequest) returns (services.docstore.AddDocumentRelationResponse);
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.docstore.RemoveDocumentRelationRequest) returns (services.docstore.RemoveDocumentRelationResponse);
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.docstore.GetCommentsRequest) returns (services.docstore.GetCommentsResponse);
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.docstore.PostCommentRequest) returns (services.docstore.PostCommentResponse);
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=PostComment
207
+ * @perm: Name=ListDocuments
210
208
  *
211
- * @generated from protobuf rpc: EditComment(services.docstore.EditCommentRequest) returns (services.docstore.EditCommentResponse);
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.docstore.DeleteCommentRequest) returns (services.docstore.DeleteCommentResponse);
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.docstore.GetDocumentAccessRequest) returns (services.docstore.GetDocumentAccessResponse);
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.docstore.SetDocumentAccessRequest) returns (services.docstore.SetDocumentAccessResponse);
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.docstore.ListDocumentActivityRequest) returns (services.docstore.ListDocumentActivityResponse);
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.docstore.ListDocumentReqsRequest) returns (services.docstore.ListDocumentReqsResponse);
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.docstore.CreateDocumentReqRequest) returns (services.docstore.CreateDocumentReqResponse);
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.docstore.UpdateDocumentReqRequest) returns (services.docstore.UpdateDocumentReqResponse);
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.docstore.DeleteDocumentReqRequest) returns (services.docstore.DeleteDocumentReqResponse);
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.docstore.ListUserDocumentsRequest) returns (services.docstore.ListUserDocumentsResponse);
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.docstore.ListCategoriesRequest) returns (services.docstore.ListCategoriesResponse);
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: CreateCategory(services.docstore.CreateCategoryRequest) returns (services.docstore.CreateCategoryResponse);
275
+ * @generated from protobuf rpc: CreateOrUpdateCategory(services.documents.CreateOrUpdateCategoryRequest) returns (services.documents.CreateOrUpdateCategoryResponse);
278
276
  */
279
- createCategory(input: CreateCategoryRequest, options?: RpcOptions): UnaryCall<CreateCategoryRequest, CreateCategoryResponse>;
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.docstore.DeleteCategoryRequest) returns (services.docstore.DeleteCategoryResponse);
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.docstore.ListDocumentPinsRequest) returns (services.docstore.ListDocumentPinsResponse);
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.docstore.ToggleDocumentPinRequest) returns (services.docstore.ToggleDocumentPinResponse);
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.docstore.SetDocumentReminderRequest) returns (services.docstore.SetDocumentReminderResponse);
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.docstore.DocStoreService
304
+ * @generated from protobuf service services.documents.DocumentsService
313
305
  */
314
- export class DocStoreServiceClient implements IDocStoreServiceClient, ServiceInfo {
315
- typeName = DocStoreService.typeName;
316
- methods = DocStoreService.methods;
317
- options = DocStoreService.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.docstore.ListTemplatesRequest) returns (services.docstore.ListTemplatesResponse);
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.docstore.GetTemplateRequest) returns (services.docstore.GetTemplateResponse);
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.docstore.CreateTemplateRequest) returns (services.docstore.CreateTemplateResponse);
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.docstore.UpdateTemplateRequest) returns (services.docstore.UpdateTemplateResponse);
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.docstore.DeleteTemplateRequest) returns (services.docstore.DeleteTemplateResponse);
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.docstore.ListDocumentsRequest) returns (services.docstore.ListDocumentsResponse);
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.docstore.GetDocumentRequest) returns (services.docstore.GetDocumentResponse);
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.docstore.CreateDocumentRequest) returns (services.docstore.CreateDocumentResponse);
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.docstore.UpdateDocumentRequest) returns (services.docstore.UpdateDocumentResponse);
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.docstore.DeleteDocumentRequest) returns (services.docstore.DeleteDocumentResponse);
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.docstore.ToggleDocumentRequest) returns (services.docstore.ToggleDocumentResponse);
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.docstore.ChangeDocumentOwnerRequest) returns (services.docstore.ChangeDocumentOwnerResponse);
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.docstore.GetDocumentReferencesRequest) returns (services.docstore.GetDocumentReferencesResponse);
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.docstore.GetDocumentRelationsRequest) returns (services.docstore.GetDocumentRelationsResponse);
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.docstore.AddDocumentReferenceRequest) returns (services.docstore.AddDocumentReferenceResponse);
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.docstore.RemoveDocumentReferenceRequest) returns (services.docstore.RemoveDocumentReferenceResponse);
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.docstore.AddDocumentRelationRequest) returns (services.docstore.AddDocumentRelationResponse);
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.docstore.RemoveDocumentRelationRequest) returns (services.docstore.RemoveDocumentRelationResponse);
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.docstore.GetCommentsRequest) returns (services.docstore.GetCommentsResponse);
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.docstore.PostCommentRequest) returns (services.docstore.PostCommentResponse);
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=PostComment
493
+ * @perm: Name=ListDocuments
502
494
  *
503
- * @generated from protobuf rpc: EditComment(services.docstore.EditCommentRequest) returns (services.docstore.EditCommentResponse);
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.docstore.DeleteCommentRequest) returns (services.docstore.DeleteCommentResponse);
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.docstore.GetDocumentAccessRequest) returns (services.docstore.GetDocumentAccessResponse);
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.docstore.SetDocumentAccessRequest) returns (services.docstore.SetDocumentAccessResponse);
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.docstore.ListDocumentActivityRequest) returns (services.docstore.ListDocumentActivityResponse);
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.docstore.ListDocumentReqsRequest) returns (services.docstore.ListDocumentReqsResponse);
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.docstore.CreateDocumentReqRequest) returns (services.docstore.CreateDocumentReqResponse);
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.docstore.UpdateDocumentReqRequest) returns (services.docstore.UpdateDocumentReqResponse);
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.docstore.DeleteDocumentReqRequest) returns (services.docstore.DeleteDocumentReqResponse);
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.docstore.ListUserDocumentsRequest) returns (services.docstore.ListUserDocumentsResponse);
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.docstore.ListCategoriesRequest) returns (services.docstore.ListCategoriesResponse);
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: CreateCategory(services.docstore.CreateCategoryRequest) returns (services.docstore.CreateCategoryResponse);
594
+ * @generated from protobuf rpc: CreateOrUpdateCategory(services.documents.CreateOrUpdateCategoryRequest) returns (services.documents.CreateOrUpdateCategoryResponse);
603
595
  */
604
- createCategory(input: CreateCategoryRequest, options?: RpcOptions): UnaryCall<CreateCategoryRequest, CreateCategoryResponse> {
596
+ createOrUpdateCategory(input: CreateOrUpdateCategoryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse> {
605
597
  const method = this.methods[31], opt = this._transport.mergeOptions(options);
606
- return stackIntercept<CreateCategoryRequest, CreateCategoryResponse>("unary", this._transport, method, opt, input);
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.docstore.DeleteCategoryRequest) returns (services.docstore.DeleteCategoryResponse);
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[33], opt = this._transport.mergeOptions(options);
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.docstore.ListDocumentPinsRequest) returns (services.docstore.ListDocumentPinsResponse);
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[34], opt = this._transport.mergeOptions(options);
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.docstore.ToggleDocumentPinRequest) returns (services.docstore.ToggleDocumentPinResponse);
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[35], opt = this._transport.mergeOptions(options);
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.docstore.SetDocumentReminderRequest) returns (services.docstore.SetDocumentReminderResponse);
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[36], opt = this._transport.mergeOptions(options);
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
  }