@fivenet-app/gen 2026.7.0 → 2026.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/perms.ts +13 -9
- package/resources/clientconfig/clientconfig.ts +11 -0
- package/resources/documents/requests/requests.ts +1 -1
- 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/activity/activity.ts +2 -2
- package/resources/sync/data/data.ts +13 -0
- package/resources/timestamp/timestamp.ts +1 -1
- package/resources/vehicles/activity/activity.ts +146 -10
- package/resources/wiki/activity/activity.ts +1 -1
- package/services/auth/auth.client.ts +15 -2
- package/services/auth/auth.ts +135 -0
- package/services/jobs/conduct.ts +14 -3
- package/services/livemap/livemap.client.ts +20 -0
- package/services/sync/sync.client.ts +117 -19
- package/services/sync/sync.ts +262 -6
- package/services/vehicles/vehicles.client.ts +13 -0
- package/services/vehicles/vehicles.ts +181 -13
- package/svcs.ts +4 -0
package/package.json
CHANGED
package/perms.ts
CHANGED
|
@@ -103,8 +103,8 @@ export type GRPCServicePerms =
|
|
|
103
103
|
| 'jobs.ConductService/CreateConductEntry'
|
|
104
104
|
| 'jobs.ConductService/DeleteConductEntry'
|
|
105
105
|
| 'jobs.ConductService/ListConductEntries'
|
|
106
|
+
| 'jobs.ConductService/RestoreConductEntry'
|
|
106
107
|
| 'jobs.ConductService/UpdateConductEntry'
|
|
107
|
-
| 'jobs.ConductService/UploadFile'
|
|
108
108
|
| 'jobs.JobsService/SetMOTD'
|
|
109
109
|
| 'jobs.StatsService/GetStats'
|
|
110
110
|
| 'jobs.TimeclockService/ListInactiveEmployees'
|
|
@@ -127,6 +127,7 @@ export type GRPCServicePerms =
|
|
|
127
127
|
| 'settings.SettingsService/SetJobProps'
|
|
128
128
|
| 'settings.SettingsService/UpdateRolePerms'
|
|
129
129
|
| 'settings.SettingsService/ViewAuditLog'
|
|
130
|
+
| 'vehicles.VehiclesService/ListVehicleActivity'
|
|
130
131
|
| 'vehicles.VehiclesService/ListVehicles'
|
|
131
132
|
| 'vehicles.VehiclesService/SetVehicleProps'
|
|
132
133
|
| 'wiki.WikiService/CreatePage'
|
|
@@ -134,8 +135,7 @@ export type GRPCServicePerms =
|
|
|
134
135
|
| 'wiki.WikiService/ListPageActivity'
|
|
135
136
|
| 'wiki.WikiService/ListPages'
|
|
136
137
|
| 'wiki.WikiService/MovePage'
|
|
137
|
-
| 'wiki.WikiService/UpdatePage'
|
|
138
|
-
| 'wiki.WikiService/UploadFile';
|
|
138
|
+
| 'wiki.WikiService/UpdatePage';
|
|
139
139
|
|
|
140
140
|
export const GRPCServices = [
|
|
141
141
|
'auth.AuthService',
|
|
@@ -222,8 +222,8 @@ export const GRPCServiceMethods = [
|
|
|
222
222
|
'jobs.ConductService/CreateConductEntry',
|
|
223
223
|
'jobs.ConductService/DeleteConductEntry',
|
|
224
224
|
'jobs.ConductService/ListConductEntries',
|
|
225
|
+
'jobs.ConductService/RestoreConductEntry',
|
|
225
226
|
'jobs.ConductService/UpdateConductEntry',
|
|
226
|
-
'jobs.ConductService/UploadFile',
|
|
227
227
|
'jobs.JobsService/SetMOTD',
|
|
228
228
|
'jobs.StatsService/GetStats',
|
|
229
229
|
'jobs.TimeclockService/ListInactiveEmployees',
|
|
@@ -246,6 +246,7 @@ export const GRPCServiceMethods = [
|
|
|
246
246
|
'settings.SettingsService/SetJobProps',
|
|
247
247
|
'settings.SettingsService/UpdateRolePerms',
|
|
248
248
|
'settings.SettingsService/ViewAuditLog',
|
|
249
|
+
'vehicles.VehiclesService/ListVehicleActivity',
|
|
249
250
|
'vehicles.VehiclesService/ListVehicles',
|
|
250
251
|
'vehicles.VehiclesService/SetVehicleProps',
|
|
251
252
|
'wiki.WikiService/CreatePage',
|
|
@@ -254,7 +255,6 @@ export const GRPCServiceMethods = [
|
|
|
254
255
|
'wiki.WikiService/ListPages',
|
|
255
256
|
'wiki.WikiService/MovePage',
|
|
256
257
|
'wiki.WikiService/UpdatePage',
|
|
257
|
-
'wiki.WikiService/UploadFile',
|
|
258
258
|
];
|
|
259
259
|
|
|
260
260
|
export const PermAttributes = {
|
|
@@ -453,9 +453,9 @@ export const PermAttributes = {
|
|
|
453
453
|
values: ['Own','All',] as const,
|
|
454
454
|
},
|
|
455
455
|
},
|
|
456
|
-
'jobs.ConductService/
|
|
456
|
+
'jobs.ConductService/RestoreConductEntry': {
|
|
457
457
|
},
|
|
458
|
-
'jobs.ConductService/
|
|
458
|
+
'jobs.ConductService/UpdateConductEntry': {
|
|
459
459
|
},
|
|
460
460
|
'jobs.JobsService/SetMOTD': {
|
|
461
461
|
},
|
|
@@ -535,6 +535,12 @@ export const PermAttributes = {
|
|
|
535
535
|
},
|
|
536
536
|
'settings.SettingsService/ViewAuditLog': {
|
|
537
537
|
},
|
|
538
|
+
'vehicles.VehiclesService/ListVehicleActivity': {
|
|
539
|
+
'Fields': {
|
|
540
|
+
type: 'stringList',
|
|
541
|
+
values: ['Creator','Own',] as const,
|
|
542
|
+
},
|
|
543
|
+
},
|
|
538
544
|
'vehicles.VehiclesService/ListVehicles': {
|
|
539
545
|
'Fields': {
|
|
540
546
|
type: 'stringList',
|
|
@@ -563,8 +569,6 @@ export const PermAttributes = {
|
|
|
563
569
|
values: ['Public',] as const,
|
|
564
570
|
},
|
|
565
571
|
},
|
|
566
|
-
'wiki.WikiService/UploadFile': {
|
|
567
|
-
},
|
|
568
572
|
} as const;
|
|
569
573
|
|
|
570
574
|
export type PermAttributesMap = typeof PermAttributes;
|
|
@@ -26,6 +26,10 @@ export interface ClientConfig {
|
|
|
26
26
|
* @generated from protobuf field: string version = 1
|
|
27
27
|
*/
|
|
28
28
|
version: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from protobuf field: optional bool setup_complete = 13
|
|
31
|
+
*/
|
|
32
|
+
setupComplete?: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* @generated from protobuf field: string default_locale = 2
|
|
31
35
|
*/
|
|
@@ -193,6 +197,7 @@ class ClientConfig$Type extends MessageType<ClientConfig> {
|
|
|
193
197
|
constructor() {
|
|
194
198
|
super("resources.clientconfig.ClientConfig", [
|
|
195
199
|
{ no: 1, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "tagger.tags": "json:\"version\"" } },
|
|
200
|
+
{ no: 13, name: "setup_complete", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/, options: { "tagger.tags": "json:\"setupComplete\"" } },
|
|
196
201
|
{ no: 2, name: "default_locale", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "tagger.tags": "json:\"defaultLocale\"" } },
|
|
197
202
|
{ no: 3, name: "auth", kind: "message", T: () => Auth, options: { "tagger.tags": "json:\"auth\"" } },
|
|
198
203
|
{ no: 4, name: "discord", kind: "message", T: () => Discord, options: { "tagger.tags": "json:\"discord\"" } },
|
|
@@ -221,6 +226,9 @@ class ClientConfig$Type extends MessageType<ClientConfig> {
|
|
|
221
226
|
case /* string version */ 1:
|
|
222
227
|
message.version = reader.string();
|
|
223
228
|
break;
|
|
229
|
+
case /* optional bool setup_complete */ 13:
|
|
230
|
+
message.setupComplete = reader.bool();
|
|
231
|
+
break;
|
|
224
232
|
case /* string default_locale */ 2:
|
|
225
233
|
message.defaultLocale = reader.string();
|
|
226
234
|
break;
|
|
@@ -296,6 +304,9 @@ class ClientConfig$Type extends MessageType<ClientConfig> {
|
|
|
296
304
|
/* resources.settings.Data data = 12; */
|
|
297
305
|
if (message.data)
|
|
298
306
|
Data.internalBinaryWrite(message.data, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
|
307
|
+
/* optional bool setup_complete = 13; */
|
|
308
|
+
if (message.setupComplete !== undefined)
|
|
309
|
+
writer.tag(13, WireType.Varint).bool(message.setupComplete);
|
|
299
310
|
let u = options.writeUnknownFields;
|
|
300
311
|
if (u !== false)
|
|
301
312
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -81,7 +81,7 @@ class DocRequest$Type extends MessageType<DocRequest> {
|
|
|
81
81
|
{ no: 7, name: "creator", kind: "message", T: () => UserShort, options: { "tagger.tags": "alias:\"creator\"" } },
|
|
82
82
|
{ no: 8, name: "creator_job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
|
|
83
83
|
{ no: 9, name: "creator_job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
84
|
-
{ no: 10, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
84
|
+
{ no: 10, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } },
|
|
85
85
|
{ no: 11, name: "data", kind: "message", T: () => DocActivityData },
|
|
86
86
|
{ no: 12, name: "accepted", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
87
87
|
]);
|
package/resources/jobs/jobs.ts
CHANGED
|
@@ -15,10 +15,6 @@ import { MessageType } from "@protobuf-ts/runtime";
|
|
|
15
15
|
* @generated from protobuf message resources.jobs.Job
|
|
16
16
|
*/
|
|
17
17
|
export interface Job {
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf field: optional int64 id = 4
|
|
20
|
-
*/
|
|
21
|
-
id?: number;
|
|
22
18
|
/**
|
|
23
19
|
* @generated from protobuf field: string name = 1
|
|
24
20
|
*/
|
|
@@ -36,10 +32,6 @@ export interface Job {
|
|
|
36
32
|
* @generated from protobuf message resources.jobs.JobGrade
|
|
37
33
|
*/
|
|
38
34
|
export interface JobGrade {
|
|
39
|
-
/**
|
|
40
|
-
* @generated from protobuf field: optional int64 job_id = 4
|
|
41
|
-
*/
|
|
42
|
-
jobId?: number;
|
|
43
35
|
/**
|
|
44
36
|
* @generated from protobuf field: optional string job_name = 1
|
|
45
37
|
*/
|
|
@@ -57,7 +49,6 @@ export interface JobGrade {
|
|
|
57
49
|
class Job$Type extends MessageType<Job> {
|
|
58
50
|
constructor() {
|
|
59
51
|
super("resources.jobs.Job", [
|
|
60
|
-
{ no: 4, name: "id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "buf.validate.field": { int64: { gt: "0" } } } },
|
|
61
52
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } }, "tagger.tags": "sql:\"primary_key\" alias:\"name\"" } },
|
|
62
53
|
{ no: 2, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
63
54
|
{ no: 3, name: "grades", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => JobGrade }
|
|
@@ -77,9 +68,6 @@ class Job$Type extends MessageType<Job> {
|
|
|
77
68
|
while (reader.pos < end) {
|
|
78
69
|
let [fieldNo, wireType] = reader.tag();
|
|
79
70
|
switch (fieldNo) {
|
|
80
|
-
case /* optional int64 id */ 4:
|
|
81
|
-
message.id = reader.int64().toNumber();
|
|
82
|
-
break;
|
|
83
71
|
case /* string name */ 1:
|
|
84
72
|
message.name = reader.string();
|
|
85
73
|
break;
|
|
@@ -110,9 +98,6 @@ class Job$Type extends MessageType<Job> {
|
|
|
110
98
|
/* repeated resources.jobs.JobGrade grades = 3; */
|
|
111
99
|
for (let i = 0; i < message.grades.length; i++)
|
|
112
100
|
JobGrade.internalBinaryWrite(message.grades[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
113
|
-
/* optional int64 id = 4; */
|
|
114
|
-
if (message.id !== undefined)
|
|
115
|
-
writer.tag(4, WireType.Varint).int64(message.id);
|
|
116
101
|
let u = options.writeUnknownFields;
|
|
117
102
|
if (u !== false)
|
|
118
103
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -127,7 +112,6 @@ export const Job = new Job$Type();
|
|
|
127
112
|
class JobGrade$Type extends MessageType<JobGrade> {
|
|
128
113
|
constructor() {
|
|
129
114
|
super("resources.jobs.JobGrade", [
|
|
130
|
-
{ no: 4, name: "job_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "buf.validate.field": { int64: { gt: "0" } } } },
|
|
131
115
|
{ no: 1, name: "job_name", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
132
116
|
{ no: 2, name: "grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } },
|
|
133
117
|
{ no: 3, name: "label", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } }
|
|
@@ -146,9 +130,6 @@ class JobGrade$Type extends MessageType<JobGrade> {
|
|
|
146
130
|
while (reader.pos < end) {
|
|
147
131
|
let [fieldNo, wireType] = reader.tag();
|
|
148
132
|
switch (fieldNo) {
|
|
149
|
-
case /* optional int64 job_id */ 4:
|
|
150
|
-
message.jobId = reader.int64().toNumber();
|
|
151
|
-
break;
|
|
152
133
|
case /* optional string job_name */ 1:
|
|
153
134
|
message.jobName = reader.string();
|
|
154
135
|
break;
|
|
@@ -179,9 +160,6 @@ class JobGrade$Type extends MessageType<JobGrade> {
|
|
|
179
160
|
/* string label = 3; */
|
|
180
161
|
if (message.label !== "")
|
|
181
162
|
writer.tag(3, WireType.LengthDelimited).string(message.label);
|
|
182
|
-
/* optional int64 job_id = 4; */
|
|
183
|
-
if (message.jobId !== undefined)
|
|
184
|
-
writer.tag(4, WireType.Varint).int64(message.jobId);
|
|
185
163
|
let u = options.writeUnknownFields;
|
|
186
164
|
if (u !== false)
|
|
187
165
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -116,6 +116,14 @@ export interface SystemEvent {
|
|
|
116
116
|
* @generated from protobuf field: resources.clientconfig.ClientConfig client_config = 1
|
|
117
117
|
*/
|
|
118
118
|
clientConfig: ClientConfig;
|
|
119
|
+
} | {
|
|
120
|
+
oneofKind: "lawsChanged";
|
|
121
|
+
/**
|
|
122
|
+
* Law book/Laws changes to have the client invalidate the locally cached data.
|
|
123
|
+
*
|
|
124
|
+
* @generated from protobuf field: bool laws_changed = 2
|
|
125
|
+
*/
|
|
126
|
+
lawsChanged: boolean;
|
|
119
127
|
} | {
|
|
120
128
|
oneofKind: undefined;
|
|
121
129
|
};
|
|
@@ -314,7 +322,8 @@ export const JobGradeEvent = new JobGradeEvent$Type();
|
|
|
314
322
|
class SystemEvent$Type extends MessageType<SystemEvent> {
|
|
315
323
|
constructor() {
|
|
316
324
|
super("resources.notifications.events.SystemEvent", [
|
|
317
|
-
{ no: 1, name: "client_config", kind: "message", oneof: "data", T: () => ClientConfig }
|
|
325
|
+
{ no: 1, name: "client_config", kind: "message", oneof: "data", T: () => ClientConfig },
|
|
326
|
+
{ no: 2, name: "laws_changed", kind: "scalar", oneof: "data", T: 8 /*ScalarType.BOOL*/ }
|
|
318
327
|
]);
|
|
319
328
|
}
|
|
320
329
|
create(value?: PartialMessage<SystemEvent>): SystemEvent {
|
|
@@ -335,6 +344,12 @@ class SystemEvent$Type extends MessageType<SystemEvent> {
|
|
|
335
344
|
clientConfig: ClientConfig.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).clientConfig)
|
|
336
345
|
};
|
|
337
346
|
break;
|
|
347
|
+
case /* bool laws_changed */ 2:
|
|
348
|
+
message.data = {
|
|
349
|
+
oneofKind: "lawsChanged",
|
|
350
|
+
lawsChanged: reader.bool()
|
|
351
|
+
};
|
|
352
|
+
break;
|
|
338
353
|
default:
|
|
339
354
|
let u = options.readUnknownField;
|
|
340
355
|
if (u === "throw")
|
|
@@ -350,6 +365,9 @@ class SystemEvent$Type extends MessageType<SystemEvent> {
|
|
|
350
365
|
/* resources.clientconfig.ClientConfig client_config = 1; */
|
|
351
366
|
if (message.data.oneofKind === "clientConfig")
|
|
352
367
|
ClientConfig.internalBinaryWrite(message.data.clientConfig, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
368
|
+
/* bool laws_changed = 2; */
|
|
369
|
+
if (message.data.oneofKind === "lawsChanged")
|
|
370
|
+
writer.tag(2, WireType.Varint).bool(message.data.lawsChanged);
|
|
353
371
|
let u = options.writeUnknownFields;
|
|
354
372
|
if (u !== false)
|
|
355
373
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -22,6 +22,10 @@ export interface AppConfig {
|
|
|
22
22
|
* @generated from protobuf field: string version = 1
|
|
23
23
|
*/
|
|
24
24
|
version: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from protobuf field: optional bool setup_complete = 15
|
|
27
|
+
*/
|
|
28
|
+
setupComplete?: boolean;
|
|
25
29
|
/**
|
|
26
30
|
* @generated from protobuf field: string default_locale = 8
|
|
27
31
|
*/
|
|
@@ -403,6 +407,7 @@ class AppConfig$Type extends MessageType<AppConfig> {
|
|
|
403
407
|
constructor() {
|
|
404
408
|
super("resources.settings.AppConfig", [
|
|
405
409
|
{ no: 1, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "100" } } } },
|
|
410
|
+
{ no: 15, name: "setup_complete", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
406
411
|
{ no: 8, name: "default_locale", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
|
|
407
412
|
{ no: 2, name: "auth", kind: "message", T: () => Auth },
|
|
408
413
|
{ no: 3, name: "perms", kind: "message", T: () => Perms },
|
|
@@ -434,6 +439,9 @@ class AppConfig$Type extends MessageType<AppConfig> {
|
|
|
434
439
|
case /* string version */ 1:
|
|
435
440
|
message.version = reader.string();
|
|
436
441
|
break;
|
|
442
|
+
case /* optional bool setup_complete */ 15:
|
|
443
|
+
message.setupComplete = reader.bool();
|
|
444
|
+
break;
|
|
437
445
|
case /* string default_locale */ 8:
|
|
438
446
|
message.defaultLocale = reader.string();
|
|
439
447
|
break;
|
|
@@ -527,6 +535,9 @@ class AppConfig$Type extends MessageType<AppConfig> {
|
|
|
527
535
|
/* resources.settings.Game game = 14; */
|
|
528
536
|
if (message.game)
|
|
529
537
|
Game.internalBinaryWrite(message.game, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
|
538
|
+
/* optional bool setup_complete = 15; */
|
|
539
|
+
if (message.setupComplete !== undefined)
|
|
540
|
+
writer.tag(15, WireType.Varint).bool(message.setupComplete);
|
|
530
541
|
let u = options.writeUnknownFields;
|
|
531
542
|
if (u !== false)
|
|
532
543
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -204,7 +204,7 @@ export const UserOAuth2Conn = new UserOAuth2Conn$Type();
|
|
|
204
204
|
class UserProps$Type extends MessageType<UserProps> {
|
|
205
205
|
constructor() {
|
|
206
206
|
super("resources.sync.activity.UserProps", [
|
|
207
|
-
{ no: 1, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
207
|
+
{ no: 1, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } },
|
|
208
208
|
{ no: 2, name: "props", kind: "message", T: () => UserProps$, options: { "buf.validate.field": { required: true } } }
|
|
209
209
|
]);
|
|
210
210
|
}
|
|
@@ -257,7 +257,7 @@ export const UserProps = new UserProps$Type();
|
|
|
257
257
|
class ColleagueProps$Type extends MessageType<ColleagueProps> {
|
|
258
258
|
constructor() {
|
|
259
259
|
super("resources.sync.activity.ColleagueProps", [
|
|
260
|
-
{ no: 1, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
260
|
+
{ no: 1, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } },
|
|
261
261
|
{ no: 2, name: "props", kind: "message", T: () => ColleagueProps$, options: { "buf.validate.field": { required: true } } }
|
|
262
262
|
]);
|
|
263
263
|
}
|
|
@@ -170,6 +170,10 @@ export interface DataUser {
|
|
|
170
170
|
*/
|
|
171
171
|
updatedAt?: Timestamp;
|
|
172
172
|
/**
|
|
173
|
+
* Primary job name.
|
|
174
|
+
* When `jobs` contains entries and `job` is empty, sync API derive this value
|
|
175
|
+
* from the primary entry in `jobs`.
|
|
176
|
+
*
|
|
173
177
|
* @generated from protobuf field: string job = 3
|
|
174
178
|
*/
|
|
175
179
|
job: string;
|
|
@@ -178,6 +182,10 @@ export interface DataUser {
|
|
|
178
182
|
*/
|
|
179
183
|
jobLabel?: string;
|
|
180
184
|
/**
|
|
185
|
+
* Primary job grade.
|
|
186
|
+
* When `jobs` contains entries and `job_grade` is empty, sync API derive this
|
|
187
|
+
* value from the primary entry in `jobs`.
|
|
188
|
+
*
|
|
181
189
|
* @generated from protobuf field: int32 job_grade = 5
|
|
182
190
|
*/
|
|
183
191
|
jobGrade: number;
|
|
@@ -186,6 +194,11 @@ export interface DataUser {
|
|
|
186
194
|
*/
|
|
187
195
|
jobGradeLabel?: string;
|
|
188
196
|
/**
|
|
197
|
+
* Full job list for the user.
|
|
198
|
+
* This is the preferred source of truth when present; sync API use the
|
|
199
|
+
* primary job entry to populate `job` / `job_grade` if those scalar fields
|
|
200
|
+
* are empty.
|
|
201
|
+
*
|
|
189
202
|
* @generated from protobuf field: repeated resources.users.UserJob jobs = 20
|
|
190
203
|
*/
|
|
191
204
|
jobs: UserJob[];
|
|
@@ -17,7 +17,7 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
17
17
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
18
18
|
import { Timestamp as Timestamp$ } from "../../google/protobuf/timestamp";
|
|
19
19
|
/**
|
|
20
|
-
* Timestamp for storage messages.
|
|
20
|
+
* Timestamp for storage messages. We've defined a new local type wrapper
|
|
21
21
|
* of google.protobuf.Timestamp so we can implement sql.Scanner and sql.Valuer
|
|
22
22
|
* interfaces. See:
|
|
23
23
|
* https://golang.org/pkg/database/sql/#Scanner
|
|
@@ -54,7 +54,7 @@ export interface VehicleActivity {
|
|
|
54
54
|
*/
|
|
55
55
|
reason?: string;
|
|
56
56
|
/**
|
|
57
|
-
* @generated from protobuf field: resources.vehicles.activity.VehicleActivityData data = 10
|
|
57
|
+
* @generated from protobuf field: optional resources.vehicles.activity.VehicleActivityData data = 10
|
|
58
58
|
*/
|
|
59
59
|
data?: VehicleActivityData;
|
|
60
60
|
}
|
|
@@ -62,6 +62,47 @@ export interface VehicleActivity {
|
|
|
62
62
|
* @generated from protobuf message resources.vehicles.activity.VehicleActivityData
|
|
63
63
|
*/
|
|
64
64
|
export interface VehicleActivityData {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from protobuf oneof: data
|
|
67
|
+
*/
|
|
68
|
+
data: {
|
|
69
|
+
oneofKind: "wantedChange";
|
|
70
|
+
/**
|
|
71
|
+
* @generated from protobuf field: resources.vehicles.activity.WantedChange wanted_change = 1
|
|
72
|
+
*/
|
|
73
|
+
wantedChange: WantedChange;
|
|
74
|
+
} | {
|
|
75
|
+
oneofKind: undefined;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* @generated from protobuf message resources.vehicles.activity.WantedChange
|
|
80
|
+
*/
|
|
81
|
+
export interface WantedChange {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from protobuf field: bool wanted = 1
|
|
84
|
+
*/
|
|
85
|
+
wanted: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from protobuf field: optional bool previous_wanted = 2
|
|
88
|
+
*/
|
|
89
|
+
previousWanted?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from protobuf field: optional string wanted_reason = 3
|
|
92
|
+
*/
|
|
93
|
+
wantedReason?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp wanted_at = 4
|
|
96
|
+
*/
|
|
97
|
+
wantedAt?: Timestamp;
|
|
98
|
+
/**
|
|
99
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp wanted_till = 5
|
|
100
|
+
*/
|
|
101
|
+
wantedTill?: Timestamp;
|
|
102
|
+
/**
|
|
103
|
+
* @generated from protobuf field: bool auto = 6
|
|
104
|
+
*/
|
|
105
|
+
auto: boolean;
|
|
65
106
|
}
|
|
66
107
|
/**
|
|
67
108
|
* @generated from protobuf enum resources.vehicles.activity.VehicleActivityType
|
|
@@ -83,15 +124,15 @@ class VehicleActivity$Type extends MessageType<VehicleActivity> {
|
|
|
83
124
|
constructor() {
|
|
84
125
|
super("resources.vehicles.activity.VehicleActivity", [
|
|
85
126
|
{ no: 1, name: "id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "tagger.tags": "alias:\"vehicle_activity.id\"" } },
|
|
86
|
-
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp, options: { "tagger.tags": "alias:\"
|
|
87
|
-
{ no: 3, name: "plate", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "32" } } } },
|
|
127
|
+
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp, options: { "tagger.tags": "alias:\"vehicle_activity.created_at\"" } },
|
|
128
|
+
{ no: 3, name: "plate", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "32" } }, "tagger.tags": "alias:\"vehicle_activity.plate\"" } },
|
|
88
129
|
{ no: 4, name: "activity_type", kind: "enum", T: () => ["resources.vehicles.activity.VehicleActivityType", VehicleActivityType, "VEHICLE_ACTIVITY_TYPE_"], options: { "buf.validate.field": { enum: { definedOnly: true } }, "tagger.tags": "alias:\"vehicle_activity.type\"" } },
|
|
89
|
-
{ no: 5, name: "creator_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gt: 0 } } } },
|
|
130
|
+
{ no: 5, name: "creator_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gt: 0 } }, "tagger.tags": "alias:\"vehicle_activity.creator_id\"" } },
|
|
90
131
|
{ no: 6, name: "creator", kind: "message", T: () => UserShort, options: { "tagger.tags": "alias:\"creator\"" } },
|
|
91
|
-
{ no: 7, name: "creator_job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
|
|
132
|
+
{ no: 7, name: "creator_job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } }, "tagger.tags": "alias:\"vehicle_activity.creator_job\"" } },
|
|
92
133
|
{ no: 8, name: "creator_job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
93
|
-
{ no: 9, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true }, "tagger.tags": "alias:\"
|
|
94
|
-
{ no: 10, name: "data", kind: "message", T: () => VehicleActivityData }
|
|
134
|
+
{ no: 9, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true }, "tagger.tags": "alias:\"vehicle_activity.reason\"" } },
|
|
135
|
+
{ no: 10, name: "data", kind: "message", T: () => VehicleActivityData, options: { "tagger.tags": "alias:\"vehicle_activity.data\"" } }
|
|
95
136
|
]);
|
|
96
137
|
}
|
|
97
138
|
create(value?: PartialMessage<VehicleActivity>): VehicleActivity {
|
|
@@ -136,7 +177,7 @@ class VehicleActivity$Type extends MessageType<VehicleActivity> {
|
|
|
136
177
|
case /* optional string reason */ 9:
|
|
137
178
|
message.reason = reader.string();
|
|
138
179
|
break;
|
|
139
|
-
case /* resources.vehicles.activity.VehicleActivityData data */ 10:
|
|
180
|
+
case /* optional resources.vehicles.activity.VehicleActivityData data */ 10:
|
|
140
181
|
message.data = VehicleActivityData.internalBinaryRead(reader, reader.uint32(), options, message.data);
|
|
141
182
|
break;
|
|
142
183
|
default:
|
|
@@ -178,7 +219,7 @@ class VehicleActivity$Type extends MessageType<VehicleActivity> {
|
|
|
178
219
|
/* optional string reason = 9; */
|
|
179
220
|
if (message.reason !== undefined)
|
|
180
221
|
writer.tag(9, WireType.LengthDelimited).string(message.reason);
|
|
181
|
-
/* resources.vehicles.activity.VehicleActivityData data = 10; */
|
|
222
|
+
/* optional resources.vehicles.activity.VehicleActivityData data = 10; */
|
|
182
223
|
if (message.data)
|
|
183
224
|
VehicleActivityData.internalBinaryWrite(message.data, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
184
225
|
let u = options.writeUnknownFields;
|
|
@@ -194,10 +235,13 @@ export const VehicleActivity = new VehicleActivity$Type();
|
|
|
194
235
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
195
236
|
class VehicleActivityData$Type extends MessageType<VehicleActivityData> {
|
|
196
237
|
constructor() {
|
|
197
|
-
super("resources.vehicles.activity.VehicleActivityData", [
|
|
238
|
+
super("resources.vehicles.activity.VehicleActivityData", [
|
|
239
|
+
{ no: 1, name: "wanted_change", kind: "message", oneof: "data", T: () => WantedChange }
|
|
240
|
+
], { "codegen.dbscanner.dbscanner": { enabled: true } });
|
|
198
241
|
}
|
|
199
242
|
create(value?: PartialMessage<VehicleActivityData>): VehicleActivityData {
|
|
200
243
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
244
|
+
message.data = { oneofKind: undefined };
|
|
201
245
|
if (value !== undefined)
|
|
202
246
|
reflectionMergePartial<VehicleActivityData>(this, message, value);
|
|
203
247
|
return message;
|
|
@@ -207,6 +251,12 @@ class VehicleActivityData$Type extends MessageType<VehicleActivityData> {
|
|
|
207
251
|
while (reader.pos < end) {
|
|
208
252
|
let [fieldNo, wireType] = reader.tag();
|
|
209
253
|
switch (fieldNo) {
|
|
254
|
+
case /* resources.vehicles.activity.WantedChange wanted_change */ 1:
|
|
255
|
+
message.data = {
|
|
256
|
+
oneofKind: "wantedChange",
|
|
257
|
+
wantedChange: WantedChange.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).wantedChange)
|
|
258
|
+
};
|
|
259
|
+
break;
|
|
210
260
|
default:
|
|
211
261
|
let u = options.readUnknownField;
|
|
212
262
|
if (u === "throw")
|
|
@@ -219,6 +269,9 @@ class VehicleActivityData$Type extends MessageType<VehicleActivityData> {
|
|
|
219
269
|
return message;
|
|
220
270
|
}
|
|
221
271
|
internalBinaryWrite(message: VehicleActivityData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
272
|
+
/* resources.vehicles.activity.WantedChange wanted_change = 1; */
|
|
273
|
+
if (message.data.oneofKind === "wantedChange")
|
|
274
|
+
WantedChange.internalBinaryWrite(message.data.wantedChange, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
222
275
|
let u = options.writeUnknownFields;
|
|
223
276
|
if (u !== false)
|
|
224
277
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -229,3 +282,86 @@ class VehicleActivityData$Type extends MessageType<VehicleActivityData> {
|
|
|
229
282
|
* @generated MessageType for protobuf message resources.vehicles.activity.VehicleActivityData
|
|
230
283
|
*/
|
|
231
284
|
export const VehicleActivityData = new VehicleActivityData$Type();
|
|
285
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
286
|
+
class WantedChange$Type extends MessageType<WantedChange> {
|
|
287
|
+
constructor() {
|
|
288
|
+
super("resources.vehicles.activity.WantedChange", [
|
|
289
|
+
{ no: 1, name: "wanted", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
290
|
+
{ no: 2, name: "previous_wanted", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
291
|
+
{ no: 3, name: "wanted_reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
292
|
+
{ no: 4, name: "wanted_at", kind: "message", T: () => Timestamp },
|
|
293
|
+
{ no: 5, name: "wanted_till", kind: "message", T: () => Timestamp },
|
|
294
|
+
{ no: 6, name: "auto", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
295
|
+
]);
|
|
296
|
+
}
|
|
297
|
+
create(value?: PartialMessage<WantedChange>): WantedChange {
|
|
298
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
299
|
+
message.wanted = false;
|
|
300
|
+
message.auto = false;
|
|
301
|
+
if (value !== undefined)
|
|
302
|
+
reflectionMergePartial<WantedChange>(this, message, value);
|
|
303
|
+
return message;
|
|
304
|
+
}
|
|
305
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WantedChange): WantedChange {
|
|
306
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
307
|
+
while (reader.pos < end) {
|
|
308
|
+
let [fieldNo, wireType] = reader.tag();
|
|
309
|
+
switch (fieldNo) {
|
|
310
|
+
case /* bool wanted */ 1:
|
|
311
|
+
message.wanted = reader.bool();
|
|
312
|
+
break;
|
|
313
|
+
case /* optional bool previous_wanted */ 2:
|
|
314
|
+
message.previousWanted = reader.bool();
|
|
315
|
+
break;
|
|
316
|
+
case /* optional string wanted_reason */ 3:
|
|
317
|
+
message.wantedReason = reader.string();
|
|
318
|
+
break;
|
|
319
|
+
case /* optional resources.timestamp.Timestamp wanted_at */ 4:
|
|
320
|
+
message.wantedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.wantedAt);
|
|
321
|
+
break;
|
|
322
|
+
case /* optional resources.timestamp.Timestamp wanted_till */ 5:
|
|
323
|
+
message.wantedTill = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.wantedTill);
|
|
324
|
+
break;
|
|
325
|
+
case /* bool auto */ 6:
|
|
326
|
+
message.auto = reader.bool();
|
|
327
|
+
break;
|
|
328
|
+
default:
|
|
329
|
+
let u = options.readUnknownField;
|
|
330
|
+
if (u === "throw")
|
|
331
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
332
|
+
let d = reader.skip(wireType);
|
|
333
|
+
if (u !== false)
|
|
334
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
return message;
|
|
338
|
+
}
|
|
339
|
+
internalBinaryWrite(message: WantedChange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
340
|
+
/* bool wanted = 1; */
|
|
341
|
+
if (message.wanted !== false)
|
|
342
|
+
writer.tag(1, WireType.Varint).bool(message.wanted);
|
|
343
|
+
/* optional bool previous_wanted = 2; */
|
|
344
|
+
if (message.previousWanted !== undefined)
|
|
345
|
+
writer.tag(2, WireType.Varint).bool(message.previousWanted);
|
|
346
|
+
/* optional string wanted_reason = 3; */
|
|
347
|
+
if (message.wantedReason !== undefined)
|
|
348
|
+
writer.tag(3, WireType.LengthDelimited).string(message.wantedReason);
|
|
349
|
+
/* optional resources.timestamp.Timestamp wanted_at = 4; */
|
|
350
|
+
if (message.wantedAt)
|
|
351
|
+
Timestamp.internalBinaryWrite(message.wantedAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
352
|
+
/* optional resources.timestamp.Timestamp wanted_till = 5; */
|
|
353
|
+
if (message.wantedTill)
|
|
354
|
+
Timestamp.internalBinaryWrite(message.wantedTill, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
355
|
+
/* bool auto = 6; */
|
|
356
|
+
if (message.auto !== false)
|
|
357
|
+
writer.tag(6, WireType.Varint).bool(message.auto);
|
|
358
|
+
let u = options.writeUnknownFields;
|
|
359
|
+
if (u !== false)
|
|
360
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
361
|
+
return writer;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* @generated MessageType for protobuf message resources.vehicles.activity.WantedChange
|
|
366
|
+
*/
|
|
367
|
+
export const WantedChange = new WantedChange$Type();
|
|
@@ -224,7 +224,7 @@ class PageActivity$Type extends MessageType<PageActivity> {
|
|
|
224
224
|
{ no: 6, name: "creator", kind: "message", T: () => UserShort, options: { "tagger.tags": "alias:\"creator\"" } },
|
|
225
225
|
{ no: 7, name: "creator_job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
|
|
226
226
|
{ no: 8, name: "creator_job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
227
|
-
{ no: 9, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
227
|
+
{ no: 9, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } }, "codegen.sanitizer.sanitizer": { enabled: true } } },
|
|
228
228
|
{ no: 10, name: "data", kind: "message", T: () => PageActivityData }
|
|
229
229
|
]);
|
|
230
230
|
}
|
|
@@ -9,6 +9,8 @@ import type { SetSuperuserModeResponse } from "./auth";
|
|
|
9
9
|
import type { SetSuperuserModeRequest } from "./auth";
|
|
10
10
|
import type { DeleteSocialLoginResponse } from "./auth";
|
|
11
11
|
import type { DeleteSocialLoginRequest } from "./auth";
|
|
12
|
+
import type { RefreshAccountSessionResponse } from "./auth";
|
|
13
|
+
import type { RefreshAccountSessionRequest } from "./auth";
|
|
12
14
|
import type { GetAccountInfoResponse } from "./auth";
|
|
13
15
|
import type { GetAccountInfoRequest } from "./auth";
|
|
14
16
|
import type { ImpersonateJobResponse } from "./auth";
|
|
@@ -79,6 +81,10 @@ export interface IAuthServiceClient {
|
|
|
79
81
|
* @generated from protobuf rpc: GetAccountInfo
|
|
80
82
|
*/
|
|
81
83
|
getAccountInfo(input: GetAccountInfoRequest, options?: RpcOptions): UnaryCall<GetAccountInfoRequest, GetAccountInfoResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from protobuf rpc: RefreshAccountSession
|
|
86
|
+
*/
|
|
87
|
+
refreshAccountSession(input: RefreshAccountSessionRequest, options?: RpcOptions): UnaryCall<RefreshAccountSessionRequest, RefreshAccountSessionResponse>;
|
|
82
88
|
/**
|
|
83
89
|
* @generated from protobuf rpc: DeleteSocialLogin
|
|
84
90
|
*/
|
|
@@ -170,18 +176,25 @@ export class AuthServiceClient implements IAuthServiceClient, ServiceInfo {
|
|
|
170
176
|
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
171
177
|
return stackIntercept<GetAccountInfoRequest, GetAccountInfoResponse>("unary", this._transport, method, opt, input);
|
|
172
178
|
}
|
|
179
|
+
/**
|
|
180
|
+
* @generated from protobuf rpc: RefreshAccountSession
|
|
181
|
+
*/
|
|
182
|
+
refreshAccountSession(input: RefreshAccountSessionRequest, options?: RpcOptions): UnaryCall<RefreshAccountSessionRequest, RefreshAccountSessionResponse> {
|
|
183
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
184
|
+
return stackIntercept<RefreshAccountSessionRequest, RefreshAccountSessionResponse>("unary", this._transport, method, opt, input);
|
|
185
|
+
}
|
|
173
186
|
/**
|
|
174
187
|
* @generated from protobuf rpc: DeleteSocialLogin
|
|
175
188
|
*/
|
|
176
189
|
deleteSocialLogin(input: DeleteSocialLoginRequest, options?: RpcOptions): UnaryCall<DeleteSocialLoginRequest, DeleteSocialLoginResponse> {
|
|
177
|
-
const method = this.methods[
|
|
190
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
178
191
|
return stackIntercept<DeleteSocialLoginRequest, DeleteSocialLoginResponse>("unary", this._transport, method, opt, input);
|
|
179
192
|
}
|
|
180
193
|
/**
|
|
181
194
|
* @generated from protobuf rpc: SetSuperuserMode
|
|
182
195
|
*/
|
|
183
196
|
setSuperuserMode(input: SetSuperuserModeRequest, options?: RpcOptions): UnaryCall<SetSuperuserModeRequest, SetSuperuserModeResponse> {
|
|
184
|
-
const method = this.methods[
|
|
197
|
+
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
185
198
|
return stackIntercept<SetSuperuserModeRequest, SetSuperuserModeResponse>("unary", this._transport, method, opt, input);
|
|
186
199
|
}
|
|
187
200
|
}
|