lemmy-js-client 0.17.0-rc.5 → 0.17.0-rc.51
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.d.ts +196 -14
- package/dist/http.js +332 -98
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/dist/interfaces/aggregates.d.ts +1 -0
- package/dist/interfaces/api/comment.d.ts +54 -46
- package/dist/interfaces/api/comment.js +393 -0
- package/dist/interfaces/api/community.d.ts +56 -48
- package/dist/interfaces/api/community.js +433 -0
- package/dist/interfaces/api/index.js +5 -1
- package/dist/interfaces/api/person.d.ts +159 -102
- package/dist/interfaces/api/person.js +1004 -0
- package/dist/interfaces/api/post.d.ts +73 -54
- package/dist/interfaces/api/post.js +475 -0
- package/dist/interfaces/api/site.d.ts +182 -99
- package/dist/interfaces/api/site.js +1555 -0
- package/dist/interfaces/index.js +5 -1
- package/dist/interfaces/others.d.ts +122 -90
- package/dist/interfaces/others.js +187 -59
- package/dist/interfaces/source.d.ts +178 -83
- package/dist/interfaces/source.js +899 -0
- package/dist/interfaces/views.d.ts +99 -50
- package/dist/interfaces/views.js +761 -0
- package/dist/utils.d.ts +9 -0
- package/dist/utils.js +18 -0
- package/dist/websocket.d.ts +43 -12
- package/dist/websocket.js +64 -16
- package/package.json +17 -14
@@ -1,2 +1,901 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
+
exports.PrivateMessageReport = exports.Language = exports.RegistrationApplication = exports.CommentReply = exports.PersonMention = exports.Comment = exports.CommentReport = exports.CommunitySafe = exports.AdminPurgeComment = exports.AdminPurgePost = exports.AdminPurgeCommunity = exports.AdminPurgePerson = exports.ModAdd = exports.ModTransferCommunity = exports.ModAddCommunity = exports.ModBan = exports.ModBanFromCommunity = exports.ModRemoveCommunity = exports.ModRemoveComment = exports.ModStickyPost = exports.ModLockPost = exports.ModRemovePost = exports.PasswordResetRequest = exports.Post = exports.PostReport = exports.PrivateMessage = exports.LocalSiteRateLimit = exports.LocalSite = exports.Site = exports.PersonSafe = exports.LocalUserSettings = void 0;
|
10
|
+
var class_transformer_1 = require("class-transformer");
|
11
|
+
var utils_1 = require("../utils");
|
12
|
+
var LocalUserSettings = /** @class */ (function () {
|
13
|
+
function LocalUserSettings() {
|
14
|
+
}
|
15
|
+
__decorate([
|
16
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
17
|
+
var value = _a.value;
|
18
|
+
return (0, utils_1.toOption)(value);
|
19
|
+
}, { toClassOnly: true }),
|
20
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
21
|
+
var value = _a.value;
|
22
|
+
return (0, utils_1.toUndefined)(value);
|
23
|
+
}, { toPlainOnly: true }),
|
24
|
+
(0, class_transformer_1.Expose)()
|
25
|
+
], LocalUserSettings.prototype, "email", void 0);
|
26
|
+
return LocalUserSettings;
|
27
|
+
}());
|
28
|
+
exports.LocalUserSettings = LocalUserSettings;
|
29
|
+
var PersonSafe = /** @class */ (function () {
|
30
|
+
function PersonSafe() {
|
31
|
+
}
|
32
|
+
__decorate([
|
33
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
34
|
+
var value = _a.value;
|
35
|
+
return (0, utils_1.toOption)(value);
|
36
|
+
}, { toClassOnly: true }),
|
37
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
38
|
+
var value = _a.value;
|
39
|
+
return (0, utils_1.toUndefined)(value);
|
40
|
+
}, { toPlainOnly: true }),
|
41
|
+
(0, class_transformer_1.Expose)()
|
42
|
+
], PersonSafe.prototype, "display_name", void 0);
|
43
|
+
__decorate([
|
44
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
45
|
+
var value = _a.value;
|
46
|
+
return (0, utils_1.toOption)(value);
|
47
|
+
}, { toClassOnly: true }),
|
48
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
49
|
+
var value = _a.value;
|
50
|
+
return (0, utils_1.toUndefined)(value);
|
51
|
+
}, { toPlainOnly: true }),
|
52
|
+
(0, class_transformer_1.Expose)()
|
53
|
+
], PersonSafe.prototype, "avatar", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
56
|
+
var value = _a.value;
|
57
|
+
return (0, utils_1.toOption)(value);
|
58
|
+
}, { toClassOnly: true }),
|
59
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
60
|
+
var value = _a.value;
|
61
|
+
return (0, utils_1.toUndefined)(value);
|
62
|
+
}, { toPlainOnly: true }),
|
63
|
+
(0, class_transformer_1.Expose)()
|
64
|
+
], PersonSafe.prototype, "updated", void 0);
|
65
|
+
__decorate([
|
66
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
67
|
+
var value = _a.value;
|
68
|
+
return (0, utils_1.toOption)(value);
|
69
|
+
}, { toClassOnly: true }),
|
70
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
71
|
+
var value = _a.value;
|
72
|
+
return (0, utils_1.toUndefined)(value);
|
73
|
+
}, { toPlainOnly: true }),
|
74
|
+
(0, class_transformer_1.Expose)()
|
75
|
+
], PersonSafe.prototype, "bio", void 0);
|
76
|
+
__decorate([
|
77
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
78
|
+
var value = _a.value;
|
79
|
+
return (0, utils_1.toOption)(value);
|
80
|
+
}, { toClassOnly: true }),
|
81
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
82
|
+
var value = _a.value;
|
83
|
+
return (0, utils_1.toUndefined)(value);
|
84
|
+
}, { toPlainOnly: true }),
|
85
|
+
(0, class_transformer_1.Expose)()
|
86
|
+
], PersonSafe.prototype, "banner", void 0);
|
87
|
+
__decorate([
|
88
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
89
|
+
var value = _a.value;
|
90
|
+
return (0, utils_1.toOption)(value);
|
91
|
+
}, { toClassOnly: true }),
|
92
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
93
|
+
var value = _a.value;
|
94
|
+
return (0, utils_1.toUndefined)(value);
|
95
|
+
}, { toPlainOnly: true }),
|
96
|
+
(0, class_transformer_1.Expose)()
|
97
|
+
], PersonSafe.prototype, "shared_inbox_url", void 0);
|
98
|
+
__decorate([
|
99
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
100
|
+
var value = _a.value;
|
101
|
+
return (0, utils_1.toOption)(value);
|
102
|
+
}, { toClassOnly: true }),
|
103
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
104
|
+
var value = _a.value;
|
105
|
+
return (0, utils_1.toUndefined)(value);
|
106
|
+
}, { toPlainOnly: true }),
|
107
|
+
(0, class_transformer_1.Expose)()
|
108
|
+
], PersonSafe.prototype, "matrix_user_id", void 0);
|
109
|
+
__decorate([
|
110
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
111
|
+
var value = _a.value;
|
112
|
+
return (0, utils_1.toOption)(value);
|
113
|
+
}, { toClassOnly: true }),
|
114
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
115
|
+
var value = _a.value;
|
116
|
+
return (0, utils_1.toUndefined)(value);
|
117
|
+
}, { toPlainOnly: true }),
|
118
|
+
(0, class_transformer_1.Expose)()
|
119
|
+
], PersonSafe.prototype, "ban_expires", void 0);
|
120
|
+
return PersonSafe;
|
121
|
+
}());
|
122
|
+
exports.PersonSafe = PersonSafe;
|
123
|
+
var Site = /** @class */ (function () {
|
124
|
+
function Site() {
|
125
|
+
}
|
126
|
+
__decorate([
|
127
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
128
|
+
var value = _a.value;
|
129
|
+
return (0, utils_1.toOption)(value);
|
130
|
+
}, { toClassOnly: true }),
|
131
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
132
|
+
var value = _a.value;
|
133
|
+
return (0, utils_1.toUndefined)(value);
|
134
|
+
}, { toPlainOnly: true }),
|
135
|
+
(0, class_transformer_1.Expose)()
|
136
|
+
], Site.prototype, "sidebar", void 0);
|
137
|
+
__decorate([
|
138
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
139
|
+
var value = _a.value;
|
140
|
+
return (0, utils_1.toOption)(value);
|
141
|
+
}, { toClassOnly: true }),
|
142
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
143
|
+
var value = _a.value;
|
144
|
+
return (0, utils_1.toUndefined)(value);
|
145
|
+
}, { toPlainOnly: true }),
|
146
|
+
(0, class_transformer_1.Expose)()
|
147
|
+
], Site.prototype, "updated", void 0);
|
148
|
+
__decorate([
|
149
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
150
|
+
var value = _a.value;
|
151
|
+
return (0, utils_1.toOption)(value);
|
152
|
+
}, { toClassOnly: true }),
|
153
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
154
|
+
var value = _a.value;
|
155
|
+
return (0, utils_1.toUndefined)(value);
|
156
|
+
}, { toPlainOnly: true }),
|
157
|
+
(0, class_transformer_1.Expose)()
|
158
|
+
], Site.prototype, "icon", void 0);
|
159
|
+
__decorate([
|
160
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
161
|
+
var value = _a.value;
|
162
|
+
return (0, utils_1.toOption)(value);
|
163
|
+
}, { toClassOnly: true }),
|
164
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
165
|
+
var value = _a.value;
|
166
|
+
return (0, utils_1.toUndefined)(value);
|
167
|
+
}, { toPlainOnly: true }),
|
168
|
+
(0, class_transformer_1.Expose)()
|
169
|
+
], Site.prototype, "banner", void 0);
|
170
|
+
__decorate([
|
171
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
172
|
+
var value = _a.value;
|
173
|
+
return (0, utils_1.toOption)(value);
|
174
|
+
}, { toClassOnly: true }),
|
175
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
176
|
+
var value = _a.value;
|
177
|
+
return (0, utils_1.toUndefined)(value);
|
178
|
+
}, { toPlainOnly: true }),
|
179
|
+
(0, class_transformer_1.Expose)()
|
180
|
+
], Site.prototype, "description", void 0);
|
181
|
+
return Site;
|
182
|
+
}());
|
183
|
+
exports.Site = Site;
|
184
|
+
var LocalSite = /** @class */ (function () {
|
185
|
+
function LocalSite() {
|
186
|
+
}
|
187
|
+
__decorate([
|
188
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
189
|
+
var value = _a.value;
|
190
|
+
return (0, utils_1.toOption)(value);
|
191
|
+
}, { toClassOnly: true }),
|
192
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
193
|
+
var value = _a.value;
|
194
|
+
return (0, utils_1.toUndefined)(value);
|
195
|
+
}, { toPlainOnly: true }),
|
196
|
+
(0, class_transformer_1.Expose)()
|
197
|
+
], LocalSite.prototype, "application_question", void 0);
|
198
|
+
__decorate([
|
199
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
200
|
+
var value = _a.value;
|
201
|
+
return (0, utils_1.toOption)(value);
|
202
|
+
}, { toClassOnly: true }),
|
203
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
204
|
+
var value = _a.value;
|
205
|
+
return (0, utils_1.toUndefined)(value);
|
206
|
+
}, { toPlainOnly: true }),
|
207
|
+
(0, class_transformer_1.Expose)()
|
208
|
+
], LocalSite.prototype, "legal_information", void 0);
|
209
|
+
__decorate([
|
210
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
211
|
+
var value = _a.value;
|
212
|
+
return (0, utils_1.toOption)(value);
|
213
|
+
}, { toClassOnly: true }),
|
214
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
215
|
+
var value = _a.value;
|
216
|
+
return (0, utils_1.toUndefined)(value);
|
217
|
+
}, { toPlainOnly: true }),
|
218
|
+
(0, class_transformer_1.Expose)()
|
219
|
+
], LocalSite.prototype, "slur_filter_regex", void 0);
|
220
|
+
__decorate([
|
221
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
222
|
+
var value = _a.value;
|
223
|
+
return (0, utils_1.toOption)(value);
|
224
|
+
}, { toClassOnly: true }),
|
225
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
226
|
+
var value = _a.value;
|
227
|
+
return (0, utils_1.toUndefined)(value);
|
228
|
+
}, { toPlainOnly: true }),
|
229
|
+
(0, class_transformer_1.Expose)()
|
230
|
+
], LocalSite.prototype, "updated", void 0);
|
231
|
+
return LocalSite;
|
232
|
+
}());
|
233
|
+
exports.LocalSite = LocalSite;
|
234
|
+
var LocalSiteRateLimit = /** @class */ (function () {
|
235
|
+
function LocalSiteRateLimit() {
|
236
|
+
}
|
237
|
+
__decorate([
|
238
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
239
|
+
var value = _a.value;
|
240
|
+
return (0, utils_1.toOption)(value);
|
241
|
+
}, { toClassOnly: true }),
|
242
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
243
|
+
var value = _a.value;
|
244
|
+
return (0, utils_1.toUndefined)(value);
|
245
|
+
}, { toPlainOnly: true }),
|
246
|
+
(0, class_transformer_1.Expose)()
|
247
|
+
], LocalSiteRateLimit.prototype, "updated", void 0);
|
248
|
+
return LocalSiteRateLimit;
|
249
|
+
}());
|
250
|
+
exports.LocalSiteRateLimit = LocalSiteRateLimit;
|
251
|
+
var PrivateMessage = /** @class */ (function () {
|
252
|
+
function PrivateMessage() {
|
253
|
+
}
|
254
|
+
__decorate([
|
255
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
256
|
+
var value = _a.value;
|
257
|
+
return (0, utils_1.toOption)(value);
|
258
|
+
}, { toClassOnly: true }),
|
259
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
260
|
+
var value = _a.value;
|
261
|
+
return (0, utils_1.toUndefined)(value);
|
262
|
+
}, { toPlainOnly: true }),
|
263
|
+
(0, class_transformer_1.Expose)()
|
264
|
+
], PrivateMessage.prototype, "updated", void 0);
|
265
|
+
return PrivateMessage;
|
266
|
+
}());
|
267
|
+
exports.PrivateMessage = PrivateMessage;
|
268
|
+
var PostReport = /** @class */ (function () {
|
269
|
+
function PostReport() {
|
270
|
+
}
|
271
|
+
__decorate([
|
272
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
273
|
+
var value = _a.value;
|
274
|
+
return (0, utils_1.toOption)(value);
|
275
|
+
}, { toClassOnly: true }),
|
276
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
277
|
+
var value = _a.value;
|
278
|
+
return (0, utils_1.toUndefined)(value);
|
279
|
+
}, { toPlainOnly: true }),
|
280
|
+
(0, class_transformer_1.Expose)()
|
281
|
+
], PostReport.prototype, "original_post_url", void 0);
|
282
|
+
__decorate([
|
283
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
284
|
+
var value = _a.value;
|
285
|
+
return (0, utils_1.toOption)(value);
|
286
|
+
}, { toClassOnly: true }),
|
287
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
288
|
+
var value = _a.value;
|
289
|
+
return (0, utils_1.toUndefined)(value);
|
290
|
+
}, { toPlainOnly: true }),
|
291
|
+
(0, class_transformer_1.Expose)()
|
292
|
+
], PostReport.prototype, "original_post_body", void 0);
|
293
|
+
__decorate([
|
294
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
295
|
+
var value = _a.value;
|
296
|
+
return (0, utils_1.toOption)(value);
|
297
|
+
}, { toClassOnly: true }),
|
298
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
299
|
+
var value = _a.value;
|
300
|
+
return (0, utils_1.toUndefined)(value);
|
301
|
+
}, { toPlainOnly: true }),
|
302
|
+
(0, class_transformer_1.Expose)()
|
303
|
+
], PostReport.prototype, "resolver_id", void 0);
|
304
|
+
__decorate([
|
305
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
306
|
+
var value = _a.value;
|
307
|
+
return (0, utils_1.toOption)(value);
|
308
|
+
}, { toClassOnly: true }),
|
309
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
310
|
+
var value = _a.value;
|
311
|
+
return (0, utils_1.toUndefined)(value);
|
312
|
+
}, { toPlainOnly: true }),
|
313
|
+
(0, class_transformer_1.Expose)()
|
314
|
+
], PostReport.prototype, "updated", void 0);
|
315
|
+
return PostReport;
|
316
|
+
}());
|
317
|
+
exports.PostReport = PostReport;
|
318
|
+
var Post = /** @class */ (function () {
|
319
|
+
function Post() {
|
320
|
+
}
|
321
|
+
__decorate([
|
322
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
323
|
+
var value = _a.value;
|
324
|
+
return (0, utils_1.toOption)(value);
|
325
|
+
}, { toClassOnly: true }),
|
326
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
327
|
+
var value = _a.value;
|
328
|
+
return (0, utils_1.toUndefined)(value);
|
329
|
+
}, { toPlainOnly: true }),
|
330
|
+
(0, class_transformer_1.Expose)()
|
331
|
+
], Post.prototype, "url", void 0);
|
332
|
+
__decorate([
|
333
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
334
|
+
var value = _a.value;
|
335
|
+
return (0, utils_1.toOption)(value);
|
336
|
+
}, { toClassOnly: true }),
|
337
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
338
|
+
var value = _a.value;
|
339
|
+
return (0, utils_1.toUndefined)(value);
|
340
|
+
}, { toPlainOnly: true }),
|
341
|
+
(0, class_transformer_1.Expose)()
|
342
|
+
], Post.prototype, "body", void 0);
|
343
|
+
__decorate([
|
344
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
345
|
+
var value = _a.value;
|
346
|
+
return (0, utils_1.toOption)(value);
|
347
|
+
}, { toClassOnly: true }),
|
348
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
349
|
+
var value = _a.value;
|
350
|
+
return (0, utils_1.toUndefined)(value);
|
351
|
+
}, { toPlainOnly: true }),
|
352
|
+
(0, class_transformer_1.Expose)()
|
353
|
+
], Post.prototype, "updated", void 0);
|
354
|
+
__decorate([
|
355
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
356
|
+
var value = _a.value;
|
357
|
+
return (0, utils_1.toOption)(value);
|
358
|
+
}, { toClassOnly: true }),
|
359
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
360
|
+
var value = _a.value;
|
361
|
+
return (0, utils_1.toUndefined)(value);
|
362
|
+
}, { toPlainOnly: true }),
|
363
|
+
(0, class_transformer_1.Expose)()
|
364
|
+
], Post.prototype, "embed_title", void 0);
|
365
|
+
__decorate([
|
366
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
367
|
+
var value = _a.value;
|
368
|
+
return (0, utils_1.toOption)(value);
|
369
|
+
}, { toClassOnly: true }),
|
370
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
371
|
+
var value = _a.value;
|
372
|
+
return (0, utils_1.toUndefined)(value);
|
373
|
+
}, { toPlainOnly: true }),
|
374
|
+
(0, class_transformer_1.Expose)()
|
375
|
+
], Post.prototype, "embed_description", void 0);
|
376
|
+
__decorate([
|
377
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
378
|
+
var value = _a.value;
|
379
|
+
return (0, utils_1.toOption)(value);
|
380
|
+
}, { toClassOnly: true }),
|
381
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
382
|
+
var value = _a.value;
|
383
|
+
return (0, utils_1.toUndefined)(value);
|
384
|
+
}, { toPlainOnly: true }),
|
385
|
+
(0, class_transformer_1.Expose)()
|
386
|
+
], Post.prototype, "embed_video_url", void 0);
|
387
|
+
__decorate([
|
388
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
389
|
+
var value = _a.value;
|
390
|
+
return (0, utils_1.toOption)(value);
|
391
|
+
}, { toClassOnly: true }),
|
392
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
393
|
+
var value = _a.value;
|
394
|
+
return (0, utils_1.toUndefined)(value);
|
395
|
+
}, { toPlainOnly: true }),
|
396
|
+
(0, class_transformer_1.Expose)()
|
397
|
+
], Post.prototype, "thumbnail_url", void 0);
|
398
|
+
return Post;
|
399
|
+
}());
|
400
|
+
exports.Post = Post;
|
401
|
+
var PasswordResetRequest = /** @class */ (function () {
|
402
|
+
function PasswordResetRequest() {
|
403
|
+
}
|
404
|
+
return PasswordResetRequest;
|
405
|
+
}());
|
406
|
+
exports.PasswordResetRequest = PasswordResetRequest;
|
407
|
+
var ModRemovePost = /** @class */ (function () {
|
408
|
+
function ModRemovePost() {
|
409
|
+
}
|
410
|
+
__decorate([
|
411
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
412
|
+
var value = _a.value;
|
413
|
+
return (0, utils_1.toOption)(value);
|
414
|
+
}, { toClassOnly: true }),
|
415
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
416
|
+
var value = _a.value;
|
417
|
+
return (0, utils_1.toUndefined)(value);
|
418
|
+
}, { toPlainOnly: true }),
|
419
|
+
(0, class_transformer_1.Expose)()
|
420
|
+
], ModRemovePost.prototype, "reason", void 0);
|
421
|
+
__decorate([
|
422
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
423
|
+
var value = _a.value;
|
424
|
+
return (0, utils_1.toOption)(value);
|
425
|
+
}, { toClassOnly: true }),
|
426
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
427
|
+
var value = _a.value;
|
428
|
+
return (0, utils_1.toUndefined)(value);
|
429
|
+
}, { toPlainOnly: true }),
|
430
|
+
(0, class_transformer_1.Expose)()
|
431
|
+
], ModRemovePost.prototype, "removed", void 0);
|
432
|
+
return ModRemovePost;
|
433
|
+
}());
|
434
|
+
exports.ModRemovePost = ModRemovePost;
|
435
|
+
var ModLockPost = /** @class */ (function () {
|
436
|
+
function ModLockPost() {
|
437
|
+
}
|
438
|
+
__decorate([
|
439
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
440
|
+
var value = _a.value;
|
441
|
+
return (0, utils_1.toOption)(value);
|
442
|
+
}, { toClassOnly: true }),
|
443
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
444
|
+
var value = _a.value;
|
445
|
+
return (0, utils_1.toUndefined)(value);
|
446
|
+
}, { toPlainOnly: true }),
|
447
|
+
(0, class_transformer_1.Expose)()
|
448
|
+
], ModLockPost.prototype, "locked", void 0);
|
449
|
+
return ModLockPost;
|
450
|
+
}());
|
451
|
+
exports.ModLockPost = ModLockPost;
|
452
|
+
var ModStickyPost = /** @class */ (function () {
|
453
|
+
function ModStickyPost() {
|
454
|
+
}
|
455
|
+
__decorate([
|
456
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
457
|
+
var value = _a.value;
|
458
|
+
return (0, utils_1.toOption)(value);
|
459
|
+
}, { toClassOnly: true }),
|
460
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
461
|
+
var value = _a.value;
|
462
|
+
return (0, utils_1.toUndefined)(value);
|
463
|
+
}, { toPlainOnly: true }),
|
464
|
+
(0, class_transformer_1.Expose)()
|
465
|
+
], ModStickyPost.prototype, "stickied", void 0);
|
466
|
+
return ModStickyPost;
|
467
|
+
}());
|
468
|
+
exports.ModStickyPost = ModStickyPost;
|
469
|
+
var ModRemoveComment = /** @class */ (function () {
|
470
|
+
function ModRemoveComment() {
|
471
|
+
}
|
472
|
+
__decorate([
|
473
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
474
|
+
var value = _a.value;
|
475
|
+
return (0, utils_1.toOption)(value);
|
476
|
+
}, { toClassOnly: true }),
|
477
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
478
|
+
var value = _a.value;
|
479
|
+
return (0, utils_1.toUndefined)(value);
|
480
|
+
}, { toPlainOnly: true }),
|
481
|
+
(0, class_transformer_1.Expose)()
|
482
|
+
], ModRemoveComment.prototype, "reason", void 0);
|
483
|
+
__decorate([
|
484
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
485
|
+
var value = _a.value;
|
486
|
+
return (0, utils_1.toOption)(value);
|
487
|
+
}, { toClassOnly: true }),
|
488
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
489
|
+
var value = _a.value;
|
490
|
+
return (0, utils_1.toUndefined)(value);
|
491
|
+
}, { toPlainOnly: true }),
|
492
|
+
(0, class_transformer_1.Expose)()
|
493
|
+
], ModRemoveComment.prototype, "removed", void 0);
|
494
|
+
return ModRemoveComment;
|
495
|
+
}());
|
496
|
+
exports.ModRemoveComment = ModRemoveComment;
|
497
|
+
var ModRemoveCommunity = /** @class */ (function () {
|
498
|
+
function ModRemoveCommunity() {
|
499
|
+
}
|
500
|
+
__decorate([
|
501
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
502
|
+
var value = _a.value;
|
503
|
+
return (0, utils_1.toOption)(value);
|
504
|
+
}, { toClassOnly: true }),
|
505
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
506
|
+
var value = _a.value;
|
507
|
+
return (0, utils_1.toUndefined)(value);
|
508
|
+
}, { toPlainOnly: true }),
|
509
|
+
(0, class_transformer_1.Expose)()
|
510
|
+
], ModRemoveCommunity.prototype, "reason", void 0);
|
511
|
+
__decorate([
|
512
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
513
|
+
var value = _a.value;
|
514
|
+
return (0, utils_1.toOption)(value);
|
515
|
+
}, { toClassOnly: true }),
|
516
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
517
|
+
var value = _a.value;
|
518
|
+
return (0, utils_1.toUndefined)(value);
|
519
|
+
}, { toPlainOnly: true }),
|
520
|
+
(0, class_transformer_1.Expose)()
|
521
|
+
], ModRemoveCommunity.prototype, "removed", void 0);
|
522
|
+
__decorate([
|
523
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
524
|
+
var value = _a.value;
|
525
|
+
return (0, utils_1.toOption)(value);
|
526
|
+
}, { toClassOnly: true }),
|
527
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
528
|
+
var value = _a.value;
|
529
|
+
return (0, utils_1.toUndefined)(value);
|
530
|
+
}, { toPlainOnly: true }),
|
531
|
+
(0, class_transformer_1.Expose)()
|
532
|
+
], ModRemoveCommunity.prototype, "expires", void 0);
|
533
|
+
return ModRemoveCommunity;
|
534
|
+
}());
|
535
|
+
exports.ModRemoveCommunity = ModRemoveCommunity;
|
536
|
+
var ModBanFromCommunity = /** @class */ (function () {
|
537
|
+
function ModBanFromCommunity() {
|
538
|
+
}
|
539
|
+
__decorate([
|
540
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
541
|
+
var value = _a.value;
|
542
|
+
return (0, utils_1.toOption)(value);
|
543
|
+
}, { toClassOnly: true }),
|
544
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
545
|
+
var value = _a.value;
|
546
|
+
return (0, utils_1.toUndefined)(value);
|
547
|
+
}, { toPlainOnly: true }),
|
548
|
+
(0, class_transformer_1.Expose)()
|
549
|
+
], ModBanFromCommunity.prototype, "reason", void 0);
|
550
|
+
__decorate([
|
551
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
552
|
+
var value = _a.value;
|
553
|
+
return (0, utils_1.toOption)(value);
|
554
|
+
}, { toClassOnly: true }),
|
555
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
556
|
+
var value = _a.value;
|
557
|
+
return (0, utils_1.toUndefined)(value);
|
558
|
+
}, { toPlainOnly: true }),
|
559
|
+
(0, class_transformer_1.Expose)()
|
560
|
+
], ModBanFromCommunity.prototype, "banned", void 0);
|
561
|
+
__decorate([
|
562
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
563
|
+
var value = _a.value;
|
564
|
+
return (0, utils_1.toOption)(value);
|
565
|
+
}, { toClassOnly: true }),
|
566
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
567
|
+
var value = _a.value;
|
568
|
+
return (0, utils_1.toUndefined)(value);
|
569
|
+
}, { toPlainOnly: true }),
|
570
|
+
(0, class_transformer_1.Expose)()
|
571
|
+
], ModBanFromCommunity.prototype, "expires", void 0);
|
572
|
+
return ModBanFromCommunity;
|
573
|
+
}());
|
574
|
+
exports.ModBanFromCommunity = ModBanFromCommunity;
|
575
|
+
var ModBan = /** @class */ (function () {
|
576
|
+
function ModBan() {
|
577
|
+
}
|
578
|
+
__decorate([
|
579
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
580
|
+
var value = _a.value;
|
581
|
+
return (0, utils_1.toOption)(value);
|
582
|
+
}, { toClassOnly: true }),
|
583
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
584
|
+
var value = _a.value;
|
585
|
+
return (0, utils_1.toUndefined)(value);
|
586
|
+
}, { toPlainOnly: true }),
|
587
|
+
(0, class_transformer_1.Expose)()
|
588
|
+
], ModBan.prototype, "reason", void 0);
|
589
|
+
__decorate([
|
590
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
591
|
+
var value = _a.value;
|
592
|
+
return (0, utils_1.toOption)(value);
|
593
|
+
}, { toClassOnly: true }),
|
594
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
595
|
+
var value = _a.value;
|
596
|
+
return (0, utils_1.toUndefined)(value);
|
597
|
+
}, { toPlainOnly: true }),
|
598
|
+
(0, class_transformer_1.Expose)()
|
599
|
+
], ModBan.prototype, "banned", void 0);
|
600
|
+
__decorate([
|
601
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
602
|
+
var value = _a.value;
|
603
|
+
return (0, utils_1.toOption)(value);
|
604
|
+
}, { toClassOnly: true }),
|
605
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
606
|
+
var value = _a.value;
|
607
|
+
return (0, utils_1.toUndefined)(value);
|
608
|
+
}, { toPlainOnly: true }),
|
609
|
+
(0, class_transformer_1.Expose)()
|
610
|
+
], ModBan.prototype, "expires", void 0);
|
611
|
+
return ModBan;
|
612
|
+
}());
|
613
|
+
exports.ModBan = ModBan;
|
614
|
+
var ModAddCommunity = /** @class */ (function () {
|
615
|
+
function ModAddCommunity() {
|
616
|
+
}
|
617
|
+
__decorate([
|
618
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
619
|
+
var value = _a.value;
|
620
|
+
return (0, utils_1.toOption)(value);
|
621
|
+
}, { toClassOnly: true }),
|
622
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
623
|
+
var value = _a.value;
|
624
|
+
return (0, utils_1.toUndefined)(value);
|
625
|
+
}, { toPlainOnly: true }),
|
626
|
+
(0, class_transformer_1.Expose)()
|
627
|
+
], ModAddCommunity.prototype, "removed", void 0);
|
628
|
+
return ModAddCommunity;
|
629
|
+
}());
|
630
|
+
exports.ModAddCommunity = ModAddCommunity;
|
631
|
+
var ModTransferCommunity = /** @class */ (function () {
|
632
|
+
function ModTransferCommunity() {
|
633
|
+
}
|
634
|
+
__decorate([
|
635
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
636
|
+
var value = _a.value;
|
637
|
+
return (0, utils_1.toOption)(value);
|
638
|
+
}, { toClassOnly: true }),
|
639
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
640
|
+
var value = _a.value;
|
641
|
+
return (0, utils_1.toUndefined)(value);
|
642
|
+
}, { toPlainOnly: true }),
|
643
|
+
(0, class_transformer_1.Expose)()
|
644
|
+
], ModTransferCommunity.prototype, "removed", void 0);
|
645
|
+
return ModTransferCommunity;
|
646
|
+
}());
|
647
|
+
exports.ModTransferCommunity = ModTransferCommunity;
|
648
|
+
var ModAdd = /** @class */ (function () {
|
649
|
+
function ModAdd() {
|
650
|
+
}
|
651
|
+
__decorate([
|
652
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
653
|
+
var value = _a.value;
|
654
|
+
return (0, utils_1.toOption)(value);
|
655
|
+
}, { toClassOnly: true }),
|
656
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
657
|
+
var value = _a.value;
|
658
|
+
return (0, utils_1.toUndefined)(value);
|
659
|
+
}, { toPlainOnly: true }),
|
660
|
+
(0, class_transformer_1.Expose)()
|
661
|
+
], ModAdd.prototype, "removed", void 0);
|
662
|
+
return ModAdd;
|
663
|
+
}());
|
664
|
+
exports.ModAdd = ModAdd;
|
665
|
+
var AdminPurgePerson = /** @class */ (function () {
|
666
|
+
function AdminPurgePerson() {
|
667
|
+
}
|
668
|
+
__decorate([
|
669
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
670
|
+
var value = _a.value;
|
671
|
+
return (0, utils_1.toOption)(value);
|
672
|
+
}, { toClassOnly: true }),
|
673
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
674
|
+
var value = _a.value;
|
675
|
+
return (0, utils_1.toUndefined)(value);
|
676
|
+
}, { toPlainOnly: true }),
|
677
|
+
(0, class_transformer_1.Expose)()
|
678
|
+
], AdminPurgePerson.prototype, "reason", void 0);
|
679
|
+
return AdminPurgePerson;
|
680
|
+
}());
|
681
|
+
exports.AdminPurgePerson = AdminPurgePerson;
|
682
|
+
var AdminPurgeCommunity = /** @class */ (function () {
|
683
|
+
function AdminPurgeCommunity() {
|
684
|
+
}
|
685
|
+
__decorate([
|
686
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
687
|
+
var value = _a.value;
|
688
|
+
return (0, utils_1.toOption)(value);
|
689
|
+
}, { toClassOnly: true }),
|
690
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
691
|
+
var value = _a.value;
|
692
|
+
return (0, utils_1.toUndefined)(value);
|
693
|
+
}, { toPlainOnly: true }),
|
694
|
+
(0, class_transformer_1.Expose)()
|
695
|
+
], AdminPurgeCommunity.prototype, "reason", void 0);
|
696
|
+
return AdminPurgeCommunity;
|
697
|
+
}());
|
698
|
+
exports.AdminPurgeCommunity = AdminPurgeCommunity;
|
699
|
+
var AdminPurgePost = /** @class */ (function () {
|
700
|
+
function AdminPurgePost() {
|
701
|
+
}
|
702
|
+
__decorate([
|
703
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
704
|
+
var value = _a.value;
|
705
|
+
return (0, utils_1.toOption)(value);
|
706
|
+
}, { toClassOnly: true }),
|
707
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
708
|
+
var value = _a.value;
|
709
|
+
return (0, utils_1.toUndefined)(value);
|
710
|
+
}, { toPlainOnly: true }),
|
711
|
+
(0, class_transformer_1.Expose)()
|
712
|
+
], AdminPurgePost.prototype, "reason", void 0);
|
713
|
+
return AdminPurgePost;
|
714
|
+
}());
|
715
|
+
exports.AdminPurgePost = AdminPurgePost;
|
716
|
+
var AdminPurgeComment = /** @class */ (function () {
|
717
|
+
function AdminPurgeComment() {
|
718
|
+
}
|
719
|
+
__decorate([
|
720
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
721
|
+
var value = _a.value;
|
722
|
+
return (0, utils_1.toOption)(value);
|
723
|
+
}, { toClassOnly: true }),
|
724
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
725
|
+
var value = _a.value;
|
726
|
+
return (0, utils_1.toUndefined)(value);
|
727
|
+
}, { toPlainOnly: true }),
|
728
|
+
(0, class_transformer_1.Expose)()
|
729
|
+
], AdminPurgeComment.prototype, "reason", void 0);
|
730
|
+
return AdminPurgeComment;
|
731
|
+
}());
|
732
|
+
exports.AdminPurgeComment = AdminPurgeComment;
|
733
|
+
var CommunitySafe = /** @class */ (function () {
|
734
|
+
function CommunitySafe() {
|
735
|
+
}
|
736
|
+
__decorate([
|
737
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
738
|
+
var value = _a.value;
|
739
|
+
return (0, utils_1.toOption)(value);
|
740
|
+
}, { toClassOnly: true }),
|
741
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
742
|
+
var value = _a.value;
|
743
|
+
return (0, utils_1.toUndefined)(value);
|
744
|
+
}, { toPlainOnly: true }),
|
745
|
+
(0, class_transformer_1.Expose)()
|
746
|
+
], CommunitySafe.prototype, "description", void 0);
|
747
|
+
__decorate([
|
748
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
749
|
+
var value = _a.value;
|
750
|
+
return (0, utils_1.toOption)(value);
|
751
|
+
}, { toClassOnly: true }),
|
752
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
753
|
+
var value = _a.value;
|
754
|
+
return (0, utils_1.toUndefined)(value);
|
755
|
+
}, { toPlainOnly: true }),
|
756
|
+
(0, class_transformer_1.Expose)()
|
757
|
+
], CommunitySafe.prototype, "updated", void 0);
|
758
|
+
__decorate([
|
759
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
760
|
+
var value = _a.value;
|
761
|
+
return (0, utils_1.toOption)(value);
|
762
|
+
}, { toClassOnly: true }),
|
763
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
764
|
+
var value = _a.value;
|
765
|
+
return (0, utils_1.toUndefined)(value);
|
766
|
+
}, { toPlainOnly: true }),
|
767
|
+
(0, class_transformer_1.Expose)()
|
768
|
+
], CommunitySafe.prototype, "icon", void 0);
|
769
|
+
__decorate([
|
770
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
771
|
+
var value = _a.value;
|
772
|
+
return (0, utils_1.toOption)(value);
|
773
|
+
}, { toClassOnly: true }),
|
774
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
775
|
+
var value = _a.value;
|
776
|
+
return (0, utils_1.toUndefined)(value);
|
777
|
+
}, { toPlainOnly: true }),
|
778
|
+
(0, class_transformer_1.Expose)()
|
779
|
+
], CommunitySafe.prototype, "banner", void 0);
|
780
|
+
return CommunitySafe;
|
781
|
+
}());
|
782
|
+
exports.CommunitySafe = CommunitySafe;
|
783
|
+
var CommentReport = /** @class */ (function () {
|
784
|
+
function CommentReport() {
|
785
|
+
}
|
786
|
+
__decorate([
|
787
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
788
|
+
var value = _a.value;
|
789
|
+
return (0, utils_1.toOption)(value);
|
790
|
+
}, { toClassOnly: true }),
|
791
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
792
|
+
var value = _a.value;
|
793
|
+
return (0, utils_1.toUndefined)(value);
|
794
|
+
}, { toPlainOnly: true }),
|
795
|
+
(0, class_transformer_1.Expose)()
|
796
|
+
], CommentReport.prototype, "resolver_id", void 0);
|
797
|
+
__decorate([
|
798
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
799
|
+
var value = _a.value;
|
800
|
+
return (0, utils_1.toOption)(value);
|
801
|
+
}, { toClassOnly: true }),
|
802
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
803
|
+
var value = _a.value;
|
804
|
+
return (0, utils_1.toUndefined)(value);
|
805
|
+
}, { toPlainOnly: true }),
|
806
|
+
(0, class_transformer_1.Expose)()
|
807
|
+
], CommentReport.prototype, "updated", void 0);
|
808
|
+
return CommentReport;
|
809
|
+
}());
|
810
|
+
exports.CommentReport = CommentReport;
|
811
|
+
var Comment = /** @class */ (function () {
|
812
|
+
function Comment() {
|
813
|
+
}
|
814
|
+
__decorate([
|
815
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
816
|
+
var value = _a.value;
|
817
|
+
return (0, utils_1.toOption)(value);
|
818
|
+
}, { toClassOnly: true }),
|
819
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
820
|
+
var value = _a.value;
|
821
|
+
return (0, utils_1.toUndefined)(value);
|
822
|
+
}, { toPlainOnly: true }),
|
823
|
+
(0, class_transformer_1.Expose)()
|
824
|
+
], Comment.prototype, "updated", void 0);
|
825
|
+
return Comment;
|
826
|
+
}());
|
827
|
+
exports.Comment = Comment;
|
828
|
+
var PersonMention = /** @class */ (function () {
|
829
|
+
function PersonMention() {
|
830
|
+
}
|
831
|
+
return PersonMention;
|
832
|
+
}());
|
833
|
+
exports.PersonMention = PersonMention;
|
834
|
+
var CommentReply = /** @class */ (function () {
|
835
|
+
function CommentReply() {
|
836
|
+
}
|
837
|
+
return CommentReply;
|
838
|
+
}());
|
839
|
+
exports.CommentReply = CommentReply;
|
840
|
+
var RegistrationApplication = /** @class */ (function () {
|
841
|
+
function RegistrationApplication() {
|
842
|
+
}
|
843
|
+
__decorate([
|
844
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
845
|
+
var value = _a.value;
|
846
|
+
return (0, utils_1.toOption)(value);
|
847
|
+
}, { toClassOnly: true }),
|
848
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
849
|
+
var value = _a.value;
|
850
|
+
return (0, utils_1.toUndefined)(value);
|
851
|
+
}, { toPlainOnly: true }),
|
852
|
+
(0, class_transformer_1.Expose)()
|
853
|
+
], RegistrationApplication.prototype, "admin_id", void 0);
|
854
|
+
__decorate([
|
855
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
856
|
+
var value = _a.value;
|
857
|
+
return (0, utils_1.toOption)(value);
|
858
|
+
}, { toClassOnly: true }),
|
859
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
860
|
+
var value = _a.value;
|
861
|
+
return (0, utils_1.toUndefined)(value);
|
862
|
+
}, { toPlainOnly: true }),
|
863
|
+
(0, class_transformer_1.Expose)()
|
864
|
+
], RegistrationApplication.prototype, "deny_reason", void 0);
|
865
|
+
return RegistrationApplication;
|
866
|
+
}());
|
867
|
+
exports.RegistrationApplication = RegistrationApplication;
|
868
|
+
var Language = /** @class */ (function () {
|
869
|
+
function Language() {
|
870
|
+
}
|
871
|
+
return Language;
|
872
|
+
}());
|
873
|
+
exports.Language = Language;
|
874
|
+
var PrivateMessageReport = /** @class */ (function () {
|
875
|
+
function PrivateMessageReport() {
|
876
|
+
}
|
877
|
+
__decorate([
|
878
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
879
|
+
var value = _a.value;
|
880
|
+
return (0, utils_1.toOption)(value);
|
881
|
+
}, { toClassOnly: true }),
|
882
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
883
|
+
var value = _a.value;
|
884
|
+
return (0, utils_1.toUndefined)(value);
|
885
|
+
}, { toPlainOnly: true }),
|
886
|
+
(0, class_transformer_1.Expose)()
|
887
|
+
], PrivateMessageReport.prototype, "resolver_id", void 0);
|
888
|
+
__decorate([
|
889
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
890
|
+
var value = _a.value;
|
891
|
+
return (0, utils_1.toOption)(value);
|
892
|
+
}, { toClassOnly: true }),
|
893
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
894
|
+
var value = _a.value;
|
895
|
+
return (0, utils_1.toUndefined)(value);
|
896
|
+
}, { toPlainOnly: true }),
|
897
|
+
(0, class_transformer_1.Expose)()
|
898
|
+
], PrivateMessageReport.prototype, "updated", void 0);
|
899
|
+
return PrivateMessageReport;
|
900
|
+
}());
|
901
|
+
exports.PrivateMessageReport = PrivateMessageReport;
|