@fivenet-app/gen 2026.7.0 → 2026.7.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.
@@ -129,8 +129,6 @@ export interface TransferAccountRequest {
129
129
  export interface TransferAccountResponse {
130
130
  }
131
131
  /**
132
- * Individual AddActivity request messages
133
- *
134
132
  * @generated from protobuf message services.sync.AddUserOAuth2ConnRequest
135
133
  */
136
134
  export interface AddUserOAuth2ConnRequest {
@@ -166,6 +164,20 @@ export interface DeleteMarkerRequest {
166
164
  */
167
165
  id: number;
168
166
  }
167
+ /**
168
+ * @generated from protobuf message services.sync.EndActiveJobTimeclocksRequest
169
+ */
170
+ export interface EndActiveJobTimeclocksRequest {
171
+ }
172
+ /**
173
+ * @generated from protobuf message services.sync.EndActiveJobTimeclocksResponse
174
+ */
175
+ export interface EndActiveJobTimeclocksResponse {
176
+ /**
177
+ * @generated from protobuf field: int64 rows_affected = 1
178
+ */
179
+ rowsAffected: number;
180
+ }
169
181
  /**
170
182
  * @generated from protobuf message services.sync.AddUserActivityRequest
171
183
  */
@@ -243,8 +255,6 @@ export interface AddActivityResponse {
243
255
  createdAt?: Timestamp;
244
256
  }
245
257
  /**
246
- * Individual SendData request messages
247
- *
248
258
  * @generated from protobuf message services.sync.SendJobsRequest
249
259
  */
250
260
  export interface SendJobsRequest {
@@ -325,8 +335,6 @@ export interface SendDataResponse {
325
335
  rowsAffected: number;
326
336
  }
327
337
  /**
328
- * Individual DeleteData request messages
329
- *
330
338
  * @generated from protobuf message services.sync.DeleteUsersRequest
331
339
  */
332
340
  export interface DeleteUsersRequest {
@@ -1061,6 +1069,91 @@ class DeleteMarkerRequest$Type extends MessageType<DeleteMarkerRequest> {
1061
1069
  */
1062
1070
  export const DeleteMarkerRequest = new DeleteMarkerRequest$Type();
1063
1071
  // @generated message type with reflection information, may provide speed optimized methods
1072
+ class EndActiveJobTimeclocksRequest$Type extends MessageType<EndActiveJobTimeclocksRequest> {
1073
+ constructor() {
1074
+ super("services.sync.EndActiveJobTimeclocksRequest", []);
1075
+ }
1076
+ create(value?: PartialMessage<EndActiveJobTimeclocksRequest>): EndActiveJobTimeclocksRequest {
1077
+ const message = globalThis.Object.create((this.messagePrototype!));
1078
+ if (value !== undefined)
1079
+ reflectionMergePartial<EndActiveJobTimeclocksRequest>(this, message, value);
1080
+ return message;
1081
+ }
1082
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndActiveJobTimeclocksRequest): EndActiveJobTimeclocksRequest {
1083
+ let message = target ?? this.create(), end = reader.pos + length;
1084
+ while (reader.pos < end) {
1085
+ let [fieldNo, wireType] = reader.tag();
1086
+ switch (fieldNo) {
1087
+ default:
1088
+ let u = options.readUnknownField;
1089
+ if (u === "throw")
1090
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1091
+ let d = reader.skip(wireType);
1092
+ if (u !== false)
1093
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1094
+ }
1095
+ }
1096
+ return message;
1097
+ }
1098
+ internalBinaryWrite(message: EndActiveJobTimeclocksRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1099
+ let u = options.writeUnknownFields;
1100
+ if (u !== false)
1101
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1102
+ return writer;
1103
+ }
1104
+ }
1105
+ /**
1106
+ * @generated MessageType for protobuf message services.sync.EndActiveJobTimeclocksRequest
1107
+ */
1108
+ export const EndActiveJobTimeclocksRequest = new EndActiveJobTimeclocksRequest$Type();
1109
+ // @generated message type with reflection information, may provide speed optimized methods
1110
+ class EndActiveJobTimeclocksResponse$Type extends MessageType<EndActiveJobTimeclocksResponse> {
1111
+ constructor() {
1112
+ super("services.sync.EndActiveJobTimeclocksResponse", [
1113
+ { no: 1, name: "rows_affected", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ }
1114
+ ]);
1115
+ }
1116
+ create(value?: PartialMessage<EndActiveJobTimeclocksResponse>): EndActiveJobTimeclocksResponse {
1117
+ const message = globalThis.Object.create((this.messagePrototype!));
1118
+ message.rowsAffected = 0;
1119
+ if (value !== undefined)
1120
+ reflectionMergePartial<EndActiveJobTimeclocksResponse>(this, message, value);
1121
+ return message;
1122
+ }
1123
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndActiveJobTimeclocksResponse): EndActiveJobTimeclocksResponse {
1124
+ let message = target ?? this.create(), end = reader.pos + length;
1125
+ while (reader.pos < end) {
1126
+ let [fieldNo, wireType] = reader.tag();
1127
+ switch (fieldNo) {
1128
+ case /* int64 rows_affected */ 1:
1129
+ message.rowsAffected = reader.int64().toNumber();
1130
+ break;
1131
+ default:
1132
+ let u = options.readUnknownField;
1133
+ if (u === "throw")
1134
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1135
+ let d = reader.skip(wireType);
1136
+ if (u !== false)
1137
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1138
+ }
1139
+ }
1140
+ return message;
1141
+ }
1142
+ internalBinaryWrite(message: EndActiveJobTimeclocksResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1143
+ /* int64 rows_affected = 1; */
1144
+ if (message.rowsAffected !== 0)
1145
+ writer.tag(1, WireType.Varint).int64(message.rowsAffected);
1146
+ let u = options.writeUnknownFields;
1147
+ if (u !== false)
1148
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1149
+ return writer;
1150
+ }
1151
+ }
1152
+ /**
1153
+ * @generated MessageType for protobuf message services.sync.EndActiveJobTimeclocksResponse
1154
+ */
1155
+ export const EndActiveJobTimeclocksResponse = new EndActiveJobTimeclocksResponse$Type();
1156
+ // @generated message type with reflection information, may provide speed optimized methods
1064
1157
  class AddUserActivityRequest$Type extends MessageType<AddUserActivityRequest> {
1065
1158
  constructor() {
1066
1159
  super("services.sync.AddUserActivityRequest", [
@@ -2388,6 +2481,7 @@ export const SyncService = new ServiceType("services.sync.SyncService", [
2388
2481
  { name: "AddDispatch", options: {}, I: AddDispatchRequest, O: AddActivityResponse },
2389
2482
  { name: "AddMarker", options: {}, I: AddMarkerRequest, O: AddActivityResponse },
2390
2483
  { name: "DeleteMarker", options: {}, I: DeleteMarkerRequest, O: DeleteDataResponse },
2484
+ { name: "EndActiveJobTimeclocks", options: {}, I: EndActiveJobTimeclocksRequest, O: EndActiveJobTimeclocksResponse },
2391
2485
  { name: "SendJobs", options: {}, I: SendJobsRequest, O: SendDataResponse },
2392
2486
  { name: "SendLicenses", options: {}, I: SendLicensesRequest, O: SendDataResponse },
2393
2487
  { name: "SendAccounts", options: {}, I: SendAccountsRequest, O: SendDataResponse },
@@ -5,6 +5,8 @@
5
5
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
6
6
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
7
7
  import { VehiclesService } from "./vehicles";
8
+ import type { ListVehicleActivityResponse } from "./vehicles";
9
+ import type { ListVehicleActivityRequest } from "./vehicles";
8
10
  import type { SetVehiclePropsResponse } from "./vehicles";
9
11
  import type { SetVehiclePropsRequest } from "./vehicles";
10
12
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
@@ -24,6 +26,10 @@ export interface IVehiclesServiceClient {
24
26
  * @generated from protobuf rpc: SetVehicleProps
25
27
  */
26
28
  setVehicleProps(input: SetVehiclePropsRequest, options?: RpcOptions): UnaryCall<SetVehiclePropsRequest, SetVehiclePropsResponse>;
29
+ /**
30
+ * @generated from protobuf rpc: ListVehicleActivity
31
+ */
32
+ listVehicleActivity(input: ListVehicleActivityRequest, options?: RpcOptions): UnaryCall<ListVehicleActivityRequest, ListVehicleActivityResponse>;
27
33
  }
28
34
  /**
29
35
  * @generated from protobuf service services.vehicles.VehiclesService
@@ -48,4 +54,11 @@ export class VehiclesServiceClient implements IVehiclesServiceClient, ServiceInf
48
54
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
49
55
  return stackIntercept<SetVehiclePropsRequest, SetVehiclePropsResponse>("unary", this._transport, method, opt, input);
50
56
  }
57
+ /**
58
+ * @generated from protobuf rpc: ListVehicleActivity
59
+ */
60
+ listVehicleActivity(input: ListVehicleActivityRequest, options?: RpcOptions): UnaryCall<ListVehicleActivityRequest, ListVehicleActivityResponse> {
61
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
62
+ return stackIntercept<ListVehicleActivityRequest, ListVehicleActivityResponse>("unary", this._transport, method, opt, input);
63
+ }
51
64
  }
@@ -12,6 +12,8 @@ import { WireType } from "@protobuf-ts/runtime";
12
12
  import type { PartialMessage } from "@protobuf-ts/runtime";
13
13
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
14
14
  import { MessageType } from "@protobuf-ts/runtime";
15
+ import { VehicleActivity } from "../../resources/vehicles/activity/activity";
16
+ import { VehicleActivityType } from "../../resources/vehicles/activity/activity";
15
17
  import { VehicleProps } from "../../resources/vehicles/props/props";
16
18
  import { Vehicle } from "../../resources/vehicles/vehicles";
17
19
  import { PaginationResponse } from "../../resources/common/database/database";
@@ -73,6 +75,10 @@ export interface SetVehiclePropsRequest {
73
75
  * @generated from protobuf field: resources.vehicles.props.VehicleProps props = 1
74
76
  */
75
77
  props?: VehicleProps;
78
+ /**
79
+ * @generated from protobuf field: string reason = 2
80
+ */
81
+ reason: string;
76
82
  }
77
83
  /**
78
84
  * @generated from protobuf message services.vehicles.SetVehiclePropsResponse
@@ -82,10 +88,40 @@ export interface SetVehiclePropsResponse {
82
88
  * @generated from protobuf field: resources.vehicles.props.VehicleProps props = 1
83
89
  */
84
90
  props?: VehicleProps;
91
+ }
92
+ /**
93
+ * @generated from protobuf message services.vehicles.ListVehicleActivityRequest
94
+ */
95
+ export interface ListVehicleActivityRequest {
85
96
  /**
86
- * @generated from protobuf field: string reason = 2
97
+ * @generated from protobuf field: resources.common.database.PaginationRequest pagination = 1
87
98
  */
88
- reason: string;
99
+ pagination?: PaginationRequest;
100
+ /**
101
+ * @generated from protobuf field: optional resources.common.database.Sort sort = 2
102
+ */
103
+ sort?: Sort;
104
+ /**
105
+ * @generated from protobuf field: string plate = 3
106
+ */
107
+ plate: string;
108
+ /**
109
+ * @generated from protobuf field: repeated resources.vehicles.activity.VehicleActivityType types = 4
110
+ */
111
+ types: VehicleActivityType[];
112
+ }
113
+ /**
114
+ * @generated from protobuf message services.vehicles.ListVehicleActivityResponse
115
+ */
116
+ export interface ListVehicleActivityResponse {
117
+ /**
118
+ * @generated from protobuf field: resources.common.database.PaginationResponse pagination = 1
119
+ */
120
+ pagination?: PaginationResponse;
121
+ /**
122
+ * @generated from protobuf field: repeated resources.vehicles.activity.VehicleActivity activity = 2
123
+ */
124
+ activity: VehicleActivity[];
89
125
  }
90
126
  // @generated message type with reflection information, may provide speed optimized methods
91
127
  class ListVehiclesRequest$Type extends MessageType<ListVehiclesRequest> {
@@ -242,11 +278,13 @@ export const ListVehiclesResponse = new ListVehiclesResponse$Type();
242
278
  class SetVehiclePropsRequest$Type extends MessageType<SetVehiclePropsRequest> {
243
279
  constructor() {
244
280
  super("services.vehicles.SetVehiclePropsRequest", [
245
- { no: 1, name: "props", kind: "message", T: () => VehicleProps, options: { "buf.validate.field": { required: true } } }
281
+ { no: 1, name: "props", kind: "message", T: () => VehicleProps, options: { "buf.validate.field": { required: true } } },
282
+ { no: 2, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_IF_ZERO_VALUE", string: { minLen: "3", maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } }
246
283
  ]);
247
284
  }
248
285
  create(value?: PartialMessage<SetVehiclePropsRequest>): SetVehiclePropsRequest {
249
286
  const message = globalThis.Object.create((this.messagePrototype!));
287
+ message.reason = "";
250
288
  if (value !== undefined)
251
289
  reflectionMergePartial<SetVehiclePropsRequest>(this, message, value);
252
290
  return message;
@@ -259,6 +297,9 @@ class SetVehiclePropsRequest$Type extends MessageType<SetVehiclePropsRequest> {
259
297
  case /* resources.vehicles.props.VehicleProps props */ 1:
260
298
  message.props = VehicleProps.internalBinaryRead(reader, reader.uint32(), options, message.props);
261
299
  break;
300
+ case /* string reason */ 2:
301
+ message.reason = reader.string();
302
+ break;
262
303
  default:
263
304
  let u = options.readUnknownField;
264
305
  if (u === "throw")
@@ -274,6 +315,9 @@ class SetVehiclePropsRequest$Type extends MessageType<SetVehiclePropsRequest> {
274
315
  /* resources.vehicles.props.VehicleProps props = 1; */
275
316
  if (message.props)
276
317
  VehicleProps.internalBinaryWrite(message.props, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
318
+ /* string reason = 2; */
319
+ if (message.reason !== "")
320
+ writer.tag(2, WireType.LengthDelimited).string(message.reason);
277
321
  let u = options.writeUnknownFields;
278
322
  if (u !== false)
279
323
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -288,13 +332,11 @@ export const SetVehiclePropsRequest = new SetVehiclePropsRequest$Type();
288
332
  class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse> {
289
333
  constructor() {
290
334
  super("services.vehicles.SetVehiclePropsResponse", [
291
- { no: 1, name: "props", kind: "message", T: () => VehicleProps },
292
- { no: 2, name: "reason", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { ignore: "IGNORE_IF_ZERO_VALUE", string: { minLen: "3", maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } }
335
+ { no: 1, name: "props", kind: "message", T: () => VehicleProps }
293
336
  ]);
294
337
  }
295
338
  create(value?: PartialMessage<SetVehiclePropsResponse>): SetVehiclePropsResponse {
296
339
  const message = globalThis.Object.create((this.messagePrototype!));
297
- message.reason = "";
298
340
  if (value !== undefined)
299
341
  reflectionMergePartial<SetVehiclePropsResponse>(this, message, value);
300
342
  return message;
@@ -307,9 +349,6 @@ class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse>
307
349
  case /* resources.vehicles.props.VehicleProps props */ 1:
308
350
  message.props = VehicleProps.internalBinaryRead(reader, reader.uint32(), options, message.props);
309
351
  break;
310
- case /* string reason */ 2:
311
- message.reason = reader.string();
312
- break;
313
352
  default:
314
353
  let u = options.readUnknownField;
315
354
  if (u === "throw")
@@ -325,9 +364,6 @@ class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse>
325
364
  /* resources.vehicles.props.VehicleProps props = 1; */
326
365
  if (message.props)
327
366
  VehicleProps.internalBinaryWrite(message.props, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
328
- /* string reason = 2; */
329
- if (message.reason !== "")
330
- writer.tag(2, WireType.LengthDelimited).string(message.reason);
331
367
  let u = options.writeUnknownFields;
332
368
  if (u !== false)
333
369
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -338,10 +374,142 @@ class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse>
338
374
  * @generated MessageType for protobuf message services.vehicles.SetVehiclePropsResponse
339
375
  */
340
376
  export const SetVehiclePropsResponse = new SetVehiclePropsResponse$Type();
377
+ // @generated message type with reflection information, may provide speed optimized methods
378
+ class ListVehicleActivityRequest$Type extends MessageType<ListVehicleActivityRequest> {
379
+ constructor() {
380
+ super("services.vehicles.ListVehicleActivityRequest", [
381
+ { no: 1, name: "pagination", kind: "message", T: () => PaginationRequest, options: { "buf.validate.field": { required: true } } },
382
+ { no: 2, name: "sort", kind: "message", T: () => Sort },
383
+ { no: 3, name: "plate", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "1", maxLen: "32" } } } },
384
+ { no: 4, name: "types", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["resources.vehicles.activity.VehicleActivityType", VehicleActivityType, "VEHICLE_ACTIVITY_TYPE_"], options: { "buf.validate.field": { repeated: { maxItems: "20", items: { enum: { definedOnly: true } } } } } }
385
+ ]);
386
+ }
387
+ create(value?: PartialMessage<ListVehicleActivityRequest>): ListVehicleActivityRequest {
388
+ const message = globalThis.Object.create((this.messagePrototype!));
389
+ message.plate = "";
390
+ message.types = [];
391
+ if (value !== undefined)
392
+ reflectionMergePartial<ListVehicleActivityRequest>(this, message, value);
393
+ return message;
394
+ }
395
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListVehicleActivityRequest): ListVehicleActivityRequest {
396
+ let message = target ?? this.create(), end = reader.pos + length;
397
+ while (reader.pos < end) {
398
+ let [fieldNo, wireType] = reader.tag();
399
+ switch (fieldNo) {
400
+ case /* resources.common.database.PaginationRequest pagination */ 1:
401
+ message.pagination = PaginationRequest.internalBinaryRead(reader, reader.uint32(), options, message.pagination);
402
+ break;
403
+ case /* optional resources.common.database.Sort sort */ 2:
404
+ message.sort = Sort.internalBinaryRead(reader, reader.uint32(), options, message.sort);
405
+ break;
406
+ case /* string plate */ 3:
407
+ message.plate = reader.string();
408
+ break;
409
+ case /* repeated resources.vehicles.activity.VehicleActivityType types */ 4:
410
+ if (wireType === WireType.LengthDelimited)
411
+ for (let e = reader.int32() + reader.pos; reader.pos < e;)
412
+ message.types.push(reader.int32());
413
+ else
414
+ message.types.push(reader.int32());
415
+ break;
416
+ default:
417
+ let u = options.readUnknownField;
418
+ if (u === "throw")
419
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
420
+ let d = reader.skip(wireType);
421
+ if (u !== false)
422
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
423
+ }
424
+ }
425
+ return message;
426
+ }
427
+ internalBinaryWrite(message: ListVehicleActivityRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
428
+ /* resources.common.database.PaginationRequest pagination = 1; */
429
+ if (message.pagination)
430
+ PaginationRequest.internalBinaryWrite(message.pagination, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
431
+ /* optional resources.common.database.Sort sort = 2; */
432
+ if (message.sort)
433
+ Sort.internalBinaryWrite(message.sort, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
434
+ /* string plate = 3; */
435
+ if (message.plate !== "")
436
+ writer.tag(3, WireType.LengthDelimited).string(message.plate);
437
+ /* repeated resources.vehicles.activity.VehicleActivityType types = 4; */
438
+ if (message.types.length) {
439
+ writer.tag(4, WireType.LengthDelimited).fork();
440
+ for (let i = 0; i < message.types.length; i++)
441
+ writer.int32(message.types[i]);
442
+ writer.join();
443
+ }
444
+ let u = options.writeUnknownFields;
445
+ if (u !== false)
446
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
447
+ return writer;
448
+ }
449
+ }
450
+ /**
451
+ * @generated MessageType for protobuf message services.vehicles.ListVehicleActivityRequest
452
+ */
453
+ export const ListVehicleActivityRequest = new ListVehicleActivityRequest$Type();
454
+ // @generated message type with reflection information, may provide speed optimized methods
455
+ class ListVehicleActivityResponse$Type extends MessageType<ListVehicleActivityResponse> {
456
+ constructor() {
457
+ super("services.vehicles.ListVehicleActivityResponse", [
458
+ { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse, options: { "buf.validate.field": { required: true } } },
459
+ { no: 2, name: "activity", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => VehicleActivity, options: { "codegen.itemslen.enabled": true } }
460
+ ]);
461
+ }
462
+ create(value?: PartialMessage<ListVehicleActivityResponse>): ListVehicleActivityResponse {
463
+ const message = globalThis.Object.create((this.messagePrototype!));
464
+ message.activity = [];
465
+ if (value !== undefined)
466
+ reflectionMergePartial<ListVehicleActivityResponse>(this, message, value);
467
+ return message;
468
+ }
469
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListVehicleActivityResponse): ListVehicleActivityResponse {
470
+ let message = target ?? this.create(), end = reader.pos + length;
471
+ while (reader.pos < end) {
472
+ let [fieldNo, wireType] = reader.tag();
473
+ switch (fieldNo) {
474
+ case /* resources.common.database.PaginationResponse pagination */ 1:
475
+ message.pagination = PaginationResponse.internalBinaryRead(reader, reader.uint32(), options, message.pagination);
476
+ break;
477
+ case /* repeated resources.vehicles.activity.VehicleActivity activity */ 2:
478
+ message.activity.push(VehicleActivity.internalBinaryRead(reader, reader.uint32(), options));
479
+ break;
480
+ default:
481
+ let u = options.readUnknownField;
482
+ if (u === "throw")
483
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
484
+ let d = reader.skip(wireType);
485
+ if (u !== false)
486
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
487
+ }
488
+ }
489
+ return message;
490
+ }
491
+ internalBinaryWrite(message: ListVehicleActivityResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
492
+ /* resources.common.database.PaginationResponse pagination = 1; */
493
+ if (message.pagination)
494
+ PaginationResponse.internalBinaryWrite(message.pagination, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
495
+ /* repeated resources.vehicles.activity.VehicleActivity activity = 2; */
496
+ for (let i = 0; i < message.activity.length; i++)
497
+ VehicleActivity.internalBinaryWrite(message.activity[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
498
+ let u = options.writeUnknownFields;
499
+ if (u !== false)
500
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
501
+ return writer;
502
+ }
503
+ }
504
+ /**
505
+ * @generated MessageType for protobuf message services.vehicles.ListVehicleActivityResponse
506
+ */
507
+ export const ListVehicleActivityResponse = new ListVehicleActivityResponse$Type();
341
508
  /**
342
509
  * @generated ServiceType for protobuf service services.vehicles.VehiclesService
343
510
  */
344
511
  export const VehiclesService = new ServiceType("services.vehicles.VehiclesService", [
345
512
  { name: "ListVehicles", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Wanted"] }] } }, I: ListVehiclesRequest, O: ListVehiclesResponse },
346
- { name: "SetVehicleProps", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Wanted"] }] } }, I: SetVehiclePropsRequest, O: SetVehiclePropsResponse }
513
+ { name: "SetVehicleProps", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Wanted"] }] } }, I: SetVehiclePropsRequest, O: SetVehiclePropsResponse },
514
+ { name: "ListVehicleActivity", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Creator", "Own"] }] } }, I: ListVehicleActivityRequest, O: ListVehicleActivityResponse }
347
515
  ], { "codegen.perms.perms_svc": { order: 40, icon: "i-mdi-car-outline" } });
package/svcs.ts CHANGED
@@ -251,6 +251,7 @@ export const grpcMethods = [
251
251
  'auth.AuthService/ChooseCharacter',
252
252
  'auth.AuthService/ImpersonateJob',
253
253
  'auth.AuthService/GetAccountInfo',
254
+ 'auth.AuthService/RefreshAccountSession',
254
255
  'auth.AuthService/DeleteSocialLogin',
255
256
  'auth.AuthService/SetSuperuserMode',
256
257
  'calendar.CalendarService/ListCalendars',
@@ -483,6 +484,7 @@ export const grpcMethods = [
483
484
  'sync.SyncService/AddDispatch',
484
485
  'sync.SyncService/AddMarker',
485
486
  'sync.SyncService/DeleteMarker',
487
+ 'sync.SyncService/EndActiveJobTimeclocks',
486
488
  'sync.SyncService/SendJobs',
487
489
  'sync.SyncService/SendLicenses',
488
490
  'sync.SyncService/SendAccounts',
@@ -498,6 +500,7 @@ export const grpcMethods = [
498
500
  'sync.SyncService/DeleteData',
499
501
  'vehicles.VehiclesService/ListVehicles',
500
502
  'vehicles.VehiclesService/SetVehicleProps',
503
+ 'vehicles.VehiclesService/ListVehicleActivity',
501
504
  'wiki.CollabService/JoinRoom',
502
505
  'wiki.WikiService/ListPages',
503
506
  'wiki.WikiService/GetPage',