@fivenet-app/gen 2026.7.0 → 2026.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/perms.ts +13 -9
- package/resources/clientconfig/clientconfig.ts +11 -0
- package/resources/jobs/jobs.ts +0 -22
- package/resources/notifications/events/events.ts +19 -1
- package/resources/settings/config.ts +11 -0
- package/resources/sync/data/data.ts +13 -0
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/vehicles/activity/activity.ts +146 -10
- package/services/auth/auth.client.ts +15 -2
- package/services/auth/auth.ts +135 -0
- package/services/jobs/conduct.ts +14 -3
- package/services/sync/sync.client.ts +100 -19
- package/services/sync/sync.ts +100 -6
- package/services/vehicles/vehicles.client.ts +13 -0
- package/services/vehicles/vehicles.ts +181 -13
- package/svcs.ts +3 -0
package/services/auth/auth.ts
CHANGED
|
@@ -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" } });
|
package/services/jobs/conduct.ts
CHANGED
|
@@ -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" }] } });
|
|
@@ -21,6 +21,8 @@ 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 { EndActiveJobTimeclocksResponse } from "./sync";
|
|
25
|
+
import type { EndActiveJobTimeclocksRequest } from "./sync";
|
|
24
26
|
import type { DeleteDataResponse } from "./sync";
|
|
25
27
|
import type { DeleteMarkerRequest } from "./sync";
|
|
26
28
|
import type { AddMarkerRequest } from "./sync";
|
|
@@ -69,40 +71,56 @@ export interface ISyncServiceClient {
|
|
|
69
71
|
*/
|
|
70
72
|
transferAccount(input: TransferAccountRequest, options?: RpcOptions): UnaryCall<TransferAccountRequest, TransferAccountResponse>;
|
|
71
73
|
/**
|
|
72
|
-
*
|
|
74
|
+
* Add Discord OAuth2/social login connection for a user's account.
|
|
73
75
|
*
|
|
74
76
|
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
75
77
|
*/
|
|
76
78
|
addUserOAuth2Conn(input: AddUserOAuth2ConnRequest, options?: RpcOptions): UnaryCall<AddUserOAuth2ConnRequest, AddActivityResponse>;
|
|
77
79
|
/**
|
|
80
|
+
* Record an account update activity.
|
|
81
|
+
*
|
|
78
82
|
* @generated from protobuf rpc: AddAccountUpdate
|
|
79
83
|
*/
|
|
80
84
|
addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse>;
|
|
81
85
|
/**
|
|
86
|
+
* Record a user update activity.
|
|
87
|
+
*
|
|
82
88
|
* @generated from protobuf rpc: AddUserUpdate
|
|
83
89
|
*/
|
|
84
90
|
addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse>;
|
|
85
91
|
/**
|
|
92
|
+
* Record a user activity entry.
|
|
93
|
+
*
|
|
86
94
|
* @generated from protobuf rpc: AddUserActivity
|
|
87
95
|
*/
|
|
88
96
|
addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse>;
|
|
89
97
|
/**
|
|
98
|
+
* Record user property changes.
|
|
99
|
+
*
|
|
90
100
|
* @generated from protobuf rpc: AddUserProps
|
|
91
101
|
*/
|
|
92
102
|
addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse>;
|
|
93
103
|
/**
|
|
104
|
+
* Record a colleague activity entry.
|
|
105
|
+
*
|
|
94
106
|
* @generated from protobuf rpc: AddColleagueActivity
|
|
95
107
|
*/
|
|
96
108
|
addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse>;
|
|
97
109
|
/**
|
|
110
|
+
* Record colleague property changes.
|
|
111
|
+
*
|
|
98
112
|
* @generated from protobuf rpc: AddColleagueProps
|
|
99
113
|
*/
|
|
100
114
|
addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse>;
|
|
101
115
|
/**
|
|
116
|
+
* Record a job timeclock entry.
|
|
117
|
+
*
|
|
102
118
|
* @generated from protobuf rpc: AddJobTimeclock
|
|
103
119
|
*/
|
|
104
120
|
addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse>;
|
|
105
121
|
/**
|
|
122
|
+
* Record a dispatch activity entry.
|
|
123
|
+
*
|
|
106
124
|
* @generated from protobuf rpc: AddDispatch
|
|
107
125
|
*/
|
|
108
126
|
addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse>;
|
|
@@ -113,46 +131,68 @@ export interface ISyncServiceClient {
|
|
|
113
131
|
*/
|
|
114
132
|
addMarker(input: AddMarkerRequest, options?: RpcOptions): UnaryCall<AddMarkerRequest, AddActivityResponse>;
|
|
115
133
|
/**
|
|
134
|
+
* Remove a temporary map marker.
|
|
135
|
+
*
|
|
116
136
|
* @generated from protobuf rpc: DeleteMarker
|
|
117
137
|
*/
|
|
118
138
|
deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse>;
|
|
119
139
|
/**
|
|
120
|
-
*
|
|
140
|
+
* End all active job timeclock entries, typically during server shutdown.
|
|
141
|
+
*
|
|
142
|
+
* @generated from protobuf rpc: EndActiveJobTimeclocks
|
|
143
|
+
*/
|
|
144
|
+
endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Sync job data to the server.
|
|
121
147
|
*
|
|
122
148
|
* @generated from protobuf rpc: SendJobs
|
|
123
149
|
*/
|
|
124
150
|
sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse>;
|
|
125
151
|
/**
|
|
152
|
+
* Sync license data to the server.
|
|
153
|
+
*
|
|
126
154
|
* @generated from protobuf rpc: SendLicenses
|
|
127
155
|
*/
|
|
128
156
|
sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse>;
|
|
129
157
|
/**
|
|
158
|
+
* Sync account data to the server.
|
|
159
|
+
*
|
|
130
160
|
* @generated from protobuf rpc: SendAccounts
|
|
131
161
|
*/
|
|
132
162
|
sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse>;
|
|
133
163
|
/**
|
|
164
|
+
* Sync user data to the server.
|
|
165
|
+
*
|
|
134
166
|
* @generated from protobuf rpc: SendUsers
|
|
135
167
|
*/
|
|
136
168
|
sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse>;
|
|
137
169
|
/**
|
|
170
|
+
* Sync vehicle data to the server.
|
|
171
|
+
*
|
|
138
172
|
* @generated from protobuf rpc: SendVehicles
|
|
139
173
|
*/
|
|
140
174
|
sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse>;
|
|
141
175
|
/**
|
|
176
|
+
* Sync user location data to the server.
|
|
177
|
+
*
|
|
142
178
|
* @generated from protobuf rpc: SendUserLocations
|
|
143
179
|
*/
|
|
144
180
|
sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse>;
|
|
145
181
|
/**
|
|
182
|
+
* Sync the last character ID for a user.
|
|
183
|
+
*
|
|
146
184
|
* @generated from protobuf rpc: SetLastCharID
|
|
147
185
|
*/
|
|
148
186
|
setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse>;
|
|
149
187
|
/**
|
|
150
|
-
*
|
|
188
|
+
* Delete users from the sync store.
|
|
151
189
|
*
|
|
152
190
|
* @generated from protobuf rpc: DeleteUsers
|
|
153
191
|
*/
|
|
154
192
|
deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse>;
|
|
155
193
|
/**
|
|
194
|
+
* Delete vehicles from the sync store.
|
|
195
|
+
*
|
|
156
196
|
* @generated from protobuf rpc: DeleteVehicles
|
|
157
197
|
*/
|
|
158
198
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse>;
|
|
@@ -224,7 +264,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
224
264
|
return stackIntercept<TransferAccountRequest, TransferAccountResponse>("unary", this._transport, method, opt, input);
|
|
225
265
|
}
|
|
226
266
|
/**
|
|
227
|
-
*
|
|
267
|
+
* Add Discord OAuth2/social login connection for a user's account.
|
|
228
268
|
*
|
|
229
269
|
* @generated from protobuf rpc: AddUserOAuth2Conn
|
|
230
270
|
*/
|
|
@@ -233,6 +273,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
233
273
|
return stackIntercept<AddUserOAuth2ConnRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
234
274
|
}
|
|
235
275
|
/**
|
|
276
|
+
* Record an account update activity.
|
|
277
|
+
*
|
|
236
278
|
* @generated from protobuf rpc: AddAccountUpdate
|
|
237
279
|
*/
|
|
238
280
|
addAccountUpdate(input: AddAccountUpdateRequest, options?: RpcOptions): UnaryCall<AddAccountUpdateRequest, AddActivityResponse> {
|
|
@@ -240,6 +282,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
240
282
|
return stackIntercept<AddAccountUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
241
283
|
}
|
|
242
284
|
/**
|
|
285
|
+
* Record a user update activity.
|
|
286
|
+
*
|
|
243
287
|
* @generated from protobuf rpc: AddUserUpdate
|
|
244
288
|
*/
|
|
245
289
|
addUserUpdate(input: AddUserUpdateRequest, options?: RpcOptions): UnaryCall<AddUserUpdateRequest, AddActivityResponse> {
|
|
@@ -247,6 +291,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
247
291
|
return stackIntercept<AddUserUpdateRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
248
292
|
}
|
|
249
293
|
/**
|
|
294
|
+
* Record a user activity entry.
|
|
295
|
+
*
|
|
250
296
|
* @generated from protobuf rpc: AddUserActivity
|
|
251
297
|
*/
|
|
252
298
|
addUserActivity(input: AddUserActivityRequest, options?: RpcOptions): UnaryCall<AddUserActivityRequest, AddActivityResponse> {
|
|
@@ -254,6 +300,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
254
300
|
return stackIntercept<AddUserActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
255
301
|
}
|
|
256
302
|
/**
|
|
303
|
+
* Record user property changes.
|
|
304
|
+
*
|
|
257
305
|
* @generated from protobuf rpc: AddUserProps
|
|
258
306
|
*/
|
|
259
307
|
addUserProps(input: AddUserPropsRequest, options?: RpcOptions): UnaryCall<AddUserPropsRequest, AddActivityResponse> {
|
|
@@ -261,6 +309,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
261
309
|
return stackIntercept<AddUserPropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
262
310
|
}
|
|
263
311
|
/**
|
|
312
|
+
* Record a colleague activity entry.
|
|
313
|
+
*
|
|
264
314
|
* @generated from protobuf rpc: AddColleagueActivity
|
|
265
315
|
*/
|
|
266
316
|
addColleagueActivity(input: AddColleagueActivityRequest, options?: RpcOptions): UnaryCall<AddColleagueActivityRequest, AddActivityResponse> {
|
|
@@ -268,6 +318,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
268
318
|
return stackIntercept<AddColleagueActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
269
319
|
}
|
|
270
320
|
/**
|
|
321
|
+
* Record colleague property changes.
|
|
322
|
+
*
|
|
271
323
|
* @generated from protobuf rpc: AddColleagueProps
|
|
272
324
|
*/
|
|
273
325
|
addColleagueProps(input: AddColleaguePropsRequest, options?: RpcOptions): UnaryCall<AddColleaguePropsRequest, AddActivityResponse> {
|
|
@@ -275,6 +327,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
275
327
|
return stackIntercept<AddColleaguePropsRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
276
328
|
}
|
|
277
329
|
/**
|
|
330
|
+
* Record a job timeclock entry.
|
|
331
|
+
*
|
|
278
332
|
* @generated from protobuf rpc: AddJobTimeclock
|
|
279
333
|
*/
|
|
280
334
|
addJobTimeclock(input: AddJobTimeclockRequest, options?: RpcOptions): UnaryCall<AddJobTimeclockRequest, AddActivityResponse> {
|
|
@@ -282,6 +336,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
282
336
|
return stackIntercept<AddJobTimeclockRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
283
337
|
}
|
|
284
338
|
/**
|
|
339
|
+
* Record a dispatch activity entry.
|
|
340
|
+
*
|
|
285
341
|
* @generated from protobuf rpc: AddDispatch
|
|
286
342
|
*/
|
|
287
343
|
addDispatch(input: AddDispatchRequest, options?: RpcOptions): UnaryCall<AddDispatchRequest, AddActivityResponse> {
|
|
@@ -298,6 +354,8 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
298
354
|
return stackIntercept<AddMarkerRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
299
355
|
}
|
|
300
356
|
/**
|
|
357
|
+
* Remove a temporary map marker.
|
|
358
|
+
*
|
|
301
359
|
* @generated from protobuf rpc: DeleteMarker
|
|
302
360
|
*/
|
|
303
361
|
deleteMarker(input: DeleteMarkerRequest, options?: RpcOptions): UnaryCall<DeleteMarkerRequest, DeleteDataResponse> {
|
|
@@ -305,70 +363,93 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
305
363
|
return stackIntercept<DeleteMarkerRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
306
364
|
}
|
|
307
365
|
/**
|
|
308
|
-
*
|
|
366
|
+
* End all active job timeclock entries, typically during server shutdown.
|
|
367
|
+
*
|
|
368
|
+
* @generated from protobuf rpc: EndActiveJobTimeclocks
|
|
369
|
+
*/
|
|
370
|
+
endActiveJobTimeclocks(input: EndActiveJobTimeclocksRequest, options?: RpcOptions): UnaryCall<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse> {
|
|
371
|
+
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
372
|
+
return stackIntercept<EndActiveJobTimeclocksRequest, EndActiveJobTimeclocksResponse>("unary", this._transport, method, opt, input);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Sync job data to the server.
|
|
309
376
|
*
|
|
310
377
|
* @generated from protobuf rpc: SendJobs
|
|
311
378
|
*/
|
|
312
379
|
sendJobs(input: SendJobsRequest, options?: RpcOptions): UnaryCall<SendJobsRequest, SendDataResponse> {
|
|
313
|
-
const method = this.methods[
|
|
380
|
+
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
314
381
|
return stackIntercept<SendJobsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
315
382
|
}
|
|
316
383
|
/**
|
|
384
|
+
* Sync license data to the server.
|
|
385
|
+
*
|
|
317
386
|
* @generated from protobuf rpc: SendLicenses
|
|
318
387
|
*/
|
|
319
388
|
sendLicenses(input: SendLicensesRequest, options?: RpcOptions): UnaryCall<SendLicensesRequest, SendDataResponse> {
|
|
320
|
-
const method = this.methods[
|
|
389
|
+
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
321
390
|
return stackIntercept<SendLicensesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
322
391
|
}
|
|
323
392
|
/**
|
|
393
|
+
* Sync account data to the server.
|
|
394
|
+
*
|
|
324
395
|
* @generated from protobuf rpc: SendAccounts
|
|
325
396
|
*/
|
|
326
397
|
sendAccounts(input: SendAccountsRequest, options?: RpcOptions): UnaryCall<SendAccountsRequest, SendDataResponse> {
|
|
327
|
-
const method = this.methods[
|
|
398
|
+
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
328
399
|
return stackIntercept<SendAccountsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
329
400
|
}
|
|
330
401
|
/**
|
|
402
|
+
* Sync user data to the server.
|
|
403
|
+
*
|
|
331
404
|
* @generated from protobuf rpc: SendUsers
|
|
332
405
|
*/
|
|
333
406
|
sendUsers(input: SendUsersRequest, options?: RpcOptions): UnaryCall<SendUsersRequest, SendDataResponse> {
|
|
334
|
-
const method = this.methods[
|
|
407
|
+
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
335
408
|
return stackIntercept<SendUsersRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
336
409
|
}
|
|
337
410
|
/**
|
|
411
|
+
* Sync vehicle data to the server.
|
|
412
|
+
*
|
|
338
413
|
* @generated from protobuf rpc: SendVehicles
|
|
339
414
|
*/
|
|
340
415
|
sendVehicles(input: SendVehiclesRequest, options?: RpcOptions): UnaryCall<SendVehiclesRequest, SendDataResponse> {
|
|
341
|
-
const method = this.methods[
|
|
416
|
+
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
342
417
|
return stackIntercept<SendVehiclesRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
343
418
|
}
|
|
344
419
|
/**
|
|
420
|
+
* Sync user location data to the server.
|
|
421
|
+
*
|
|
345
422
|
* @generated from protobuf rpc: SendUserLocations
|
|
346
423
|
*/
|
|
347
424
|
sendUserLocations(input: SendUserLocationsRequest, options?: RpcOptions): UnaryCall<SendUserLocationsRequest, SendDataResponse> {
|
|
348
|
-
const method = this.methods[
|
|
425
|
+
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
349
426
|
return stackIntercept<SendUserLocationsRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
350
427
|
}
|
|
351
428
|
/**
|
|
429
|
+
* Sync the last character ID for a user.
|
|
430
|
+
*
|
|
352
431
|
* @generated from protobuf rpc: SetLastCharID
|
|
353
432
|
*/
|
|
354
433
|
setLastCharID(input: SetLastCharIDRequest, options?: RpcOptions): UnaryCall<SetLastCharIDRequest, SendDataResponse> {
|
|
355
|
-
const method = this.methods[
|
|
434
|
+
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
356
435
|
return stackIntercept<SetLastCharIDRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
357
436
|
}
|
|
358
437
|
/**
|
|
359
|
-
*
|
|
438
|
+
* Delete users from the sync store.
|
|
360
439
|
*
|
|
361
440
|
* @generated from protobuf rpc: DeleteUsers
|
|
362
441
|
*/
|
|
363
442
|
deleteUsers(input: DeleteUsersRequest, options?: RpcOptions): UnaryCall<DeleteUsersRequest, DeleteDataResponse> {
|
|
364
|
-
const method = this.methods[
|
|
443
|
+
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
365
444
|
return stackIntercept<DeleteUsersRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
366
445
|
}
|
|
367
446
|
/**
|
|
447
|
+
* Delete vehicles from the sync store.
|
|
448
|
+
*
|
|
368
449
|
* @generated from protobuf rpc: DeleteVehicles
|
|
369
450
|
*/
|
|
370
451
|
deleteVehicles(input: DeleteVehiclesRequest, options?: RpcOptions): UnaryCall<DeleteVehiclesRequest, DeleteDataResponse> {
|
|
371
|
-
const method = this.methods[
|
|
452
|
+
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
372
453
|
return stackIntercept<DeleteVehiclesRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
373
454
|
}
|
|
374
455
|
/**
|
|
@@ -377,7 +458,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
377
458
|
* @generated from protobuf rpc: Stream
|
|
378
459
|
*/
|
|
379
460
|
stream(input: StreamRequest, options?: RpcOptions): ServerStreamingCall<StreamRequest, StreamResponse> {
|
|
380
|
-
const method = this.methods[
|
|
461
|
+
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
381
462
|
return stackIntercept<StreamRequest, StreamResponse>("serverStreaming", this._transport, method, opt, input);
|
|
382
463
|
}
|
|
383
464
|
/**
|
|
@@ -387,7 +468,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
387
468
|
* @generated from protobuf rpc: AddActivity
|
|
388
469
|
*/
|
|
389
470
|
addActivity(input: AddActivityRequest, options?: RpcOptions): UnaryCall<AddActivityRequest, AddActivityResponse> {
|
|
390
|
-
const method = this.methods[
|
|
471
|
+
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
|
391
472
|
return stackIntercept<AddActivityRequest, AddActivityResponse>("unary", this._transport, method, opt, input);
|
|
392
473
|
}
|
|
393
474
|
/**
|
|
@@ -397,7 +478,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
397
478
|
* @generated from protobuf rpc: SendData
|
|
398
479
|
*/
|
|
399
480
|
sendData(input: SendDataRequest, options?: RpcOptions): UnaryCall<SendDataRequest, SendDataResponse> {
|
|
400
|
-
const method = this.methods[
|
|
481
|
+
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
|
401
482
|
return stackIntercept<SendDataRequest, SendDataResponse>("unary", this._transport, method, opt, input);
|
|
402
483
|
}
|
|
403
484
|
/**
|
|
@@ -407,7 +488,7 @@ export class SyncServiceClient implements ISyncServiceClient, ServiceInfo {
|
|
|
407
488
|
* @generated from protobuf rpc: DeleteData
|
|
408
489
|
*/
|
|
409
490
|
deleteData(input: DeleteDataRequest, options?: RpcOptions): UnaryCall<DeleteDataRequest, DeleteDataResponse> {
|
|
410
|
-
const method = this.methods[
|
|
491
|
+
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
|
411
492
|
return stackIntercept<DeleteDataRequest, DeleteDataResponse>("unary", this._transport, method, opt, input);
|
|
412
493
|
}
|
|
413
494
|
}
|