@fivenet-app/gen 0.9.3-1

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 (123) hide show
  1. package/README.md +1 -0
  2. package/google/protobuf/any.ts +322 -0
  3. package/google/protobuf/descriptor.ts +3475 -0
  4. package/google/protobuf/duration.ts +231 -0
  5. package/google/protobuf/timestamp.ts +290 -0
  6. package/package.json +15 -0
  7. package/perms.ts +178 -0
  8. package/resources/accounts/accounts.ts +195 -0
  9. package/resources/accounts/oauth2.ts +230 -0
  10. package/resources/calendar/access.ts +362 -0
  11. package/resources/calendar/calendar.ts +955 -0
  12. package/resources/centrum/access.ts +380 -0
  13. package/resources/centrum/dispatches.ts +854 -0
  14. package/resources/centrum/general.ts +231 -0
  15. package/resources/centrum/settings.ts +303 -0
  16. package/resources/centrum/units.ts +620 -0
  17. package/resources/common/access/dummy.ts +309 -0
  18. package/resources/common/content/content.ts +252 -0
  19. package/resources/common/cron/cron.ts +536 -0
  20. package/resources/common/database/database.ts +306 -0
  21. package/resources/common/error.ts +79 -0
  22. package/resources/common/grpcws/grpcws.ts +615 -0
  23. package/resources/common/i18n.ts +102 -0
  24. package/resources/common/uuid.ts +68 -0
  25. package/resources/documents/access.ts +388 -0
  26. package/resources/documents/activity.ts +803 -0
  27. package/resources/documents/category.ts +132 -0
  28. package/resources/documents/comment.ts +161 -0
  29. package/resources/documents/documents.ts +1124 -0
  30. package/resources/documents/requests.ts +196 -0
  31. package/resources/documents/templates.ts +949 -0
  32. package/resources/documents/workflow.ts +349 -0
  33. package/resources/filestore/file.ts +204 -0
  34. package/resources/internet/ads.ts +257 -0
  35. package/resources/internet/domain.ts +136 -0
  36. package/resources/internet/internet.ts +344 -0
  37. package/resources/internet/page.ts +236 -0
  38. package/resources/internet/search.ts +104 -0
  39. package/resources/jobs/activity.ts +600 -0
  40. package/resources/jobs/colleagues.ts +346 -0
  41. package/resources/jobs/conduct.ts +220 -0
  42. package/resources/jobs/labels.ts +240 -0
  43. package/resources/jobs/timeclock.ts +372 -0
  44. package/resources/laws/laws.ts +293 -0
  45. package/resources/livemap/livemap.ts +728 -0
  46. package/resources/livemap/tracker.ts +81 -0
  47. package/resources/mailer/access.ts +485 -0
  48. package/resources/mailer/email.ts +222 -0
  49. package/resources/mailer/events.ts +196 -0
  50. package/resources/mailer/message.ts +285 -0
  51. package/resources/mailer/settings.ts +95 -0
  52. package/resources/mailer/template.ts +164 -0
  53. package/resources/mailer/thread.ts +422 -0
  54. package/resources/mailer/user.ts +93 -0
  55. package/resources/notifications/events.ts +287 -0
  56. package/resources/notifications/notifications.ts +444 -0
  57. package/resources/permissions/permissions.ts +829 -0
  58. package/resources/qualifications/access.ts +275 -0
  59. package/resources/qualifications/exam.ts +1421 -0
  60. package/resources/qualifications/qualifications.ts +1289 -0
  61. package/resources/rector/audit.ts +226 -0
  62. package/resources/rector/config.ts +922 -0
  63. package/resources/stats/stats.ts +67 -0
  64. package/resources/sync/activity.ts +356 -0
  65. package/resources/sync/data.ts +455 -0
  66. package/resources/timestamp/timestamp.ts +78 -0
  67. package/resources/users/activity.ts +211 -0
  68. package/resources/users/job_props.ts +992 -0
  69. package/resources/users/jobs.ts +171 -0
  70. package/resources/users/labels.ts +161 -0
  71. package/resources/users/props.ts +207 -0
  72. package/resources/users/users.ts +570 -0
  73. package/resources/vehicles/vehicles.ts +114 -0
  74. package/resources/wiki/access.ts +362 -0
  75. package/resources/wiki/activity.ts +591 -0
  76. package/resources/wiki/page.ts +548 -0
  77. package/services/auth/auth.client.ts +171 -0
  78. package/services/auth/auth.ts +1331 -0
  79. package/services/calendar/calendar.client.ts +262 -0
  80. package/services/calendar/calendar.ts +1733 -0
  81. package/services/centrum/centrum.client.ts +365 -0
  82. package/services/centrum/centrum.ts +2619 -0
  83. package/services/citizenstore/citizenstore.client.ts +126 -0
  84. package/services/citizenstore/citizenstore.ts +847 -0
  85. package/services/completor/completor.client.ts +109 -0
  86. package/services/completor/completor.ts +616 -0
  87. package/services/dmv/vehicles.client.ts +41 -0
  88. package/services/dmv/vehicles.ts +191 -0
  89. package/services/docstore/docstore.client.ts +653 -0
  90. package/services/docstore/docstore.ts +4571 -0
  91. package/services/internet/ads.client.ts +41 -0
  92. package/services/internet/ads.ts +145 -0
  93. package/services/internet/internet.client.ts +58 -0
  94. package/services/internet/internet.ts +257 -0
  95. package/services/jobs/conduct.client.ts +92 -0
  96. package/services/jobs/conduct.ts +541 -0
  97. package/services/jobs/jobs.client.ts +194 -0
  98. package/services/jobs/jobs.ts +1301 -0
  99. package/services/jobs/timeclock.client.ts +75 -0
  100. package/services/jobs/timeclock.ts +808 -0
  101. package/services/livemapper/livemap.client.ts +76 -0
  102. package/services/livemapper/livemap.ts +552 -0
  103. package/services/mailer/mailer.client.ts +381 -0
  104. package/services/mailer/mailer.ts +2590 -0
  105. package/services/notificator/notificator.client.ts +76 -0
  106. package/services/notificator/notificator.ts +510 -0
  107. package/services/qualifications/qualifications.client.ts +279 -0
  108. package/services/qualifications/qualifications.ts +2142 -0
  109. package/services/rector/config.client.ts +58 -0
  110. package/services/rector/config.ts +216 -0
  111. package/services/rector/filestore.client.ts +75 -0
  112. package/services/rector/filestore.ts +378 -0
  113. package/services/rector/laws.client.ts +92 -0
  114. package/services/rector/laws.ts +416 -0
  115. package/services/rector/rector.client.ts +211 -0
  116. package/services/rector/rector.ts +1540 -0
  117. package/services/stats/stats.client.ts +37 -0
  118. package/services/stats/stats.ts +128 -0
  119. package/services/sync/sync.client.ts +110 -0
  120. package/services/sync/sync.ts +831 -0
  121. package/services/wiki/wiki.client.ts +126 -0
  122. package/services/wiki/wiki.ts +749 -0
  123. package/svcs.ts +307 -0
@@ -0,0 +1,365 @@
1
+ // @generated by protobuf-ts 2.9.4 with parameter optimize_speed,long_type_number,force_server_none
2
+ // @generated from protobuf file "services/centrum/centrum.proto" (package "services.centrum", syntax proto3)
3
+ // @ts-nocheck
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import { CentrumService } from "./centrum";
7
+ import type { UpdateDispatchStatusResponse } from "./centrum";
8
+ import type { UpdateDispatchStatusRequest } from "./centrum";
9
+ import type { UpdateUnitStatusResponse } from "./centrum";
10
+ import type { UpdateUnitStatusRequest } from "./centrum";
11
+ import type { TakeDispatchResponse } from "./centrum";
12
+ import type { TakeDispatchRequest } from "./centrum";
13
+ import type { DeleteUnitResponse } from "./centrum";
14
+ import type { DeleteUnitRequest } from "./centrum";
15
+ import type { CreateOrUpdateUnitResponse } from "./centrum";
16
+ import type { CreateOrUpdateUnitRequest } from "./centrum";
17
+ import type { ListDispatchActivityResponse } from "./centrum";
18
+ import type { ListDispatchActivityRequest } from "./centrum";
19
+ import type { ListDispatchesResponse } from "./centrum";
20
+ import type { ListDispatchesRequest } from "./centrum";
21
+ import type { GetDispatchResponse } from "./centrum";
22
+ import type { GetDispatchRequest } from "./centrum";
23
+ import type { ListUnitActivityResponse } from "./centrum";
24
+ import type { ListUnitActivityRequest } from "./centrum";
25
+ import type { ListUnitsResponse } from "./centrum";
26
+ import type { ListUnitsRequest } from "./centrum";
27
+ import type { JoinUnitResponse } from "./centrum";
28
+ import type { JoinUnitRequest } from "./centrum";
29
+ import type { GetSettingsResponse } from "./centrum";
30
+ import type { GetSettingsRequest } from "./centrum";
31
+ import type { StreamResponse } from "./centrum";
32
+ import type { StreamRequest } from "./centrum";
33
+ import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
34
+ import type { AssignUnitResponse } from "./centrum";
35
+ import type { AssignUnitRequest } from "./centrum";
36
+ import type { AssignDispatchResponse } from "./centrum";
37
+ import type { AssignDispatchRequest } from "./centrum";
38
+ import type { TakeControlResponse } from "./centrum";
39
+ import type { TakeControlRequest } from "./centrum";
40
+ import type { DeleteDispatchResponse } from "./centrum";
41
+ import type { DeleteDispatchRequest } from "./centrum";
42
+ import type { UpdateDispatchResponse } from "./centrum";
43
+ import type { UpdateDispatchRequest } from "./centrum";
44
+ import type { CreateDispatchResponse } from "./centrum";
45
+ import type { CreateDispatchRequest } from "./centrum";
46
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
47
+ import type { UpdateSettingsResponse } from "./centrum";
48
+ import type { UpdateSettingsRequest } from "./centrum";
49
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
50
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
51
+ /**
52
+ * @generated from protobuf service services.centrum.CentrumService
53
+ */
54
+ export interface ICentrumServiceClient {
55
+ /**
56
+ * @perm
57
+ *
58
+ * @generated from protobuf rpc: UpdateSettings(services.centrum.UpdateSettingsRequest) returns (services.centrum.UpdateSettingsResponse);
59
+ */
60
+ updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse>;
61
+ /**
62
+ * @perm
63
+ *
64
+ * @generated from protobuf rpc: CreateDispatch(services.centrum.CreateDispatchRequest) returns (services.centrum.CreateDispatchResponse);
65
+ */
66
+ createDispatch(input: CreateDispatchRequest, options?: RpcOptions): UnaryCall<CreateDispatchRequest, CreateDispatchResponse>;
67
+ /**
68
+ * @perm
69
+ *
70
+ * @generated from protobuf rpc: UpdateDispatch(services.centrum.UpdateDispatchRequest) returns (services.centrum.UpdateDispatchResponse);
71
+ */
72
+ updateDispatch(input: UpdateDispatchRequest, options?: RpcOptions): UnaryCall<UpdateDispatchRequest, UpdateDispatchResponse>;
73
+ /**
74
+ * @perm
75
+ *
76
+ * @generated from protobuf rpc: DeleteDispatch(services.centrum.DeleteDispatchRequest) returns (services.centrum.DeleteDispatchResponse);
77
+ */
78
+ deleteDispatch(input: DeleteDispatchRequest, options?: RpcOptions): UnaryCall<DeleteDispatchRequest, DeleteDispatchResponse>;
79
+ /**
80
+ * @perm
81
+ *
82
+ * @generated from protobuf rpc: TakeControl(services.centrum.TakeControlRequest) returns (services.centrum.TakeControlResponse);
83
+ */
84
+ takeControl(input: TakeControlRequest, options?: RpcOptions): UnaryCall<TakeControlRequest, TakeControlResponse>;
85
+ /**
86
+ * @perm: Name=TakeControl
87
+ *
88
+ * @generated from protobuf rpc: AssignDispatch(services.centrum.AssignDispatchRequest) returns (services.centrum.AssignDispatchResponse);
89
+ */
90
+ assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse>;
91
+ /**
92
+ * @perm: Name=TakeControl
93
+ *
94
+ * @generated from protobuf rpc: AssignUnit(services.centrum.AssignUnitRequest) returns (services.centrum.AssignUnitResponse);
95
+ */
96
+ assignUnit(input: AssignUnitRequest, options?: RpcOptions): UnaryCall<AssignUnitRequest, AssignUnitResponse>;
97
+ /**
98
+ * @perm
99
+ *
100
+ * @generated from protobuf rpc: Stream(services.centrum.StreamRequest) returns (stream services.centrum.StreamResponse);
101
+ */
102
+ stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse>;
103
+ /**
104
+ * @perm: Name=Stream
105
+ *
106
+ * @generated from protobuf rpc: GetSettings(services.centrum.GetSettingsRequest) returns (services.centrum.GetSettingsResponse);
107
+ */
108
+ getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>;
109
+ /**
110
+ * @perm: Name=Stream
111
+ *
112
+ * @generated from protobuf rpc: JoinUnit(services.centrum.JoinUnitRequest) returns (services.centrum.JoinUnitResponse);
113
+ */
114
+ joinUnit(input: JoinUnitRequest, options?: RpcOptions): UnaryCall<JoinUnitRequest, JoinUnitResponse>;
115
+ /**
116
+ * @perm: Name=Stream
117
+ *
118
+ * @generated from protobuf rpc: ListUnits(services.centrum.ListUnitsRequest) returns (services.centrum.ListUnitsResponse);
119
+ */
120
+ listUnits(input: ListUnitsRequest, options?: RpcOptions): UnaryCall<ListUnitsRequest, ListUnitsResponse>;
121
+ /**
122
+ * @perm: Name=Stream
123
+ *
124
+ * @generated from protobuf rpc: ListUnitActivity(services.centrum.ListUnitActivityRequest) returns (services.centrum.ListUnitActivityResponse);
125
+ */
126
+ listUnitActivity(input: ListUnitActivityRequest, options?: RpcOptions): UnaryCall<ListUnitActivityRequest, ListUnitActivityResponse>;
127
+ /**
128
+ * @perm: Name=Stream
129
+ *
130
+ * @generated from protobuf rpc: GetDispatch(services.centrum.GetDispatchRequest) returns (services.centrum.GetDispatchResponse);
131
+ */
132
+ getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse>;
133
+ /**
134
+ * @perm: Name=Stream
135
+ *
136
+ * @generated from protobuf rpc: ListDispatches(services.centrum.ListDispatchesRequest) returns (services.centrum.ListDispatchesResponse);
137
+ */
138
+ listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse>;
139
+ /**
140
+ * @perm: Name=Stream
141
+ *
142
+ * @generated from protobuf rpc: ListDispatchActivity(services.centrum.ListDispatchActivityRequest) returns (services.centrum.ListDispatchActivityResponse);
143
+ */
144
+ listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse>;
145
+ /**
146
+ * @perm
147
+ *
148
+ * @generated from protobuf rpc: CreateOrUpdateUnit(services.centrum.CreateOrUpdateUnitRequest) returns (services.centrum.CreateOrUpdateUnitResponse);
149
+ */
150
+ createOrUpdateUnit(input: CreateOrUpdateUnitRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse>;
151
+ /**
152
+ * @perm
153
+ *
154
+ * @generated from protobuf rpc: DeleteUnit(services.centrum.DeleteUnitRequest) returns (services.centrum.DeleteUnitResponse);
155
+ */
156
+ deleteUnit(input: DeleteUnitRequest, options?: RpcOptions): UnaryCall<DeleteUnitRequest, DeleteUnitResponse>;
157
+ /**
158
+ * @perm
159
+ *
160
+ * @generated from protobuf rpc: TakeDispatch(services.centrum.TakeDispatchRequest) returns (services.centrum.TakeDispatchResponse);
161
+ */
162
+ takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse>;
163
+ /**
164
+ * @perm: Name=TakeDispatch
165
+ *
166
+ * @generated from protobuf rpc: UpdateUnitStatus(services.centrum.UpdateUnitStatusRequest) returns (services.centrum.UpdateUnitStatusResponse);
167
+ */
168
+ updateUnitStatus(input: UpdateUnitStatusRequest, options?: RpcOptions): UnaryCall<UpdateUnitStatusRequest, UpdateUnitStatusResponse>;
169
+ /**
170
+ * @perm: Name=TakeDispatch
171
+ *
172
+ * @generated from protobuf rpc: UpdateDispatchStatus(services.centrum.UpdateDispatchStatusRequest) returns (services.centrum.UpdateDispatchStatusResponse);
173
+ */
174
+ updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>;
175
+ }
176
+ /**
177
+ * @generated from protobuf service services.centrum.CentrumService
178
+ */
179
+ export class CentrumServiceClient implements ICentrumServiceClient, ServiceInfo {
180
+ typeName = CentrumService.typeName;
181
+ methods = CentrumService.methods;
182
+ options = CentrumService.options;
183
+ constructor(private readonly _transport: RpcTransport) {
184
+ }
185
+ /**
186
+ * @perm
187
+ *
188
+ * @generated from protobuf rpc: UpdateSettings(services.centrum.UpdateSettingsRequest) returns (services.centrum.UpdateSettingsResponse);
189
+ */
190
+ updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse> {
191
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
192
+ return stackIntercept<UpdateSettingsRequest, UpdateSettingsResponse>("unary", this._transport, method, opt, input);
193
+ }
194
+ /**
195
+ * @perm
196
+ *
197
+ * @generated from protobuf rpc: CreateDispatch(services.centrum.CreateDispatchRequest) returns (services.centrum.CreateDispatchResponse);
198
+ */
199
+ createDispatch(input: CreateDispatchRequest, options?: RpcOptions): UnaryCall<CreateDispatchRequest, CreateDispatchResponse> {
200
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
201
+ return stackIntercept<CreateDispatchRequest, CreateDispatchResponse>("unary", this._transport, method, opt, input);
202
+ }
203
+ /**
204
+ * @perm
205
+ *
206
+ * @generated from protobuf rpc: UpdateDispatch(services.centrum.UpdateDispatchRequest) returns (services.centrum.UpdateDispatchResponse);
207
+ */
208
+ updateDispatch(input: UpdateDispatchRequest, options?: RpcOptions): UnaryCall<UpdateDispatchRequest, UpdateDispatchResponse> {
209
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
210
+ return stackIntercept<UpdateDispatchRequest, UpdateDispatchResponse>("unary", this._transport, method, opt, input);
211
+ }
212
+ /**
213
+ * @perm
214
+ *
215
+ * @generated from protobuf rpc: DeleteDispatch(services.centrum.DeleteDispatchRequest) returns (services.centrum.DeleteDispatchResponse);
216
+ */
217
+ deleteDispatch(input: DeleteDispatchRequest, options?: RpcOptions): UnaryCall<DeleteDispatchRequest, DeleteDispatchResponse> {
218
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
219
+ return stackIntercept<DeleteDispatchRequest, DeleteDispatchResponse>("unary", this._transport, method, opt, input);
220
+ }
221
+ /**
222
+ * @perm
223
+ *
224
+ * @generated from protobuf rpc: TakeControl(services.centrum.TakeControlRequest) returns (services.centrum.TakeControlResponse);
225
+ */
226
+ takeControl(input: TakeControlRequest, options?: RpcOptions): UnaryCall<TakeControlRequest, TakeControlResponse> {
227
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
228
+ return stackIntercept<TakeControlRequest, TakeControlResponse>("unary", this._transport, method, opt, input);
229
+ }
230
+ /**
231
+ * @perm: Name=TakeControl
232
+ *
233
+ * @generated from protobuf rpc: AssignDispatch(services.centrum.AssignDispatchRequest) returns (services.centrum.AssignDispatchResponse);
234
+ */
235
+ assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse> {
236
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
237
+ return stackIntercept<AssignDispatchRequest, AssignDispatchResponse>("unary", this._transport, method, opt, input);
238
+ }
239
+ /**
240
+ * @perm: Name=TakeControl
241
+ *
242
+ * @generated from protobuf rpc: AssignUnit(services.centrum.AssignUnitRequest) returns (services.centrum.AssignUnitResponse);
243
+ */
244
+ assignUnit(input: AssignUnitRequest, options?: RpcOptions): UnaryCall<AssignUnitRequest, AssignUnitResponse> {
245
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
246
+ return stackIntercept<AssignUnitRequest, AssignUnitResponse>("unary", this._transport, method, opt, input);
247
+ }
248
+ /**
249
+ * @perm
250
+ *
251
+ * @generated from protobuf rpc: Stream(services.centrum.StreamRequest) returns (stream services.centrum.StreamResponse);
252
+ */
253
+ stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
254
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
255
+ return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
256
+ }
257
+ /**
258
+ * @perm: Name=Stream
259
+ *
260
+ * @generated from protobuf rpc: GetSettings(services.centrum.GetSettingsRequest) returns (services.centrum.GetSettingsResponse);
261
+ */
262
+ getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse> {
263
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
264
+ return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input);
265
+ }
266
+ /**
267
+ * @perm: Name=Stream
268
+ *
269
+ * @generated from protobuf rpc: JoinUnit(services.centrum.JoinUnitRequest) returns (services.centrum.JoinUnitResponse);
270
+ */
271
+ joinUnit(input: JoinUnitRequest, options?: RpcOptions): UnaryCall<JoinUnitRequest, JoinUnitResponse> {
272
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
273
+ return stackIntercept<JoinUnitRequest, JoinUnitResponse>("unary", this._transport, method, opt, input);
274
+ }
275
+ /**
276
+ * @perm: Name=Stream
277
+ *
278
+ * @generated from protobuf rpc: ListUnits(services.centrum.ListUnitsRequest) returns (services.centrum.ListUnitsResponse);
279
+ */
280
+ listUnits(input: ListUnitsRequest, options?: RpcOptions): UnaryCall<ListUnitsRequest, ListUnitsResponse> {
281
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
282
+ return stackIntercept<ListUnitsRequest, ListUnitsResponse>("unary", this._transport, method, opt, input);
283
+ }
284
+ /**
285
+ * @perm: Name=Stream
286
+ *
287
+ * @generated from protobuf rpc: ListUnitActivity(services.centrum.ListUnitActivityRequest) returns (services.centrum.ListUnitActivityResponse);
288
+ */
289
+ listUnitActivity(input: ListUnitActivityRequest, options?: RpcOptions): UnaryCall<ListUnitActivityRequest, ListUnitActivityResponse> {
290
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
291
+ return stackIntercept<ListUnitActivityRequest, ListUnitActivityResponse>("unary", this._transport, method, opt, input);
292
+ }
293
+ /**
294
+ * @perm: Name=Stream
295
+ *
296
+ * @generated from protobuf rpc: GetDispatch(services.centrum.GetDispatchRequest) returns (services.centrum.GetDispatchResponse);
297
+ */
298
+ getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse> {
299
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
300
+ return stackIntercept<GetDispatchRequest, GetDispatchResponse>("unary", this._transport, method, opt, input);
301
+ }
302
+ /**
303
+ * @perm: Name=Stream
304
+ *
305
+ * @generated from protobuf rpc: ListDispatches(services.centrum.ListDispatchesRequest) returns (services.centrum.ListDispatchesResponse);
306
+ */
307
+ listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse> {
308
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
309
+ return stackIntercept<ListDispatchesRequest, ListDispatchesResponse>("unary", this._transport, method, opt, input);
310
+ }
311
+ /**
312
+ * @perm: Name=Stream
313
+ *
314
+ * @generated from protobuf rpc: ListDispatchActivity(services.centrum.ListDispatchActivityRequest) returns (services.centrum.ListDispatchActivityResponse);
315
+ */
316
+ listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse> {
317
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
318
+ return stackIntercept<ListDispatchActivityRequest, ListDispatchActivityResponse>("unary", this._transport, method, opt, input);
319
+ }
320
+ /**
321
+ * @perm
322
+ *
323
+ * @generated from protobuf rpc: CreateOrUpdateUnit(services.centrum.CreateOrUpdateUnitRequest) returns (services.centrum.CreateOrUpdateUnitResponse);
324
+ */
325
+ createOrUpdateUnit(input: CreateOrUpdateUnitRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse> {
326
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
327
+ return stackIntercept<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse>("unary", this._transport, method, opt, input);
328
+ }
329
+ /**
330
+ * @perm
331
+ *
332
+ * @generated from protobuf rpc: DeleteUnit(services.centrum.DeleteUnitRequest) returns (services.centrum.DeleteUnitResponse);
333
+ */
334
+ deleteUnit(input: DeleteUnitRequest, options?: RpcOptions): UnaryCall<DeleteUnitRequest, DeleteUnitResponse> {
335
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
336
+ return stackIntercept<DeleteUnitRequest, DeleteUnitResponse>("unary", this._transport, method, opt, input);
337
+ }
338
+ /**
339
+ * @perm
340
+ *
341
+ * @generated from protobuf rpc: TakeDispatch(services.centrum.TakeDispatchRequest) returns (services.centrum.TakeDispatchResponse);
342
+ */
343
+ takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse> {
344
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
345
+ return stackIntercept<TakeDispatchRequest, TakeDispatchResponse>("unary", this._transport, method, opt, input);
346
+ }
347
+ /**
348
+ * @perm: Name=TakeDispatch
349
+ *
350
+ * @generated from protobuf rpc: UpdateUnitStatus(services.centrum.UpdateUnitStatusRequest) returns (services.centrum.UpdateUnitStatusResponse);
351
+ */
352
+ updateUnitStatus(input: UpdateUnitStatusRequest, options?: RpcOptions): UnaryCall<UpdateUnitStatusRequest, UpdateUnitStatusResponse> {
353
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
354
+ return stackIntercept<UpdateUnitStatusRequest, UpdateUnitStatusResponse>("unary", this._transport, method, opt, input);
355
+ }
356
+ /**
357
+ * @perm: Name=TakeDispatch
358
+ *
359
+ * @generated from protobuf rpc: UpdateDispatchStatus(services.centrum.UpdateDispatchStatusRequest) returns (services.centrum.UpdateDispatchStatusResponse);
360
+ */
361
+ updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse> {
362
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
363
+ return stackIntercept<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>("unary", this._transport, method, opt, input);
364
+ }
365
+ }