@fivenet-app/gen 2026.3.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.
Files changed (68) hide show
  1. package/clients.ts +66 -6
  2. package/codegen/perms/perms.ts +104 -1
  3. package/package.json +1 -1
  4. package/perms.ts +16 -5
  5. package/resources/centrum/settings/settings.ts +1 -1
  6. package/resources/centrum/units/units.ts +1 -1
  7. package/resources/citizens/labels/access.ts +216 -0
  8. package/resources/citizens/labels/labels.ts +320 -0
  9. package/resources/{users → citizens}/licenses/licenses.ts +17 -17
  10. package/resources/clientconfig/clientconfig.ts +32 -289
  11. package/resources/cron/cron.ts +2 -2
  12. package/resources/documents/access/access.ts +0 -23
  13. package/resources/documents/category/category.ts +1 -1
  14. package/resources/documents/templates/templates.ts +2 -2
  15. package/resources/jobs/labels/labels.ts +16 -5
  16. package/resources/livemap/markers/marker_marker.ts +1 -1
  17. package/resources/settings/banner.ts +1 -1
  18. package/resources/settings/config.ts +16 -14
  19. package/resources/sync/data/data.ts +9 -9
  20. package/resources/users/activity/activity.ts +132 -12
  21. package/resources/users/props/props.ts +4 -4
  22. package/resources/users/user.ts +4 -4
  23. package/services/calendar/calendar.client.ts +2 -106
  24. package/services/calendar/calendar.ts +0 -1018
  25. package/services/calendar/entries.client.ts +129 -0
  26. package/services/calendar/entries.ts +1040 -0
  27. package/services/centrum/centrum.client.ts +23 -244
  28. package/services/centrum/centrum.ts +246 -2383
  29. package/services/centrum/dispatches.client.ts +155 -0
  30. package/services/centrum/dispatches.ts +1305 -0
  31. package/services/centrum/units.client.ts +116 -0
  32. package/services/centrum/units.ts +876 -0
  33. package/services/citizens/citizens.client.ts +0 -13
  34. package/services/citizens/citizens.ts +1 -115
  35. package/services/citizens/labels.client.ts +77 -0
  36. package/services/citizens/labels.ts +455 -0
  37. package/services/completor/completor.ts +5 -5
  38. package/services/documents/categories.client.ts +64 -0
  39. package/services/documents/categories.ts +331 -0
  40. package/services/documents/comments.client.ts +77 -0
  41. package/services/documents/comments.ts +479 -0
  42. package/services/documents/documents.client.ts +26 -182
  43. package/services/documents/documents.ts +335 -1682
  44. package/services/documents/templates.client.ts +90 -0
  45. package/services/documents/templates.ts +591 -0
  46. package/services/jobs/colleagues.client.ts +129 -0
  47. package/services/jobs/colleagues.ts +1129 -0
  48. package/services/jobs/jobs.client.ts +3 -107
  49. package/services/jobs/jobs.ts +1 -1113
  50. package/services/mailer/mailer.client.ts +0 -208
  51. package/services/mailer/mailer.ts +1 -2010
  52. package/services/mailer/settings.client.ts +103 -0
  53. package/services/mailer/settings.ts +708 -0
  54. package/services/mailer/thread.client.ts +155 -0
  55. package/services/mailer/thread.ts +1343 -0
  56. package/services/qualifications/exam.client.ts +77 -0
  57. package/services/qualifications/exam.ts +609 -0
  58. package/services/qualifications/qualifications.client.ts +1 -53
  59. package/services/qualifications/qualifications.ts +0 -591
  60. package/services/settings/cron.client.ts +13 -0
  61. package/services/settings/cron.ts +114 -1
  62. package/services/sync/sync.client.ts +271 -37
  63. package/services/sync/sync.ts +1463 -383
  64. package/svcs.ts +182 -94
  65. package/resources/sync/data/v2/data.ts +0 -220
  66. package/resources/users/labels/labels.ts +0 -160
  67. package/services/sync/v2/sync.client.ts +0 -331
  68. package/services/sync/v2/sync.ts +0 -1766
@@ -27,6 +27,24 @@ export interface ListCronjobsResponse {
27
27
  */
28
28
  jobs: Cronjob[];
29
29
  }
30
+ /**
31
+ * @generated from protobuf message services.settings.RunCronjobRequest
32
+ */
33
+ export interface RunCronjobRequest {
34
+ /**
35
+ * @generated from protobuf field: string name = 1
36
+ */
37
+ name: string;
38
+ }
39
+ /**
40
+ * @generated from protobuf message services.settings.RunCronjobResponse
41
+ */
42
+ export interface RunCronjobResponse {
43
+ /**
44
+ * @generated from protobuf field: uint64 sequence = 1
45
+ */
46
+ sequence: number;
47
+ }
30
48
  // @generated message type with reflection information, may provide speed optimized methods
31
49
  class ListCronjobsRequest$Type extends MessageType<ListCronjobsRequest> {
32
50
  constructor() {
@@ -112,9 +130,104 @@ class ListCronjobsResponse$Type extends MessageType<ListCronjobsResponse> {
112
130
  * @generated MessageType for protobuf message services.settings.ListCronjobsResponse
113
131
  */
114
132
  export const ListCronjobsResponse = new ListCronjobsResponse$Type();
133
+ // @generated message type with reflection information, may provide speed optimized methods
134
+ class RunCronjobRequest$Type extends MessageType<RunCronjobRequest> {
135
+ constructor() {
136
+ super("services.settings.RunCronjobRequest", [
137
+ { no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
138
+ ]);
139
+ }
140
+ create(value?: PartialMessage<RunCronjobRequest>): RunCronjobRequest {
141
+ const message = globalThis.Object.create((this.messagePrototype!));
142
+ message.name = "";
143
+ if (value !== undefined)
144
+ reflectionMergePartial<RunCronjobRequest>(this, message, value);
145
+ return message;
146
+ }
147
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunCronjobRequest): RunCronjobRequest {
148
+ let message = target ?? this.create(), end = reader.pos + length;
149
+ while (reader.pos < end) {
150
+ let [fieldNo, wireType] = reader.tag();
151
+ switch (fieldNo) {
152
+ case /* string name */ 1:
153
+ message.name = reader.string();
154
+ break;
155
+ default:
156
+ let u = options.readUnknownField;
157
+ if (u === "throw")
158
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
159
+ let d = reader.skip(wireType);
160
+ if (u !== false)
161
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
162
+ }
163
+ }
164
+ return message;
165
+ }
166
+ internalBinaryWrite(message: RunCronjobRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
167
+ /* string name = 1; */
168
+ if (message.name !== "")
169
+ writer.tag(1, WireType.LengthDelimited).string(message.name);
170
+ let u = options.writeUnknownFields;
171
+ if (u !== false)
172
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
173
+ return writer;
174
+ }
175
+ }
176
+ /**
177
+ * @generated MessageType for protobuf message services.settings.RunCronjobRequest
178
+ */
179
+ export const RunCronjobRequest = new RunCronjobRequest$Type();
180
+ // @generated message type with reflection information, may provide speed optimized methods
181
+ class RunCronjobResponse$Type extends MessageType<RunCronjobResponse> {
182
+ constructor() {
183
+ super("services.settings.RunCronjobResponse", [
184
+ { no: 1, name: "sequence", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ }
185
+ ]);
186
+ }
187
+ create(value?: PartialMessage<RunCronjobResponse>): RunCronjobResponse {
188
+ const message = globalThis.Object.create((this.messagePrototype!));
189
+ message.sequence = 0;
190
+ if (value !== undefined)
191
+ reflectionMergePartial<RunCronjobResponse>(this, message, value);
192
+ return message;
193
+ }
194
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RunCronjobResponse): RunCronjobResponse {
195
+ let message = target ?? this.create(), end = reader.pos + length;
196
+ while (reader.pos < end) {
197
+ let [fieldNo, wireType] = reader.tag();
198
+ switch (fieldNo) {
199
+ case /* uint64 sequence */ 1:
200
+ message.sequence = reader.uint64().toNumber();
201
+ break;
202
+ default:
203
+ let u = options.readUnknownField;
204
+ if (u === "throw")
205
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
206
+ let d = reader.skip(wireType);
207
+ if (u !== false)
208
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
209
+ }
210
+ }
211
+ return message;
212
+ }
213
+ internalBinaryWrite(message: RunCronjobResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
214
+ /* uint64 sequence = 1; */
215
+ if (message.sequence !== 0)
216
+ writer.tag(1, WireType.Varint).uint64(message.sequence);
217
+ let u = options.writeUnknownFields;
218
+ if (u !== false)
219
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
220
+ return writer;
221
+ }
222
+ }
223
+ /**
224
+ * @generated MessageType for protobuf message services.settings.RunCronjobResponse
225
+ */
226
+ export const RunCronjobResponse = new RunCronjobResponse$Type();
115
227
  /**
116
228
  * @generated ServiceType for protobuf service services.settings.CronService
117
229
  */
118
230
  export const CronService = new ServiceType("services.settings.CronService", [
119
- { name: "ListCronjobs", options: { "codegen.perms.perms": { enabled: true, name: "Superuser" } }, I: ListCronjobsRequest, O: ListCronjobsResponse }
231
+ { name: "ListCronjobs", options: { "codegen.perms.perms": { enabled: true, name: "Superuser" } }, I: ListCronjobsRequest, O: ListCronjobsResponse },
232
+ { name: "RunCronjob", options: { "codegen.perms.perms": { enabled: true, name: "Superuser" } }, I: RunCronjobRequest, O: RunCronjobResponse }
120
233
  ]);
@@ -5,19 +5,37 @@
5
5
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
6
6
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
7
7
  import { SyncService } from "./sync";
8
+ import type { DeleteDataRequest } from "./sync";
9
+ import type { SendDataRequest } from "./sync";
10
+ import type { AddActivityRequest } from "./sync";
8
11
  import type { StreamResponse } from "./sync";
9
12
  import type { StreamRequest } from "./sync";
10
13
  import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
14
+ import type { DeleteVehiclesRequest } from "./sync";
11
15
  import type { DeleteDataResponse } from "./sync";
12
- import type { DeleteDataRequest } from "./sync";
16
+ import type { DeleteUsersRequest } from "./sync";
17
+ import type { SetLastCharIDRequest } from "./sync";
18
+ import type { SendUserLocationsRequest } from "./sync";
19
+ import type { SendVehiclesRequest } from "./sync";
20
+ import type { SendUsersRequest } from "./sync";
21
+ import type { SendAccountsRequest } from "./sync";
22
+ import type { SendLicensesRequest } from "./sync";
13
23
  import type { SendDataResponse } from "./sync";
14
- import type { SendDataRequest } from "./sync";
24
+ import type { SendJobsRequest } from "./sync";
25
+ import type { AddDispatchRequest } from "./sync";
26
+ import type { AddJobTimeclockRequest } from "./sync";
27
+ import type { AddColleaguePropsRequest } from "./sync";
28
+ import type { AddColleagueActivityRequest } from "./sync";
29
+ import type { AddUserPropsRequest } from "./sync";
30
+ import type { AddUserActivityRequest } from "./sync";
31
+ import type { AddUserUpdateRequest } from "./sync";
32
+ import type { AddAccountUpdateRequest } from "./sync";
33
+ import type { AddActivityResponse } from "./sync";
34
+ import type { AddUserOAuth2ConnRequest } from "./sync";
15
35
  import type { TransferAccountResponse } from "./sync";
16
36
  import type { TransferAccountRequest } from "./sync";
17
37
  import type { RegisterAccountResponse } from "./sync";
18
38
  import type { RegisterAccountRequest } from "./sync";
19
- import type { AddActivityResponse } from "./sync";
20
- import type { AddActivityRequest } from "./sync";
21
39
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
22
40
  import type { GetStatusResponse } from "./sync";
23
41
  import type { GetStatusRequest } from "./sync";
@@ -36,12 +54,6 @@ export interface ISyncServiceClient {
36
54
  * @generated from protobuf rpc: GetStatus
37
55
  */
38
56
  getStatus(input: GetStatusRequest, options?: RpcOptions): UnaryCall<GetStatusRequest, GetStatusResponse>;
39
- /**
40
- * For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
41
- *
42
- * @generated from protobuf rpc: AddActivity
43
- */
44
- addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse>;
45
57
  /**
46
58
  * Get registration token for a new user account or return the account id and username, for a given identifier/license.
47
59
  *
@@ -55,23 +67,110 @@ export interface ISyncServiceClient {
55
67
  */
56
68
  transferAccount(input: TransferAccountRequest, options?: RpcOptions): UnaryCall<TransferAccountRequest, TransferAccountResponse>;
57
69
  /**
58
- * DBSync's method of sending (mass) data to the FiveNet server for storing.
70
+ * Individual AddActivity methods
59
71
  *
60
- * @generated from protobuf rpc: SendData
72
+ * @generated from protobuf rpc: AddUserOAuth2Conn
61
73
  */
62
- sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse>;
74
+ addUserOAuth2Conn(input: AddUserOAuth2ConnRequest, options?: RpcOptions): UnaryCall<AddUserOAuth2ConnRequest, AddActivityResponse>;
75
+ /**
76
+ * @generated from protobuf rpc: AddAccountUpdate
77
+ */
78
+ addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse>;
79
+ /**
80
+ * @generated from protobuf rpc: AddUserUpdate
81
+ */
82
+ addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse>;
83
+ /**
84
+ * @generated from protobuf rpc: AddUserActivity
85
+ */
86
+ addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse>;
87
+ /**
88
+ * @generated from protobuf rpc: AddUserProps
89
+ */
90
+ addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse>;
91
+ /**
92
+ * @generated from protobuf rpc: AddColleagueActivity
93
+ */
94
+ addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse>;
95
+ /**
96
+ * @generated from protobuf rpc: AddColleagueProps
97
+ */
98
+ addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse>;
99
+ /**
100
+ * @generated from protobuf rpc: AddJobTimeclock
101
+ */
102
+ addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse>;
103
+ /**
104
+ * @generated from protobuf rpc: AddDispatch
105
+ */
106
+ addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse>;
63
107
  /**
64
- * Way for the gameserver to delete certain data as well
108
+ * Individual SendData methods
65
109
  *
66
- * @generated from protobuf rpc: DeleteData
110
+ * @generated from protobuf rpc: SendJobs
67
111
  */
68
- deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse>;
112
+ sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse>;
113
+ /**
114
+ * @generated from protobuf rpc: SendLicenses
115
+ */
116
+ sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse>;
117
+ /**
118
+ * @generated from protobuf rpc: SendAccounts
119
+ */
120
+ sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse>;
121
+ /**
122
+ * @generated from protobuf rpc: SendUsers
123
+ */
124
+ sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse>;
125
+ /**
126
+ * @generated from protobuf rpc: SendVehicles
127
+ */
128
+ sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse>;
129
+ /**
130
+ * @generated from protobuf rpc: SendUserLocations
131
+ */
132
+ sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse>;
133
+ /**
134
+ * @generated from protobuf rpc: SetLastCharID
135
+ */
136
+ setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse>;
137
+ /**
138
+ * Individual DeleteData methods
139
+ *
140
+ * @generated from protobuf rpc: DeleteUsers
141
+ */
142
+ deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse>;
143
+ /**
144
+ * @generated from protobuf rpc: DeleteVehicles
145
+ */
146
+ deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse>;
69
147
  /**
70
148
  * Used for the server to stream events to the dbsync (e.g., "refresh" of user/char data)
71
149
  *
72
150
  * @generated from protobuf rpc: Stream
73
151
  */
74
152
  stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse>;
153
+ /**
154
+ * DEPRECATED: For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
155
+ *
156
+ * @deprecated
157
+ * @generated from protobuf rpc: AddActivity
158
+ */
159
+ addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse>;
160
+ /**
161
+ * DEPRECATED: DBSync's method of sending (mass) data to the FiveNet server for storing.
162
+ *
163
+ * @deprecated
164
+ * @generated from protobuf rpc: SendData
165
+ */
166
+ sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse>;
167
+ /**
168
+ * DEPRECATED: Way for the gameserver to delete certain data as well
169
+ *
170
+ * @deprecated
171
+ * @generated from protobuf rpc: DeleteData
172
+ */
173
+ deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse>;
75
174
  }
76
175
  /**
77
176
  * Sync Service handles the sync of data (e.g., users, jobs) to this FiveNet instance and API calls
@@ -94,22 +193,13 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
94
193
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
95
194
  return stackIntercept<GetStatusRequest, GetStatusResponse>("unary", this._transport, method, opt, input);
96
195
  }
97
- /**
98
- * For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
99
- *
100
- * @generated from protobuf rpc: AddActivity
101
- */
102
- addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
103
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
104
- return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
105
- }
106
196
  /**
107
197
  * Get registration token for a new user account or return the account id and username, for a given identifier/license.
108
198
  *
109
199
  * @generated from protobuf rpc: RegisterAccount
110
200
  */
111
201
  registerAccount(input: RegisterAccountRequest, options?: RpcOptions): UnaryCall<RegisterAccountRequest, RegisterAccountResponse> {
112
- const method = this.methods[2], opt = this._transport.mergeOptions(options);
202
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
113
203
  return stackIntercept<RegisterAccountRequest, RegisterAccountResponse>("unary", this._transport, method, opt, input);
114
204
  }
115
205
  /**
@@ -118,26 +208,140 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
118
208
  * @generated from protobuf rpc: TransferAccount
119
209
  */
120
210
  transferAccount(input: TransferAccountRequest, options?: RpcOptions): UnaryCall<TransferAccountRequest, TransferAccountResponse> {
121
- const method = this.methods[3], opt = this._transport.mergeOptions(options);
211
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
122
212
  return stackIntercept<TransferAccountRequest, TransferAccountResponse>("unary", this._transport, method, opt, input);
123
213
  }
124
214
  /**
125
- * DBSync's method of sending (mass) data to the FiveNet server for storing.
215
+ * Individual AddActivity methods
126
216
  *
127
- * @generated from protobuf rpc: SendData
217
+ * @generated from protobuf rpc: AddUserOAuth2Conn
128
218
  */
129
- sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
219
+ addUserOAuth2Conn(input: AddUserOAuth2ConnRequest, options?: RpcOptions): UnaryCall<AddUserOAuth2ConnRequest, AddActivityResponse> {
220
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
221
+ return stackIntercept<AddUserOAuth2ConnRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
222
+ }
223
+ /**
224
+ * @generated from protobuf rpc: AddAccountUpdate
225
+ */
226
+ addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse> {
130
227
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
131
- return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
228
+ return stackIntercept<AddAccountUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
132
229
  }
133
230
  /**
134
- * Way for the gameserver to delete certain data as well
135
- *
136
- * @generated from protobuf rpc: DeleteData
231
+ * @generated from protobuf rpc: AddUserUpdate
137
232
  */
138
- deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
233
+ addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse> {
139
234
  const method = this.methods[5], opt = this._transport.mergeOptions(options);
140
- return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
235
+ return stackIntercept<AddUserUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
236
+ }
237
+ /**
238
+ * @generated from protobuf rpc: AddUserActivity
239
+ */
240
+ addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse> {
241
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
242
+ return stackIntercept<AddUserActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
243
+ }
244
+ /**
245
+ * @generated from protobuf rpc: AddUserProps
246
+ */
247
+ addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse> {
248
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
249
+ return stackIntercept<AddUserPropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
250
+ }
251
+ /**
252
+ * @generated from protobuf rpc: AddColleagueActivity
253
+ */
254
+ addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse> {
255
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
256
+ return stackIntercept<AddColleagueActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
257
+ }
258
+ /**
259
+ * @generated from protobuf rpc: AddColleagueProps
260
+ */
261
+ addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse> {
262
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
263
+ return stackIntercept<AddColleaguePropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
264
+ }
265
+ /**
266
+ * @generated from protobuf rpc: AddJobTimeclock
267
+ */
268
+ addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse> {
269
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
270
+ return stackIntercept<AddJobTimeclockRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
271
+ }
272
+ /**
273
+ * @generated from protobuf rpc: AddDispatch
274
+ */
275
+ addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse> {
276
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
277
+ return stackIntercept<AddDispatchRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
278
+ }
279
+ /**
280
+ * Individual SendData methods
281
+ *
282
+ * @generated from protobuf rpc: SendJobs
283
+ */
284
+ sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse> {
285
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
286
+ return stackIntercept<SendJobsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
287
+ }
288
+ /**
289
+ * @generated from protobuf rpc: SendLicenses
290
+ */
291
+ sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse> {
292
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
293
+ return stackIntercept<SendLicensesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
294
+ }
295
+ /**
296
+ * @generated from protobuf rpc: SendAccounts
297
+ */
298
+ sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse> {
299
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
300
+ return stackIntercept<SendAccountsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
301
+ }
302
+ /**
303
+ * @generated from protobuf rpc: SendUsers
304
+ */
305
+ sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse> {
306
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
307
+ return stackIntercept<SendUsersRequest, SendDataResponse>("unary", this._transport, method, opt, input);
308
+ }
309
+ /**
310
+ * @generated from protobuf rpc: SendVehicles
311
+ */
312
+ sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse> {
313
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
314
+ return stackIntercept<SendVehiclesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
315
+ }
316
+ /**
317
+ * @generated from protobuf rpc: SendUserLocations
318
+ */
319
+ sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse> {
320
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
321
+ return stackIntercept<SendUserLocationsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
322
+ }
323
+ /**
324
+ * @generated from protobuf rpc: SetLastCharID
325
+ */
326
+ setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse> {
327
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
328
+ return stackIntercept<SetLastCharIDRequest, SendDataResponse>("unary", this._transport, method, opt, input);
329
+ }
330
+ /**
331
+ * Individual DeleteData methods
332
+ *
333
+ * @generated from protobuf rpc: DeleteUsers
334
+ */
335
+ deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse> {
336
+ const method = this.methods[19], opt = this._transport.mergeOptions(options);
337
+ return stackIntercept<DeleteUsersRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
338
+ }
339
+ /**
340
+ * @generated from protobuf rpc: DeleteVehicles
341
+ */
342
+ deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse> {
343
+ const method = this.methods[20], opt = this._transport.mergeOptions(options);
344
+ return stackIntercept<DeleteVehiclesRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
141
345
  }
142
346
  /**
143
347
  * Used for the server to stream events to the dbsync (e.g., "refresh" of user/char data)
@@ -145,7 +349,37 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
145
349
  * @generated from protobuf rpc: Stream
146
350
  */
147
351
  stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
148
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
352
+ const method = this.methods[21], opt = this._transport.mergeOptions(options);
149
353
  return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
150
354
  }
355
+ /**
356
+ * DEPRECATED: For "tracking" activity such as "user received traffic infraction points", timeclock entries, etc.
357
+ *
358
+ * @deprecated
359
+ * @generated from protobuf rpc: AddActivity
360
+ */
361
+ addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
362
+ const method = this.methods[22], opt = this._transport.mergeOptions(options);
363
+ return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
364
+ }
365
+ /**
366
+ * DEPRECATED: DBSync's method of sending (mass) data to the FiveNet server for storing.
367
+ *
368
+ * @deprecated
369
+ * @generated from protobuf rpc: SendData
370
+ */
371
+ sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
372
+ const method = this.methods[23], opt = this._transport.mergeOptions(options);
373
+ return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
374
+ }
375
+ /**
376
+ * DEPRECATED: Way for the gameserver to delete certain data as well
377
+ *
378
+ * @deprecated
379
+ * @generated from protobuf rpc: DeleteData
380
+ */
381
+ deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
382
+ const method = this.methods[24], opt = this._transport.mergeOptions(options);
383
+ return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
384
+ }
151
385
  }