@fivenet-app/gen 2026.7.0 → 2026.7.3

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.
@@ -167,6 +167,32 @@ export interface GetAccountInfoResponse {
167
167
  */
168
168
  oauth2Connections: OAuth2Account[];
169
169
  }
170
+ /**
171
+ * @generated from protobuf message services.auth.RefreshAccountSessionRequest
172
+ */
173
+ export interface RefreshAccountSessionRequest {
174
+ }
175
+ /**
176
+ * @generated from protobuf message services.auth.RefreshAccountSessionResponse
177
+ */
178
+ export interface RefreshAccountSessionResponse {
179
+ /**
180
+ * @generated from protobuf field: resources.timestamp.Timestamp expires = 1
181
+ */
182
+ expires?: Timestamp;
183
+ /**
184
+ * @generated from protobuf field: int64 account_id = 2
185
+ */
186
+ accountId: number;
187
+ /**
188
+ * @generated from protobuf field: string username = 3
189
+ */
190
+ username: string;
191
+ /**
192
+ * @generated from protobuf field: bool can_be_config_admin = 4
193
+ */
194
+ canBeConfigAdmin: boolean;
195
+ }
170
196
  /**
171
197
  * @generated from protobuf message services.auth.GetCharactersRequest
172
198
  */
@@ -1012,6 +1038,114 @@ class GetAccountInfoResponse$Type extends MessageType<GetAccountInfoResponse> {
1012
1038
  */
1013
1039
  export const GetAccountInfoResponse = new GetAccountInfoResponse$Type();
1014
1040
  // @generated message type with reflection information, may provide speed optimized methods
1041
+ class RefreshAccountSessionRequest$Type extends MessageType<RefreshAccountSessionRequest> {
1042
+ constructor() {
1043
+ super("services.auth.RefreshAccountSessionRequest", []);
1044
+ }
1045
+ create(value?: PartialMessage<RefreshAccountSessionRequest>): RefreshAccountSessionRequest {
1046
+ const message = globalThis.Object.create((this.messagePrototype!));
1047
+ if (value !== undefined)
1048
+ reflectionMergePartial<RefreshAccountSessionRequest>(this, message, value);
1049
+ return message;
1050
+ }
1051
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshAccountSessionRequest): RefreshAccountSessionRequest {
1052
+ let message = target ?? this.create(), end = reader.pos + length;
1053
+ while (reader.pos < end) {
1054
+ let [fieldNo, wireType] = reader.tag();
1055
+ switch (fieldNo) {
1056
+ default:
1057
+ let u = options.readUnknownField;
1058
+ if (u === "throw")
1059
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1060
+ let d = reader.skip(wireType);
1061
+ if (u !== false)
1062
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1063
+ }
1064
+ }
1065
+ return message;
1066
+ }
1067
+ internalBinaryWrite(message: RefreshAccountSessionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1068
+ let u = options.writeUnknownFields;
1069
+ if (u !== false)
1070
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1071
+ return writer;
1072
+ }
1073
+ }
1074
+ /**
1075
+ * @generated MessageType for protobuf message services.auth.RefreshAccountSessionRequest
1076
+ */
1077
+ export const RefreshAccountSessionRequest = new RefreshAccountSessionRequest$Type();
1078
+ // @generated message type with reflection information, may provide speed optimized methods
1079
+ class RefreshAccountSessionResponse$Type extends MessageType<RefreshAccountSessionResponse> {
1080
+ constructor() {
1081
+ super("services.auth.RefreshAccountSessionResponse", [
1082
+ { no: 1, name: "expires", kind: "message", T: () => Timestamp },
1083
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
1084
+ { no: 3, name: "username", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1085
+ { no: 4, name: "can_be_config_admin", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1086
+ ]);
1087
+ }
1088
+ create(value?: PartialMessage<RefreshAccountSessionResponse>): RefreshAccountSessionResponse {
1089
+ const message = globalThis.Object.create((this.messagePrototype!));
1090
+ message.accountId = 0;
1091
+ message.username = "";
1092
+ message.canBeConfigAdmin = false;
1093
+ if (value !== undefined)
1094
+ reflectionMergePartial<RefreshAccountSessionResponse>(this, message, value);
1095
+ return message;
1096
+ }
1097
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RefreshAccountSessionResponse): RefreshAccountSessionResponse {
1098
+ let message = target ?? this.create(), end = reader.pos + length;
1099
+ while (reader.pos < end) {
1100
+ let [fieldNo, wireType] = reader.tag();
1101
+ switch (fieldNo) {
1102
+ case /* resources.timestamp.Timestamp expires */ 1:
1103
+ message.expires = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expires);
1104
+ break;
1105
+ case /* int64 account_id */ 2:
1106
+ message.accountId = reader.int64().toNumber();
1107
+ break;
1108
+ case /* string username */ 3:
1109
+ message.username = reader.string();
1110
+ break;
1111
+ case /* bool can_be_config_admin */ 4:
1112
+ message.canBeConfigAdmin = reader.bool();
1113
+ break;
1114
+ default:
1115
+ let u = options.readUnknownField;
1116
+ if (u === "throw")
1117
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1118
+ let d = reader.skip(wireType);
1119
+ if (u !== false)
1120
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1121
+ }
1122
+ }
1123
+ return message;
1124
+ }
1125
+ internalBinaryWrite(message: RefreshAccountSessionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1126
+ /* resources.timestamp.Timestamp expires = 1; */
1127
+ if (message.expires)
1128
+ Timestamp.internalBinaryWrite(message.expires, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1129
+ /* int64 account_id = 2; */
1130
+ if (message.accountId !== 0)
1131
+ writer.tag(2, WireType.Varint).int64(message.accountId);
1132
+ /* string username = 3; */
1133
+ if (message.username !== "")
1134
+ writer.tag(3, WireType.LengthDelimited).string(message.username);
1135
+ /* bool can_be_config_admin = 4; */
1136
+ if (message.canBeConfigAdmin !== false)
1137
+ writer.tag(4, WireType.Varint).bool(message.canBeConfigAdmin);
1138
+ let u = options.writeUnknownFields;
1139
+ if (u !== false)
1140
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1141
+ return writer;
1142
+ }
1143
+ }
1144
+ /**
1145
+ * @generated MessageType for protobuf message services.auth.RefreshAccountSessionResponse
1146
+ */
1147
+ export const RefreshAccountSessionResponse = new RefreshAccountSessionResponse$Type();
1148
+ // @generated message type with reflection information, may provide speed optimized methods
1015
1149
  class GetCharactersRequest$Type extends MessageType<GetCharactersRequest> {
1016
1150
  constructor() {
1017
1151
  super("services.auth.GetCharactersRequest", []);
@@ -1613,6 +1747,7 @@ export const AuthService = new ServiceType("services.auth.AuthService", [
1613
1747
  { name: "ChooseCharacter", options: { "codegen.perms.perms": { enabled: true } }, I: ChooseCharacterRequest, O: ChooseCharacterResponse },
1614
1748
  { name: "ImpersonateJob", options: { "codegen.perms.perms": { enabled: true, namespace: "settings", service: "SettingsService", name: "UpdateRolePerms" } }, I: ImpersonateJobRequest, O: ImpersonateJobResponse },
1615
1749
  { name: "GetAccountInfo", options: {}, I: GetAccountInfoRequest, O: GetAccountInfoResponse },
1750
+ { name: "RefreshAccountSession", options: {}, I: RefreshAccountSessionRequest, O: RefreshAccountSessionResponse },
1616
1751
  { name: "DeleteSocialLogin", options: {}, I: DeleteSocialLoginRequest, O: DeleteSocialLoginResponse },
1617
1752
  { name: "SetSuperuserMode", options: {}, I: SetSuperuserModeRequest, O: SetSuperuserModeResponse }
1618
1753
  ], { "codegen.perms.perms_svc": { icon: "i-mdi-key-outline" } });
@@ -55,6 +55,10 @@ export interface ListConductEntriesRequest {
55
55
  * @generated from protobuf field: repeated int64 ids = 7
56
56
  */
57
57
  ids: number[];
58
+ /**
59
+ * @generated from protobuf field: optional bool show_deleted = 8
60
+ */
61
+ showDeleted?: boolean;
58
62
  }
59
63
  /**
60
64
  * @generated from protobuf message services.jobs.ListConductEntriesResponse
@@ -147,7 +151,8 @@ class ListConductEntriesRequest$Type extends MessageType<ListConductEntriesReque
147
151
  { no: 4, name: "show_expired", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
148
152
  { no: 5, name: "show_drafts", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
149
153
  { no: 6, name: "user_ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
150
- { no: 7, name: "ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ }
154
+ { no: 7, name: "ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
155
+ { no: 8, name: "show_deleted", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
151
156
  ]);
152
157
  }
153
158
  create(value?: PartialMessage<ListConductEntriesRequest>): ListConductEntriesRequest {
@@ -197,6 +202,9 @@ class ListConductEntriesRequest$Type extends MessageType<ListConductEntriesReque
197
202
  else
198
203
  message.ids.push(reader.int64().toNumber());
199
204
  break;
205
+ case /* optional bool show_deleted */ 8:
206
+ message.showDeleted = reader.bool();
207
+ break;
200
208
  default:
201
209
  let u = options.readUnknownField;
202
210
  if (u === "throw")
@@ -242,6 +250,9 @@ class ListConductEntriesRequest$Type extends MessageType<ListConductEntriesReque
242
250
  writer.int64(message.ids[i]);
243
251
  writer.join();
244
252
  }
253
+ /* optional bool show_deleted = 8; */
254
+ if (message.showDeleted !== undefined)
255
+ writer.tag(8, WireType.Varint).bool(message.showDeleted);
245
256
  let u = options.writeUnknownFields;
246
257
  if (u !== false)
247
258
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -676,6 +687,6 @@ export const ConductService = new ServiceType("services.jobs.ConductService", [
676
687
  { name: "GetConductEntry", options: { "codegen.perms.perms": { enabled: true, name: "ListConductEntries" } }, I: GetConductEntryRequest, O: GetConductEntryResponse },
677
688
  { name: "CreateConductEntry", options: { "codegen.perms.perms": { enabled: true } }, I: CreateConductEntryRequest, O: CreateConductEntryResponse },
678
689
  { name: "UpdateConductEntry", options: { "codegen.perms.perms": { enabled: true } }, I: UpdateConductEntryRequest, O: UpdateConductEntryResponse },
679
- { name: "DeleteConductEntry", options: { "codegen.perms.perms": { enabled: true } }, I: DeleteConductEntryRequest, O: DeleteConductEntryResponse },
690
+ { name: "DeleteConductEntry", options: { "codegen.perms.perms": { enabled: true, names: ["DeleteConductEntry", "RestoreConductEntry"] } }, I: DeleteConductEntryRequest, O: DeleteConductEntryResponse },
680
691
  { name: "UploadFile", clientStreaming: true, options: { "codegen.perms.perms": { enabled: true, names: ["CreateConductEntry", "UpdateConductEntry"] } }, I: UploadFileRequest, O: UploadFileResponse }
681
- ], { "codegen.perms.perms_svc": { order: 65, icon: "i-mdi-list-status" } });
692
+ ], { "codegen.perms.perms_svc": { order: 65, icon: "i-mdi-list-status", additionalPerms: [{ name: "RestoreConductEntry" }] } });
@@ -28,6 +28,16 @@ export interface ILivemapServiceClient {
28
28
  */
29
29
  createOrUpdateMarker(input: CreateOrUpdateMarkerRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateMarkerRequest, CreateOrUpdateMarkerResponse>;
30
30
  /**
31
+ * Deletes or restores a marker.
32
+ *
33
+ * Private markers use the DeleteMarker Access attribute in the usual creator job/rank scope:
34
+ * Own allows the creator, Lower_Rank allows higher ranks, Same_Rank allows same-or-higher ranks,
35
+ * and Any allows any member in the creator's job.
36
+ *
37
+ * Public markers have stricter delete access because they can be visible across jobs:
38
+ * job admins can delete them; the marker creator can delete them only when Access includes Own;
39
+ * otherwise, only members of the marker's owning job with Access=Any can delete them.
40
+ *
31
41
  * @generated from protobuf rpc: DeleteMarker
32
42
  */
33
43
  deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteMarkerResponse>;
@@ -56,6 +66,16 @@ export class LivemapServiceClient implements ILivemapServiceClient, ServiceInfo
56
66
  return stackIntercept<CreateOrUpdateMarkerRequest, CreateOrUpdateMarkerResponse>("unary", this._transport, method, opt, input);
57
67
  }
58
68
  /**
69
+ * Deletes or restores a marker.
70
+ *
71
+ * Private markers use the DeleteMarker Access attribute in the usual creator job/rank scope:
72
+ * Own allows the creator, Lower_Rank allows higher ranks, Same_Rank allows same-or-higher ranks,
73
+ * and Any allows any member in the creator's job.
74
+ *
75
+ * Public markers have stricter delete access because they can be visible across jobs:
76
+ * job admins can delete them; the marker creator can delete them only when Access includes Own;
77
+ * otherwise, only members of the marker's owning job with Access=Any can delete them.
78
+ *
59
79
  * @generated from protobuf rpc: DeleteMarker
60
80
  */
61
81
  deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteMarkerResponse> {
@@ -21,6 +21,10 @@ import type { SendAccountsRequest } from "./sync";
21
21
  import type { SendLicensesRequest } from "./sync";
22
22
  import type { SendDataResponse } from "./sync";
23
23
  import type { SendJobsRequest } from "./sync";
24
+ import type { CloseUserDispatchesResponse } from "./sync";
25
+ import type { CloseUserDispatchesRequest } from "./sync";
26
+ import type { EndActiveJobTimeclocksResponse } from "./sync";
27
+ import type { EndActiveJobTimeclocksRequest } from "./sync";
24
28
  import type { DeleteDataResponse } from "./sync";
25
29
  import type { DeleteMarkerRequest } from "./sync";
26
30
  import type { AddMarkerRequest } from "./sync";
@@ -69,40 +73,56 @@ export interface ISyncServiceClient {
69
73
  */
70
74
  transferAccount(input: TransferAccountRequest, options?: RpcOptions): UnaryCall<TransferAccountRequest, TransferAccountResponse>;
71
75
  /**
72
- * Individual AddActivity methods
76
+ * Add Discord OAuth2/social login connection for a user's account.
73
77
  *
74
78
  * @generated from protobuf rpc: AddUserOAuth2Conn
75
79
  */
76
80
  addUserOAuth2Conn(input: AddUserOAuth2ConnRequest, options?: RpcOptions): UnaryCall<AddUserOAuth2ConnRequest, AddActivityResponse>;
77
81
  /**
82
+ * Record an account update activity.
83
+ *
78
84
  * @generated from protobuf rpc: AddAccountUpdate
79
85
  */
80
86
  addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse>;
81
87
  /**
88
+ * Record a user update activity.
89
+ *
82
90
  * @generated from protobuf rpc: AddUserUpdate
83
91
  */
84
92
  addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse>;
85
93
  /**
94
+ * Record a user activity entry.
95
+ *
86
96
  * @generated from protobuf rpc: AddUserActivity
87
97
  */
88
98
  addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse>;
89
99
  /**
100
+ * Record user property changes.
101
+ *
90
102
  * @generated from protobuf rpc: AddUserProps
91
103
  */
92
104
  addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse>;
93
105
  /**
106
+ * Record a colleague activity entry.
107
+ *
94
108
  * @generated from protobuf rpc: AddColleagueActivity
95
109
  */
96
110
  addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse>;
97
111
  /**
112
+ * Record colleague property changes.
113
+ *
98
114
  * @generated from protobuf rpc: AddColleagueProps
99
115
  */
100
116
  addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse>;
101
117
  /**
118
+ * Record a job timeclock entry.
119
+ *
102
120
  * @generated from protobuf rpc: AddJobTimeclock
103
121
  */
104
122
  addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse>;
105
123
  /**
124
+ * Record a dispatch activity entry.
125
+ *
106
126
  * @generated from protobuf rpc: AddDispatch
107
127
  */
108
128
  addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse>;
@@ -113,46 +133,74 @@ export interface ISyncServiceClient {
113
133
  */
114
134
  addMarker(input: AddMarkerRequest, options?: RpcOptions): UnaryCall<AddMarkerRequest, AddActivityResponse>;
115
135
  /**
136
+ * Remove a temporary map marker.
137
+ *
116
138
  * @generated from protobuf rpc: DeleteMarker
117
139
  */
118
140
  deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse>;
119
141
  /**
120
- * Individual SendData methods
142
+ * End all active job timeclock entries, typically during server shutdown.
143
+ *
144
+ * @generated from protobuf rpc: EndActiveJobTimeclocks
145
+ */
146
+ endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>;
147
+ /**
148
+ * Close dispatch(es) that match a certain user, optionally limited to the given jobs.
149
+ *
150
+ * @generated from protobuf rpc: CloseUserDispatches
151
+ */
152
+ closeUserDispatches(input: CloseUserDispatchesRequest, options?: RpcOptions): UnaryCall<CloseUserDispatchesRequest, CloseUserDispatchesResponse>;
153
+ /**
154
+ * Sync job data to the server.
121
155
  *
122
156
  * @generated from protobuf rpc: SendJobs
123
157
  */
124
158
  sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse>;
125
159
  /**
160
+ * Sync license data to the server.
161
+ *
126
162
  * @generated from protobuf rpc: SendLicenses
127
163
  */
128
164
  sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse>;
129
165
  /**
166
+ * Sync account data to the server.
167
+ *
130
168
  * @generated from protobuf rpc: SendAccounts
131
169
  */
132
170
  sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse>;
133
171
  /**
172
+ * Sync user data to the server.
173
+ *
134
174
  * @generated from protobuf rpc: SendUsers
135
175
  */
136
176
  sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse>;
137
177
  /**
178
+ * Sync vehicle data to the server.
179
+ *
138
180
  * @generated from protobuf rpc: SendVehicles
139
181
  */
140
182
  sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse>;
141
183
  /**
184
+ * Sync user location data to the server.
185
+ *
142
186
  * @generated from protobuf rpc: SendUserLocations
143
187
  */
144
188
  sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse>;
145
189
  /**
190
+ * Sync the last character ID for a user.
191
+ *
146
192
  * @generated from protobuf rpc: SetLastCharID
147
193
  */
148
194
  setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse>;
149
195
  /**
150
- * Individual DeleteData methods
196
+ * Delete users from the sync store.
151
197
  *
152
198
  * @generated from protobuf rpc: DeleteUsers
153
199
  */
154
200
  deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse>;
155
201
  /**
202
+ * Delete vehicles from the sync store.
203
+ *
156
204
  * @generated from protobuf rpc: DeleteVehicles
157
205
  */
158
206
  deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse>;
@@ -224,7 +272,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
224
272
  return stackIntercept<TransferAccountRequest, TransferAccountResponse>("unary", this._transport, method, opt, input);
225
273
  }
226
274
  /**
227
- * Individual AddActivity methods
275
+ * Add Discord OAuth2/social login connection for a user's account.
228
276
  *
229
277
  * @generated from protobuf rpc: AddUserOAuth2Conn
230
278
  */
@@ -233,6 +281,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
233
281
  return stackIntercept<AddUserOAuth2ConnRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
234
282
  }
235
283
  /**
284
+ * Record an account update activity.
285
+ *
236
286
  * @generated from protobuf rpc: AddAccountUpdate
237
287
  */
238
288
  addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse> {
@@ -240,6 +290,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
240
290
  return stackIntercept<AddAccountUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
241
291
  }
242
292
  /**
293
+ * Record a user update activity.
294
+ *
243
295
  * @generated from protobuf rpc: AddUserUpdate
244
296
  */
245
297
  addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse> {
@@ -247,6 +299,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
247
299
  return stackIntercept<AddUserUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
248
300
  }
249
301
  /**
302
+ * Record a user activity entry.
303
+ *
250
304
  * @generated from protobuf rpc: AddUserActivity
251
305
  */
252
306
  addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse> {
@@ -254,6 +308,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
254
308
  return stackIntercept<AddUserActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
255
309
  }
256
310
  /**
311
+ * Record user property changes.
312
+ *
257
313
  * @generated from protobuf rpc: AddUserProps
258
314
  */
259
315
  addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse> {
@@ -261,6 +317,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
261
317
  return stackIntercept<AddUserPropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
262
318
  }
263
319
  /**
320
+ * Record a colleague activity entry.
321
+ *
264
322
  * @generated from protobuf rpc: AddColleagueActivity
265
323
  */
266
324
  addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse> {
@@ -268,6 +326,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
268
326
  return stackIntercept<AddColleagueActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
269
327
  }
270
328
  /**
329
+ * Record colleague property changes.
330
+ *
271
331
  * @generated from protobuf rpc: AddColleagueProps
272
332
  */
273
333
  addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse> {
@@ -275,6 +335,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
275
335
  return stackIntercept<AddColleaguePropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
276
336
  }
277
337
  /**
338
+ * Record a job timeclock entry.
339
+ *
278
340
  * @generated from protobuf rpc: AddJobTimeclock
279
341
  */
280
342
  addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse> {
@@ -282,6 +344,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
282
344
  return stackIntercept<AddJobTimeclockRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
283
345
  }
284
346
  /**
347
+ * Record a dispatch activity entry.
348
+ *
285
349
  * @generated from protobuf rpc: AddDispatch
286
350
  */
287
351
  addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse> {
@@ -298,6 +362,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
298
362
  return stackIntercept<AddMarkerRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
299
363
  }
300
364
  /**
365
+ * Remove a temporary map marker.
366
+ *
301
367
  * @generated from protobuf rpc: DeleteMarker
302
368
  */
303
369
  deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse> {
@@ -305,70 +371,102 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
305
371
  return stackIntercept<DeleteMarkerRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
306
372
  }
307
373
  /**
308
- * Individual SendData methods
374
+ * End all active job timeclock entries, typically during server shutdown.
375
+ *
376
+ * @generated from protobuf rpc: EndActiveJobTimeclocks
377
+ */
378
+ endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse> {
379
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
380
+ return stackIntercept<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>("unary", this._transport, method, opt, input);
381
+ }
382
+ /**
383
+ * Close dispatch(es) that match a certain user, optionally limited to the given jobs.
384
+ *
385
+ * @generated from protobuf rpc: CloseUserDispatches
386
+ */
387
+ closeUserDispatches(input: CloseUserDispatchesRequest, options?: RpcOptions): UnaryCall<CloseUserDispatchesRequest, CloseUserDispatchesResponse> {
388
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
389
+ return stackIntercept<CloseUserDispatchesRequest, CloseUserDispatchesResponse>("unary", this._transport, method, opt, input);
390
+ }
391
+ /**
392
+ * Sync job data to the server.
309
393
  *
310
394
  * @generated from protobuf rpc: SendJobs
311
395
  */
312
396
  sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse> {
313
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
397
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
314
398
  return stackIntercept<SendJobsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
315
399
  }
316
400
  /**
401
+ * Sync license data to the server.
402
+ *
317
403
  * @generated from protobuf rpc: SendLicenses
318
404
  */
319
405
  sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse> {
320
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
406
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
321
407
  return stackIntercept<SendLicensesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
322
408
  }
323
409
  /**
410
+ * Sync account data to the server.
411
+ *
324
412
  * @generated from protobuf rpc: SendAccounts
325
413
  */
326
414
  sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse> {
327
- const method = this.methods[16], opt = this._transport.mergeOptions(options);
415
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
328
416
  return stackIntercept<SendAccountsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
329
417
  }
330
418
  /**
419
+ * Sync user data to the server.
420
+ *
331
421
  * @generated from protobuf rpc: SendUsers
332
422
  */
333
423
  sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse> {
334
- const method = this.methods[17], opt = this._transport.mergeOptions(options);
424
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
335
425
  return stackIntercept<SendUsersRequest, SendDataResponse>("unary", this._transport, method, opt, input);
336
426
  }
337
427
  /**
428
+ * Sync vehicle data to the server.
429
+ *
338
430
  * @generated from protobuf rpc: SendVehicles
339
431
  */
340
432
  sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse> {
341
- const method = this.methods[18], opt = this._transport.mergeOptions(options);
433
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
342
434
  return stackIntercept<SendVehiclesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
343
435
  }
344
436
  /**
437
+ * Sync user location data to the server.
438
+ *
345
439
  * @generated from protobuf rpc: SendUserLocations
346
440
  */
347
441
  sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse> {
348
- const method = this.methods[19], opt = this._transport.mergeOptions(options);
442
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
349
443
  return stackIntercept<SendUserLocationsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
350
444
  }
351
445
  /**
446
+ * Sync the last character ID for a user.
447
+ *
352
448
  * @generated from protobuf rpc: SetLastCharID
353
449
  */
354
450
  setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse> {
355
- const method = this.methods[20], opt = this._transport.mergeOptions(options);
451
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
356
452
  return stackIntercept<SetLastCharIDRequest, SendDataResponse>("unary", this._transport, method, opt, input);
357
453
  }
358
454
  /**
359
- * Individual DeleteData methods
455
+ * Delete users from the sync store.
360
456
  *
361
457
  * @generated from protobuf rpc: DeleteUsers
362
458
  */
363
459
  deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse> {
364
- const method = this.methods[21], opt = this._transport.mergeOptions(options);
460
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
365
461
  return stackIntercept<DeleteUsersRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
366
462
  }
367
463
  /**
464
+ * Delete vehicles from the sync store.
465
+ *
368
466
  * @generated from protobuf rpc: DeleteVehicles
369
467
  */
370
468
  deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse> {
371
- const method = this.methods[22], opt = this._transport.mergeOptions(options);
469
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
372
470
  return stackIntercept<DeleteVehiclesRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
373
471
  }
374
472
  /**
@@ -377,7 +475,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
377
475
  * @generated from protobuf rpc: Stream
378
476
  */
379
477
  stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
380
- const method = this.methods[23], opt = this._transport.mergeOptions(options);
478
+ const method = this.methods[25], opt = this._transport.mergeOptions(options);
381
479
  return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
382
480
  }
383
481
  /**
@@ -387,7 +485,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
387
485
  * @generated from protobuf rpc: AddActivity
388
486
  */
389
487
  addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
390
- const method = this.methods[24], opt = this._transport.mergeOptions(options);
488
+ const method = this.methods[26], opt = this._transport.mergeOptions(options);
391
489
  return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
392
490
  }
393
491
  /**
@@ -397,7 +495,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
397
495
  * @generated from protobuf rpc: SendData
398
496
  */
399
497
  sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
400
- const method = this.methods[25], opt = this._transport.mergeOptions(options);
498
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
401
499
  return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
402
500
  }
403
501
  /**
@@ -407,7 +505,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
407
505
  * @generated from protobuf rpc: DeleteData
408
506
  */
409
507
  deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
410
- const method = this.methods[26], opt = this._transport.mergeOptions(options);
508
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
411
509
  return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
412
510
  }
413
511
  }