@fivenet-app/gen 2025.9.1 → 2026.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/clients.ts +36 -0
- package/codegen/perms/perms.ts +186 -15
- package/codegen/sanitizer/sanitizer.ts +34 -1
- package/package.json +2 -2
- package/perms.ts +140 -8
- package/resources/accounts/accounts.ts +98 -31
- package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +20 -20
- package/resources/audit/audit.ts +156 -38
- package/resources/calendar/{access.ts → access/access.ts} +30 -30
- package/resources/calendar/calendar.ts +17 -477
- package/resources/calendar/entries/entries.ts +474 -0
- package/resources/centrum/{access.ts → access/access.ts} +22 -22
- package/resources/centrum/{dispatchers.ts → dispatchers/dispatchers.ts} +14 -14
- package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +151 -185
- package/resources/centrum/joblist.ts +136 -0
- package/resources/centrum/{settings.ts → settings/settings.ts} +70 -70
- package/resources/centrum/{units_access.ts → units/access/access.ts} +30 -30
- package/resources/centrum/{units.ts → units/units.ts} +131 -51
- package/resources/citizens/labels/labels.ts +526 -0
- package/resources/{users → citizens/licenses}/licenses.ts +17 -17
- package/resources/clientconfig/clientconfig.ts +126 -258
- package/resources/collab/collab.ts +4 -16
- package/resources/common/content/content.ts +108 -85
- package/resources/common/content/diff_activity.ts +267 -0
- package/resources/common/i18n.ts +2 -2
- package/resources/{common/cron → cron}/cron.ts +43 -43
- package/resources/documents/{access.ts → access/access.ts} +29 -52
- package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
- package/resources/documents/approval/approval.ts +945 -0
- package/resources/documents/{category.ts → category/category.ts} +7 -7
- package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
- package/resources/documents/data/data.ts +303 -0
- package/resources/documents/documents.ts +282 -667
- package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
- package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
- package/resources/documents/references/references.ts +187 -0
- package/resources/documents/relations/relations.ts +184 -0
- package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
- package/resources/documents/stamps/stamp.ts +355 -0
- package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
- package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
- package/resources/file/filestore.ts +1 -1
- package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
- package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
- package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
- package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
- package/resources/jobs/{labels.ts → labels/labels.ts} +34 -23
- package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
- package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
- package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
- package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
- package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
- package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
- package/resources/mailer/{access.ts → access/access.ts} +67 -67
- package/resources/mailer/{email.ts → emails/email.ts} +19 -19
- package/resources/mailer/{events.ts → events/events.ts} +24 -24
- package/resources/mailer/{message.ts → messages/message.ts} +29 -29
- package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
- package/resources/mailer/{template.ts → templates/template.ts} +15 -15
- package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
- package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
- package/resources/notifications/{events.ts → events/events.ts} +20 -20
- package/resources/notifications/notifications.ts +4 -4
- package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
- package/resources/permissions/{events.ts → events/events.ts} +7 -7
- package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
- package/resources/qualifications/{access.ts → access/access.ts} +19 -19
- package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
- package/resources/qualifications/qualifications.ts +51 -179
- package/resources/settings/banner.ts +3 -3
- package/resources/settings/config.ts +527 -25
- package/resources/{documents/state.ts → settings/data.ts} +41 -20
- package/resources/settings/perms.ts +14 -14
- package/resources/stats/stats.ts +379 -0
- package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
- package/resources/sync/{data.ts → data/data.ts} +405 -59
- package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
- package/resources/users/{activity.ts → activity/activity.ts} +242 -101
- package/resources/users/{props.ts → props/props.ts} +91 -69
- package/resources/users/short/user.ts +184 -0
- package/resources/users/{users.ts → user.ts} +266 -195
- package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
- package/resources/vehicles/{props.ts → props/props.ts} +28 -6
- package/resources/vehicles/vehicles.ts +20 -8
- package/resources/wiki/{access.ts → access/access.ts} +30 -30
- package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
- package/resources/wiki/page.ts +39 -15
- package/services/auth/auth.client.ts +23 -10
- package/services/auth/auth.ts +445 -262
- package/services/calendar/calendar.ts +56 -34
- package/services/centrum/centrum.ts +127 -127
- package/services/citizens/citizens.client.ts +0 -13
- package/services/citizens/citizens.ts +44 -134
- package/services/citizens/labels.client.ts +77 -0
- package/services/citizens/labels.ts +455 -0
- package/services/completor/completor.ts +36 -16
- package/services/documents/approval.client.ts +188 -0
- package/services/documents/approval.ts +1776 -0
- package/services/documents/documents.ts +164 -186
- package/services/documents/forms.client.ts +51 -0
- package/services/documents/forms.ts +232 -0
- package/services/documents/stamps.client.ts +77 -0
- package/services/documents/stamps.ts +481 -0
- package/services/documents/stats.client.ts +38 -0
- package/services/documents/stats.ts +245 -0
- package/services/jobs/conduct.client.ts +30 -3
- package/services/jobs/conduct.ts +159 -33
- package/services/jobs/jobs.ts +43 -43
- package/services/jobs/stats.client.ts +38 -0
- package/services/jobs/stats.ts +207 -0
- package/services/jobs/timeclock.ts +39 -39
- package/services/livemap/livemap.ts +18 -18
- package/services/mailer/mailer.ts +78 -78
- package/services/notifications/notifications.ts +35 -35
- package/services/qualifications/qualifications.ts +81 -46
- package/services/settings/accounts.client.ts +23 -10
- package/services/settings/accounts.ts +191 -30
- package/services/settings/cron.client.ts +13 -0
- package/services/settings/cron.ts +118 -5
- package/services/settings/laws.ts +1 -1
- package/services/settings/settings.ts +73 -52
- package/services/settings/system.client.ts +13 -0
- package/services/settings/system.ts +115 -15
- package/services/stats/stats.client.ts +7 -7
- package/services/stats/stats.ts +24 -24
- package/services/sync/sync.client.ts +271 -37
- package/services/sync/sync.ts +1525 -421
- package/services/vehicles/vehicles.ts +8 -8
- package/services/wiki/wiki.ts +8 -8
- package/svcs.ts +100 -6
- package/resources/centrum/attributes.ts +0 -183
- package/resources/documents/signoff.ts +0 -55
- package/resources/users/labels.ts +0 -160
package/services/stats/stats.ts
CHANGED
|
@@ -14,14 +14,14 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
14
14
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
15
15
|
import { Stat } from "../../resources/stats/stats";
|
|
16
16
|
/**
|
|
17
|
-
* @generated from protobuf message services.stats.
|
|
17
|
+
* @generated from protobuf message services.stats.GetPublicStatsRequest
|
|
18
18
|
*/
|
|
19
|
-
export interface
|
|
19
|
+
export interface GetPublicStatsRequest {
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* @generated from protobuf message services.stats.
|
|
22
|
+
* @generated from protobuf message services.stats.GetPublicStatsResponse
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface GetPublicStatsResponse {
|
|
25
25
|
/**
|
|
26
26
|
* @generated from protobuf field: map<string, resources.stats.Stat> stats = 1
|
|
27
27
|
*/
|
|
@@ -30,17 +30,17 @@ export interface GetStatsResponse {
|
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
32
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
33
|
-
class
|
|
33
|
+
class GetPublicStatsRequest$Type extends MessageType<GetPublicStatsRequest> {
|
|
34
34
|
constructor() {
|
|
35
|
-
super("services.stats.
|
|
35
|
+
super("services.stats.GetPublicStatsRequest", []);
|
|
36
36
|
}
|
|
37
|
-
create(value?: PartialMessage<
|
|
37
|
+
create(value?: PartialMessage<GetPublicStatsRequest>): GetPublicStatsRequest {
|
|
38
38
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
39
39
|
if (value !== undefined)
|
|
40
|
-
reflectionMergePartial<
|
|
40
|
+
reflectionMergePartial<GetPublicStatsRequest>(this, message, value);
|
|
41
41
|
return message;
|
|
42
42
|
}
|
|
43
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
43
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPublicStatsRequest): GetPublicStatsRequest {
|
|
44
44
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
45
45
|
while (reader.pos < end) {
|
|
46
46
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -56,7 +56,7 @@ class GetStatsRequest$Type extends MessageType<GetStatsRequest> {
|
|
|
56
56
|
}
|
|
57
57
|
return message;
|
|
58
58
|
}
|
|
59
|
-
internalBinaryWrite(message:
|
|
59
|
+
internalBinaryWrite(message: GetPublicStatsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
60
60
|
let u = options.writeUnknownFields;
|
|
61
61
|
if (u !== false)
|
|
62
62
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -64,24 +64,24 @@ class GetStatsRequest$Type extends MessageType<GetStatsRequest> {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* @generated MessageType for protobuf message services.stats.
|
|
67
|
+
* @generated MessageType for protobuf message services.stats.GetPublicStatsRequest
|
|
68
68
|
*/
|
|
69
|
-
export const
|
|
69
|
+
export const GetPublicStatsRequest = new GetPublicStatsRequest$Type();
|
|
70
70
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
71
|
-
class
|
|
71
|
+
class GetPublicStatsResponse$Type extends MessageType<GetPublicStatsResponse> {
|
|
72
72
|
constructor() {
|
|
73
|
-
super("services.stats.
|
|
73
|
+
super("services.stats.GetPublicStatsResponse", [
|
|
74
74
|
{ no: 1, name: "stats", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => Stat } }
|
|
75
75
|
]);
|
|
76
76
|
}
|
|
77
|
-
create(value?: PartialMessage<
|
|
77
|
+
create(value?: PartialMessage<GetPublicStatsResponse>): GetPublicStatsResponse {
|
|
78
78
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
79
79
|
message.stats = {};
|
|
80
80
|
if (value !== undefined)
|
|
81
|
-
reflectionMergePartial<
|
|
81
|
+
reflectionMergePartial<GetPublicStatsResponse>(this, message, value);
|
|
82
82
|
return message;
|
|
83
83
|
}
|
|
84
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
84
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetPublicStatsResponse): GetPublicStatsResponse {
|
|
85
85
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
86
86
|
while (reader.pos < end) {
|
|
87
87
|
let [fieldNo, wireType] = reader.tag();
|
|
@@ -100,8 +100,8 @@ class GetStatsResponse$Type extends MessageType<GetStatsResponse> {
|
|
|
100
100
|
}
|
|
101
101
|
return message;
|
|
102
102
|
}
|
|
103
|
-
private binaryReadMap1(map:
|
|
104
|
-
let len = reader.uint32(), end = reader.pos + len, key: keyof
|
|
103
|
+
private binaryReadMap1(map: GetPublicStatsResponse["stats"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
104
|
+
let len = reader.uint32(), end = reader.pos + len, key: keyof GetPublicStatsResponse["stats"] | undefined, val: GetPublicStatsResponse["stats"][any] | undefined;
|
|
105
105
|
while (reader.pos < end) {
|
|
106
106
|
let [fieldNo, wireType] = reader.tag();
|
|
107
107
|
switch (fieldNo) {
|
|
@@ -111,12 +111,12 @@ class GetStatsResponse$Type extends MessageType<GetStatsResponse> {
|
|
|
111
111
|
case 2:
|
|
112
112
|
val = Stat.internalBinaryRead(reader, reader.uint32(), options);
|
|
113
113
|
break;
|
|
114
|
-
default: throw new globalThis.Error("unknown map entry field for services.stats.
|
|
114
|
+
default: throw new globalThis.Error("unknown map entry field for services.stats.GetPublicStatsResponse.stats");
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
map[key ?? ""] = val ?? Stat.create();
|
|
118
118
|
}
|
|
119
|
-
internalBinaryWrite(message:
|
|
119
|
+
internalBinaryWrite(message: GetPublicStatsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
120
120
|
/* map<string, resources.stats.Stat> stats = 1; */
|
|
121
121
|
for (let k of globalThis.Object.keys(message.stats)) {
|
|
122
122
|
writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
|
|
@@ -131,12 +131,12 @@ class GetStatsResponse$Type extends MessageType<GetStatsResponse> {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
|
-
* @generated MessageType for protobuf message services.stats.
|
|
134
|
+
* @generated MessageType for protobuf message services.stats.GetPublicStatsResponse
|
|
135
135
|
*/
|
|
136
|
-
export const
|
|
136
|
+
export const GetPublicStatsResponse = new GetPublicStatsResponse$Type();
|
|
137
137
|
/**
|
|
138
138
|
* @generated ServiceType for protobuf service services.stats.StatsService
|
|
139
139
|
*/
|
|
140
140
|
export const StatsService = new ServiceType("services.stats.StatsService", [
|
|
141
|
-
{ name: "
|
|
141
|
+
{ name: "GetPublicStats", options: {}, I: GetPublicStatsRequest, O: GetPublicStatsResponse }
|
|
142
142
|
]);
|
|
@@ -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 {
|
|
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 {
|
|
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
|
-
*
|
|
70
|
+
* Individual AddActivity methods
|
|
59
71
|
*
|
|
60
|
-
* @generated from protobuf rpc:
|
|
72
|
+
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
61
73
|
*/
|
|
62
|
-
|
|
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
|
-
*
|
|
108
|
+
* Individual SendData methods
|
|
65
109
|
*
|
|
66
|
-
* @generated from protobuf rpc:
|
|
110
|
+
* @generated from protobuf rpc: SendJobs
|
|
67
111
|
*/
|
|
68
|
-
|
|
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[
|
|
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[
|
|
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
|
-
*
|
|
215
|
+
* Individual AddActivity methods
|
|
126
216
|
*
|
|
127
|
-
* @generated from protobuf rpc:
|
|
217
|
+
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
128
218
|
*/
|
|
129
|
-
|
|
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<
|
|
228
|
+
return stackIntercept<AddAccountUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
132
229
|
}
|
|
133
230
|
/**
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* @generated from protobuf rpc: DeleteData
|
|
231
|
+
* @generated from protobuf rpc: AddUserUpdate
|
|
137
232
|
*/
|
|
138
|
-
|
|
233
|
+
addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse> {
|
|
139
234
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
140
|
-
return stackIntercept<
|
|
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[
|
|
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
|
}
|