@fivenet-app/gen 2026.4.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.
- package/clients.ts +60 -0
- package/codegen/perms/perms.ts +11 -0
- package/package.json +1 -1
- package/perms.ts +10 -0
- package/resources/citizens/labels/access.ts +216 -0
- package/resources/citizens/labels/labels.ts +8 -214
- package/services/calendar/calendar.client.ts +2 -106
- package/services/calendar/calendar.ts +0 -1018
- package/services/calendar/entries.client.ts +129 -0
- package/services/calendar/entries.ts +1040 -0
- package/services/centrum/centrum.client.ts +23 -244
- package/services/centrum/centrum.ts +246 -2383
- package/services/centrum/dispatches.client.ts +155 -0
- package/services/centrum/dispatches.ts +1305 -0
- package/services/centrum/units.client.ts +116 -0
- package/services/centrum/units.ts +876 -0
- package/services/documents/categories.client.ts +64 -0
- package/services/documents/categories.ts +331 -0
- package/services/documents/comments.client.ts +77 -0
- package/services/documents/comments.ts +479 -0
- package/services/documents/documents.client.ts +26 -182
- package/services/documents/documents.ts +335 -1682
- package/services/documents/templates.client.ts +90 -0
- package/services/documents/templates.ts +591 -0
- package/services/jobs/colleagues.client.ts +129 -0
- package/services/jobs/colleagues.ts +1129 -0
- package/services/jobs/jobs.client.ts +3 -107
- package/services/jobs/jobs.ts +1 -1113
- package/services/mailer/mailer.client.ts +0 -208
- package/services/mailer/mailer.ts +1 -2010
- package/services/mailer/settings.client.ts +103 -0
- package/services/mailer/settings.ts +708 -0
- package/services/mailer/thread.client.ts +155 -0
- package/services/mailer/thread.ts +1343 -0
- package/services/qualifications/exam.client.ts +77 -0
- package/services/qualifications/exam.ts +609 -0
- package/services/qualifications/qualifications.client.ts +1 -53
- package/services/qualifications/qualifications.ts +0 -591
- package/services/sync/sync.client.ts +4 -4
- package/services/sync/sync.ts +23 -0
- package/svcs.ts +153 -67
|
@@ -5,54 +5,20 @@
|
|
|
5
5
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
6
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
7
|
import { CentrumService } from "./centrum";
|
|
8
|
-
import type { UpdateDispatchStatusResponse } from "./centrum";
|
|
9
|
-
import type { UpdateDispatchStatusRequest } from "./centrum";
|
|
10
|
-
import type { UpdateUnitStatusResponse } from "./centrum";
|
|
11
|
-
import type { UpdateUnitStatusRequest } from "./centrum";
|
|
12
|
-
import type { TakeDispatchResponse } from "./centrum";
|
|
13
|
-
import type { TakeDispatchRequest } from "./centrum";
|
|
14
|
-
import type { DeleteUnitResponse } from "./centrum";
|
|
15
|
-
import type { DeleteUnitRequest } from "./centrum";
|
|
16
|
-
import type { CreateOrUpdateUnitResponse } from "./centrum";
|
|
17
|
-
import type { CreateOrUpdateUnitRequest } from "./centrum";
|
|
18
|
-
import type { ListDispatchActivityResponse } from "./centrum";
|
|
19
|
-
import type { ListDispatchActivityRequest } from "./centrum";
|
|
20
|
-
import type { ListDispatchesResponse } from "./centrum";
|
|
21
|
-
import type { ListDispatchesRequest } from "./centrum";
|
|
22
|
-
import type { GetDispatchResponse } from "./centrum";
|
|
23
|
-
import type { GetDispatchRequest } from "./centrum";
|
|
24
|
-
import type { ListUnitActivityResponse } from "./centrum";
|
|
25
|
-
import type { ListUnitActivityRequest } from "./centrum";
|
|
26
|
-
import type { ListUnitsResponse } from "./centrum";
|
|
27
|
-
import type { ListUnitsRequest } from "./centrum";
|
|
28
|
-
import type { JoinUnitResponse } from "./centrum";
|
|
29
|
-
import type { JoinUnitRequest } from "./centrum";
|
|
30
|
-
import type { GetSettingsResponse } from "./centrum";
|
|
31
|
-
import type { GetSettingsRequest } from "./centrum";
|
|
32
8
|
import type { StreamResponse } from "./centrum";
|
|
33
9
|
import type { StreamRequest } from "./centrum";
|
|
34
10
|
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
35
11
|
import type { UpdateDispatchersResponse } from "./centrum";
|
|
36
12
|
import type { UpdateDispatchersRequest } from "./centrum";
|
|
37
|
-
import type { GetDispatchHeatmapResponse } from "./centrum";
|
|
38
|
-
import type { GetDispatchHeatmapRequest } from "./centrum";
|
|
39
|
-
import type { AssignUnitResponse } from "./centrum";
|
|
40
|
-
import type { AssignUnitRequest } from "./centrum";
|
|
41
|
-
import type { AssignDispatchResponse } from "./centrum";
|
|
42
|
-
import type { AssignDispatchRequest } from "./centrum";
|
|
43
13
|
import type { TakeControlResponse } from "./centrum";
|
|
44
14
|
import type { TakeControlRequest } from "./centrum";
|
|
45
|
-
import type {
|
|
46
|
-
import type {
|
|
47
|
-
import type { DeleteDispatchResponse } from "./centrum";
|
|
48
|
-
import type { DeleteDispatchRequest } from "./centrum";
|
|
49
|
-
import type { UpdateDispatchResponse } from "./centrum";
|
|
50
|
-
import type { UpdateDispatchRequest } from "./centrum";
|
|
51
|
-
import type { CreateDispatchResponse } from "./centrum";
|
|
52
|
-
import type { CreateDispatchRequest } from "./centrum";
|
|
53
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
15
|
+
import type { GetDispatchHeatmapResponse } from "./centrum";
|
|
16
|
+
import type { GetDispatchHeatmapRequest } from "./centrum";
|
|
54
17
|
import type { UpdateSettingsResponse } from "./centrum";
|
|
55
18
|
import type { UpdateSettingsRequest } from "./centrum";
|
|
19
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
20
|
+
import type { GetSettingsResponse } from "./centrum";
|
|
21
|
+
import type { GetSettingsRequest } from "./centrum";
|
|
56
22
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
57
23
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
58
24
|
/**
|
|
@@ -60,41 +26,21 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
|
60
26
|
*/
|
|
61
27
|
export interface ICentrumServiceClient {
|
|
62
28
|
/**
|
|
63
|
-
* @generated from protobuf rpc:
|
|
64
|
-
*/
|
|
65
|
-
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* @generated from protobuf rpc: CreateDispatch
|
|
68
|
-
*/
|
|
69
|
-
createDispatch(input: CreateDispatchRequest, options?: RpcOptions): UnaryCall<CreateDispatchRequest, CreateDispatchResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* @generated from protobuf rpc: UpdateDispatch
|
|
29
|
+
* @generated from protobuf rpc: GetSettings
|
|
72
30
|
*/
|
|
73
|
-
|
|
31
|
+
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>;
|
|
74
32
|
/**
|
|
75
|
-
* @generated from protobuf rpc:
|
|
33
|
+
* @generated from protobuf rpc: UpdateSettings
|
|
76
34
|
*/
|
|
77
|
-
|
|
35
|
+
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse>;
|
|
78
36
|
/**
|
|
79
|
-
* @generated from protobuf rpc:
|
|
37
|
+
* @generated from protobuf rpc: GetDispatchHeatmap
|
|
80
38
|
*/
|
|
81
|
-
|
|
39
|
+
getDispatchHeatmap(input: GetDispatchHeatmapRequest, options?: RpcOptions): UnaryCall<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse>;
|
|
82
40
|
/**
|
|
83
41
|
* @generated from protobuf rpc: TakeControl
|
|
84
42
|
*/
|
|
85
43
|
takeControl(input: TakeControlRequest, options?: RpcOptions): UnaryCall<TakeControlRequest, TakeControlResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* @generated from protobuf rpc: AssignDispatch
|
|
88
|
-
*/
|
|
89
|
-
assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse>;
|
|
90
|
-
/**
|
|
91
|
-
* @generated from protobuf rpc: AssignUnit
|
|
92
|
-
*/
|
|
93
|
-
assignUnit(input: AssignUnitRequest, options?: RpcOptions): UnaryCall<AssignUnitRequest, AssignUnitResponse>;
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf rpc: GetDispatchHeatmap
|
|
96
|
-
*/
|
|
97
|
-
getDispatchHeatmap(input: GetDispatchHeatmapRequest, options?: RpcOptions): UnaryCall<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse>;
|
|
98
44
|
/**
|
|
99
45
|
* @generated from protobuf rpc: UpdateDispatchers
|
|
100
46
|
*/
|
|
@@ -103,54 +49,6 @@ export interface ICentrumServiceClient {
|
|
|
103
49
|
* @generated from protobuf rpc: Stream
|
|
104
50
|
*/
|
|
105
51
|
stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* @generated from protobuf rpc: GetSettings
|
|
108
|
-
*/
|
|
109
|
-
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>;
|
|
110
|
-
/**
|
|
111
|
-
* @generated from protobuf rpc: JoinUnit
|
|
112
|
-
*/
|
|
113
|
-
joinUnit(input: JoinUnitRequest, options?: RpcOptions): UnaryCall<JoinUnitRequest, JoinUnitResponse>;
|
|
114
|
-
/**
|
|
115
|
-
* @generated from protobuf rpc: ListUnits
|
|
116
|
-
*/
|
|
117
|
-
listUnits(input: ListUnitsRequest, options?: RpcOptions): UnaryCall<ListUnitsRequest, ListUnitsResponse>;
|
|
118
|
-
/**
|
|
119
|
-
* @generated from protobuf rpc: ListUnitActivity
|
|
120
|
-
*/
|
|
121
|
-
listUnitActivity(input: ListUnitActivityRequest, options?: RpcOptions): UnaryCall<ListUnitActivityRequest, ListUnitActivityResponse>;
|
|
122
|
-
/**
|
|
123
|
-
* @generated from protobuf rpc: GetDispatch
|
|
124
|
-
*/
|
|
125
|
-
getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse>;
|
|
126
|
-
/**
|
|
127
|
-
* @generated from protobuf rpc: ListDispatches
|
|
128
|
-
*/
|
|
129
|
-
listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* @generated from protobuf rpc: ListDispatchActivity
|
|
132
|
-
*/
|
|
133
|
-
listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* @generated from protobuf rpc: CreateOrUpdateUnit
|
|
136
|
-
*/
|
|
137
|
-
createOrUpdateUnit(input: CreateOrUpdateUnitRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse>;
|
|
138
|
-
/**
|
|
139
|
-
* @generated from protobuf rpc: DeleteUnit
|
|
140
|
-
*/
|
|
141
|
-
deleteUnit(input: DeleteUnitRequest, options?: RpcOptions): UnaryCall<DeleteUnitRequest, DeleteUnitResponse>;
|
|
142
|
-
/**
|
|
143
|
-
* @generated from protobuf rpc: TakeDispatch
|
|
144
|
-
*/
|
|
145
|
-
takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse>;
|
|
146
|
-
/**
|
|
147
|
-
* @generated from protobuf rpc: UpdateUnitStatus
|
|
148
|
-
*/
|
|
149
|
-
updateUnitStatus(input: UpdateUnitStatusRequest, options?: RpcOptions): UnaryCall<UpdateUnitStatusRequest, UpdateUnitStatusResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* @generated from protobuf rpc: UpdateDispatchStatus
|
|
152
|
-
*/
|
|
153
|
-
updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>;
|
|
154
52
|
}
|
|
155
53
|
/**
|
|
156
54
|
* @generated from protobuf service services.centrum.CentrumService
|
|
@@ -162,164 +60,45 @@ export class CentrumServiceClient implements ICentrumServiceClient, ServiceInfo
|
|
|
162
60
|
constructor(private readonly _transport: RpcTransport) {
|
|
163
61
|
}
|
|
164
62
|
/**
|
|
165
|
-
* @generated from protobuf rpc:
|
|
63
|
+
* @generated from protobuf rpc: GetSettings
|
|
166
64
|
*/
|
|
167
|
-
|
|
65
|
+
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse> {
|
|
168
66
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
169
|
-
return stackIntercept<
|
|
67
|
+
return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input);
|
|
170
68
|
}
|
|
171
69
|
/**
|
|
172
|
-
* @generated from protobuf rpc:
|
|
70
|
+
* @generated from protobuf rpc: UpdateSettings
|
|
173
71
|
*/
|
|
174
|
-
|
|
72
|
+
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse> {
|
|
175
73
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
176
|
-
return stackIntercept<
|
|
74
|
+
return stackIntercept<UpdateSettingsRequest, UpdateSettingsResponse>("unary", this._transport, method, opt, input);
|
|
177
75
|
}
|
|
178
76
|
/**
|
|
179
|
-
* @generated from protobuf rpc:
|
|
77
|
+
* @generated from protobuf rpc: GetDispatchHeatmap
|
|
180
78
|
*/
|
|
181
|
-
|
|
79
|
+
getDispatchHeatmap(input: GetDispatchHeatmapRequest, options?: RpcOptions): UnaryCall<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse> {
|
|
182
80
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
183
|
-
return stackIntercept<
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* @generated from protobuf rpc: DeleteDispatch
|
|
187
|
-
*/
|
|
188
|
-
deleteDispatch(input: DeleteDispatchRequest, options?: RpcOptions): UnaryCall<DeleteDispatchRequest, DeleteDispatchResponse> {
|
|
189
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
190
|
-
return stackIntercept<DeleteDispatchRequest, DeleteDispatchResponse>("unary", this._transport, method, opt, input);
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
* @generated from protobuf rpc: ListDispatchTargetJobs
|
|
194
|
-
*/
|
|
195
|
-
listDispatchTargetJobs(input: ListDispatchTargetJobsRequest, options?: RpcOptions): UnaryCall<ListDispatchTargetJobsRequest, ListDispatchTargetJobsResponse> {
|
|
196
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
197
|
-
return stackIntercept<ListDispatchTargetJobsRequest, ListDispatchTargetJobsResponse>("unary", this._transport, method, opt, input);
|
|
81
|
+
return stackIntercept<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse>("unary", this._transport, method, opt, input);
|
|
198
82
|
}
|
|
199
83
|
/**
|
|
200
84
|
* @generated from protobuf rpc: TakeControl
|
|
201
85
|
*/
|
|
202
86
|
takeControl(input: TakeControlRequest, options?: RpcOptions): UnaryCall<TakeControlRequest, TakeControlResponse> {
|
|
203
|
-
const method = this.methods[
|
|
87
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
204
88
|
return stackIntercept<TakeControlRequest, TakeControlResponse>("unary", this._transport, method, opt, input);
|
|
205
89
|
}
|
|
206
|
-
/**
|
|
207
|
-
* @generated from protobuf rpc: AssignDispatch
|
|
208
|
-
*/
|
|
209
|
-
assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse> {
|
|
210
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
211
|
-
return stackIntercept<AssignDispatchRequest, AssignDispatchResponse>("unary", this._transport, method, opt, input);
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* @generated from protobuf rpc: AssignUnit
|
|
215
|
-
*/
|
|
216
|
-
assignUnit(input: AssignUnitRequest, options?: RpcOptions): UnaryCall<AssignUnitRequest, AssignUnitResponse> {
|
|
217
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
218
|
-
return stackIntercept<AssignUnitRequest, AssignUnitResponse>("unary", this._transport, method, opt, input);
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* @generated from protobuf rpc: GetDispatchHeatmap
|
|
222
|
-
*/
|
|
223
|
-
getDispatchHeatmap(input: GetDispatchHeatmapRequest, options?: RpcOptions): UnaryCall<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse> {
|
|
224
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
225
|
-
return stackIntercept<GetDispatchHeatmapRequest, GetDispatchHeatmapResponse>("unary", this._transport, method, opt, input);
|
|
226
|
-
}
|
|
227
90
|
/**
|
|
228
91
|
* @generated from protobuf rpc: UpdateDispatchers
|
|
229
92
|
*/
|
|
230
93
|
updateDispatchers(input: UpdateDispatchersRequest, options?: RpcOptions): UnaryCall<UpdateDispatchersRequest, UpdateDispatchersResponse> {
|
|
231
|
-
const method = this.methods[
|
|
94
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
232
95
|
return stackIntercept<UpdateDispatchersRequest, UpdateDispatchersResponse>("unary", this._transport, method, opt, input);
|
|
233
96
|
}
|
|
234
97
|
/**
|
|
235
98
|
* @generated from protobuf rpc: Stream
|
|
236
99
|
*/
|
|
237
100
|
stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
|
|
238
|
-
const method = this.methods[
|
|
101
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
239
102
|
return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
|
|
240
103
|
}
|
|
241
|
-
/**
|
|
242
|
-
* @generated from protobuf rpc: GetSettings
|
|
243
|
-
*/
|
|
244
|
-
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse> {
|
|
245
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
246
|
-
return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input);
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* @generated from protobuf rpc: JoinUnit
|
|
250
|
-
*/
|
|
251
|
-
joinUnit(input: JoinUnitRequest, options?: RpcOptions): UnaryCall<JoinUnitRequest, JoinUnitResponse> {
|
|
252
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
253
|
-
return stackIntercept<JoinUnitRequest, JoinUnitResponse>("unary", this._transport, method, opt, input);
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* @generated from protobuf rpc: ListUnits
|
|
257
|
-
*/
|
|
258
|
-
listUnits(input: ListUnitsRequest, options?: RpcOptions): UnaryCall<ListUnitsRequest, ListUnitsResponse> {
|
|
259
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
260
|
-
return stackIntercept<ListUnitsRequest, ListUnitsResponse>("unary", this._transport, method, opt, input);
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* @generated from protobuf rpc: ListUnitActivity
|
|
264
|
-
*/
|
|
265
|
-
listUnitActivity(input: ListUnitActivityRequest, options?: RpcOptions): UnaryCall<ListUnitActivityRequest, ListUnitActivityResponse> {
|
|
266
|
-
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
267
|
-
return stackIntercept<ListUnitActivityRequest, ListUnitActivityResponse>("unary", this._transport, method, opt, input);
|
|
268
|
-
}
|
|
269
|
-
/**
|
|
270
|
-
* @generated from protobuf rpc: GetDispatch
|
|
271
|
-
*/
|
|
272
|
-
getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse> {
|
|
273
|
-
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
274
|
-
return stackIntercept<GetDispatchRequest, GetDispatchResponse>("unary", this._transport, method, opt, input);
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* @generated from protobuf rpc: ListDispatches
|
|
278
|
-
*/
|
|
279
|
-
listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse> {
|
|
280
|
-
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
281
|
-
return stackIntercept<ListDispatchesRequest, ListDispatchesResponse>("unary", this._transport, method, opt, input);
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* @generated from protobuf rpc: ListDispatchActivity
|
|
285
|
-
*/
|
|
286
|
-
listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse> {
|
|
287
|
-
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
288
|
-
return stackIntercept<ListDispatchActivityRequest, ListDispatchActivityResponse>("unary", this._transport, method, opt, input);
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* @generated from protobuf rpc: CreateOrUpdateUnit
|
|
292
|
-
*/
|
|
293
|
-
createOrUpdateUnit(input: CreateOrUpdateUnitRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse> {
|
|
294
|
-
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
295
|
-
return stackIntercept<CreateOrUpdateUnitRequest, CreateOrUpdateUnitResponse>("unary", this._transport, method, opt, input);
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* @generated from protobuf rpc: DeleteUnit
|
|
299
|
-
*/
|
|
300
|
-
deleteUnit(input: DeleteUnitRequest, options?: RpcOptions): UnaryCall<DeleteUnitRequest, DeleteUnitResponse> {
|
|
301
|
-
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
302
|
-
return stackIntercept<DeleteUnitRequest, DeleteUnitResponse>("unary", this._transport, method, opt, input);
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* @generated from protobuf rpc: TakeDispatch
|
|
306
|
-
*/
|
|
307
|
-
takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse> {
|
|
308
|
-
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
309
|
-
return stackIntercept<TakeDispatchRequest, TakeDispatchResponse>("unary", this._transport, method, opt, input);
|
|
310
|
-
}
|
|
311
|
-
/**
|
|
312
|
-
* @generated from protobuf rpc: UpdateUnitStatus
|
|
313
|
-
*/
|
|
314
|
-
updateUnitStatus(input: UpdateUnitStatusRequest, options?: RpcOptions): UnaryCall<UpdateUnitStatusRequest, UpdateUnitStatusResponse> {
|
|
315
|
-
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
316
|
-
return stackIntercept<UpdateUnitStatusRequest, UpdateUnitStatusResponse>("unary", this._transport, method, opt, input);
|
|
317
|
-
}
|
|
318
|
-
/**
|
|
319
|
-
* @generated from protobuf rpc: UpdateDispatchStatus
|
|
320
|
-
*/
|
|
321
|
-
updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse> {
|
|
322
|
-
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
323
|
-
return stackIntercept<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>("unary", this._transport, method, opt, input);
|
|
324
|
-
}
|
|
325
104
|
}
|