@fivenet-app/gen 2026.3.0 → 2026.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/clients.ts +66 -6
  2. package/codegen/perms/perms.ts +104 -1
  3. package/package.json +1 -1
  4. package/perms.ts +16 -5
  5. package/resources/centrum/settings/settings.ts +1 -1
  6. package/resources/centrum/units/units.ts +1 -1
  7. package/resources/citizens/labels/access.ts +216 -0
  8. package/resources/citizens/labels/labels.ts +320 -0
  9. package/resources/{users → citizens}/licenses/licenses.ts +17 -17
  10. package/resources/clientconfig/clientconfig.ts +32 -289
  11. package/resources/cron/cron.ts +2 -2
  12. package/resources/documents/access/access.ts +0 -23
  13. package/resources/documents/category/category.ts +1 -1
  14. package/resources/documents/templates/templates.ts +2 -2
  15. package/resources/jobs/labels/labels.ts +16 -5
  16. package/resources/livemap/markers/marker_marker.ts +1 -1
  17. package/resources/settings/banner.ts +1 -1
  18. package/resources/settings/config.ts +16 -14
  19. package/resources/sync/data/data.ts +9 -9
  20. package/resources/users/activity/activity.ts +132 -12
  21. package/resources/users/props/props.ts +4 -4
  22. package/resources/users/user.ts +4 -4
  23. package/services/calendar/calendar.client.ts +2 -106
  24. package/services/calendar/calendar.ts +0 -1018
  25. package/services/calendar/entries.client.ts +129 -0
  26. package/services/calendar/entries.ts +1040 -0
  27. package/services/centrum/centrum.client.ts +23 -244
  28. package/services/centrum/centrum.ts +246 -2383
  29. package/services/centrum/dispatches.client.ts +155 -0
  30. package/services/centrum/dispatches.ts +1305 -0
  31. package/services/centrum/units.client.ts +116 -0
  32. package/services/centrum/units.ts +876 -0
  33. package/services/citizens/citizens.client.ts +0 -13
  34. package/services/citizens/citizens.ts +1 -115
  35. package/services/citizens/labels.client.ts +77 -0
  36. package/services/citizens/labels.ts +455 -0
  37. package/services/completor/completor.ts +5 -5
  38. package/services/documents/categories.client.ts +64 -0
  39. package/services/documents/categories.ts +331 -0
  40. package/services/documents/comments.client.ts +77 -0
  41. package/services/documents/comments.ts +479 -0
  42. package/services/documents/documents.client.ts +26 -182
  43. package/services/documents/documents.ts +335 -1682
  44. package/services/documents/templates.client.ts +90 -0
  45. package/services/documents/templates.ts +591 -0
  46. package/services/jobs/colleagues.client.ts +129 -0
  47. package/services/jobs/colleagues.ts +1129 -0
  48. package/services/jobs/jobs.client.ts +3 -107
  49. package/services/jobs/jobs.ts +1 -1113
  50. package/services/mailer/mailer.client.ts +0 -208
  51. package/services/mailer/mailer.ts +1 -2010
  52. package/services/mailer/settings.client.ts +103 -0
  53. package/services/mailer/settings.ts +708 -0
  54. package/services/mailer/thread.client.ts +155 -0
  55. package/services/mailer/thread.ts +1343 -0
  56. package/services/qualifications/exam.client.ts +77 -0
  57. package/services/qualifications/exam.ts +609 -0
  58. package/services/qualifications/qualifications.client.ts +1 -53
  59. package/services/qualifications/qualifications.ts +0 -591
  60. package/services/settings/cron.client.ts +13 -0
  61. package/services/settings/cron.ts +114 -1
  62. package/services/sync/sync.client.ts +271 -37
  63. package/services/sync/sync.ts +1463 -383
  64. package/svcs.ts +182 -94
  65. package/resources/sync/data/v2/data.ts +0 -220
  66. package/resources/users/labels/labels.ts +0 -160
  67. package/services/sync/v2/sync.client.ts +0 -331
  68. package/services/sync/v2/sync.ts +0 -1766
@@ -14,12 +14,6 @@ import type { ToggleDocumentPinResponse } from "./documents";
14
14
  import type { ToggleDocumentPinRequest } from "./documents";
15
15
  import type { ListDocumentPinsResponse } from "./documents";
16
16
  import type { ListDocumentPinsRequest } from "./documents";
17
- import type { DeleteCategoryResponse } from "./documents";
18
- import type { DeleteCategoryRequest } from "./documents";
19
- import type { CreateOrUpdateCategoryResponse } from "./documents";
20
- import type { CreateOrUpdateCategoryRequest } from "./documents";
21
- import type { ListCategoriesResponse } from "./documents";
22
- import type { ListCategoriesRequest } from "./documents";
23
17
  import type { ListUserDocumentsResponse } from "./documents";
24
18
  import type { ListUserDocumentsRequest } from "./documents";
25
19
  import type { DeleteDocumentReqResponse } from "./documents";
@@ -36,14 +30,6 @@ import type { SetDocumentAccessResponse } from "./documents";
36
30
  import type { SetDocumentAccessRequest } from "./documents";
37
31
  import type { GetDocumentAccessResponse } from "./documents";
38
32
  import type { GetDocumentAccessRequest } from "./documents";
39
- import type { DeleteCommentResponse } from "./documents";
40
- import type { DeleteCommentRequest } from "./documents";
41
- import type { EditCommentResponse } from "./documents";
42
- import type { EditCommentRequest } from "./documents";
43
- import type { PostCommentResponse } from "./documents";
44
- import type { PostCommentRequest } from "./documents";
45
- import type { GetCommentsResponse } from "./documents";
46
- import type { GetCommentsRequest } from "./documents";
47
33
  import type { RemoveDocumentRelationResponse } from "./documents";
48
34
  import type { RemoveDocumentRelationRequest } from "./documents";
49
35
  import type { AddDocumentRelationResponse } from "./documents";
@@ -68,45 +54,15 @@ import type { CreateDocumentResponse } from "./documents";
68
54
  import type { CreateDocumentRequest } from "./documents";
69
55
  import type { GetDocumentResponse } from "./documents";
70
56
  import type { GetDocumentRequest } from "./documents";
57
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
71
58
  import type { ListDocumentsResponse } from "./documents";
72
59
  import type { ListDocumentsRequest } from "./documents";
73
- import type { DeleteTemplateResponse } from "./documents";
74
- import type { DeleteTemplateRequest } from "./documents";
75
- import type { UpdateTemplateResponse } from "./documents";
76
- import type { UpdateTemplateRequest } from "./documents";
77
- import type { CreateTemplateResponse } from "./documents";
78
- import type { CreateTemplateRequest } from "./documents";
79
- import type { GetTemplateResponse } from "./documents";
80
- import type { GetTemplateRequest } from "./documents";
81
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
82
- import type { ListTemplatesResponse } from "./documents";
83
- import type { ListTemplatesRequest } from "./documents";
84
60
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
85
61
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
86
62
  /**
87
63
  * @generated from protobuf service services.documents.DocumentsService
88
64
  */
89
65
  export interface IDocumentsServiceClient {
90
- /**
91
- * @generated from protobuf rpc: ListTemplates
92
- */
93
- listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse>;
94
- /**
95
- * @generated from protobuf rpc: GetTemplate
96
- */
97
- getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse>;
98
- /**
99
- * @generated from protobuf rpc: CreateTemplate
100
- */
101
- createTemplate(input: CreateTemplateRequest, options?: RpcOptions): UnaryCall<CreateTemplateRequest, CreateTemplateResponse>;
102
- /**
103
- * @generated from protobuf rpc: UpdateTemplate
104
- */
105
- updateTemplate(input: UpdateTemplateRequest, options?: RpcOptions): UnaryCall<UpdateTemplateRequest, UpdateTemplateResponse>;
106
- /**
107
- * @generated from protobuf rpc: DeleteTemplate
108
- */
109
- deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse>;
110
66
  /**
111
67
  * @generated from protobuf rpc: ListDocuments
112
68
  */
@@ -159,22 +115,6 @@ export interface IDocumentsServiceClient {
159
115
  * @generated from protobuf rpc: RemoveDocumentRelation
160
116
  */
161
117
  removeDocumentRelation(input: RemoveDocumentRelationRequest, options?: RpcOptions): UnaryCall<RemoveDocumentRelationRequest, RemoveDocumentRelationResponse>;
162
- /**
163
- * @generated from protobuf rpc: GetComments
164
- */
165
- getComments(input: GetCommentsRequest, options?: RpcOptions): UnaryCall<GetCommentsRequest, GetCommentsResponse>;
166
- /**
167
- * @generated from protobuf rpc: PostComment
168
- */
169
- postComment(input: PostCommentRequest, options?: RpcOptions): UnaryCall<PostCommentRequest, PostCommentResponse>;
170
- /**
171
- * @generated from protobuf rpc: EditComment
172
- */
173
- editComment(input: EditCommentRequest, options?: RpcOptions): UnaryCall<EditCommentRequest, EditCommentResponse>;
174
- /**
175
- * @generated from protobuf rpc: DeleteComment
176
- */
177
- deleteComment(input: DeleteCommentRequest, options?: RpcOptions): UnaryCall<DeleteCommentRequest, DeleteCommentResponse>;
178
118
  /**
179
119
  * @generated from protobuf rpc: GetDocumentAccess
180
120
  */
@@ -207,18 +147,6 @@ export interface IDocumentsServiceClient {
207
147
  * @generated from protobuf rpc: ListUserDocuments
208
148
  */
209
149
  listUserDocuments(input: ListUserDocumentsRequest, options?: RpcOptions): UnaryCall<ListUserDocumentsRequest, ListUserDocumentsResponse>;
210
- /**
211
- * @generated from protobuf rpc: ListCategories
212
- */
213
- listCategories(input: ListCategoriesRequest, options?: RpcOptions): UnaryCall<ListCategoriesRequest, ListCategoriesResponse>;
214
- /**
215
- * @generated from protobuf rpc: CreateOrUpdateCategory
216
- */
217
- createOrUpdateCategory(input: CreateOrUpdateCategoryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse>;
218
- /**
219
- * @generated from protobuf rpc: DeleteCategory
220
- */
221
- deleteCategory(input: DeleteCategoryRequest, options?: RpcOptions): UnaryCall<DeleteCategoryRequest, DeleteCategoryResponse>;
222
150
  /**
223
151
  * @generated from protobuf rpc: ListDocumentPins
224
152
  */
@@ -245,263 +173,179 @@ export class DocumentsServiceClient implements IDocumentsServiceClient, ServiceI
245
173
  options = DocumentsService.options;
246
174
  constructor(private readonly _transport: RpcTransport) {
247
175
  }
248
- /**
249
- * @generated from protobuf rpc: ListTemplates
250
- */
251
- listTemplates(input: ListTemplatesRequest, options?: RpcOptions): UnaryCall<ListTemplatesRequest, ListTemplatesResponse> {
252
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
253
- return stackIntercept<ListTemplatesRequest, ListTemplatesResponse>("unary", this._transport, method, opt, input);
254
- }
255
- /**
256
- * @generated from protobuf rpc: GetTemplate
257
- */
258
- getTemplate(input: GetTemplateRequest, options?: RpcOptions): UnaryCall<GetTemplateRequest, GetTemplateResponse> {
259
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
260
- return stackIntercept<GetTemplateRequest, GetTemplateResponse>("unary", this._transport, method, opt, input);
261
- }
262
- /**
263
- * @generated from protobuf rpc: CreateTemplate
264
- */
265
- createTemplate(input: CreateTemplateRequest, options?: RpcOptions): UnaryCall<CreateTemplateRequest, CreateTemplateResponse> {
266
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
267
- return stackIntercept<CreateTemplateRequest, CreateTemplateResponse>("unary", this._transport, method, opt, input);
268
- }
269
- /**
270
- * @generated from protobuf rpc: UpdateTemplate
271
- */
272
- updateTemplate(input: UpdateTemplateRequest, options?: RpcOptions): UnaryCall<UpdateTemplateRequest, UpdateTemplateResponse> {
273
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
274
- return stackIntercept<UpdateTemplateRequest, UpdateTemplateResponse>("unary", this._transport, method, opt, input);
275
- }
276
- /**
277
- * @generated from protobuf rpc: DeleteTemplate
278
- */
279
- deleteTemplate(input: DeleteTemplateRequest, options?: RpcOptions): UnaryCall<DeleteTemplateRequest, DeleteTemplateResponse> {
280
- const method = this.methods[4], opt = this._transport.mergeOptions(options);
281
- return stackIntercept<DeleteTemplateRequest, DeleteTemplateResponse>("unary", this._transport, method, opt, input);
282
- }
283
176
  /**
284
177
  * @generated from protobuf rpc: ListDocuments
285
178
  */
286
179
  listDocuments(input: ListDocumentsRequest, options?: RpcOptions): UnaryCall<ListDocumentsRequest, ListDocumentsResponse> {
287
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
180
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
288
181
  return stackIntercept<ListDocumentsRequest, ListDocumentsResponse>("unary", this._transport, method, opt, input);
289
182
  }
290
183
  /**
291
184
  * @generated from protobuf rpc: GetDocument
292
185
  */
293
186
  getDocument(input: GetDocumentRequest, options?: RpcOptions): UnaryCall<GetDocumentRequest, GetDocumentResponse> {
294
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
187
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
295
188
  return stackIntercept<GetDocumentRequest, GetDocumentResponse>("unary", this._transport, method, opt, input);
296
189
  }
297
190
  /**
298
191
  * @generated from protobuf rpc: CreateDocument
299
192
  */
300
193
  createDocument(input: CreateDocumentRequest, options?: RpcOptions): UnaryCall<CreateDocumentRequest, CreateDocumentResponse> {
301
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
194
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
302
195
  return stackIntercept<CreateDocumentRequest, CreateDocumentResponse>("unary", this._transport, method, opt, input);
303
196
  }
304
197
  /**
305
198
  * @generated from protobuf rpc: UpdateDocument
306
199
  */
307
200
  updateDocument(input: UpdateDocumentRequest, options?: RpcOptions): UnaryCall<UpdateDocumentRequest, UpdateDocumentResponse> {
308
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
201
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
309
202
  return stackIntercept<UpdateDocumentRequest, UpdateDocumentResponse>("unary", this._transport, method, opt, input);
310
203
  }
311
204
  /**
312
205
  * @generated from protobuf rpc: DeleteDocument
313
206
  */
314
207
  deleteDocument(input: DeleteDocumentRequest, options?: RpcOptions): UnaryCall<DeleteDocumentRequest, DeleteDocumentResponse> {
315
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
208
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
316
209
  return stackIntercept<DeleteDocumentRequest, DeleteDocumentResponse>("unary", this._transport, method, opt, input);
317
210
  }
318
211
  /**
319
212
  * @generated from protobuf rpc: ToggleDocument
320
213
  */
321
214
  toggleDocument(input: ToggleDocumentRequest, options?: RpcOptions): UnaryCall<ToggleDocumentRequest, ToggleDocumentResponse> {
322
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
215
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
323
216
  return stackIntercept<ToggleDocumentRequest, ToggleDocumentResponse>("unary", this._transport, method, opt, input);
324
217
  }
325
218
  /**
326
219
  * @generated from protobuf rpc: ChangeDocumentOwner
327
220
  */
328
221
  changeDocumentOwner(input: ChangeDocumentOwnerRequest, options?: RpcOptions): UnaryCall<ChangeDocumentOwnerRequest, ChangeDocumentOwnerResponse> {
329
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
222
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
330
223
  return stackIntercept<ChangeDocumentOwnerRequest, ChangeDocumentOwnerResponse>("unary", this._transport, method, opt, input);
331
224
  }
332
225
  /**
333
226
  * @generated from protobuf rpc: GetDocumentReferences
334
227
  */
335
228
  getDocumentReferences(input: GetDocumentReferencesRequest, options?: RpcOptions): UnaryCall<GetDocumentReferencesRequest, GetDocumentReferencesResponse> {
336
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
229
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
337
230
  return stackIntercept<GetDocumentReferencesRequest, GetDocumentReferencesResponse>("unary", this._transport, method, opt, input);
338
231
  }
339
232
  /**
340
233
  * @generated from protobuf rpc: GetDocumentRelations
341
234
  */
342
235
  getDocumentRelations(input: GetDocumentRelationsRequest, options?: RpcOptions): UnaryCall<GetDocumentRelationsRequest, GetDocumentRelationsResponse> {
343
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
236
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
344
237
  return stackIntercept<GetDocumentRelationsRequest, GetDocumentRelationsResponse>("unary", this._transport, method, opt, input);
345
238
  }
346
239
  /**
347
240
  * @generated from protobuf rpc: AddDocumentReference
348
241
  */
349
242
  addDocumentReference(input: AddDocumentReferenceRequest, options?: RpcOptions): UnaryCall<AddDocumentReferenceRequest, AddDocumentReferenceResponse> {
350
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
243
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
351
244
  return stackIntercept<AddDocumentReferenceRequest, AddDocumentReferenceResponse>("unary", this._transport, method, opt, input);
352
245
  }
353
246
  /**
354
247
  * @generated from protobuf rpc: RemoveDocumentReference
355
248
  */
356
249
  removeDocumentReference(input: RemoveDocumentReferenceRequest, options?: RpcOptions): UnaryCall<RemoveDocumentReferenceRequest, RemoveDocumentReferenceResponse> {
357
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
250
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
358
251
  return stackIntercept<RemoveDocumentReferenceRequest, RemoveDocumentReferenceResponse>("unary", this._transport, method, opt, input);
359
252
  }
360
253
  /**
361
254
  * @generated from protobuf rpc: AddDocumentRelation
362
255
  */
363
256
  addDocumentRelation(input: AddDocumentRelationRequest, options?: RpcOptions): UnaryCall<AddDocumentRelationRequest, AddDocumentRelationResponse> {
364
- const method = this.methods[16], opt = this._transport.mergeOptions(options);
257
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
365
258
  return stackIntercept<AddDocumentRelationRequest, AddDocumentRelationResponse>("unary", this._transport, method, opt, input);
366
259
  }
367
260
  /**
368
261
  * @generated from protobuf rpc: RemoveDocumentRelation
369
262
  */
370
263
  removeDocumentRelation(input: RemoveDocumentRelationRequest, options?: RpcOptions): UnaryCall<RemoveDocumentRelationRequest, RemoveDocumentRelationResponse> {
371
- const method = this.methods[17], opt = this._transport.mergeOptions(options);
264
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
372
265
  return stackIntercept<RemoveDocumentRelationRequest, RemoveDocumentRelationResponse>("unary", this._transport, method, opt, input);
373
266
  }
374
- /**
375
- * @generated from protobuf rpc: GetComments
376
- */
377
- getComments(input: GetCommentsRequest, options?: RpcOptions): UnaryCall<GetCommentsRequest, GetCommentsResponse> {
378
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
379
- return stackIntercept<GetCommentsRequest, GetCommentsResponse>("unary", this._transport, method, opt, input);
380
- }
381
- /**
382
- * @generated from protobuf rpc: PostComment
383
- */
384
- postComment(input: PostCommentRequest, options?: RpcOptions): UnaryCall<PostCommentRequest, PostCommentResponse> {
385
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
386
- return stackIntercept<PostCommentRequest, PostCommentResponse>("unary", this._transport, method, opt, input);
387
- }
388
- /**
389
- * @generated from protobuf rpc: EditComment
390
- */
391
- editComment(input: EditCommentRequest, options?: RpcOptions): UnaryCall<EditCommentRequest, EditCommentResponse> {
392
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
393
- return stackIntercept<EditCommentRequest, EditCommentResponse>("unary", this._transport, method, opt, input);
394
- }
395
- /**
396
- * @generated from protobuf rpc: DeleteComment
397
- */
398
- deleteComment(input: DeleteCommentRequest, options?: RpcOptions): UnaryCall<DeleteCommentRequest, DeleteCommentResponse> {
399
- const method = this.methods[21], opt = this._transport.mergeOptions(options);
400
- return stackIntercept<DeleteCommentRequest, DeleteCommentResponse>("unary", this._transport, method, opt, input);
401
- }
402
267
  /**
403
268
  * @generated from protobuf rpc: GetDocumentAccess
404
269
  */
405
270
  getDocumentAccess(input: GetDocumentAccessRequest, options?: RpcOptions): UnaryCall<GetDocumentAccessRequest, GetDocumentAccessResponse> {
406
- const method = this.methods[22], opt = this._transport.mergeOptions(options);
271
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
407
272
  return stackIntercept<GetDocumentAccessRequest, GetDocumentAccessResponse>("unary", this._transport, method, opt, input);
408
273
  }
409
274
  /**
410
275
  * @generated from protobuf rpc: SetDocumentAccess
411
276
  */
412
277
  setDocumentAccess(input: SetDocumentAccessRequest, options?: RpcOptions): UnaryCall<SetDocumentAccessRequest, SetDocumentAccessResponse> {
413
- const method = this.methods[23], opt = this._transport.mergeOptions(options);
278
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
414
279
  return stackIntercept<SetDocumentAccessRequest, SetDocumentAccessResponse>("unary", this._transport, method, opt, input);
415
280
  }
416
281
  /**
417
282
  * @generated from protobuf rpc: ListDocumentActivity
418
283
  */
419
284
  listDocumentActivity(input: ListDocumentActivityRequest, options?: RpcOptions): UnaryCall<ListDocumentActivityRequest, ListDocumentActivityResponse> {
420
- const method = this.methods[24], opt = this._transport.mergeOptions(options);
285
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
421
286
  return stackIntercept<ListDocumentActivityRequest, ListDocumentActivityResponse>("unary", this._transport, method, opt, input);
422
287
  }
423
288
  /**
424
289
  * @generated from protobuf rpc: ListDocumentReqs
425
290
  */
426
291
  listDocumentReqs(input: ListDocumentReqsRequest, options?: RpcOptions): UnaryCall<ListDocumentReqsRequest, ListDocumentReqsResponse> {
427
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
292
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
428
293
  return stackIntercept<ListDocumentReqsRequest, ListDocumentReqsResponse>("unary", this._transport, method, opt, input);
429
294
  }
430
295
  /**
431
296
  * @generated from protobuf rpc: CreateDocumentReq
432
297
  */
433
298
  createDocumentReq(input: CreateDocumentReqRequest, options?: RpcOptions): UnaryCall<CreateDocumentReqRequest, CreateDocumentReqResponse> {
434
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
299
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
435
300
  return stackIntercept<CreateDocumentReqRequest, CreateDocumentReqResponse>("unary", this._transport, method, opt, input);
436
301
  }
437
302
  /**
438
303
  * @generated from protobuf rpc: UpdateDocumentReq
439
304
  */
440
305
  updateDocumentReq(input: UpdateDocumentReqRequest, options?: RpcOptions): UnaryCall<UpdateDocumentReqRequest, UpdateDocumentReqResponse> {
441
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
306
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
442
307
  return stackIntercept<UpdateDocumentReqRequest, UpdateDocumentReqResponse>("unary", this._transport, method, opt, input);
443
308
  }
444
309
  /**
445
310
  * @generated from protobuf rpc: DeleteDocumentReq
446
311
  */
447
312
  deleteDocumentReq(input: DeleteDocumentReqRequest, options?: RpcOptions): UnaryCall<DeleteDocumentReqRequest, DeleteDocumentReqResponse> {
448
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
313
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
449
314
  return stackIntercept<DeleteDocumentReqRequest, DeleteDocumentReqResponse>("unary", this._transport, method, opt, input);
450
315
  }
451
316
  /**
452
317
  * @generated from protobuf rpc: ListUserDocuments
453
318
  */
454
319
  listUserDocuments(input: ListUserDocumentsRequest, options?: RpcOptions): UnaryCall<ListUserDocumentsRequest, ListUserDocumentsResponse> {
455
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
320
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
456
321
  return stackIntercept<ListUserDocumentsRequest, ListUserDocumentsResponse>("unary", this._transport, method, opt, input);
457
322
  }
458
- /**
459
- * @generated from protobuf rpc: ListCategories
460
- */
461
- listCategories(input: ListCategoriesRequest, options?: RpcOptions): UnaryCall<ListCategoriesRequest, ListCategoriesResponse> {
462
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
463
- return stackIntercept<ListCategoriesRequest, ListCategoriesResponse>("unary", this._transport, method, opt, input);
464
- }
465
- /**
466
- * @generated from protobuf rpc: CreateOrUpdateCategory
467
- */
468
- createOrUpdateCategory(input: CreateOrUpdateCategoryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse> {
469
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
470
- return stackIntercept<CreateOrUpdateCategoryRequest, CreateOrUpdateCategoryResponse>("unary", this._transport, method, opt, input);
471
- }
472
- /**
473
- * @generated from protobuf rpc: DeleteCategory
474
- */
475
- deleteCategory(input: DeleteCategoryRequest, options?: RpcOptions): UnaryCall<DeleteCategoryRequest, DeleteCategoryResponse> {
476
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
477
- return stackIntercept<DeleteCategoryRequest, DeleteCategoryResponse>("unary", this._transport, method, opt, input);
478
- }
479
323
  /**
480
324
  * @generated from protobuf rpc: ListDocumentPins
481
325
  */
482
326
  listDocumentPins(input: ListDocumentPinsRequest, options?: RpcOptions): UnaryCall<ListDocumentPinsRequest, ListDocumentPinsResponse> {
483
- const method = this.methods[33], opt = this._transport.mergeOptions(options);
327
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
484
328
  return stackIntercept<ListDocumentPinsRequest, ListDocumentPinsResponse>("unary", this._transport, method, opt, input);
485
329
  }
486
330
  /**
487
331
  * @generated from protobuf rpc: ToggleDocumentPin
488
332
  */
489
333
  toggleDocumentPin(input: ToggleDocumentPinRequest, options?: RpcOptions): UnaryCall<ToggleDocumentPinRequest, ToggleDocumentPinResponse> {
490
- const method = this.methods[34], opt = this._transport.mergeOptions(options);
334
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
491
335
  return stackIntercept<ToggleDocumentPinRequest, ToggleDocumentPinResponse>("unary", this._transport, method, opt, input);
492
336
  }
493
337
  /**
494
338
  * @generated from protobuf rpc: SetDocumentReminder
495
339
  */
496
340
  setDocumentReminder(input: SetDocumentReminderRequest, options?: RpcOptions): UnaryCall<SetDocumentReminderRequest, SetDocumentReminderResponse> {
497
- const method = this.methods[35], opt = this._transport.mergeOptions(options);
341
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
498
342
  return stackIntercept<SetDocumentReminderRequest, SetDocumentReminderResponse>("unary", this._transport, method, opt, input);
499
343
  }
500
344
  /**
501
345
  * @generated from protobuf rpc: UploadFile
502
346
  */
503
347
  uploadFile(options?: RpcOptions): ClientStreamingCall<UploadFileRequest, UploadFileResponse> {
504
- const method = this.methods[36], opt = this._transport.mergeOptions(options);
348
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
505
349
  return stackIntercept<UploadFileRequest, UploadFileResponse>("clientStreaming", this._transport, method, opt);
506
350
  }
507
351
  }