@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/resources/wiki/page.ts
CHANGED
|
@@ -12,10 +12,10 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
12
12
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
14
|
import { ContentType } from "../common/content/content";
|
|
15
|
-
import { UserShort } from "../users/
|
|
15
|
+
import { UserShort } from "../users/short/user";
|
|
16
16
|
import { Timestamp } from "../timestamp/timestamp";
|
|
17
17
|
import { File } from "../file/file";
|
|
18
|
-
import { PageAccess } from "./access";
|
|
18
|
+
import { PageAccess } from "./access/access";
|
|
19
19
|
import { Content } from "../common/content/content";
|
|
20
20
|
/**
|
|
21
21
|
* @generated from protobuf message resources.wiki.Page
|
|
@@ -46,7 +46,7 @@ export interface Page {
|
|
|
46
46
|
*/
|
|
47
47
|
content?: Content;
|
|
48
48
|
/**
|
|
49
|
-
* @generated from protobuf field: resources.wiki.PageAccess access = 7
|
|
49
|
+
* @generated from protobuf field: resources.wiki.access.PageAccess access = 7
|
|
50
50
|
*/
|
|
51
51
|
access?: PageAccess;
|
|
52
52
|
/**
|
|
@@ -87,7 +87,7 @@ export interface PageMeta {
|
|
|
87
87
|
*/
|
|
88
88
|
creatorId?: number;
|
|
89
89
|
/**
|
|
90
|
-
* @generated from protobuf field: optional resources.users.UserShort creator = 8
|
|
90
|
+
* @generated from protobuf field: optional resources.users.short.UserShort creator = 8
|
|
91
91
|
*/
|
|
92
92
|
creator?: UserShort;
|
|
93
93
|
/**
|
|
@@ -110,6 +110,10 @@ export interface PageMeta {
|
|
|
110
110
|
* @generated from protobuf field: bool draft = 13
|
|
111
111
|
*/
|
|
112
112
|
draft: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from protobuf field: bool startpage = 14
|
|
115
|
+
*/
|
|
116
|
+
startpage: boolean;
|
|
113
117
|
}
|
|
114
118
|
/**
|
|
115
119
|
* @generated from protobuf message resources.wiki.PageShort
|
|
@@ -163,6 +167,10 @@ export interface PageShort {
|
|
|
163
167
|
* @generated from protobuf field: bool draft = 13
|
|
164
168
|
*/
|
|
165
169
|
draft: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from protobuf field: bool startpage = 14
|
|
172
|
+
*/
|
|
173
|
+
startpage: boolean;
|
|
166
174
|
}
|
|
167
175
|
/**
|
|
168
176
|
* @generated from protobuf message resources.wiki.PageRootInfo
|
|
@@ -182,7 +190,7 @@ class Page$Type extends MessageType<Page> {
|
|
|
182
190
|
constructor() {
|
|
183
191
|
super("resources.wiki.Page", [
|
|
184
192
|
{ no: 1, name: "id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/, options: { "tagger.tags": "sql:\"primary_key\" alias:\"id\"" } },
|
|
185
|
-
{ no: 2, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } }, "codegen.sanitizer.sanitizer": { enabled: true,
|
|
193
|
+
{ no: 2, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
186
194
|
{ no: 3, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
187
195
|
{ no: 4, name: "parent_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
188
196
|
{ no: 5, name: "meta", kind: "message", T: () => PageMeta, options: { "buf.validate.field": { required: true } } },
|
|
@@ -223,7 +231,7 @@ class Page$Type extends MessageType<Page> {
|
|
|
223
231
|
case /* resources.common.content.Content content */ 6:
|
|
224
232
|
message.content = Content.internalBinaryRead(reader, reader.uint32(), options, message.content);
|
|
225
233
|
break;
|
|
226
|
-
case /* resources.wiki.PageAccess access */ 7:
|
|
234
|
+
case /* resources.wiki.access.PageAccess access */ 7:
|
|
227
235
|
message.access = PageAccess.internalBinaryRead(reader, reader.uint32(), options, message.access);
|
|
228
236
|
break;
|
|
229
237
|
case /* repeated resources.file.File files */ 8:
|
|
@@ -259,7 +267,7 @@ class Page$Type extends MessageType<Page> {
|
|
|
259
267
|
/* resources.common.content.Content content = 6; */
|
|
260
268
|
if (message.content)
|
|
261
269
|
Content.internalBinaryWrite(message.content, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
262
|
-
/* resources.wiki.PageAccess access = 7; */
|
|
270
|
+
/* resources.wiki.access.PageAccess access = 7; */
|
|
263
271
|
if (message.access)
|
|
264
272
|
PageAccess.internalBinaryWrite(message.access, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
265
273
|
/* repeated resources.file.File files = 8; */
|
|
@@ -282,16 +290,17 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
282
290
|
{ no: 1, name: "created_at", kind: "message", T: () => Timestamp },
|
|
283
291
|
{ no: 2, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
284
292
|
{ no: 3, name: "deleted_at", kind: "message", T: () => Timestamp },
|
|
285
|
-
{ no: 4, name: "slug", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "100" } }, "codegen.sanitizer.sanitizer": { enabled: true,
|
|
293
|
+
{ no: 4, name: "slug", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "100" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
286
294
|
{ no: 5, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { minLen: "3", maxLen: "1024" } }, "codegen.sanitizer.sanitizer": { enabled: true } } },
|
|
287
|
-
{ no: 6, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "128" } }, "codegen.sanitizer.sanitizer": { enabled: true,
|
|
295
|
+
{ no: 6, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "128" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
288
296
|
{ no: 7, name: "creator_id", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gt: 0 } } } },
|
|
289
297
|
{ no: 8, name: "creator", kind: "message", T: () => UserShort, options: { "tagger.tags": "alias:\"creator\"" } },
|
|
290
298
|
{ no: 9, name: "content_type", kind: "enum", T: () => ["resources.common.content.ContentType", ContentType, "CONTENT_TYPE_"], options: { "buf.validate.field": { enum: { definedOnly: true } } } },
|
|
291
|
-
{ no: 10, name: "tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "codegen.sanitizer.sanitizer": { enabled: true,
|
|
299
|
+
{ no: 10, name: "tags", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
292
300
|
{ no: 11, name: "toc", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
293
301
|
{ no: 12, name: "public", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
294
|
-
{ no: 13, name: "draft", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
302
|
+
{ no: 13, name: "draft", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
303
|
+
{ no: 14, name: "startpage", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
295
304
|
]);
|
|
296
305
|
}
|
|
297
306
|
create(value?: PartialMessage<PageMeta>): PageMeta {
|
|
@@ -302,6 +311,7 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
302
311
|
message.tags = [];
|
|
303
312
|
message.public = false;
|
|
304
313
|
message.draft = false;
|
|
314
|
+
message.startpage = false;
|
|
305
315
|
if (value !== undefined)
|
|
306
316
|
reflectionMergePartial<PageMeta>(this, message, value);
|
|
307
317
|
return message;
|
|
@@ -332,7 +342,7 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
332
342
|
case /* optional int32 creator_id */ 7:
|
|
333
343
|
message.creatorId = reader.int32();
|
|
334
344
|
break;
|
|
335
|
-
case /* optional resources.users.UserShort creator */ 8:
|
|
345
|
+
case /* optional resources.users.short.UserShort creator */ 8:
|
|
336
346
|
message.creator = UserShort.internalBinaryRead(reader, reader.uint32(), options, message.creator);
|
|
337
347
|
break;
|
|
338
348
|
case /* resources.common.content.ContentType content_type */ 9:
|
|
@@ -350,6 +360,9 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
350
360
|
case /* bool draft */ 13:
|
|
351
361
|
message.draft = reader.bool();
|
|
352
362
|
break;
|
|
363
|
+
case /* bool startpage */ 14:
|
|
364
|
+
message.startpage = reader.bool();
|
|
365
|
+
break;
|
|
353
366
|
default:
|
|
354
367
|
let u = options.readUnknownField;
|
|
355
368
|
if (u === "throw")
|
|
@@ -383,7 +396,7 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
383
396
|
/* optional int32 creator_id = 7; */
|
|
384
397
|
if (message.creatorId !== undefined)
|
|
385
398
|
writer.tag(7, WireType.Varint).int32(message.creatorId);
|
|
386
|
-
/* optional resources.users.UserShort creator = 8; */
|
|
399
|
+
/* optional resources.users.short.UserShort creator = 8; */
|
|
387
400
|
if (message.creator)
|
|
388
401
|
UserShort.internalBinaryWrite(message.creator, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
389
402
|
/* resources.common.content.ContentType content_type = 9; */
|
|
@@ -401,6 +414,9 @@ class PageMeta$Type extends MessageType<PageMeta> {
|
|
|
401
414
|
/* bool draft = 13; */
|
|
402
415
|
if (message.draft !== false)
|
|
403
416
|
writer.tag(13, WireType.Varint).bool(message.draft);
|
|
417
|
+
/* bool startpage = 14; */
|
|
418
|
+
if (message.startpage !== false)
|
|
419
|
+
writer.tag(14, WireType.Varint).bool(message.startpage);
|
|
404
420
|
let u = options.writeUnknownFields;
|
|
405
421
|
if (u !== false)
|
|
406
422
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -420,13 +436,14 @@ class PageShort$Type extends MessageType<PageShort> {
|
|
|
420
436
|
{ no: 3, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
421
437
|
{ no: 4, name: "parent_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
422
438
|
{ no: 5, name: "deleted_at", kind: "message", T: () => Timestamp },
|
|
423
|
-
{ no: 6, name: "slug", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "100" } }, "codegen.sanitizer.sanitizer": { enabled: true,
|
|
439
|
+
{ no: 6, name: "slug", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "100" } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } },
|
|
424
440
|
{ no: 7, name: "title", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
425
441
|
{ no: 8, name: "description", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
426
442
|
{ no: 9, name: "children", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PageShort },
|
|
427
443
|
{ no: 10, name: "root_info", kind: "message", T: () => PageRootInfo },
|
|
428
444
|
{ no: 11, name: "level", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } },
|
|
429
|
-
{ no: 13, name: "draft", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
445
|
+
{ no: 13, name: "draft", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
446
|
+
{ no: 14, name: "startpage", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
430
447
|
]);
|
|
431
448
|
}
|
|
432
449
|
create(value?: PartialMessage<PageShort>): PageShort {
|
|
@@ -437,6 +454,7 @@ class PageShort$Type extends MessageType<PageShort> {
|
|
|
437
454
|
message.description = "";
|
|
438
455
|
message.children = [];
|
|
439
456
|
message.draft = false;
|
|
457
|
+
message.startpage = false;
|
|
440
458
|
if (value !== undefined)
|
|
441
459
|
reflectionMergePartial<PageShort>(this, message, value);
|
|
442
460
|
return message;
|
|
@@ -482,6 +500,9 @@ class PageShort$Type extends MessageType<PageShort> {
|
|
|
482
500
|
case /* bool draft */ 13:
|
|
483
501
|
message.draft = reader.bool();
|
|
484
502
|
break;
|
|
503
|
+
case /* bool startpage */ 14:
|
|
504
|
+
message.startpage = reader.bool();
|
|
505
|
+
break;
|
|
485
506
|
default:
|
|
486
507
|
let u = options.readUnknownField;
|
|
487
508
|
if (u === "throw")
|
|
@@ -530,6 +551,9 @@ class PageShort$Type extends MessageType<PageShort> {
|
|
|
530
551
|
/* bool draft = 13; */
|
|
531
552
|
if (message.draft !== false)
|
|
532
553
|
writer.tag(13, WireType.Varint).bool(message.draft);
|
|
554
|
+
/* bool startpage = 14; */
|
|
555
|
+
if (message.startpage !== false)
|
|
556
|
+
writer.tag(14, WireType.Varint).bool(message.startpage);
|
|
533
557
|
let u = options.writeUnknownFields;
|
|
534
558
|
if (u !== false)
|
|
535
559
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -7,10 +7,12 @@ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
|
7
7
|
import { AuthService } from "./auth";
|
|
8
8
|
import type { SetSuperuserModeResponse } from "./auth";
|
|
9
9
|
import type { SetSuperuserModeRequest } from "./auth";
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
10
|
+
import type { DeleteSocialLoginResponse } from "./auth";
|
|
11
|
+
import type { DeleteSocialLoginRequest } from "./auth";
|
|
12
12
|
import type { GetAccountInfoResponse } from "./auth";
|
|
13
13
|
import type { GetAccountInfoRequest } from "./auth";
|
|
14
|
+
import type { ImpersonateJobResponse } from "./auth";
|
|
15
|
+
import type { ImpersonateJobRequest } from "./auth";
|
|
14
16
|
import type { ChooseCharacterResponse } from "./auth";
|
|
15
17
|
import type { ChooseCharacterRequest } from "./auth";
|
|
16
18
|
import type { GetCharactersResponse } from "./auth";
|
|
@@ -69,14 +71,18 @@ export interface IAuthServiceClient {
|
|
|
69
71
|
* @generated from protobuf rpc: ChooseCharacter
|
|
70
72
|
*/
|
|
71
73
|
chooseCharacter(input: ChooseCharacterRequest, options?: RpcOptions): UnaryCall<ChooseCharacterRequest, ChooseCharacterResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from protobuf rpc: ImpersonateJob
|
|
76
|
+
*/
|
|
77
|
+
impersonateJob(input: ImpersonateJobRequest, options?: RpcOptions): UnaryCall<ImpersonateJobRequest, ImpersonateJobResponse>;
|
|
72
78
|
/**
|
|
73
79
|
* @generated from protobuf rpc: GetAccountInfo
|
|
74
80
|
*/
|
|
75
81
|
getAccountInfo(input: GetAccountInfoRequest, options?: RpcOptions): UnaryCall<GetAccountInfoRequest, GetAccountInfoResponse>;
|
|
76
82
|
/**
|
|
77
|
-
* @generated from protobuf rpc:
|
|
83
|
+
* @generated from protobuf rpc: DeleteSocialLogin
|
|
78
84
|
*/
|
|
79
|
-
|
|
85
|
+
deleteSocialLogin(input: DeleteSocialLoginRequest, options?: RpcOptions): UnaryCall<DeleteSocialLoginRequest, DeleteSocialLoginResponse>;
|
|
80
86
|
/**
|
|
81
87
|
* @generated from protobuf rpc: SetSuperuserMode
|
|
82
88
|
*/
|
|
@@ -150,25 +156,32 @@ export class AuthServiceClient implements IAuthServiceClient, ServiceInfo {
|
|
|
150
156
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
151
157
|
return stackIntercept<ChooseCharacterRequest, ChooseCharacterResponse>("unary", this._transport, method, opt, input);
|
|
152
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* @generated from protobuf rpc: ImpersonateJob
|
|
161
|
+
*/
|
|
162
|
+
impersonateJob(input: ImpersonateJobRequest, options?: RpcOptions): UnaryCall<ImpersonateJobRequest, ImpersonateJobResponse> {
|
|
163
|
+
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
164
|
+
return stackIntercept<ImpersonateJobRequest, ImpersonateJobResponse>("unary", this._transport, method, opt, input);
|
|
165
|
+
}
|
|
153
166
|
/**
|
|
154
167
|
* @generated from protobuf rpc: GetAccountInfo
|
|
155
168
|
*/
|
|
156
169
|
getAccountInfo(input: GetAccountInfoRequest, options?: RpcOptions): UnaryCall<GetAccountInfoRequest, GetAccountInfoResponse> {
|
|
157
|
-
const method = this.methods[
|
|
170
|
+
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
158
171
|
return stackIntercept<GetAccountInfoRequest, GetAccountInfoResponse>("unary", this._transport, method, opt, input);
|
|
159
172
|
}
|
|
160
173
|
/**
|
|
161
|
-
* @generated from protobuf rpc:
|
|
174
|
+
* @generated from protobuf rpc: DeleteSocialLogin
|
|
162
175
|
*/
|
|
163
|
-
|
|
164
|
-
const method = this.methods[
|
|
165
|
-
return stackIntercept<
|
|
176
|
+
deleteSocialLogin(input: DeleteSocialLoginRequest, options?: RpcOptions): UnaryCall<DeleteSocialLoginRequest, DeleteSocialLoginResponse> {
|
|
177
|
+
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
178
|
+
return stackIntercept<DeleteSocialLoginRequest, DeleteSocialLoginResponse>("unary", this._transport, method, opt, input);
|
|
166
179
|
}
|
|
167
180
|
/**
|
|
168
181
|
* @generated from protobuf rpc: SetSuperuserMode
|
|
169
182
|
*/
|
|
170
183
|
setSuperuserMode(input: SetSuperuserModeRequest, options?: RpcOptions): UnaryCall<SetSuperuserModeRequest, SetSuperuserModeResponse> {
|
|
171
|
-
const method = this.methods[
|
|
184
|
+
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
172
185
|
return stackIntercept<SetSuperuserModeRequest, SetSuperuserModeResponse>("unary", this._transport, method, opt, input);
|
|
173
186
|
}
|
|
174
187
|
}
|