@fivenet-app/gen 0.9.3-1
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 -0
- package/google/protobuf/any.ts +322 -0
- package/google/protobuf/descriptor.ts +3475 -0
- package/google/protobuf/duration.ts +231 -0
- package/google/protobuf/timestamp.ts +290 -0
- package/package.json +15 -0
- package/perms.ts +178 -0
- package/resources/accounts/accounts.ts +195 -0
- package/resources/accounts/oauth2.ts +230 -0
- package/resources/calendar/access.ts +362 -0
- package/resources/calendar/calendar.ts +955 -0
- package/resources/centrum/access.ts +380 -0
- package/resources/centrum/dispatches.ts +854 -0
- package/resources/centrum/general.ts +231 -0
- package/resources/centrum/settings.ts +303 -0
- package/resources/centrum/units.ts +620 -0
- package/resources/common/access/dummy.ts +309 -0
- package/resources/common/content/content.ts +252 -0
- package/resources/common/cron/cron.ts +536 -0
- package/resources/common/database/database.ts +306 -0
- package/resources/common/error.ts +79 -0
- package/resources/common/grpcws/grpcws.ts +615 -0
- package/resources/common/i18n.ts +102 -0
- package/resources/common/uuid.ts +68 -0
- package/resources/documents/access.ts +388 -0
- package/resources/documents/activity.ts +803 -0
- package/resources/documents/category.ts +132 -0
- package/resources/documents/comment.ts +161 -0
- package/resources/documents/documents.ts +1124 -0
- package/resources/documents/requests.ts +196 -0
- package/resources/documents/templates.ts +949 -0
- package/resources/documents/workflow.ts +349 -0
- package/resources/filestore/file.ts +204 -0
- package/resources/internet/ads.ts +257 -0
- package/resources/internet/domain.ts +136 -0
- package/resources/internet/internet.ts +344 -0
- package/resources/internet/page.ts +236 -0
- package/resources/internet/search.ts +104 -0
- package/resources/jobs/activity.ts +600 -0
- package/resources/jobs/colleagues.ts +346 -0
- package/resources/jobs/conduct.ts +220 -0
- package/resources/jobs/labels.ts +240 -0
- package/resources/jobs/timeclock.ts +372 -0
- package/resources/laws/laws.ts +293 -0
- package/resources/livemap/livemap.ts +728 -0
- package/resources/livemap/tracker.ts +81 -0
- package/resources/mailer/access.ts +485 -0
- package/resources/mailer/email.ts +222 -0
- package/resources/mailer/events.ts +196 -0
- package/resources/mailer/message.ts +285 -0
- package/resources/mailer/settings.ts +95 -0
- package/resources/mailer/template.ts +164 -0
- package/resources/mailer/thread.ts +422 -0
- package/resources/mailer/user.ts +93 -0
- package/resources/notifications/events.ts +287 -0
- package/resources/notifications/notifications.ts +444 -0
- package/resources/permissions/permissions.ts +829 -0
- package/resources/qualifications/access.ts +275 -0
- package/resources/qualifications/exam.ts +1421 -0
- package/resources/qualifications/qualifications.ts +1289 -0
- package/resources/rector/audit.ts +226 -0
- package/resources/rector/config.ts +922 -0
- package/resources/stats/stats.ts +67 -0
- package/resources/sync/activity.ts +356 -0
- package/resources/sync/data.ts +455 -0
- package/resources/timestamp/timestamp.ts +78 -0
- package/resources/users/activity.ts +211 -0
- package/resources/users/job_props.ts +992 -0
- package/resources/users/jobs.ts +171 -0
- package/resources/users/labels.ts +161 -0
- package/resources/users/props.ts +207 -0
- package/resources/users/users.ts +570 -0
- package/resources/vehicles/vehicles.ts +114 -0
- package/resources/wiki/access.ts +362 -0
- package/resources/wiki/activity.ts +591 -0
- package/resources/wiki/page.ts +548 -0
- package/services/auth/auth.client.ts +171 -0
- package/services/auth/auth.ts +1331 -0
- package/services/calendar/calendar.client.ts +262 -0
- package/services/calendar/calendar.ts +1733 -0
- package/services/centrum/centrum.client.ts +365 -0
- package/services/centrum/centrum.ts +2619 -0
- package/services/citizenstore/citizenstore.client.ts +126 -0
- package/services/citizenstore/citizenstore.ts +847 -0
- package/services/completor/completor.client.ts +109 -0
- package/services/completor/completor.ts +616 -0
- package/services/dmv/vehicles.client.ts +41 -0
- package/services/dmv/vehicles.ts +191 -0
- package/services/docstore/docstore.client.ts +653 -0
- package/services/docstore/docstore.ts +4571 -0
- package/services/internet/ads.client.ts +41 -0
- package/services/internet/ads.ts +145 -0
- package/services/internet/internet.client.ts +58 -0
- package/services/internet/internet.ts +257 -0
- package/services/jobs/conduct.client.ts +92 -0
- package/services/jobs/conduct.ts +541 -0
- package/services/jobs/jobs.client.ts +194 -0
- package/services/jobs/jobs.ts +1301 -0
- package/services/jobs/timeclock.client.ts +75 -0
- package/services/jobs/timeclock.ts +808 -0
- package/services/livemapper/livemap.client.ts +76 -0
- package/services/livemapper/livemap.ts +552 -0
- package/services/mailer/mailer.client.ts +381 -0
- package/services/mailer/mailer.ts +2590 -0
- package/services/notificator/notificator.client.ts +76 -0
- package/services/notificator/notificator.ts +510 -0
- package/services/qualifications/qualifications.client.ts +279 -0
- package/services/qualifications/qualifications.ts +2142 -0
- package/services/rector/config.client.ts +58 -0
- package/services/rector/config.ts +216 -0
- package/services/rector/filestore.client.ts +75 -0
- package/services/rector/filestore.ts +378 -0
- package/services/rector/laws.client.ts +92 -0
- package/services/rector/laws.ts +416 -0
- package/services/rector/rector.client.ts +211 -0
- package/services/rector/rector.ts +1540 -0
- package/services/stats/stats.client.ts +37 -0
- package/services/stats/stats.ts +128 -0
- package/services/sync/sync.client.ts +110 -0
- package/services/sync/sync.ts +831 -0
- package/services/wiki/wiki.client.ts +126 -0
- package/services/wiki/wiki.ts +749 -0
- package/svcs.ts +307 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.9.4 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
+
// @generated from protobuf file "resources/laws/laws.proto" (package "resources.laws", syntax proto3)
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
9
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
+
import { Timestamp } from "../timestamp/timestamp";
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf message resources.laws.LawBook
|
|
16
|
+
*/
|
|
17
|
+
export interface LawBook {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: uint64 id = 1 [jstype = JS_STRING];
|
|
20
|
+
*/
|
|
21
|
+
id: string; // @gotags: sql:"primary_key" alias:"id"
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
24
|
+
*/
|
|
25
|
+
createdAt?: Timestamp;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp updated_at = 3;
|
|
28
|
+
*/
|
|
29
|
+
updatedAt?: Timestamp;
|
|
30
|
+
/**
|
|
31
|
+
* @sanitize
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: string name = 4;
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* @sanitize
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf field: optional string description = 5;
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf field: repeated resources.laws.Law laws = 6;
|
|
44
|
+
*/
|
|
45
|
+
laws: Law[];
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @generated from protobuf message resources.laws.Law
|
|
49
|
+
*/
|
|
50
|
+
export interface Law {
|
|
51
|
+
/**
|
|
52
|
+
* @generated from protobuf field: uint64 id = 1 [jstype = JS_STRING];
|
|
53
|
+
*/
|
|
54
|
+
id: string; // @gotags: sql:"primary_key" alias:"law.id"
|
|
55
|
+
/**
|
|
56
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp created_at = 2;
|
|
57
|
+
*/
|
|
58
|
+
createdAt?: Timestamp;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from protobuf field: optional resources.timestamp.Timestamp updated_at = 3;
|
|
61
|
+
*/
|
|
62
|
+
updatedAt?: Timestamp;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: uint64 lawbook_id = 4 [jstype = JS_STRING];
|
|
65
|
+
*/
|
|
66
|
+
lawbookId: string;
|
|
67
|
+
/**
|
|
68
|
+
* @sanitize
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf field: string name = 5;
|
|
71
|
+
*/
|
|
72
|
+
name: string;
|
|
73
|
+
/**
|
|
74
|
+
* @sanitize
|
|
75
|
+
*
|
|
76
|
+
* @generated from protobuf field: optional string description = 6;
|
|
77
|
+
*/
|
|
78
|
+
description?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @sanitize
|
|
81
|
+
*
|
|
82
|
+
* @generated from protobuf field: optional string hint = 7;
|
|
83
|
+
*/
|
|
84
|
+
hint?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from protobuf field: optional uint32 fine = 8;
|
|
87
|
+
*/
|
|
88
|
+
fine?: number;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from protobuf field: optional uint32 detention_time = 9;
|
|
91
|
+
*/
|
|
92
|
+
detentionTime?: number;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from protobuf field: optional uint32 stvo_points = 10;
|
|
95
|
+
*/
|
|
96
|
+
stvoPoints?: number;
|
|
97
|
+
}
|
|
98
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
99
|
+
class LawBook$Type extends MessageType<LawBook> {
|
|
100
|
+
constructor() {
|
|
101
|
+
super("resources.laws.LawBook", [
|
|
102
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
103
|
+
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
104
|
+
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
105
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "3", maxLen: "128" } } } },
|
|
106
|
+
{ no: 5, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "255" } } } },
|
|
107
|
+
{ no: 6, name: "laws", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Law }
|
|
108
|
+
]);
|
|
109
|
+
}
|
|
110
|
+
create(value?: PartialMessage<LawBook>): LawBook {
|
|
111
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
112
|
+
message.id = "0";
|
|
113
|
+
message.name = "";
|
|
114
|
+
message.laws = [];
|
|
115
|
+
if (value !== undefined)
|
|
116
|
+
reflectionMergePartial<LawBook>(this, message, value);
|
|
117
|
+
return message;
|
|
118
|
+
}
|
|
119
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: LawBook): LawBook {
|
|
120
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
121
|
+
while (reader.pos < end) {
|
|
122
|
+
let [fieldNo, wireType] = reader.tag();
|
|
123
|
+
switch (fieldNo) {
|
|
124
|
+
case /* uint64 id = 1 [jstype = JS_STRING];*/ 1:
|
|
125
|
+
message.id = reader.uint64().toString();
|
|
126
|
+
break;
|
|
127
|
+
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
128
|
+
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
129
|
+
break;
|
|
130
|
+
case /* optional resources.timestamp.Timestamp updated_at */ 3:
|
|
131
|
+
message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);
|
|
132
|
+
break;
|
|
133
|
+
case /* string name */ 4:
|
|
134
|
+
message.name = reader.string();
|
|
135
|
+
break;
|
|
136
|
+
case /* optional string description */ 5:
|
|
137
|
+
message.description = reader.string();
|
|
138
|
+
break;
|
|
139
|
+
case /* repeated resources.laws.Law laws */ 6:
|
|
140
|
+
message.laws.push(Law.internalBinaryRead(reader, reader.uint32(), options));
|
|
141
|
+
break;
|
|
142
|
+
default:
|
|
143
|
+
let u = options.readUnknownField;
|
|
144
|
+
if (u === "throw")
|
|
145
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
146
|
+
let d = reader.skip(wireType);
|
|
147
|
+
if (u !== false)
|
|
148
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return message;
|
|
152
|
+
}
|
|
153
|
+
internalBinaryWrite(message: LawBook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
154
|
+
/* uint64 id = 1 [jstype = JS_STRING]; */
|
|
155
|
+
if (message.id !== "0")
|
|
156
|
+
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
157
|
+
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
158
|
+
if (message.createdAt)
|
|
159
|
+
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
160
|
+
/* optional resources.timestamp.Timestamp updated_at = 3; */
|
|
161
|
+
if (message.updatedAt)
|
|
162
|
+
Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
163
|
+
/* string name = 4; */
|
|
164
|
+
if (message.name !== "")
|
|
165
|
+
writer.tag(4, WireType.LengthDelimited).string(message.name);
|
|
166
|
+
/* optional string description = 5; */
|
|
167
|
+
if (message.description !== undefined)
|
|
168
|
+
writer.tag(5, WireType.LengthDelimited).string(message.description);
|
|
169
|
+
/* repeated resources.laws.Law laws = 6; */
|
|
170
|
+
for (let i = 0; i < message.laws.length; i++)
|
|
171
|
+
Law.internalBinaryWrite(message.laws[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
172
|
+
let u = options.writeUnknownFields;
|
|
173
|
+
if (u !== false)
|
|
174
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
175
|
+
return writer;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @generated MessageType for protobuf message resources.laws.LawBook
|
|
180
|
+
*/
|
|
181
|
+
export const LawBook = new LawBook$Type();
|
|
182
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
183
|
+
class Law$Type extends MessageType<Law> {
|
|
184
|
+
constructor() {
|
|
185
|
+
super("resources.laws.Law", [
|
|
186
|
+
{ no: 1, name: "id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
187
|
+
{ no: 2, name: "created_at", kind: "message", T: () => Timestamp },
|
|
188
|
+
{ no: 3, name: "updated_at", kind: "message", T: () => Timestamp },
|
|
189
|
+
{ no: 4, name: "lawbook_id", kind: "scalar", T: 4 /*ScalarType.UINT64*/ },
|
|
190
|
+
{ no: 5, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "3", maxLen: "128" } } } },
|
|
191
|
+
{ no: 6, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "1024" } } } },
|
|
192
|
+
{ no: 7, name: "hint", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "512" } } } },
|
|
193
|
+
{ no: 8, name: "fine", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
194
|
+
{ no: 9, name: "detention_time", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
195
|
+
{ no: 10, name: "stvo_points", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
|
|
196
|
+
]);
|
|
197
|
+
}
|
|
198
|
+
create(value?: PartialMessage<Law>): Law {
|
|
199
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
|
200
|
+
message.id = "0";
|
|
201
|
+
message.lawbookId = "0";
|
|
202
|
+
message.name = "";
|
|
203
|
+
if (value !== undefined)
|
|
204
|
+
reflectionMergePartial<Law>(this, message, value);
|
|
205
|
+
return message;
|
|
206
|
+
}
|
|
207
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Law): Law {
|
|
208
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
209
|
+
while (reader.pos < end) {
|
|
210
|
+
let [fieldNo, wireType] = reader.tag();
|
|
211
|
+
switch (fieldNo) {
|
|
212
|
+
case /* uint64 id = 1 [jstype = JS_STRING];*/ 1:
|
|
213
|
+
message.id = reader.uint64().toString();
|
|
214
|
+
break;
|
|
215
|
+
case /* optional resources.timestamp.Timestamp created_at */ 2:
|
|
216
|
+
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
|
217
|
+
break;
|
|
218
|
+
case /* optional resources.timestamp.Timestamp updated_at */ 3:
|
|
219
|
+
message.updatedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.updatedAt);
|
|
220
|
+
break;
|
|
221
|
+
case /* uint64 lawbook_id = 4 [jstype = JS_STRING];*/ 4:
|
|
222
|
+
message.lawbookId = reader.uint64().toString();
|
|
223
|
+
break;
|
|
224
|
+
case /* string name */ 5:
|
|
225
|
+
message.name = reader.string();
|
|
226
|
+
break;
|
|
227
|
+
case /* optional string description */ 6:
|
|
228
|
+
message.description = reader.string();
|
|
229
|
+
break;
|
|
230
|
+
case /* optional string hint */ 7:
|
|
231
|
+
message.hint = reader.string();
|
|
232
|
+
break;
|
|
233
|
+
case /* optional uint32 fine */ 8:
|
|
234
|
+
message.fine = reader.uint32();
|
|
235
|
+
break;
|
|
236
|
+
case /* optional uint32 detention_time */ 9:
|
|
237
|
+
message.detentionTime = reader.uint32();
|
|
238
|
+
break;
|
|
239
|
+
case /* optional uint32 stvo_points */ 10:
|
|
240
|
+
message.stvoPoints = reader.uint32();
|
|
241
|
+
break;
|
|
242
|
+
default:
|
|
243
|
+
let u = options.readUnknownField;
|
|
244
|
+
if (u === "throw")
|
|
245
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
246
|
+
let d = reader.skip(wireType);
|
|
247
|
+
if (u !== false)
|
|
248
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
return message;
|
|
252
|
+
}
|
|
253
|
+
internalBinaryWrite(message: Law, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
254
|
+
/* uint64 id = 1 [jstype = JS_STRING]; */
|
|
255
|
+
if (message.id !== "0")
|
|
256
|
+
writer.tag(1, WireType.Varint).uint64(message.id);
|
|
257
|
+
/* optional resources.timestamp.Timestamp created_at = 2; */
|
|
258
|
+
if (message.createdAt)
|
|
259
|
+
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
260
|
+
/* optional resources.timestamp.Timestamp updated_at = 3; */
|
|
261
|
+
if (message.updatedAt)
|
|
262
|
+
Timestamp.internalBinaryWrite(message.updatedAt, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
263
|
+
/* uint64 lawbook_id = 4 [jstype = JS_STRING]; */
|
|
264
|
+
if (message.lawbookId !== "0")
|
|
265
|
+
writer.tag(4, WireType.Varint).uint64(message.lawbookId);
|
|
266
|
+
/* string name = 5; */
|
|
267
|
+
if (message.name !== "")
|
|
268
|
+
writer.tag(5, WireType.LengthDelimited).string(message.name);
|
|
269
|
+
/* optional string description = 6; */
|
|
270
|
+
if (message.description !== undefined)
|
|
271
|
+
writer.tag(6, WireType.LengthDelimited).string(message.description);
|
|
272
|
+
/* optional string hint = 7; */
|
|
273
|
+
if (message.hint !== undefined)
|
|
274
|
+
writer.tag(7, WireType.LengthDelimited).string(message.hint);
|
|
275
|
+
/* optional uint32 fine = 8; */
|
|
276
|
+
if (message.fine !== undefined)
|
|
277
|
+
writer.tag(8, WireType.Varint).uint32(message.fine);
|
|
278
|
+
/* optional uint32 detention_time = 9; */
|
|
279
|
+
if (message.detentionTime !== undefined)
|
|
280
|
+
writer.tag(9, WireType.Varint).uint32(message.detentionTime);
|
|
281
|
+
/* optional uint32 stvo_points = 10; */
|
|
282
|
+
if (message.stvoPoints !== undefined)
|
|
283
|
+
writer.tag(10, WireType.Varint).uint32(message.stvoPoints);
|
|
284
|
+
let u = options.writeUnknownFields;
|
|
285
|
+
if (u !== false)
|
|
286
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
287
|
+
return writer;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* @generated MessageType for protobuf message resources.laws.Law
|
|
292
|
+
*/
|
|
293
|
+
export const Law = new Law$Type();
|