@tgsnake/skema 1.7.0 → 1.10.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/LICENSE +0 -0
- package/README.md +1 -1
- package/dist/errors/exceptions/All.d.ts +101 -1
- package/dist/errors/exceptions/All.js +101 -1
- package/dist/errors/exceptions/BadRequest400.d.ts +320 -0
- package/dist/errors/exceptions/BadRequest400.js +422 -20
- package/dist/errors/exceptions/Flood420.d.ts +4 -0
- package/dist/errors/exceptions/Flood420.js +6 -1
- package/dist/errors/exceptions/Forbidden403.d.ts +24 -0
- package/dist/errors/exceptions/Forbidden403.js +32 -2
- package/dist/errors/exceptions/InternalServerError500.d.ts +20 -0
- package/dist/errors/exceptions/InternalServerError500.js +27 -2
- package/dist/errors/exceptions/NotAcceptable406.d.ts +28 -0
- package/dist/errors/exceptions/NotAcceptable406.js +37 -2
- package/dist/errors/exceptions/NotFound404.d.ts +4 -0
- package/dist/errors/exceptions/NotFound404.js +6 -1
- package/dist/raw/All.d.ts +48 -28
- package/dist/raw/All.js +48 -28
- package/dist/raw/Raw.d.ts +263 -13
- package/dist/raw/Raw.js +988 -89
- package/package.json +1 -1
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const count =
|
|
1
|
+
declare const count = 844;
|
|
2
2
|
declare const Exceptions: {
|
|
3
3
|
303: {
|
|
4
4
|
_: string;
|
|
@@ -52,6 +52,7 @@ declare const Exceptions: {
|
|
|
52
52
|
BOT_COMMAND_DESCRIPTION_INVALID: string;
|
|
53
53
|
BOT_COMMAND_INVALID: string;
|
|
54
54
|
BOT_DOMAIN_INVALID: string;
|
|
55
|
+
BOT_FALLBACK_UNSUPPORTED: string;
|
|
55
56
|
BOT_GAMES_DISABLED: string;
|
|
56
57
|
BOT_GROUPS_BLOCKED: string;
|
|
57
58
|
BOT_INLINE_DISABLED: string;
|
|
@@ -69,6 +70,8 @@ declare const Exceptions: {
|
|
|
69
70
|
BROADCAST_ID_INVALID: string;
|
|
70
71
|
BROADCAST_PUBLIC_VOTERS_FORBIDDEN: string;
|
|
71
72
|
BROADCAST_REQUIRED: string;
|
|
73
|
+
BUSINESS_CONNECTION_INVALID: string;
|
|
74
|
+
BUSINESS_CONNECTION_NOT_ALLOWED: string;
|
|
72
75
|
BUSINESS_PEER_INVALID: string;
|
|
73
76
|
BUSINESS_PEER_USAGE_MISSING: string;
|
|
74
77
|
BUSINESS_RECIPIENTS_EMPTY: string;
|
|
@@ -77,6 +80,7 @@ declare const Exceptions: {
|
|
|
77
80
|
BUTTON_COPY_TEXT_INVALID: string;
|
|
78
81
|
BUTTON_DATA_INVALID: string;
|
|
79
82
|
BUTTON_ID_INVALID: string;
|
|
83
|
+
BUTTON_INVALID: string;
|
|
80
84
|
BUTTON_POS_INVALID: string;
|
|
81
85
|
BUTTON_TEXT_INVALID: string;
|
|
82
86
|
BUTTON_TYPE_INVALID: string;
|
|
@@ -88,6 +92,7 @@ declare const Exceptions: {
|
|
|
88
92
|
CALL_OCCUPY_FAILED: string;
|
|
89
93
|
CALL_PEER_INVALID: string;
|
|
90
94
|
CALL_PROTOCOL_FLAGS_INVALID: string;
|
|
95
|
+
CALL_PROTOCOL_LAYER_INVALID: string;
|
|
91
96
|
CDN_METHOD_INVALID: string;
|
|
92
97
|
CHANNELS_ADMIN_LOCATED_TOO_MUCH: string;
|
|
93
98
|
CHANNELS_ADMIN_PUBLIC_TOO_MUCH: string;
|
|
@@ -97,11 +102,14 @@ declare const Exceptions: {
|
|
|
97
102
|
CHANNEL_FORUM_MISSING: string;
|
|
98
103
|
CHANNEL_ID_INVALID: string;
|
|
99
104
|
CHANNEL_INVALID: string;
|
|
105
|
+
CHANNEL_MONOFORUM_UNSUPPORTED: string;
|
|
100
106
|
CHANNEL_PARICIPANT_MISSING: string;
|
|
101
107
|
CHANNEL_PRIVATE: string;
|
|
102
108
|
CHANNEL_TOO_BIG: string;
|
|
103
109
|
CHANNEL_TOO_LARGE: string;
|
|
104
110
|
CHARGE_ALREADY_REFUNDED: string;
|
|
111
|
+
CHARGE_ID_EMPTY: string;
|
|
112
|
+
CHARGE_ID_INVALID: string;
|
|
105
113
|
CHATLINKS_TOO_MUCH: string;
|
|
106
114
|
CHATLINK_SLUG_EMPTY: string;
|
|
107
115
|
CHATLINK_SLUG_EXPIRED: string;
|
|
@@ -130,6 +138,7 @@ declare const Exceptions: {
|
|
|
130
138
|
CODE_INVALID: string;
|
|
131
139
|
COLLECTIBLE_INVALID: string;
|
|
132
140
|
COLLECTIBLE_NOT_FOUND: string;
|
|
141
|
+
COLLECTION_ID_INVALID: string;
|
|
133
142
|
COLOR_INVALID: string;
|
|
134
143
|
CONNECTION_API_ID_INVALID: string;
|
|
135
144
|
CONNECTION_APP_VERSION_EMPTY: string;
|
|
@@ -146,8 +155,10 @@ declare const Exceptions: {
|
|
|
146
155
|
CONTACT_NAME_EMPTY: string;
|
|
147
156
|
CONTACT_REQ_MISSING: string;
|
|
148
157
|
CREATE_CALL_FAILED: string;
|
|
158
|
+
CREDENTIAL_INVALID: string;
|
|
149
159
|
CURRENCY_TOTAL_AMOUNT_INVALID: string;
|
|
150
160
|
CUSTOM_REACTIONS_TOO_MANY: string;
|
|
161
|
+
DATA_HASH_SIZE_INVALID: string;
|
|
151
162
|
DATA_INVALID: string;
|
|
152
163
|
DATA_JSON_INVALID: string;
|
|
153
164
|
DATA_TOO_LONG: string;
|
|
@@ -155,7 +166,10 @@ declare const Exceptions: {
|
|
|
155
166
|
DC_ID_INVALID: string;
|
|
156
167
|
DH_G_A_INVALID: string;
|
|
157
168
|
DOCUMENT_INVALID: string;
|
|
169
|
+
EFFECT_CHAT_INVALID: string;
|
|
170
|
+
EFFECT_ID_INVALID: string;
|
|
158
171
|
EMAIL_HASH_EXPIRED: string;
|
|
172
|
+
EMAIL_INSTALL_MISSING: string;
|
|
159
173
|
EMAIL_INVALID: string;
|
|
160
174
|
EMAIL_NOT_ALLOWED: string;
|
|
161
175
|
EMAIL_NOT_SETUP: string;
|
|
@@ -177,9 +191,12 @@ declare const Exceptions: {
|
|
|
177
191
|
ENTITY_BOUNDS_INVALID: string;
|
|
178
192
|
ENTITY_MENTION_USER_INVALID: string;
|
|
179
193
|
ERROR_TEXT_EMPTY: string;
|
|
194
|
+
EXPIRES_AT_INVALID: string;
|
|
180
195
|
EXPIRE_DATE_INVALID: string;
|
|
181
196
|
EXPORT_CARD_INVALID: string;
|
|
182
197
|
EXTENDED_MEDIA_AMOUNT_INVALID: string;
|
|
198
|
+
EXTENDED_MEDIA_EMPTY: string;
|
|
199
|
+
EXTENDED_MEDIA_INVALID: string;
|
|
183
200
|
EXTERNAL_URL_INVALID: string;
|
|
184
201
|
FIELD_NAME_EMPTY: string;
|
|
185
202
|
FIELD_NAME_INVALID: string;
|
|
@@ -200,6 +217,7 @@ declare const Exceptions: {
|
|
|
200
217
|
FILE_REFERENCE_EMPTY: string;
|
|
201
218
|
FILE_REFERENCE_EXPIRED: string;
|
|
202
219
|
FILE_REFERENCE_INVALID: string;
|
|
220
|
+
FILE_REFERENCE_X_EMPTY: string;
|
|
203
221
|
FILE_REFERENCE_X_EXPIRED: string;
|
|
204
222
|
FILE_REFERENCE_X_INVALID: string;
|
|
205
223
|
FILE_TITLE_EMPTY: string;
|
|
@@ -213,16 +231,20 @@ declare const Exceptions: {
|
|
|
213
231
|
FOLDER_ID_INVALID: string;
|
|
214
232
|
FORM_EXPIRED: string;
|
|
215
233
|
FORM_ID_EMPTY: string;
|
|
234
|
+
FORM_SUBMIT_DUPLICATE: string;
|
|
216
235
|
FORM_UNSUPPORTED: string;
|
|
217
236
|
FORUM_ENABLED: string;
|
|
218
237
|
FRESH_CHANGE_ADMINS_FORBIDDEN: string;
|
|
219
238
|
FROM_MESSAGE_BOT_DISABLED: string;
|
|
220
239
|
FROM_PEER_INVALID: string;
|
|
240
|
+
FROZEN_PARTICIPANT_MISSING: string;
|
|
221
241
|
GAME_BOT_INVALID: string;
|
|
222
242
|
GENERAL_MODIFY_ICON_FORBIDDEN: string;
|
|
223
243
|
GEO_POINT_INVALID: string;
|
|
244
|
+
GIFT_MONTHS_INVALID: string;
|
|
224
245
|
GIFT_SLUG_EXPIRED: string;
|
|
225
246
|
GIFT_SLUG_INVALID: string;
|
|
247
|
+
GIFT_STARS_INVALID: string;
|
|
226
248
|
GIF_CONTENT_TYPE_INVALID: string;
|
|
227
249
|
GIF_ID_INVALID: string;
|
|
228
250
|
GRAPH_EXPIRED_RELOAD: string;
|
|
@@ -238,6 +260,7 @@ declare const Exceptions: {
|
|
|
238
260
|
GROUP_CALL_INVALID: string;
|
|
239
261
|
HASHTAG_INVALID: string;
|
|
240
262
|
HASH_INVALID: string;
|
|
263
|
+
HASH_SIZE_INVALID: string;
|
|
241
264
|
HIDE_REQUESTER_MISSING: string;
|
|
242
265
|
ID_EXPIRED: string;
|
|
243
266
|
ID_INVALID: string;
|
|
@@ -258,7 +281,10 @@ declare const Exceptions: {
|
|
|
258
281
|
INPUT_LAYER_INVALID: string;
|
|
259
282
|
INPUT_METHOD_INVALID: string;
|
|
260
283
|
INPUT_PEERS_EMPTY: string;
|
|
284
|
+
INPUT_PURPOSE_INVALID: string;
|
|
261
285
|
INPUT_REQUEST_TOO_LONG: string;
|
|
286
|
+
INPUT_STARS_AMOUNT_INVALID: string;
|
|
287
|
+
INPUT_STARS_NANOS_INVALID: string;
|
|
262
288
|
INPUT_TEXT_EMPTY: string;
|
|
263
289
|
INPUT_TEXT_TOO_LONG: string;
|
|
264
290
|
INPUT_USER_DEACTIVATED: string;
|
|
@@ -272,6 +298,7 @@ declare const Exceptions: {
|
|
|
272
298
|
INVITE_SLUG_EMPTY: string;
|
|
273
299
|
INVITE_SLUG_EXPIRED: string;
|
|
274
300
|
INVITE_SLUG_INVALID: string;
|
|
301
|
+
INVOICE_INVALID: string;
|
|
275
302
|
INVOICE_PAYLOAD_INVALID: string;
|
|
276
303
|
JOIN_AS_PEER_INVALID: string;
|
|
277
304
|
LANGUAGE_INVALID: string;
|
|
@@ -286,6 +313,7 @@ declare const Exceptions: {
|
|
|
286
313
|
MAX_ID_INVALID: string;
|
|
287
314
|
MAX_QTS_INVALID: string;
|
|
288
315
|
MD5_CHECKSUM_INVALID: string;
|
|
316
|
+
MEDIA_ALREADY_PAID: string;
|
|
289
317
|
MEDIA_CAPTION_TOO_LONG: string;
|
|
290
318
|
MEDIA_EMPTY: string;
|
|
291
319
|
MEDIA_FILE_INVALID: string;
|
|
@@ -307,20 +335,26 @@ declare const Exceptions: {
|
|
|
307
335
|
MESSAGE_NOT_MODIFIED: string;
|
|
308
336
|
MESSAGE_NOT_READ_YET: string;
|
|
309
337
|
MESSAGE_POLL_CLOSED: string;
|
|
338
|
+
MESSAGE_REQUIRED: string;
|
|
310
339
|
MESSAGE_TOO_LONG: string;
|
|
311
340
|
MESSAGE_TOO_OLD: string;
|
|
312
341
|
METHOD_INVALID: string;
|
|
313
342
|
MIN_DATE_INVALID: string;
|
|
343
|
+
MONTH_INVALID: string;
|
|
314
344
|
MSG_ID_INVALID: string;
|
|
315
345
|
MSG_TOO_OLD: string;
|
|
346
|
+
MSG_VOICE_MISSING: string;
|
|
316
347
|
MSG_WAIT_FAILED: string;
|
|
317
348
|
MULTI_MEDIA_TOO_LONG: string;
|
|
349
|
+
NEED_ACTION_MISSING: string;
|
|
318
350
|
NEW_SALT_INVALID: string;
|
|
319
351
|
NEW_SETTINGS_EMPTY: string;
|
|
320
352
|
NEW_SETTINGS_INVALID: string;
|
|
321
353
|
NEXT_OFFSET_INVALID: string;
|
|
354
|
+
NOGENERAL_HIDE_FORBIDDEN: string;
|
|
322
355
|
NOT_ELIGIBLE: string;
|
|
323
356
|
NOT_JOINED: string;
|
|
357
|
+
NO_PAYMENT_NEEDED: string;
|
|
324
358
|
OFFSET_INVALID: string;
|
|
325
359
|
OFFSET_PEER_ID_INVALID: string;
|
|
326
360
|
OPTIONS_TOO_MUCH: string;
|
|
@@ -329,6 +363,8 @@ declare const Exceptions: {
|
|
|
329
363
|
PACK_SHORT_NAME_INVALID: string;
|
|
330
364
|
PACK_SHORT_NAME_OCCUPIED: string;
|
|
331
365
|
PACK_TITLE_INVALID: string;
|
|
366
|
+
PACK_TYPE_INVALID: string;
|
|
367
|
+
PARENT_PEER_INVALID: string;
|
|
332
368
|
PARTICIPANTS_TOO_FEW: string;
|
|
333
369
|
PARTICIPANT_ID_INVALID: string;
|
|
334
370
|
PARTICIPANT_JOIN_MISSING: string;
|
|
@@ -340,7 +376,9 @@ declare const Exceptions: {
|
|
|
340
376
|
PASSWORD_RECOVERY_NA: string;
|
|
341
377
|
PASSWORD_REQUIRED: string;
|
|
342
378
|
PASSWORD_TOO_FRESH_X: string;
|
|
379
|
+
PAYMENT_CREDENTIALS_INVALID: string;
|
|
343
380
|
PAYMENT_PROVIDER_INVALID: string;
|
|
381
|
+
PAYMENT_REQUIRED: string;
|
|
344
382
|
PEERS_LIST_EMPTY: string;
|
|
345
383
|
PEER_FLOOD: string;
|
|
346
384
|
PEER_HISTORY_EMPTY: string;
|
|
@@ -375,6 +413,8 @@ declare const Exceptions: {
|
|
|
375
413
|
PHOTO_THUMB_URL_EMPTY: string;
|
|
376
414
|
PHOTO_THUMB_URL_INVALID: string;
|
|
377
415
|
PINNED_DIALOGS_TOO_MUCH: string;
|
|
416
|
+
PINNED_TOO_MUCH: string;
|
|
417
|
+
PINNED_TOPIC_NOT_MODIFIED: string;
|
|
378
418
|
PIN_RESTRICTED: string;
|
|
379
419
|
POLL_ANSWERS_INVALID: string;
|
|
380
420
|
POLL_ANSWER_INVALID: string;
|
|
@@ -384,14 +424,17 @@ declare const Exceptions: {
|
|
|
384
424
|
POLL_UNSUPPORTED: string;
|
|
385
425
|
POLL_VOTE_REQUIRED: string;
|
|
386
426
|
PREMIUM_ACCOUNT_REQUIRED: string;
|
|
427
|
+
PREMIUM_PURPOSE_INVALID: string;
|
|
387
428
|
PRICING_CHAT_INVALID: string;
|
|
388
429
|
PRIVACY_KEY_INVALID: string;
|
|
389
430
|
PRIVACY_TOO_LONG: string;
|
|
390
431
|
PRIVACY_VALUE_INVALID: string;
|
|
391
432
|
PUBLIC_KEY_REQUIRED: string;
|
|
433
|
+
PURPOSE_INVALID: string;
|
|
392
434
|
QUERY_ID_EMPTY: string;
|
|
393
435
|
QUERY_ID_INVALID: string;
|
|
394
436
|
QUERY_TOO_SHORT: string;
|
|
437
|
+
QUICK_REPLIES_BOT_NOT_ALLOWED: string;
|
|
395
438
|
QUICK_REPLIES_TOO_MUCH: string;
|
|
396
439
|
QUIZ_ANSWER_MISSING: string;
|
|
397
440
|
QUIZ_CORRECT_ANSWERS_EMPTY: string;
|
|
@@ -401,9 +444,11 @@ declare const Exceptions: {
|
|
|
401
444
|
QUOTE_TEXT_INVALID: string;
|
|
402
445
|
RAISE_HAND_FORBIDDEN: string;
|
|
403
446
|
RANDOM_ID_EMPTY: string;
|
|
447
|
+
RANDOM_ID_EXPIRED: string;
|
|
404
448
|
RANDOM_ID_INVALID: string;
|
|
405
449
|
RANDOM_LENGTH_INVALID: string;
|
|
406
450
|
RANGES_INVALID: string;
|
|
451
|
+
REACTIONS_COUNT_INVALID: string;
|
|
407
452
|
REACTIONS_TOO_MANY: string;
|
|
408
453
|
REACTION_EMPTY: string;
|
|
409
454
|
REACTION_INVALID: string;
|
|
@@ -416,8 +461,11 @@ declare const Exceptions: {
|
|
|
416
461
|
REPLY_MESSAGES_TOO_MUCH: string;
|
|
417
462
|
REPLY_MESSAGE_ID_INVALID: string;
|
|
418
463
|
REPLY_TO_INVALID: string;
|
|
464
|
+
REPLY_TO_MONOFORUM_PEER_INVALID: string;
|
|
419
465
|
REPLY_TO_USER_INVALID: string;
|
|
420
466
|
REQUEST_TOKEN_INVALID: string;
|
|
467
|
+
RESELL_STARS_TOO_FEW: string;
|
|
468
|
+
RESELL_STARS_TOO_MUCH: string;
|
|
421
469
|
RESET_REQUEST_MISSING: string;
|
|
422
470
|
RESULTS_TOO_MUCH: string;
|
|
423
471
|
RESULT_ID_DUPLICATE: string;
|
|
@@ -429,6 +477,8 @@ declare const Exceptions: {
|
|
|
429
477
|
RINGTONE_INVALID: string;
|
|
430
478
|
RINGTONE_MIME_INVALID: string;
|
|
431
479
|
RSA_DECRYPT_FAILED: string;
|
|
480
|
+
SAVED_ID_EMPTY: string;
|
|
481
|
+
SAVED_PEER_INVALID: string;
|
|
432
482
|
SCHEDULE_BOT_NOT_ALLOWED: string;
|
|
433
483
|
SCHEDULE_DATE_INVALID: string;
|
|
434
484
|
SCHEDULE_DATE_TOO_LATE: string;
|
|
@@ -439,7 +489,9 @@ declare const Exceptions: {
|
|
|
439
489
|
SEARCH_WITH_LINK_NOT_SUPPORTED: string;
|
|
440
490
|
SECONDS_INVALID: string;
|
|
441
491
|
SECURE_SECRET_REQUIRED: string;
|
|
492
|
+
SELF_DELETE_RESTRICTED: string;
|
|
442
493
|
SEND_AS_PEER_INVALID: string;
|
|
494
|
+
SEND_MESSAGE_GAME_INVALID: string;
|
|
443
495
|
SEND_MESSAGE_MEDIA_INVALID: string;
|
|
444
496
|
SEND_MESSAGE_TYPE_INVALID: string;
|
|
445
497
|
SESSION_TOO_FRESH_X: string;
|
|
@@ -457,13 +509,32 @@ declare const Exceptions: {
|
|
|
457
509
|
SRP_A_INVALID: string;
|
|
458
510
|
SRP_ID_INVALID: string;
|
|
459
511
|
SRP_PASSWORD_CHANGED: string;
|
|
512
|
+
STARGIFT_ALREADY_CONVERTED: string;
|
|
513
|
+
STARGIFT_ALREADY_REFUNDED: string;
|
|
514
|
+
STARGIFT_ALREADY_UPGRADED: string;
|
|
515
|
+
STARGIFT_ATTRIBUTE_INVALID: string;
|
|
460
516
|
STARGIFT_INVALID: string;
|
|
517
|
+
STARGIFT_MESSAGE_INVALID: string;
|
|
518
|
+
STARGIFT_NOT_FOUND: string;
|
|
519
|
+
STARGIFT_NOT_OWNER: string;
|
|
520
|
+
STARGIFT_NOT_UNIQUE: string;
|
|
521
|
+
STARGIFT_OFFER_INVALID: string;
|
|
522
|
+
STARGIFT_OFFER_NOT_ALLOWED: string;
|
|
523
|
+
STARGIFT_OWNER_INVALID: string;
|
|
524
|
+
STARGIFT_PEER_INVALID: string;
|
|
525
|
+
STARGIFT_RESELL_CURRENCY_NOT_ALLOWED: string;
|
|
526
|
+
STARGIFT_RESELL_TOO_EARLY_X: string;
|
|
527
|
+
STARGIFT_SLUG_INVALID: string;
|
|
528
|
+
STARGIFT_TRANSFER_TOO_EARLY_X: string;
|
|
529
|
+
STARGIFT_UPGRADE_UNAVAILABLE: string;
|
|
461
530
|
STARGIFT_USAGE_LIMITED: string;
|
|
531
|
+
STARGIFT_USER_USAGE_LIMITED: string;
|
|
462
532
|
STARREF_AWAITING_END: string;
|
|
463
533
|
STARREF_EXPIRED: string;
|
|
464
534
|
STARREF_HASH_REVOKED: string;
|
|
465
535
|
STARREF_PERMILLE_INVALID: string;
|
|
466
536
|
STARREF_PERMILLE_TOO_LOW: string;
|
|
537
|
+
STARS_AMOUNT_INVALID: string;
|
|
467
538
|
STARS_INVOICE_INVALID: string;
|
|
468
539
|
STARS_PAYMENT_REQUIRED: string;
|
|
469
540
|
START_PARAM_EMPTY: string;
|
|
@@ -499,7 +570,10 @@ declare const Exceptions: {
|
|
|
499
570
|
STORY_SEND_FLOOD_MONTHLY_X: string;
|
|
500
571
|
STORY_SEND_FLOOD_WEEKLY_X: string;
|
|
501
572
|
SUBSCRIPTION_EXPORT_MISSING: string;
|
|
573
|
+
SUBSCRIPTION_ID_INVALID: string;
|
|
502
574
|
SUBSCRIPTION_PERIOD_INVALID: string;
|
|
575
|
+
SUGGESTED_POST_AMOUNT_INVALID: string;
|
|
576
|
+
SUGGESTED_POST_PEER_INVALID: string;
|
|
503
577
|
SWITCH_PM_TEXT_EMPTY: string;
|
|
504
578
|
SWITCH_WEBVIEW_URL_INVALID: string;
|
|
505
579
|
TAKEOUT_INVALID: string;
|
|
@@ -513,11 +587,15 @@ declare const Exceptions: {
|
|
|
513
587
|
THEME_INVALID: string;
|
|
514
588
|
THEME_MIME_INVALID: string;
|
|
515
589
|
THEME_PARAMS_INVALID: string;
|
|
590
|
+
THEME_SLUG_INVALID: string;
|
|
516
591
|
THEME_TITLE_INVALID: string;
|
|
517
592
|
TIMEZONE_INVALID: string;
|
|
518
593
|
TITLE_INVALID: string;
|
|
519
594
|
TMP_PASSWORD_DISABLED: string;
|
|
520
595
|
TMP_PASSWORD_INVALID: string;
|
|
596
|
+
TODO_ITEMS_EMPTY: string;
|
|
597
|
+
TODO_ITEM_DUPLICATE: string;
|
|
598
|
+
TODO_NOT_MODIFIED: string;
|
|
521
599
|
TOKEN_EMPTY: string;
|
|
522
600
|
TOKEN_INVALID: string;
|
|
523
601
|
TOKEN_TYPE_INVALID: string;
|
|
@@ -529,6 +607,7 @@ declare const Exceptions: {
|
|
|
529
607
|
TOPIC_ID_INVALID: string;
|
|
530
608
|
TOPIC_NOT_MODIFIED: string;
|
|
531
609
|
TOPIC_TITLE_EMPTY: string;
|
|
610
|
+
TO_ID_INVALID: string;
|
|
532
611
|
TO_LANG_INVALID: string;
|
|
533
612
|
TRANSACTION_ID_INVALID: string;
|
|
534
613
|
TRANSCRIPTION_FAILED: string;
|
|
@@ -538,6 +617,7 @@ declare const Exceptions: {
|
|
|
538
617
|
TTL_PERIOD_INVALID: string;
|
|
539
618
|
TYPES_EMPTY: string;
|
|
540
619
|
TYPE_CONSTRUCTOR_INVALID: string;
|
|
620
|
+
UNSUPPORTED: string;
|
|
541
621
|
UNTIL_DATE_INVALID: string;
|
|
542
622
|
URL_INVALID: string;
|
|
543
623
|
USAGE_LIMIT_INVALID: string;
|
|
@@ -611,7 +691,11 @@ declare const Exceptions: {
|
|
|
611
691
|
};
|
|
612
692
|
403: {
|
|
613
693
|
_: string;
|
|
694
|
+
ACCESS_DENIED: string;
|
|
695
|
+
ALLOW_PAYMENT_REQUIRED_X: string;
|
|
614
696
|
ANONYMOUS_REACTIONS_DISABLED: string;
|
|
697
|
+
BOT_ACCESS_FORBIDDEN: string;
|
|
698
|
+
BOT_VERIFIER_FORBIDDEN: string;
|
|
615
699
|
BROADCAST_FORBIDDEN: string;
|
|
616
700
|
CHANNEL_PUBLIC_GROUP_NA: string;
|
|
617
701
|
CHAT_ACTION_FORBIDDEN: string;
|
|
@@ -632,6 +716,7 @@ declare const Exceptions: {
|
|
|
632
716
|
CHAT_SEND_STICKERS_FORBIDDEN: string;
|
|
633
717
|
CHAT_SEND_VIDEOS_FORBIDDEN: string;
|
|
634
718
|
CHAT_SEND_VOICES_FORBIDDEN: string;
|
|
719
|
+
CHAT_SEND_WEBPAGE_FORBIDDEN: string;
|
|
635
720
|
CHAT_TYPE_INVALID: string;
|
|
636
721
|
CHAT_WRITE_FORBIDDEN: string;
|
|
637
722
|
EDIT_BOT_INVITE_FORBIDDEN: string;
|
|
@@ -657,6 +742,7 @@ declare const Exceptions: {
|
|
|
657
742
|
USER_IS_BLOCKED: string;
|
|
658
743
|
USER_NOT_MUTUAL_CONTACT: string;
|
|
659
744
|
USER_NOT_PARTICIPANT: string;
|
|
745
|
+
USER_PERMISSION_DENIED: string;
|
|
660
746
|
USER_PRIVACY_RESTRICTED: string;
|
|
661
747
|
USER_RESTRICTED: string;
|
|
662
748
|
VOICE_MESSAGES_FORBIDDEN: string;
|
|
@@ -664,10 +750,13 @@ declare const Exceptions: {
|
|
|
664
750
|
};
|
|
665
751
|
404: {
|
|
666
752
|
_: string;
|
|
753
|
+
METHOD_INVALID: string;
|
|
667
754
|
PEER_ID_INVALID: string;
|
|
668
755
|
};
|
|
669
756
|
406: {
|
|
670
757
|
_: string;
|
|
758
|
+
ALLOW_PAYMENT_REQUIRED: string;
|
|
759
|
+
API_GIFT_RESTRICTED_UPDATE_APP: string;
|
|
671
760
|
AUTH_KEY_DUPLICATED: string;
|
|
672
761
|
BANNED_RIGHTS_INVALID: string;
|
|
673
762
|
BUSINESS_ADDRESS_ACTIVE: string;
|
|
@@ -682,16 +771,21 @@ declare const Exceptions: {
|
|
|
682
771
|
GIFTCODE_NOT_ALLOWED: string;
|
|
683
772
|
INVITE_HASH_EXPIRED: string;
|
|
684
773
|
PAYMENT_UNSUPPORTED: string;
|
|
774
|
+
PEER_ID_INVALID: string;
|
|
685
775
|
PHONE_NUMBER_INVALID: string;
|
|
686
776
|
PHONE_PASSWORD_FLOOD: string;
|
|
777
|
+
PRECHECKOUT_FAILED: string;
|
|
687
778
|
PREMIUM_CURRENTLY_UNAVAILABLE: string;
|
|
688
779
|
PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMIN: string;
|
|
689
780
|
PRIVACY_PREMIUM_REQUIRED: string;
|
|
690
781
|
SEND_CODE_UNAVAILABLE: string;
|
|
782
|
+
STARGIFT_EXPORT_IN_PROGRESS: string;
|
|
783
|
+
STARS_FORM_AMOUNT_MISMATCH: string;
|
|
691
784
|
STICKERSET_INVALID: string;
|
|
692
785
|
STICKERSET_OWNER_ANONYMOUS: string;
|
|
693
786
|
TOPIC_CLOSED: string;
|
|
694
787
|
TOPIC_DELETED: string;
|
|
788
|
+
TRANSLATIONS_DISABLED: string;
|
|
695
789
|
UPDATE_APP_TO_LOGIN: string;
|
|
696
790
|
USERPIC_PRIVACY_REQUIRED: string;
|
|
697
791
|
USERPIC_UPLOAD_REQUIRED: string;
|
|
@@ -704,6 +798,7 @@ declare const Exceptions: {
|
|
|
704
798
|
FLOOD_PREMIUM_WAIT_X: string;
|
|
705
799
|
FLOOD_TEST_PHONE_WAIT_X: string;
|
|
706
800
|
FLOOD_WAIT_X: string;
|
|
801
|
+
FROZEN_METHOD_INVALID: string;
|
|
707
802
|
PREMIUM_SUB_ACTIVE_UNTIL_X: string;
|
|
708
803
|
SLOWMODE_WAIT_X: string;
|
|
709
804
|
TAKEOUT_INIT_DELAY_X: string;
|
|
@@ -722,6 +817,7 @@ declare const Exceptions: {
|
|
|
722
817
|
CHAT_OCCUPY_LOC_FAILED: string;
|
|
723
818
|
CHAT_OCCUPY_USERNAME_FAILED: string;
|
|
724
819
|
CHP_CALL_FAIL: string;
|
|
820
|
+
ENCRYPTION_DECLINE_ADMIN_FAILED: string;
|
|
725
821
|
ENCRYPTION_OCCUPY_ADMIN_FAILED: string;
|
|
726
822
|
ENCRYPTION_OCCUPY_FAILED: string;
|
|
727
823
|
FOLDER_DEAC_AUTOFIX_ALL: string;
|
|
@@ -742,9 +838,11 @@ declare const Exceptions: {
|
|
|
742
838
|
MSG_WAIT_FAILED: string;
|
|
743
839
|
MT_SEND_QUEUE_TOO_LONG: string;
|
|
744
840
|
NEED_CHAT_INVALID: string;
|
|
841
|
+
NEED_DOC_INVALID: string;
|
|
745
842
|
NEED_MEMBER_INVALID: string;
|
|
746
843
|
No_workers_running: string;
|
|
747
844
|
PARTICIPANT_CALL_FAILED: string;
|
|
845
|
+
PASSKEY_AUTH_RESTART: string;
|
|
748
846
|
PERSISTENT_TIMESTAMP_OUTDATED: string;
|
|
749
847
|
PHOTO_CREATE_FAILED: string;
|
|
750
848
|
POSTPONED_TIMEOUT: string;
|
|
@@ -759,9 +857,11 @@ declare const Exceptions: {
|
|
|
759
857
|
STORAGE_CHECK_FAILED: string;
|
|
760
858
|
STORE_INVALID_SCALAR_TYPE: string;
|
|
761
859
|
TRANSLATE_REQ_FAILED: string;
|
|
860
|
+
TRANSLATION_TIMEOUT: string;
|
|
762
861
|
UNKNOWN_METHOD: string;
|
|
763
862
|
UPLOAD_NO_VOLUME: string;
|
|
764
863
|
VOLUME_LOC_NOT_FOUND: string;
|
|
864
|
+
VOLUME_MOVE_INVALID: string;
|
|
765
865
|
WORKER_BUSY_TOO_LONG_RETRY: string;
|
|
766
866
|
WP_ID_GENERATE_FAILED: string;
|
|
767
867
|
};
|