@fivenet-app/gen 2026.8.0 → 2026.10.2
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/LICENSE +201 -0
- package/clients.ts +12 -0
- package/codegen/perms/perms.ts +331 -2
- package/google/protobuf/any.ts +47 -103
- package/google/protobuf/descriptor.ts +28 -29
- package/google/protobuf/struct.ts +33 -22
- package/google/protobuf/timestamp.ts +3 -3
- package/package.json +2 -2
- package/perms.ts +58 -17
- package/resources/calendar/calendar.ts +11 -0
- package/resources/calendar/entries/entries.ts +23 -0
- package/resources/centrum/dispatches/dispatches.ts +214 -21
- package/resources/centrum/units/units.ts +212 -5
- package/resources/citizens/labels/access.ts +10 -6
- package/resources/cron/cron.ts +44 -3
- package/resources/dbsync/state.ts +192 -0
- package/resources/documents/stamps/access.ts +25 -0
- package/resources/documents/stamps/stamp.ts +0 -21
- package/resources/documents/templates/templates.ts +63 -61
- package/resources/documents/workflow/workflow.ts +61 -1
- package/resources/file/file.ts +3 -3
- package/resources/file/filestore.ts +26 -10
- package/resources/jobs/colleagues/activity/activity.ts +50 -8
- package/resources/jobs/colleagues/colleagues.ts +14 -1
- package/resources/jobs/groups/access/access.ts +29 -0
- package/resources/jobs/groups/activity.ts +332 -0
- package/resources/jobs/groups/group.ts +1666 -0
- package/resources/jobs/groups/short/group_member_short.ts +129 -0
- package/resources/jobs/job_asset.ts +116 -0
- package/resources/jobs/user_selector.ts +170 -0
- package/resources/notifications/clientview/clientview.ts +5 -1
- package/resources/notifications/events/events.ts +35 -1
- package/resources/notifications/notifications.ts +322 -2
- package/resources/permissions/attributes/attributes.ts +164 -2
- package/resources/permissions/authorization/authorization.ts +86 -0
- package/resources/permissions/permissions/permissions.ts +16 -1
- package/resources/properties/properties.ts +1648 -0
- package/resources/qualifications/activity/activity.ts +328 -0
- package/resources/qualifications/exam/exam.ts +108 -4
- package/resources/qualifications/qualifications.ts +36 -2
- package/resources/settings/config.ts +3 -3
- package/resources/settings/status.ts +197 -105
- package/resources/sync/activity/activity.ts +4 -4
- package/resources/sync/data/data.ts +16 -4
- package/resources/users/activity/activity.ts +220 -3
- package/resources/users/props/props.ts +13 -1
- package/resources/users/user.ts +13 -1
- package/resources/vehicles/activity/activity.ts +222 -3
- package/resources/vehicles/props/props.ts +13 -1
- package/resources/vehicles/vehicles.ts +13 -1
- package/services/auth/auth.ts +61 -67
- package/services/calendar/calendar.ts +1 -1
- package/services/calendar/entries.ts +3 -3
- package/services/centrum/centrum.ts +103 -1
- package/services/centrum/dispatches.ts +25 -1
- package/services/centrum/units.ts +28 -4
- package/services/citizens/citizens.client.ts +49 -0
- package/services/citizens/citizens.ts +384 -7
- package/services/completor/completor.ts +2 -2
- package/services/documents/approval.ts +2 -2
- package/services/documents/documents.ts +10 -9
- package/services/documents/templates.ts +24 -13
- package/services/jobs/colleagues.client.ts +34 -8
- package/services/jobs/colleagues.ts +289 -75
- package/services/jobs/conduct.ts +12 -19
- package/services/jobs/groups.client.ts +311 -0
- package/services/jobs/groups.ts +3654 -1
- package/services/jobs/timeclock.ts +30 -27
- package/services/notifications/notifications.client.ts +40 -1
- package/services/notifications/notifications.ts +483 -3
- package/services/qualifications/qualifications.client.ts +20 -7
- package/services/qualifications/qualifications.ts +291 -8
- package/services/settings/job_assets.client.ts +105 -0
- package/services/settings/job_assets.ts +373 -0
- package/services/settings/properties.client.ts +194 -0
- package/services/settings/properties.ts +1555 -0
- package/services/settings/settings.ts +1 -1
- package/services/settings/system.ts +29 -9
- package/services/sync/sync.client.ts +69 -33
- package/services/sync/sync.ts +557 -18
- package/services/vehicles/vehicles.client.ts +52 -0
- package/services/vehicles/vehicles.ts +386 -8
- package/svcs.ts +87 -1
|
@@ -1165,7 +1165,7 @@ class ViewAuditLogRequest$Type extends MessageType<ViewAuditLogRequest> {
|
|
|
1165
1165
|
super("services.settings.ViewAuditLogRequest", [
|
|
1166
1166
|
{ no: 1, name: "pagination", kind: "message", T: () => PaginationRequest, options: { "buf.validate.field": { required: true } } },
|
|
1167
1167
|
{ no: 2, name: "sort", kind: "message", T: () => Sort },
|
|
1168
|
-
{ no: 3, name: "user_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32
|
|
1168
|
+
{ no: 3, name: "user_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { repeated: { maxItems: "10" } } } },
|
|
1169
1169
|
{ no: 4, name: "from", kind: "message", T: () => Timestamp },
|
|
1170
1170
|
{ no: 5, name: "to", kind: "message", T: () => Timestamp },
|
|
1171
1171
|
{ no: 6, name: "services", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { repeated: { maxItems: "10", items: { string: { maxLen: "64" } } } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
@@ -124,9 +124,13 @@ export interface GetStatusResponse {
|
|
|
124
124
|
*/
|
|
125
125
|
export interface TriggerUserSyncRequest {
|
|
126
126
|
/**
|
|
127
|
-
* @generated from protobuf field: int32 user_id = 1
|
|
127
|
+
* @generated from protobuf field: repeated int32 user_id = 1
|
|
128
128
|
*/
|
|
129
|
-
userId: number;
|
|
129
|
+
userId: number[];
|
|
130
|
+
/**
|
|
131
|
+
* @generated from protobuf field: repeated string identifiers = 2
|
|
132
|
+
*/
|
|
133
|
+
identifiers: string[];
|
|
130
134
|
}
|
|
131
135
|
/**
|
|
132
136
|
* @generated from protobuf message services.settings.TriggerUserSyncResponse
|
|
@@ -624,12 +628,14 @@ export const GetStatusResponse = new GetStatusResponse$Type();
|
|
|
624
628
|
class TriggerUserSyncRequest$Type extends MessageType<TriggerUserSyncRequest> {
|
|
625
629
|
constructor() {
|
|
626
630
|
super("services.settings.TriggerUserSyncRequest", [
|
|
627
|
-
{ no: 1, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gt: 0 } } } }
|
|
631
|
+
{ no: 1, name: "user_id", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { repeated: { maxItems: "50", items: { int32: { gt: 0 } } } } } },
|
|
632
|
+
{ no: 2, name: "identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { repeated: { maxItems: "50", items: { string: { maxLen: "64" } } } } } }
|
|
628
633
|
]);
|
|
629
634
|
}
|
|
630
635
|
create(value?: PartialMessage<TriggerUserSyncRequest>): TriggerUserSyncRequest {
|
|
631
636
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
632
|
-
message.userId =
|
|
637
|
+
message.userId = [];
|
|
638
|
+
message.identifiers = [];
|
|
633
639
|
if (value !== undefined)
|
|
634
640
|
reflectionMergePartial<TriggerUserSyncRequest>(this, message, value);
|
|
635
641
|
return message;
|
|
@@ -639,8 +645,15 @@ class TriggerUserSyncRequest$Type extends MessageType<TriggerUserSyncRequest> {
|
|
|
639
645
|
while (reader.pos < end) {
|
|
640
646
|
let [fieldNo, wireType] = reader.tag();
|
|
641
647
|
switch (fieldNo) {
|
|
642
|
-
case /* int32 user_id */ 1:
|
|
643
|
-
|
|
648
|
+
case /* repeated int32 user_id */ 1:
|
|
649
|
+
if (wireType === WireType.LengthDelimited)
|
|
650
|
+
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
651
|
+
message.userId.push(reader.int32());
|
|
652
|
+
else
|
|
653
|
+
message.userId.push(reader.int32());
|
|
654
|
+
break;
|
|
655
|
+
case /* repeated string identifiers */ 2:
|
|
656
|
+
message.identifiers.push(reader.string());
|
|
644
657
|
break;
|
|
645
658
|
default:
|
|
646
659
|
let u = options.readUnknownField;
|
|
@@ -654,9 +667,16 @@ class TriggerUserSyncRequest$Type extends MessageType<TriggerUserSyncRequest> {
|
|
|
654
667
|
return message;
|
|
655
668
|
}
|
|
656
669
|
internalBinaryWrite(message: TriggerUserSyncRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
657
|
-
/* int32 user_id = 1; */
|
|
658
|
-
if (message.userId
|
|
659
|
-
writer.tag(1, WireType.
|
|
670
|
+
/* repeated int32 user_id = 1; */
|
|
671
|
+
if (message.userId.length) {
|
|
672
|
+
writer.tag(1, WireType.LengthDelimited).fork();
|
|
673
|
+
for (let i = 0; i < message.userId.length; i++)
|
|
674
|
+
writer.int32(message.userId[i]);
|
|
675
|
+
writer.join();
|
|
676
|
+
}
|
|
677
|
+
/* repeated string identifiers = 2; */
|
|
678
|
+
for (let i = 0; i < message.identifiers.length; i++)
|
|
679
|
+
writer.tag(2, WireType.LengthDelimited).string(message.identifiers[i]);
|
|
660
680
|
let u = options.writeUnknownFields;
|
|
661
681
|
if (u !== false)
|
|
662
682
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -10,7 +10,7 @@ import type { SendDataRequest } from "./sync";
|
|
|
10
10
|
import type { AddActivityRequest } from "./sync";
|
|
11
11
|
import type { StreamResponse } from "./sync";
|
|
12
12
|
import type { StreamRequest } from "./sync";
|
|
13
|
-
import type {
|
|
13
|
+
import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
14
14
|
import type { DeleteVehiclesRequest } from "./sync";
|
|
15
15
|
import type { DeleteUsersRequest } from "./sync";
|
|
16
16
|
import type { SetLastCharIDRequest } from "./sync";
|
|
@@ -32,6 +32,10 @@ import type { AddDispatchRequest } from "./sync";
|
|
|
32
32
|
import type { AddJobTimeclockRequest } from "./sync";
|
|
33
33
|
import type { AddColleaguePropsRequest } from "./sync";
|
|
34
34
|
import type { AddColleagueActivityRequest } from "./sync";
|
|
35
|
+
import type { SetVehiclePropsResponse } from "./sync";
|
|
36
|
+
import type { SetVehiclePropsRequest } from "./sync";
|
|
37
|
+
import type { GetVehiclePropsResponse } from "./sync";
|
|
38
|
+
import type { GetVehiclePropsRequest } from "./sync";
|
|
35
39
|
import type { GetUserPropsResponse } from "./sync";
|
|
36
40
|
import type { GetUserPropsRequest } from "./sync";
|
|
37
41
|
import type { AddUserPropsRequest } from "./sync";
|
|
@@ -110,6 +114,18 @@ export interface ISyncServiceClient {
|
|
|
110
114
|
* @generated from protobuf rpc: GetUserProps
|
|
111
115
|
*/
|
|
112
116
|
getUserProps(input: GetUserPropsRequest, options?: RpcOptions): UnaryCall<GetUserPropsRequest, GetUserPropsResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* Retrieve vehicle props.
|
|
119
|
+
*
|
|
120
|
+
* @generated from protobuf rpc: GetVehicleProps
|
|
121
|
+
*/
|
|
122
|
+
getVehicleProps(input: GetVehiclePropsRequest, options?: RpcOptions): UnaryCall<GetVehiclePropsRequest, GetVehiclePropsResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Update vehicle props.
|
|
125
|
+
*
|
|
126
|
+
* @generated from protobuf rpc: SetVehicleProps
|
|
127
|
+
*/
|
|
128
|
+
setVehicleProps(input: SetVehiclePropsRequest, options?: RpcOptions): UnaryCall<SetVehiclePropsRequest, SetVehiclePropsResponse>;
|
|
113
129
|
/**
|
|
114
130
|
* Record a colleague activity entry.
|
|
115
131
|
*
|
|
@@ -213,27 +229,28 @@ export interface ISyncServiceClient {
|
|
|
213
229
|
*/
|
|
214
230
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse>;
|
|
215
231
|
/**
|
|
216
|
-
* Used for the server to stream events to the dbsync
|
|
232
|
+
* Used for the server to stream events to the dbsync and for the dbsync process to
|
|
233
|
+
* report its current cursor state back to the server.
|
|
217
234
|
*
|
|
218
235
|
* @generated from protobuf rpc: Stream
|
|
219
236
|
*/
|
|
220
|
-
stream(
|
|
237
|
+
stream(options?: RpcOptions): DuplexStreamingCall<StreamRequest, StreamResponse>;
|
|
221
238
|
/**
|
|
222
|
-
*
|
|
239
|
+
* Deprecated: For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
|
|
223
240
|
*
|
|
224
241
|
* @deprecated
|
|
225
242
|
* @generated from protobuf rpc: AddActivity
|
|
226
243
|
*/
|
|
227
244
|
addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse>;
|
|
228
245
|
/**
|
|
229
|
-
*
|
|
246
|
+
* Deprecated: DBSync's method of sending (mass) data to the FiveNet server for storing.
|
|
230
247
|
*
|
|
231
248
|
* @deprecated
|
|
232
249
|
* @generated from protobuf rpc: SendData
|
|
233
250
|
*/
|
|
234
251
|
sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse>;
|
|
235
252
|
/**
|
|
236
|
-
*
|
|
253
|
+
* Deprecated: Way for the gameserver to delete certain data as well
|
|
237
254
|
*
|
|
238
255
|
* @deprecated
|
|
239
256
|
* @generated from protobuf rpc: DeleteData
|
|
@@ -333,13 +350,31 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
333
350
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
334
351
|
return stackIntercept<GetUserPropsRequest, GetUserPropsResponse>("unary", this._transport, method, opt, input);
|
|
335
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* Retrieve vehicle props.
|
|
355
|
+
*
|
|
356
|
+
* @generated from protobuf rpc: GetVehicleProps
|
|
357
|
+
*/
|
|
358
|
+
getVehicleProps(input: GetVehiclePropsRequest, options?: RpcOptions): UnaryCall<GetVehiclePropsRequest, GetVehiclePropsResponse> {
|
|
359
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
360
|
+
return stackIntercept<GetVehiclePropsRequest, GetVehiclePropsResponse>("unary", this._transport, method, opt, input);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Update vehicle props.
|
|
364
|
+
*
|
|
365
|
+
* @generated from protobuf rpc: SetVehicleProps
|
|
366
|
+
*/
|
|
367
|
+
setVehicleProps(input: SetVehiclePropsRequest, options?: RpcOptions): UnaryCall<SetVehiclePropsRequest, SetVehiclePropsResponse> {
|
|
368
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
369
|
+
return stackIntercept<SetVehiclePropsRequest, SetVehiclePropsResponse>("unary", this._transport, method, opt, input);
|
|
370
|
+
}
|
|
336
371
|
/**
|
|
337
372
|
* Record a colleague activity entry.
|
|
338
373
|
*
|
|
339
374
|
* @generated from protobuf rpc: AddColleagueActivity
|
|
340
375
|
*/
|
|
341
376
|
addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse> {
|
|
342
|
-
const method = this.methods[
|
|
377
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
343
378
|
return stackIntercept<AddColleagueActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
344
379
|
}
|
|
345
380
|
/**
|
|
@@ -348,7 +383,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
348
383
|
* @generated from protobuf rpc: AddColleagueProps
|
|
349
384
|
*/
|
|
350
385
|
addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse> {
|
|
351
|
-
const method = this.methods[
|
|
386
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
352
387
|
return stackIntercept<AddColleaguePropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
353
388
|
}
|
|
354
389
|
/**
|
|
@@ -357,7 +392,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
357
392
|
* @generated from protobuf rpc: AddJobTimeclock
|
|
358
393
|
*/
|
|
359
394
|
addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse> {
|
|
360
|
-
const method = this.methods[
|
|
395
|
+
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
361
396
|
return stackIntercept<AddJobTimeclockRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
362
397
|
}
|
|
363
398
|
/**
|
|
@@ -366,7 +401,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
366
401
|
* @generated from protobuf rpc: AddDispatch
|
|
367
402
|
*/
|
|
368
403
|
addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse> {
|
|
369
|
-
const method = this.methods[
|
|
404
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
370
405
|
return stackIntercept<AddDispatchRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
371
406
|
}
|
|
372
407
|
/**
|
|
@@ -375,7 +410,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
375
410
|
* @generated from protobuf rpc: AddMarker
|
|
376
411
|
*/
|
|
377
412
|
addMarker(input: AddMarkerRequest, options?: RpcOptions): UnaryCall<AddMarkerRequest, AddActivityResponse> {
|
|
378
|
-
const method = this.methods[
|
|
413
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
379
414
|
return stackIntercept<AddMarkerRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
380
415
|
}
|
|
381
416
|
/**
|
|
@@ -384,7 +419,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
384
419
|
* @generated from protobuf rpc: DeleteMarker
|
|
385
420
|
*/
|
|
386
421
|
deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse> {
|
|
387
|
-
const method = this.methods[
|
|
422
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
388
423
|
return stackIntercept<DeleteMarkerRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
389
424
|
}
|
|
390
425
|
/**
|
|
@@ -393,7 +428,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
393
428
|
* @generated from protobuf rpc: EndActiveJobTimeclocks
|
|
394
429
|
*/
|
|
395
430
|
endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse> {
|
|
396
|
-
const method = this.methods[
|
|
431
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
397
432
|
return stackIntercept<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>("unary", this._transport, method, opt, input);
|
|
398
433
|
}
|
|
399
434
|
/**
|
|
@@ -402,7 +437,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
402
437
|
* @generated from protobuf rpc: CloseUserDispatches
|
|
403
438
|
*/
|
|
404
439
|
closeUserDispatches(input: CloseUserDispatchesRequest, options?: RpcOptions): UnaryCall<CloseUserDispatchesRequest, CloseUserDispatchesResponse> {
|
|
405
|
-
const method = this.methods[
|
|
440
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
406
441
|
return stackIntercept<CloseUserDispatchesRequest, CloseUserDispatchesResponse>("unary", this._transport, method, opt, input);
|
|
407
442
|
}
|
|
408
443
|
/**
|
|
@@ -411,7 +446,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
411
446
|
* @generated from protobuf rpc: SendJobs
|
|
412
447
|
*/
|
|
413
448
|
sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse> {
|
|
414
|
-
const method = this.methods[
|
|
449
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
415
450
|
return stackIntercept<SendJobsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
416
451
|
}
|
|
417
452
|
/**
|
|
@@ -420,7 +455,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
420
455
|
* @generated from protobuf rpc: SendLicenses
|
|
421
456
|
*/
|
|
422
457
|
sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse> {
|
|
423
|
-
const method = this.methods[
|
|
458
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
424
459
|
return stackIntercept<SendLicensesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
425
460
|
}
|
|
426
461
|
/**
|
|
@@ -429,7 +464,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
429
464
|
* @generated from protobuf rpc: SendAccounts
|
|
430
465
|
*/
|
|
431
466
|
sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse> {
|
|
432
|
-
const method = this.methods[
|
|
467
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
433
468
|
return stackIntercept<SendAccountsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
434
469
|
}
|
|
435
470
|
/**
|
|
@@ -438,7 +473,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
438
473
|
* @generated from protobuf rpc: SendUsers
|
|
439
474
|
*/
|
|
440
475
|
sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse> {
|
|
441
|
-
const method = this.methods[
|
|
476
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
442
477
|
return stackIntercept<SendUsersRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
443
478
|
}
|
|
444
479
|
/**
|
|
@@ -447,7 +482,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
447
482
|
* @generated from protobuf rpc: SendVehicles
|
|
448
483
|
*/
|
|
449
484
|
sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse> {
|
|
450
|
-
const method = this.methods[
|
|
485
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
451
486
|
return stackIntercept<SendVehiclesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
452
487
|
}
|
|
453
488
|
/**
|
|
@@ -456,7 +491,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
456
491
|
* @generated from protobuf rpc: SendUserLocations
|
|
457
492
|
*/
|
|
458
493
|
sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse> {
|
|
459
|
-
const method = this.methods[
|
|
494
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
460
495
|
return stackIntercept<SendUserLocationsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
461
496
|
}
|
|
462
497
|
/**
|
|
@@ -465,7 +500,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
465
500
|
* @generated from protobuf rpc: SetLastCharID
|
|
466
501
|
*/
|
|
467
502
|
setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse> {
|
|
468
|
-
const method = this.methods[
|
|
503
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
469
504
|
return stackIntercept<SetLastCharIDRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
470
505
|
}
|
|
471
506
|
/**
|
|
@@ -474,7 +509,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
474
509
|
* @generated from protobuf rpc: DeleteUsers
|
|
475
510
|
*/
|
|
476
511
|
deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse> {
|
|
477
|
-
const method = this.methods[
|
|
512
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
478
513
|
return stackIntercept<DeleteUsersRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
479
514
|
}
|
|
480
515
|
/**
|
|
@@ -483,46 +518,47 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
483
518
|
* @generated from protobuf rpc: DeleteVehicles
|
|
484
519
|
*/
|
|
485
520
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse> {
|
|
486
|
-
const method = this.methods[
|
|
521
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
487
522
|
return stackIntercept<DeleteVehiclesRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
488
523
|
}
|
|
489
524
|
/**
|
|
490
|
-
* Used for the server to stream events to the dbsync
|
|
525
|
+
* Used for the server to stream events to the dbsync and for the dbsync process to
|
|
526
|
+
* report its current cursor state back to the server.
|
|
491
527
|
*
|
|
492
528
|
* @generated from protobuf rpc: Stream
|
|
493
529
|
*/
|
|
494
|
-
stream(
|
|
495
|
-
const method = this.methods[
|
|
496
|
-
return stackIntercept<StreamRequest, StreamResponse>("
|
|
530
|
+
stream(options?: RpcOptions): DuplexStreamingCall<StreamRequest, StreamResponse> {
|
|
531
|
+
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
|
532
|
+
return stackIntercept<StreamRequest, StreamResponse>("duplex", this._transport, method, opt);
|
|
497
533
|
}
|
|
498
534
|
/**
|
|
499
|
-
*
|
|
535
|
+
* Deprecated: For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
|
|
500
536
|
*
|
|
501
537
|
* @deprecated
|
|
502
538
|
* @generated from protobuf rpc: AddActivity
|
|
503
539
|
*/
|
|
504
540
|
addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
|
|
505
|
-
const method = this.methods[
|
|
541
|
+
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
|
506
542
|
return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
507
543
|
}
|
|
508
544
|
/**
|
|
509
|
-
*
|
|
545
|
+
* Deprecated: DBSync's method of sending (mass) data to the FiveNet server for storing.
|
|
510
546
|
*
|
|
511
547
|
* @deprecated
|
|
512
548
|
* @generated from protobuf rpc: SendData
|
|
513
549
|
*/
|
|
514
550
|
sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
|
|
515
|
-
const method = this.methods[
|
|
551
|
+
const method = this.methods[30], opt = this._transport.mergeOptions(options);
|
|
516
552
|
return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
517
553
|
}
|
|
518
554
|
/**
|
|
519
|
-
*
|
|
555
|
+
* Deprecated: Way for the gameserver to delete certain data as well
|
|
520
556
|
*
|
|
521
557
|
* @deprecated
|
|
522
558
|
* @generated from protobuf rpc: DeleteData
|
|
523
559
|
*/
|
|
524
560
|
deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
|
|
525
|
-
const method = this.methods[
|
|
561
|
+
const method = this.methods[31], opt = this._transport.mergeOptions(options);
|
|
526
562
|
return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
527
563
|
}
|
|
528
564
|
}
|