@fivenet-app/gen 0.9.3 → 0.9.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/package.json +5 -1
- package/perms.ts +4 -0
- package/resources/accounts/accounts.ts +8 -8
- package/resources/accounts/oauth2.ts +16 -16
- package/resources/calendar/access.ts +32 -32
- package/resources/calendar/calendar.ts +48 -48
- package/resources/centrum/access.ts +40 -40
- package/resources/centrum/dispatches.ts +62 -62
- package/resources/centrum/general.ts +8 -8
- package/resources/centrum/units.ts +40 -40
- package/resources/documents/access.ts +32 -32
- package/resources/documents/activity.ts +16 -16
- package/resources/documents/category.ts +8 -8
- package/resources/documents/comment.ts +16 -16
- package/resources/documents/documents.ts +86 -86
- package/resources/documents/requests.ts +16 -16
- package/resources/documents/templates.ts +32 -32
- package/resources/internet/access.ts +358 -0
- package/resources/internet/ads.ts +8 -8
- package/resources/internet/domain.ts +182 -23
- package/resources/internet/page.ts +22 -20
- package/resources/internet/search.ts +8 -8
- package/resources/jobs/activity.ts +8 -8
- package/resources/jobs/conduct.ts +8 -8
- package/resources/jobs/labels.ts +8 -8
- package/resources/jobs/timeclock.ts +6 -2
- package/resources/laws/laws.ts +24 -24
- package/resources/livemap/livemap.ts +14 -14
- package/resources/mailer/access.ts +56 -56
- package/resources/mailer/email.ts +8 -8
- package/resources/mailer/events.ts +18 -18
- package/resources/mailer/message.ts +24 -24
- package/resources/mailer/settings.ts +8 -8
- package/resources/mailer/template.ts +16 -16
- package/resources/mailer/thread.ts +56 -56
- package/resources/notifications/events.ts +39 -2
- package/resources/notifications/notifications.ts +20 -20
- package/resources/permissions/permissions.ts +64 -64
- package/resources/qualifications/access.ts +16 -16
- package/resources/qualifications/exam.ts +40 -40
- package/resources/qualifications/qualifications.ts +64 -64
- package/resources/rector/audit.ts +16 -16
- package/resources/sync/activity.ts +92 -14
- package/resources/sync/data.ts +142 -10
- package/resources/users/activity.ts +992 -36
- package/resources/users/job_props.ts +3 -708
- package/resources/users/job_settings.ts +721 -0
- package/resources/users/labels.ts +8 -8
- package/resources/users/licenses.ts +148 -0
- package/resources/users/users.ts +1 -136
- package/resources/wiki/access.ts +32 -32
- package/resources/wiki/activity.ts +16 -16
- package/resources/wiki/page.ts +28 -28
- package/services/auth/auth.ts +16 -16
- package/services/calendar/calendar.ts +55 -55
- package/services/centrum/centrum.ts +112 -112
- package/services/citizenstore/citizenstore.ts +24 -1
- package/services/docstore/docstore.ts +280 -280
- package/services/internet/domain.client.ts +126 -0
- package/services/internet/domain.ts +695 -0
- package/services/internet/internet.ts +3 -3
- package/services/jobs/conduct.ts +15 -15
- package/services/jobs/jobs.ts +14 -14
- package/services/jobs/timeclock.ts +1 -1
- package/services/livemapper/livemap.ts +8 -8
- package/services/mailer/mailer.ts +159 -159
- package/services/notificator/notificator.ts +15 -15
- package/services/qualifications/qualifications.ts +108 -108
- package/services/rector/laws.ts +16 -16
- package/services/rector/rector.ts +63 -63
- package/services/sync/sync.client.ts +36 -2
- package/services/sync/sync.ts +259 -44
- package/services/wiki/wiki.ts +24 -24
- package/svcs.ts +13 -0
- package/resources/common/access/dummy.ts +0 -309
- package/resources/internet/internet.ts +0 -344
- package/resources/mailer/user.ts +0 -93
|
@@ -59,9 +59,9 @@ export interface MarkNotificationsRequest {
|
|
|
59
59
|
*/
|
|
60
60
|
unread: boolean;
|
|
61
61
|
/**
|
|
62
|
-
* @generated from protobuf field: repeated uint64 ids = 2
|
|
62
|
+
* @generated from protobuf field: repeated uint64 ids = 2;
|
|
63
63
|
*/
|
|
64
|
-
ids:
|
|
64
|
+
ids: number[];
|
|
65
65
|
/**
|
|
66
66
|
* @generated from protobuf field: optional bool all = 3;
|
|
67
67
|
*/
|
|
@@ -72,9 +72,9 @@ export interface MarkNotificationsRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
export interface MarkNotificationsResponse {
|
|
74
74
|
/**
|
|
75
|
-
* @generated from protobuf field: uint64 updated = 1
|
|
75
|
+
* @generated from protobuf field: uint64 updated = 1;
|
|
76
76
|
*/
|
|
77
|
-
updated:
|
|
77
|
+
updated: number;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* @generated from protobuf message services.notificator.StreamRequest
|
|
@@ -258,7 +258,7 @@ class MarkNotificationsRequest$Type extends MessageType<MarkNotificationsRequest
|
|
|
258
258
|
constructor() {
|
|
259
259
|
super("services.notificator.MarkNotificationsRequest", [
|
|
260
260
|
{ no: 1, name: "unread", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
261
|
-
{ no: 2, name: "ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, options: { "validate.rules": { repeated: { minItems: "1", maxItems: "20", ignoreEmpty: true } } } },
|
|
261
|
+
{ no: 2, name: "ids", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/, options: { "validate.rules": { repeated: { minItems: "1", maxItems: "20", ignoreEmpty: true } } } },
|
|
262
262
|
{ no: 3, name: "all", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
|
263
263
|
]);
|
|
264
264
|
}
|
|
@@ -278,12 +278,12 @@ class MarkNotificationsRequest$Type extends MessageType<MarkNotificationsRequest
|
|
|
278
278
|
case /* bool unread */ 1:
|
|
279
279
|
message.unread = reader.bool();
|
|
280
280
|
break;
|
|
281
|
-
case /* repeated uint64 ids
|
|
281
|
+
case /* repeated uint64 ids */ 2:
|
|
282
282
|
if (wireType === WireType.LengthDelimited)
|
|
283
283
|
for (let e = reader.int32() + reader.pos; reader.pos < e;)
|
|
284
|
-
message.ids.push(reader.uint64().
|
|
284
|
+
message.ids.push(reader.uint64().toNumber());
|
|
285
285
|
else
|
|
286
|
-
message.ids.push(reader.uint64().
|
|
286
|
+
message.ids.push(reader.uint64().toNumber());
|
|
287
287
|
break;
|
|
288
288
|
case /* optional bool all */ 3:
|
|
289
289
|
message.all = reader.bool();
|
|
@@ -303,7 +303,7 @@ class MarkNotificationsRequest$Type extends MessageType<MarkNotificationsRequest
|
|
|
303
303
|
/* bool unread = 1; */
|
|
304
304
|
if (message.unread !== false)
|
|
305
305
|
writer.tag(1, WireType.Varint).bool(message.unread);
|
|
306
|
-
/* repeated uint64 ids = 2
|
|
306
|
+
/* repeated uint64 ids = 2; */
|
|
307
307
|
if (message.ids.length) {
|
|
308
308
|
writer.tag(2, WireType.LengthDelimited).fork();
|
|
309
309
|
for (let i = 0; i < message.ids.length; i++)
|
|
@@ -327,12 +327,12 @@ export const MarkNotificationsRequest = new MarkNotificationsRequest$Type();
|
|
|
327
327
|
class MarkNotificationsResponse$Type extends MessageType<MarkNotificationsResponse> {
|
|
328
328
|
constructor() {
|
|
329
329
|
super("services.notificator.MarkNotificationsResponse", [
|
|
330
|
-
{ no: 1, name: "updated", kind: "scalar", T: 4 /*ScalarType.UINT64*/ }
|
|
330
|
+
{ no: 1, name: "updated", kind: "scalar", T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ }
|
|
331
331
|
]);
|
|
332
332
|
}
|
|
333
333
|
create(value?: PartialMessage<MarkNotificationsResponse>): MarkNotificationsResponse {
|
|
334
334
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
335
|
-
message.updated =
|
|
335
|
+
message.updated = 0;
|
|
336
336
|
if (value !== undefined)
|
|
337
337
|
reflectionMergePartial<MarkNotificationsResponse>(this, message, value);
|
|
338
338
|
return message;
|
|
@@ -342,8 +342,8 @@ class MarkNotificationsResponse$Type extends MessageType<MarkNotificationsRespon
|
|
|
342
342
|
while (reader.pos < end) {
|
|
343
343
|
let [fieldNo, wireType] = reader.tag();
|
|
344
344
|
switch (fieldNo) {
|
|
345
|
-
case /* uint64 updated
|
|
346
|
-
message.updated = reader.uint64().
|
|
345
|
+
case /* uint64 updated */ 1:
|
|
346
|
+
message.updated = reader.uint64().toNumber();
|
|
347
347
|
break;
|
|
348
348
|
default:
|
|
349
349
|
let u = options.readUnknownField;
|
|
@@ -357,8 +357,8 @@ class MarkNotificationsResponse$Type extends MessageType<MarkNotificationsRespon
|
|
|
357
357
|
return message;
|
|
358
358
|
}
|
|
359
359
|
internalBinaryWrite(message: MarkNotificationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
360
|
-
/* uint64 updated = 1
|
|
361
|
-
if (message.updated !==
|
|
360
|
+
/* uint64 updated = 1; */
|
|
361
|
+
if (message.updated !== 0)
|
|
362
362
|
writer.tag(1, WireType.Varint).uint64(message.updated);
|
|
363
363
|
let u = options.writeUnknownFields;
|
|
364
364
|
if (u !== false)
|