tornapi-typescript 5.2.1 → 5.2.2
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/dist/index.d.ts +121 -0
- package/dist/index.ts +182 -0
- package/dist/openapi.json +665 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -362,6 +362,127 @@ export interface ReportsResponse {
|
|
|
362
362
|
_metadata: RequestMetadataWithLinks;
|
|
363
363
|
}
|
|
364
364
|
export type SelectionCategoryEnum = ReportTypeEnum | UserListEnum | PersonalStatsCategoryEnum | RacingRaceTypeEnum;
|
|
365
|
+
export interface ErrorUnknown {
|
|
366
|
+
code: number;
|
|
367
|
+
error: string;
|
|
368
|
+
}
|
|
369
|
+
export interface ErrorKeyEmpty {
|
|
370
|
+
code: 1;
|
|
371
|
+
error: string;
|
|
372
|
+
}
|
|
373
|
+
export interface ErrorIncorrectKey {
|
|
374
|
+
code: 2;
|
|
375
|
+
error: string;
|
|
376
|
+
}
|
|
377
|
+
export interface ErrorWrongType {
|
|
378
|
+
code: 3;
|
|
379
|
+
error: string;
|
|
380
|
+
}
|
|
381
|
+
export interface ErrorWrongFields {
|
|
382
|
+
code: 4;
|
|
383
|
+
error: string;
|
|
384
|
+
}
|
|
385
|
+
export interface ErrorTooManyRequests {
|
|
386
|
+
code: 5;
|
|
387
|
+
error: string;
|
|
388
|
+
}
|
|
389
|
+
export interface ErrorIncorrectId {
|
|
390
|
+
code: 6;
|
|
391
|
+
error: string;
|
|
392
|
+
}
|
|
393
|
+
export interface ErrorIncorrectIdEntityRelation {
|
|
394
|
+
code: 7;
|
|
395
|
+
error: string;
|
|
396
|
+
}
|
|
397
|
+
export interface ErrorIpBlocked {
|
|
398
|
+
code: 8;
|
|
399
|
+
error: string;
|
|
400
|
+
}
|
|
401
|
+
export interface ErrorApiDisabled {
|
|
402
|
+
code: 9;
|
|
403
|
+
error: string;
|
|
404
|
+
}
|
|
405
|
+
export interface ErrorKeyOwnerInFederalJail {
|
|
406
|
+
code: 10;
|
|
407
|
+
error: string;
|
|
408
|
+
}
|
|
409
|
+
export interface ErrorKeyChangeCooldown {
|
|
410
|
+
code: 11;
|
|
411
|
+
error: string;
|
|
412
|
+
}
|
|
413
|
+
export interface ErrorKeyReadError {
|
|
414
|
+
code: 12;
|
|
415
|
+
error: string;
|
|
416
|
+
}
|
|
417
|
+
export interface ErrorKeyTemporaryDisabled {
|
|
418
|
+
code: 13;
|
|
419
|
+
error: string;
|
|
420
|
+
}
|
|
421
|
+
export interface ErrorDailyReadLimitReached {
|
|
422
|
+
code: 14;
|
|
423
|
+
error: string;
|
|
424
|
+
}
|
|
425
|
+
export interface ErrorLogUnavailable {
|
|
426
|
+
code: 15;
|
|
427
|
+
error: string;
|
|
428
|
+
}
|
|
429
|
+
export interface ErrorAccessLevelTooLow {
|
|
430
|
+
code: 16;
|
|
431
|
+
error: string;
|
|
432
|
+
}
|
|
433
|
+
export interface ErrorBackendError {
|
|
434
|
+
code: 17;
|
|
435
|
+
error: string;
|
|
436
|
+
}
|
|
437
|
+
export interface ErrorApiKeyPaused {
|
|
438
|
+
code: 18;
|
|
439
|
+
error: string;
|
|
440
|
+
}
|
|
441
|
+
export interface ErrorMustMigrateToCrimesV2 {
|
|
442
|
+
code: 19;
|
|
443
|
+
error: string;
|
|
444
|
+
}
|
|
445
|
+
export interface ErrorRaceNotFinished {
|
|
446
|
+
code: 20;
|
|
447
|
+
error: string;
|
|
448
|
+
}
|
|
449
|
+
export interface ErrorIncorrectCategory {
|
|
450
|
+
code: 21;
|
|
451
|
+
error: string;
|
|
452
|
+
}
|
|
453
|
+
export interface ErrorOnlyAvailableInApiV1 {
|
|
454
|
+
code: 22;
|
|
455
|
+
error: string;
|
|
456
|
+
}
|
|
457
|
+
export interface ErrorOnlyAvailableInApiV2 {
|
|
458
|
+
code: 23;
|
|
459
|
+
error: string;
|
|
460
|
+
}
|
|
461
|
+
export interface ErrorClosedTemporarily {
|
|
462
|
+
code: 24;
|
|
463
|
+
error: string;
|
|
464
|
+
}
|
|
465
|
+
export interface ErrorInvalidStatRequested {
|
|
466
|
+
code: 25;
|
|
467
|
+
error: string;
|
|
468
|
+
}
|
|
469
|
+
export interface ErrorOnlyCategoryOrStatsAllowed {
|
|
470
|
+
code: 26;
|
|
471
|
+
error: string;
|
|
472
|
+
}
|
|
473
|
+
export interface ErrorMustMigrateToOrganizedCrimesV2 {
|
|
474
|
+
code: 27;
|
|
475
|
+
error: string;
|
|
476
|
+
}
|
|
477
|
+
export interface ErrorIncorrectLogId {
|
|
478
|
+
code: 28;
|
|
479
|
+
error: string;
|
|
480
|
+
}
|
|
481
|
+
export interface ErrorCategorySelectionUnavailableForInteractionLogs {
|
|
482
|
+
code: 29;
|
|
483
|
+
error: string;
|
|
484
|
+
}
|
|
485
|
+
export type ApiError = ErrorUnknown | ErrorKeyEmpty | ErrorIncorrectKey | ErrorWrongType | ErrorWrongFields | ErrorTooManyRequests | ErrorIncorrectId | ErrorIncorrectIdEntityRelation | ErrorIpBlocked | ErrorApiDisabled | ErrorKeyOwnerInFederalJail | ErrorKeyChangeCooldown | ErrorKeyReadError | ErrorKeyTemporaryDisabled | ErrorDailyReadLimitReached | ErrorLogUnavailable | ErrorAccessLevelTooLow | ErrorBackendError | ErrorApiKeyPaused | ErrorMustMigrateToCrimesV2 | ErrorRaceNotFinished | ErrorIncorrectCategory | ErrorOnlyAvailableInApiV1 | ErrorOnlyAvailableInApiV2 | ErrorClosedTemporarily | ErrorInvalidStatRequested | ErrorOnlyCategoryOrStatsAllowed | ErrorMustMigrateToOrganizedCrimesV2 | ErrorIncorrectLogId | ErrorCategorySelectionUnavailableForInteractionLogs;
|
|
365
486
|
export type UserEquipment = TornItemDetails & {
|
|
366
487
|
slot: number;
|
|
367
488
|
};
|
package/dist/index.ts
CHANGED
|
@@ -5327,6 +5327,188 @@ export type SelectionCategoryEnum =
|
|
|
5327
5327
|
| PersonalStatsCategoryEnum
|
|
5328
5328
|
| RacingRaceTypeEnum;
|
|
5329
5329
|
|
|
5330
|
+
export interface ErrorUnknown {
|
|
5331
|
+
code: number;
|
|
5332
|
+
error: string;
|
|
5333
|
+
}
|
|
5334
|
+
|
|
5335
|
+
export interface ErrorKeyEmpty {
|
|
5336
|
+
code: 1;
|
|
5337
|
+
error: string;
|
|
5338
|
+
}
|
|
5339
|
+
|
|
5340
|
+
export interface ErrorIncorrectKey {
|
|
5341
|
+
code: 2;
|
|
5342
|
+
error: string;
|
|
5343
|
+
}
|
|
5344
|
+
|
|
5345
|
+
export interface ErrorWrongType {
|
|
5346
|
+
code: 3;
|
|
5347
|
+
error: string;
|
|
5348
|
+
}
|
|
5349
|
+
|
|
5350
|
+
export interface ErrorWrongFields {
|
|
5351
|
+
code: 4;
|
|
5352
|
+
error: string;
|
|
5353
|
+
}
|
|
5354
|
+
|
|
5355
|
+
export interface ErrorTooManyRequests {
|
|
5356
|
+
code: 5;
|
|
5357
|
+
error: string;
|
|
5358
|
+
}
|
|
5359
|
+
|
|
5360
|
+
export interface ErrorIncorrectId {
|
|
5361
|
+
code: 6;
|
|
5362
|
+
error: string;
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
export interface ErrorIncorrectIdEntityRelation {
|
|
5366
|
+
code: 7;
|
|
5367
|
+
error: string;
|
|
5368
|
+
}
|
|
5369
|
+
|
|
5370
|
+
export interface ErrorIpBlocked {
|
|
5371
|
+
code: 8;
|
|
5372
|
+
error: string;
|
|
5373
|
+
}
|
|
5374
|
+
|
|
5375
|
+
export interface ErrorApiDisabled {
|
|
5376
|
+
code: 9;
|
|
5377
|
+
error: string;
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
export interface ErrorKeyOwnerInFederalJail {
|
|
5381
|
+
code: 10;
|
|
5382
|
+
error: string;
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5385
|
+
export interface ErrorKeyChangeCooldown {
|
|
5386
|
+
code: 11;
|
|
5387
|
+
error: string;
|
|
5388
|
+
}
|
|
5389
|
+
|
|
5390
|
+
export interface ErrorKeyReadError {
|
|
5391
|
+
code: 12;
|
|
5392
|
+
error: string;
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
export interface ErrorKeyTemporaryDisabled {
|
|
5396
|
+
code: 13;
|
|
5397
|
+
error: string;
|
|
5398
|
+
}
|
|
5399
|
+
|
|
5400
|
+
export interface ErrorDailyReadLimitReached {
|
|
5401
|
+
code: 14;
|
|
5402
|
+
error: string;
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5405
|
+
export interface ErrorLogUnavailable {
|
|
5406
|
+
code: 15;
|
|
5407
|
+
error: string;
|
|
5408
|
+
}
|
|
5409
|
+
|
|
5410
|
+
export interface ErrorAccessLevelTooLow {
|
|
5411
|
+
code: 16;
|
|
5412
|
+
error: string;
|
|
5413
|
+
}
|
|
5414
|
+
|
|
5415
|
+
export interface ErrorBackendError {
|
|
5416
|
+
code: 17;
|
|
5417
|
+
error: string;
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
export interface ErrorApiKeyPaused {
|
|
5421
|
+
code: 18;
|
|
5422
|
+
error: string;
|
|
5423
|
+
}
|
|
5424
|
+
|
|
5425
|
+
export interface ErrorMustMigrateToCrimesV2 {
|
|
5426
|
+
code: 19;
|
|
5427
|
+
error: string;
|
|
5428
|
+
}
|
|
5429
|
+
|
|
5430
|
+
export interface ErrorRaceNotFinished {
|
|
5431
|
+
code: 20;
|
|
5432
|
+
error: string;
|
|
5433
|
+
}
|
|
5434
|
+
|
|
5435
|
+
export interface ErrorIncorrectCategory {
|
|
5436
|
+
code: 21;
|
|
5437
|
+
error: string;
|
|
5438
|
+
}
|
|
5439
|
+
|
|
5440
|
+
export interface ErrorOnlyAvailableInApiV1 {
|
|
5441
|
+
code: 22;
|
|
5442
|
+
error: string;
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
export interface ErrorOnlyAvailableInApiV2 {
|
|
5446
|
+
code: 23;
|
|
5447
|
+
error: string;
|
|
5448
|
+
}
|
|
5449
|
+
|
|
5450
|
+
export interface ErrorClosedTemporarily {
|
|
5451
|
+
code: 24;
|
|
5452
|
+
error: string;
|
|
5453
|
+
}
|
|
5454
|
+
|
|
5455
|
+
export interface ErrorInvalidStatRequested {
|
|
5456
|
+
code: 25;
|
|
5457
|
+
error: string;
|
|
5458
|
+
}
|
|
5459
|
+
|
|
5460
|
+
export interface ErrorOnlyCategoryOrStatsAllowed {
|
|
5461
|
+
code: 26;
|
|
5462
|
+
error: string;
|
|
5463
|
+
}
|
|
5464
|
+
|
|
5465
|
+
export interface ErrorMustMigrateToOrganizedCrimesV2 {
|
|
5466
|
+
code: 27;
|
|
5467
|
+
error: string;
|
|
5468
|
+
}
|
|
5469
|
+
|
|
5470
|
+
export interface ErrorIncorrectLogId {
|
|
5471
|
+
code: 28;
|
|
5472
|
+
error: string;
|
|
5473
|
+
}
|
|
5474
|
+
|
|
5475
|
+
export interface ErrorCategorySelectionUnavailableForInteractionLogs {
|
|
5476
|
+
code: 29;
|
|
5477
|
+
error: string;
|
|
5478
|
+
}
|
|
5479
|
+
|
|
5480
|
+
export type ApiError =
|
|
5481
|
+
| ErrorUnknown
|
|
5482
|
+
| ErrorKeyEmpty
|
|
5483
|
+
| ErrorIncorrectKey
|
|
5484
|
+
| ErrorWrongType
|
|
5485
|
+
| ErrorWrongFields
|
|
5486
|
+
| ErrorTooManyRequests
|
|
5487
|
+
| ErrorIncorrectId
|
|
5488
|
+
| ErrorIncorrectIdEntityRelation
|
|
5489
|
+
| ErrorIpBlocked
|
|
5490
|
+
| ErrorApiDisabled
|
|
5491
|
+
| ErrorKeyOwnerInFederalJail
|
|
5492
|
+
| ErrorKeyChangeCooldown
|
|
5493
|
+
| ErrorKeyReadError
|
|
5494
|
+
| ErrorKeyTemporaryDisabled
|
|
5495
|
+
| ErrorDailyReadLimitReached
|
|
5496
|
+
| ErrorLogUnavailable
|
|
5497
|
+
| ErrorAccessLevelTooLow
|
|
5498
|
+
| ErrorBackendError
|
|
5499
|
+
| ErrorApiKeyPaused
|
|
5500
|
+
| ErrorMustMigrateToCrimesV2
|
|
5501
|
+
| ErrorRaceNotFinished
|
|
5502
|
+
| ErrorIncorrectCategory
|
|
5503
|
+
| ErrorOnlyAvailableInApiV1
|
|
5504
|
+
| ErrorOnlyAvailableInApiV2
|
|
5505
|
+
| ErrorClosedTemporarily
|
|
5506
|
+
| ErrorInvalidStatRequested
|
|
5507
|
+
| ErrorOnlyCategoryOrStatsAllowed
|
|
5508
|
+
| ErrorMustMigrateToOrganizedCrimesV2
|
|
5509
|
+
| ErrorIncorrectLogId
|
|
5510
|
+
| ErrorCategorySelectionUnavailableForInteractionLogs;
|
|
5511
|
+
|
|
5330
5512
|
export type UserEquipment = TornItemDetails & {
|
|
5331
5513
|
slot: number;
|
|
5332
5514
|
};
|
package/dist/openapi.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Torn API",
|
|
5
5
|
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
|
|
6
|
-
"version": "5.2.
|
|
6
|
+
"version": "5.2.2"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -16161,6 +16161,670 @@
|
|
|
16161
16161
|
}
|
|
16162
16162
|
]
|
|
16163
16163
|
},
|
|
16164
|
+
"ErrorUnknown": {
|
|
16165
|
+
"required": [
|
|
16166
|
+
"code",
|
|
16167
|
+
"error"
|
|
16168
|
+
],
|
|
16169
|
+
"properties": {
|
|
16170
|
+
"code": {
|
|
16171
|
+
"type": "integer",
|
|
16172
|
+
"format": "int32",
|
|
16173
|
+
"enum": [
|
|
16174
|
+
0
|
|
16175
|
+
]
|
|
16176
|
+
},
|
|
16177
|
+
"error": {
|
|
16178
|
+
"type": "string"
|
|
16179
|
+
}
|
|
16180
|
+
},
|
|
16181
|
+
"type": "object"
|
|
16182
|
+
},
|
|
16183
|
+
"ErrorKeyEmpty": {
|
|
16184
|
+
"required": [
|
|
16185
|
+
"code",
|
|
16186
|
+
"error"
|
|
16187
|
+
],
|
|
16188
|
+
"properties": {
|
|
16189
|
+
"code": {
|
|
16190
|
+
"type": "integer",
|
|
16191
|
+
"format": "int32",
|
|
16192
|
+
"enum": [
|
|
16193
|
+
1
|
|
16194
|
+
]
|
|
16195
|
+
},
|
|
16196
|
+
"error": {
|
|
16197
|
+
"type": "string"
|
|
16198
|
+
}
|
|
16199
|
+
},
|
|
16200
|
+
"type": "object"
|
|
16201
|
+
},
|
|
16202
|
+
"ErrorIncorrectKey": {
|
|
16203
|
+
"required": [
|
|
16204
|
+
"code",
|
|
16205
|
+
"error"
|
|
16206
|
+
],
|
|
16207
|
+
"properties": {
|
|
16208
|
+
"code": {
|
|
16209
|
+
"type": "integer",
|
|
16210
|
+
"format": "int32",
|
|
16211
|
+
"enum": [
|
|
16212
|
+
2
|
|
16213
|
+
]
|
|
16214
|
+
},
|
|
16215
|
+
"error": {
|
|
16216
|
+
"type": "string"
|
|
16217
|
+
}
|
|
16218
|
+
},
|
|
16219
|
+
"type": "object"
|
|
16220
|
+
},
|
|
16221
|
+
"ErrorWrongType": {
|
|
16222
|
+
"required": [
|
|
16223
|
+
"code",
|
|
16224
|
+
"error"
|
|
16225
|
+
],
|
|
16226
|
+
"properties": {
|
|
16227
|
+
"code": {
|
|
16228
|
+
"type": "integer",
|
|
16229
|
+
"format": "int32",
|
|
16230
|
+
"enum": [
|
|
16231
|
+
3
|
|
16232
|
+
]
|
|
16233
|
+
},
|
|
16234
|
+
"error": {
|
|
16235
|
+
"type": "string"
|
|
16236
|
+
}
|
|
16237
|
+
},
|
|
16238
|
+
"type": "object"
|
|
16239
|
+
},
|
|
16240
|
+
"ErrorWrongFields": {
|
|
16241
|
+
"required": [
|
|
16242
|
+
"code",
|
|
16243
|
+
"error"
|
|
16244
|
+
],
|
|
16245
|
+
"properties": {
|
|
16246
|
+
"code": {
|
|
16247
|
+
"type": "integer",
|
|
16248
|
+
"format": "int32",
|
|
16249
|
+
"enum": [
|
|
16250
|
+
4
|
|
16251
|
+
]
|
|
16252
|
+
},
|
|
16253
|
+
"error": {
|
|
16254
|
+
"type": "string"
|
|
16255
|
+
}
|
|
16256
|
+
},
|
|
16257
|
+
"type": "object"
|
|
16258
|
+
},
|
|
16259
|
+
"ErrorTooManyRequests": {
|
|
16260
|
+
"required": [
|
|
16261
|
+
"code",
|
|
16262
|
+
"error"
|
|
16263
|
+
],
|
|
16264
|
+
"properties": {
|
|
16265
|
+
"code": {
|
|
16266
|
+
"type": "integer",
|
|
16267
|
+
"format": "int32",
|
|
16268
|
+
"enum": [
|
|
16269
|
+
5
|
|
16270
|
+
]
|
|
16271
|
+
},
|
|
16272
|
+
"error": {
|
|
16273
|
+
"type": "string"
|
|
16274
|
+
}
|
|
16275
|
+
},
|
|
16276
|
+
"type": "object"
|
|
16277
|
+
},
|
|
16278
|
+
"ErrorIncorrectId": {
|
|
16279
|
+
"required": [
|
|
16280
|
+
"code",
|
|
16281
|
+
"error"
|
|
16282
|
+
],
|
|
16283
|
+
"properties": {
|
|
16284
|
+
"code": {
|
|
16285
|
+
"type": "integer",
|
|
16286
|
+
"format": "int32",
|
|
16287
|
+
"enum": [
|
|
16288
|
+
6
|
|
16289
|
+
]
|
|
16290
|
+
},
|
|
16291
|
+
"error": {
|
|
16292
|
+
"type": "string"
|
|
16293
|
+
}
|
|
16294
|
+
},
|
|
16295
|
+
"type": "object"
|
|
16296
|
+
},
|
|
16297
|
+
"ErrorIncorrectIdEntityRelation": {
|
|
16298
|
+
"required": [
|
|
16299
|
+
"code",
|
|
16300
|
+
"error"
|
|
16301
|
+
],
|
|
16302
|
+
"properties": {
|
|
16303
|
+
"code": {
|
|
16304
|
+
"type": "integer",
|
|
16305
|
+
"format": "int32",
|
|
16306
|
+
"enum": [
|
|
16307
|
+
7
|
|
16308
|
+
]
|
|
16309
|
+
},
|
|
16310
|
+
"error": {
|
|
16311
|
+
"type": "string"
|
|
16312
|
+
}
|
|
16313
|
+
},
|
|
16314
|
+
"type": "object"
|
|
16315
|
+
},
|
|
16316
|
+
"ErrorIpBlocked": {
|
|
16317
|
+
"required": [
|
|
16318
|
+
"code",
|
|
16319
|
+
"error"
|
|
16320
|
+
],
|
|
16321
|
+
"properties": {
|
|
16322
|
+
"code": {
|
|
16323
|
+
"type": "integer",
|
|
16324
|
+
"format": "int32",
|
|
16325
|
+
"enum": [
|
|
16326
|
+
8
|
|
16327
|
+
]
|
|
16328
|
+
},
|
|
16329
|
+
"error": {
|
|
16330
|
+
"type": "string"
|
|
16331
|
+
}
|
|
16332
|
+
},
|
|
16333
|
+
"type": "object"
|
|
16334
|
+
},
|
|
16335
|
+
"ErrorApiDisabled": {
|
|
16336
|
+
"required": [
|
|
16337
|
+
"code",
|
|
16338
|
+
"error"
|
|
16339
|
+
],
|
|
16340
|
+
"properties": {
|
|
16341
|
+
"code": {
|
|
16342
|
+
"type": "integer",
|
|
16343
|
+
"format": "int32",
|
|
16344
|
+
"enum": [
|
|
16345
|
+
9
|
|
16346
|
+
]
|
|
16347
|
+
},
|
|
16348
|
+
"error": {
|
|
16349
|
+
"type": "string"
|
|
16350
|
+
}
|
|
16351
|
+
},
|
|
16352
|
+
"type": "object"
|
|
16353
|
+
},
|
|
16354
|
+
"ErrorKeyOwnerInFederalJail": {
|
|
16355
|
+
"required": [
|
|
16356
|
+
"code",
|
|
16357
|
+
"error"
|
|
16358
|
+
],
|
|
16359
|
+
"properties": {
|
|
16360
|
+
"code": {
|
|
16361
|
+
"type": "integer",
|
|
16362
|
+
"format": "int32",
|
|
16363
|
+
"enum": [
|
|
16364
|
+
10
|
|
16365
|
+
]
|
|
16366
|
+
},
|
|
16367
|
+
"error": {
|
|
16368
|
+
"type": "string"
|
|
16369
|
+
}
|
|
16370
|
+
},
|
|
16371
|
+
"type": "object"
|
|
16372
|
+
},
|
|
16373
|
+
"ErrorKeyChangeCooldown": {
|
|
16374
|
+
"required": [
|
|
16375
|
+
"code",
|
|
16376
|
+
"error"
|
|
16377
|
+
],
|
|
16378
|
+
"properties": {
|
|
16379
|
+
"code": {
|
|
16380
|
+
"type": "integer",
|
|
16381
|
+
"format": "int32",
|
|
16382
|
+
"enum": [
|
|
16383
|
+
11
|
|
16384
|
+
]
|
|
16385
|
+
},
|
|
16386
|
+
"error": {
|
|
16387
|
+
"type": "string"
|
|
16388
|
+
}
|
|
16389
|
+
},
|
|
16390
|
+
"type": "object"
|
|
16391
|
+
},
|
|
16392
|
+
"ErrorKeyReadError": {
|
|
16393
|
+
"required": [
|
|
16394
|
+
"code",
|
|
16395
|
+
"error"
|
|
16396
|
+
],
|
|
16397
|
+
"properties": {
|
|
16398
|
+
"code": {
|
|
16399
|
+
"type": "integer",
|
|
16400
|
+
"format": "int32",
|
|
16401
|
+
"enum": [
|
|
16402
|
+
12
|
|
16403
|
+
]
|
|
16404
|
+
},
|
|
16405
|
+
"error": {
|
|
16406
|
+
"type": "string"
|
|
16407
|
+
}
|
|
16408
|
+
},
|
|
16409
|
+
"type": "object"
|
|
16410
|
+
},
|
|
16411
|
+
"ErrorKeyTemporaryDisabled": {
|
|
16412
|
+
"required": [
|
|
16413
|
+
"code",
|
|
16414
|
+
"error"
|
|
16415
|
+
],
|
|
16416
|
+
"properties": {
|
|
16417
|
+
"code": {
|
|
16418
|
+
"type": "integer",
|
|
16419
|
+
"format": "int32",
|
|
16420
|
+
"enum": [
|
|
16421
|
+
13
|
|
16422
|
+
]
|
|
16423
|
+
},
|
|
16424
|
+
"error": {
|
|
16425
|
+
"type": "string"
|
|
16426
|
+
}
|
|
16427
|
+
},
|
|
16428
|
+
"type": "object"
|
|
16429
|
+
},
|
|
16430
|
+
"ErrorDailyReadLimitReached": {
|
|
16431
|
+
"required": [
|
|
16432
|
+
"code",
|
|
16433
|
+
"error"
|
|
16434
|
+
],
|
|
16435
|
+
"properties": {
|
|
16436
|
+
"code": {
|
|
16437
|
+
"type": "integer",
|
|
16438
|
+
"format": "int32",
|
|
16439
|
+
"enum": [
|
|
16440
|
+
14
|
|
16441
|
+
]
|
|
16442
|
+
},
|
|
16443
|
+
"error": {
|
|
16444
|
+
"type": "string"
|
|
16445
|
+
}
|
|
16446
|
+
},
|
|
16447
|
+
"type": "object"
|
|
16448
|
+
},
|
|
16449
|
+
"ErrorLogUnavailable": {
|
|
16450
|
+
"required": [
|
|
16451
|
+
"code",
|
|
16452
|
+
"error"
|
|
16453
|
+
],
|
|
16454
|
+
"properties": {
|
|
16455
|
+
"code": {
|
|
16456
|
+
"type": "integer",
|
|
16457
|
+
"format": "int32",
|
|
16458
|
+
"enum": [
|
|
16459
|
+
15
|
|
16460
|
+
]
|
|
16461
|
+
},
|
|
16462
|
+
"error": {
|
|
16463
|
+
"type": "string"
|
|
16464
|
+
}
|
|
16465
|
+
},
|
|
16466
|
+
"type": "object"
|
|
16467
|
+
},
|
|
16468
|
+
"ErrorAccessLevelTooLow": {
|
|
16469
|
+
"required": [
|
|
16470
|
+
"code",
|
|
16471
|
+
"error"
|
|
16472
|
+
],
|
|
16473
|
+
"properties": {
|
|
16474
|
+
"code": {
|
|
16475
|
+
"type": "integer",
|
|
16476
|
+
"format": "int32",
|
|
16477
|
+
"enum": [
|
|
16478
|
+
16
|
|
16479
|
+
]
|
|
16480
|
+
},
|
|
16481
|
+
"error": {
|
|
16482
|
+
"type": "string"
|
|
16483
|
+
}
|
|
16484
|
+
},
|
|
16485
|
+
"type": "object"
|
|
16486
|
+
},
|
|
16487
|
+
"ErrorBackendError": {
|
|
16488
|
+
"required": [
|
|
16489
|
+
"code",
|
|
16490
|
+
"error"
|
|
16491
|
+
],
|
|
16492
|
+
"properties": {
|
|
16493
|
+
"code": {
|
|
16494
|
+
"type": "integer",
|
|
16495
|
+
"format": "int32",
|
|
16496
|
+
"enum": [
|
|
16497
|
+
17
|
|
16498
|
+
]
|
|
16499
|
+
},
|
|
16500
|
+
"error": {
|
|
16501
|
+
"type": "string"
|
|
16502
|
+
}
|
|
16503
|
+
},
|
|
16504
|
+
"type": "object"
|
|
16505
|
+
},
|
|
16506
|
+
"ErrorApiKeyPaused": {
|
|
16507
|
+
"required": [
|
|
16508
|
+
"code",
|
|
16509
|
+
"error"
|
|
16510
|
+
],
|
|
16511
|
+
"properties": {
|
|
16512
|
+
"code": {
|
|
16513
|
+
"type": "integer",
|
|
16514
|
+
"format": "int32",
|
|
16515
|
+
"enum": [
|
|
16516
|
+
18
|
|
16517
|
+
]
|
|
16518
|
+
},
|
|
16519
|
+
"error": {
|
|
16520
|
+
"type": "string"
|
|
16521
|
+
}
|
|
16522
|
+
},
|
|
16523
|
+
"type": "object"
|
|
16524
|
+
},
|
|
16525
|
+
"ErrorMustMigrateToCrimesV2": {
|
|
16526
|
+
"required": [
|
|
16527
|
+
"code",
|
|
16528
|
+
"error"
|
|
16529
|
+
],
|
|
16530
|
+
"properties": {
|
|
16531
|
+
"code": {
|
|
16532
|
+
"type": "integer",
|
|
16533
|
+
"format": "int32",
|
|
16534
|
+
"enum": [
|
|
16535
|
+
19
|
|
16536
|
+
]
|
|
16537
|
+
},
|
|
16538
|
+
"error": {
|
|
16539
|
+
"type": "string"
|
|
16540
|
+
}
|
|
16541
|
+
},
|
|
16542
|
+
"type": "object"
|
|
16543
|
+
},
|
|
16544
|
+
"ErrorRaceNotFinished": {
|
|
16545
|
+
"required": [
|
|
16546
|
+
"code",
|
|
16547
|
+
"error"
|
|
16548
|
+
],
|
|
16549
|
+
"properties": {
|
|
16550
|
+
"code": {
|
|
16551
|
+
"type": "integer",
|
|
16552
|
+
"format": "int32",
|
|
16553
|
+
"enum": [
|
|
16554
|
+
20
|
|
16555
|
+
]
|
|
16556
|
+
},
|
|
16557
|
+
"error": {
|
|
16558
|
+
"type": "string"
|
|
16559
|
+
}
|
|
16560
|
+
},
|
|
16561
|
+
"type": "object"
|
|
16562
|
+
},
|
|
16563
|
+
"ErrorIncorrectCategory": {
|
|
16564
|
+
"required": [
|
|
16565
|
+
"code",
|
|
16566
|
+
"error"
|
|
16567
|
+
],
|
|
16568
|
+
"properties": {
|
|
16569
|
+
"code": {
|
|
16570
|
+
"type": "integer",
|
|
16571
|
+
"format": "int32",
|
|
16572
|
+
"enum": [
|
|
16573
|
+
21
|
|
16574
|
+
]
|
|
16575
|
+
},
|
|
16576
|
+
"error": {
|
|
16577
|
+
"type": "string"
|
|
16578
|
+
}
|
|
16579
|
+
},
|
|
16580
|
+
"type": "object"
|
|
16581
|
+
},
|
|
16582
|
+
"ErrorOnlyAvailableInApiV1": {
|
|
16583
|
+
"required": [
|
|
16584
|
+
"code",
|
|
16585
|
+
"error"
|
|
16586
|
+
],
|
|
16587
|
+
"properties": {
|
|
16588
|
+
"code": {
|
|
16589
|
+
"type": "integer",
|
|
16590
|
+
"format": "int32",
|
|
16591
|
+
"enum": [
|
|
16592
|
+
22
|
|
16593
|
+
]
|
|
16594
|
+
},
|
|
16595
|
+
"error": {
|
|
16596
|
+
"type": "string"
|
|
16597
|
+
}
|
|
16598
|
+
},
|
|
16599
|
+
"type": "object"
|
|
16600
|
+
},
|
|
16601
|
+
"ErrorOnlyAvailableInApiV2": {
|
|
16602
|
+
"required": [
|
|
16603
|
+
"code",
|
|
16604
|
+
"error"
|
|
16605
|
+
],
|
|
16606
|
+
"properties": {
|
|
16607
|
+
"code": {
|
|
16608
|
+
"type": "integer",
|
|
16609
|
+
"format": "int32",
|
|
16610
|
+
"enum": [
|
|
16611
|
+
23
|
|
16612
|
+
]
|
|
16613
|
+
},
|
|
16614
|
+
"error": {
|
|
16615
|
+
"type": "string"
|
|
16616
|
+
}
|
|
16617
|
+
},
|
|
16618
|
+
"type": "object"
|
|
16619
|
+
},
|
|
16620
|
+
"ErrorClosedTemporarily": {
|
|
16621
|
+
"required": [
|
|
16622
|
+
"code",
|
|
16623
|
+
"error"
|
|
16624
|
+
],
|
|
16625
|
+
"properties": {
|
|
16626
|
+
"code": {
|
|
16627
|
+
"type": "integer",
|
|
16628
|
+
"format": "int32",
|
|
16629
|
+
"enum": [
|
|
16630
|
+
24
|
|
16631
|
+
]
|
|
16632
|
+
},
|
|
16633
|
+
"error": {
|
|
16634
|
+
"type": "string"
|
|
16635
|
+
}
|
|
16636
|
+
},
|
|
16637
|
+
"type": "object"
|
|
16638
|
+
},
|
|
16639
|
+
"ErrorInvalidStatRequested": {
|
|
16640
|
+
"required": [
|
|
16641
|
+
"code",
|
|
16642
|
+
"error"
|
|
16643
|
+
],
|
|
16644
|
+
"properties": {
|
|
16645
|
+
"code": {
|
|
16646
|
+
"type": "integer",
|
|
16647
|
+
"format": "int32",
|
|
16648
|
+
"enum": [
|
|
16649
|
+
25
|
|
16650
|
+
]
|
|
16651
|
+
},
|
|
16652
|
+
"error": {
|
|
16653
|
+
"type": "string"
|
|
16654
|
+
}
|
|
16655
|
+
},
|
|
16656
|
+
"type": "object"
|
|
16657
|
+
},
|
|
16658
|
+
"ErrorOnlyCategoryOrStatsAllowed": {
|
|
16659
|
+
"required": [
|
|
16660
|
+
"code",
|
|
16661
|
+
"error"
|
|
16662
|
+
],
|
|
16663
|
+
"properties": {
|
|
16664
|
+
"code": {
|
|
16665
|
+
"type": "integer",
|
|
16666
|
+
"format": "int32",
|
|
16667
|
+
"enum": [
|
|
16668
|
+
26
|
|
16669
|
+
]
|
|
16670
|
+
},
|
|
16671
|
+
"error": {
|
|
16672
|
+
"type": "string"
|
|
16673
|
+
}
|
|
16674
|
+
},
|
|
16675
|
+
"type": "object"
|
|
16676
|
+
},
|
|
16677
|
+
"ErrorMustMigrateToOrganizedCrimesV2": {
|
|
16678
|
+
"required": [
|
|
16679
|
+
"code",
|
|
16680
|
+
"error"
|
|
16681
|
+
],
|
|
16682
|
+
"properties": {
|
|
16683
|
+
"code": {
|
|
16684
|
+
"type": "integer",
|
|
16685
|
+
"format": "int32",
|
|
16686
|
+
"enum": [
|
|
16687
|
+
27
|
|
16688
|
+
]
|
|
16689
|
+
},
|
|
16690
|
+
"error": {
|
|
16691
|
+
"type": "string"
|
|
16692
|
+
}
|
|
16693
|
+
},
|
|
16694
|
+
"type": "object"
|
|
16695
|
+
},
|
|
16696
|
+
"ErrorIncorrectLogId": {
|
|
16697
|
+
"required": [
|
|
16698
|
+
"code",
|
|
16699
|
+
"error"
|
|
16700
|
+
],
|
|
16701
|
+
"properties": {
|
|
16702
|
+
"code": {
|
|
16703
|
+
"type": "integer",
|
|
16704
|
+
"format": "int32",
|
|
16705
|
+
"enum": [
|
|
16706
|
+
28
|
|
16707
|
+
]
|
|
16708
|
+
},
|
|
16709
|
+
"error": {
|
|
16710
|
+
"type": "string"
|
|
16711
|
+
}
|
|
16712
|
+
},
|
|
16713
|
+
"type": "object"
|
|
16714
|
+
},
|
|
16715
|
+
"ErrorCategorySelectionUnavailableForInteractionLogs": {
|
|
16716
|
+
"required": [
|
|
16717
|
+
"code",
|
|
16718
|
+
"error"
|
|
16719
|
+
],
|
|
16720
|
+
"properties": {
|
|
16721
|
+
"code": {
|
|
16722
|
+
"type": "integer",
|
|
16723
|
+
"format": "int32",
|
|
16724
|
+
"enum": [
|
|
16725
|
+
29
|
|
16726
|
+
]
|
|
16727
|
+
},
|
|
16728
|
+
"error": {
|
|
16729
|
+
"type": "string"
|
|
16730
|
+
}
|
|
16731
|
+
},
|
|
16732
|
+
"type": "object"
|
|
16733
|
+
},
|
|
16734
|
+
"ApiError": {
|
|
16735
|
+
"oneOf": [
|
|
16736
|
+
{
|
|
16737
|
+
"$ref": "#/components/schemas/ErrorUnknown"
|
|
16738
|
+
},
|
|
16739
|
+
{
|
|
16740
|
+
"$ref": "#/components/schemas/ErrorKeyEmpty"
|
|
16741
|
+
},
|
|
16742
|
+
{
|
|
16743
|
+
"$ref": "#/components/schemas/ErrorIncorrectKey"
|
|
16744
|
+
},
|
|
16745
|
+
{
|
|
16746
|
+
"$ref": "#/components/schemas/ErrorWrongType"
|
|
16747
|
+
},
|
|
16748
|
+
{
|
|
16749
|
+
"$ref": "#/components/schemas/ErrorWrongFields"
|
|
16750
|
+
},
|
|
16751
|
+
{
|
|
16752
|
+
"$ref": "#/components/schemas/ErrorTooManyRequests"
|
|
16753
|
+
},
|
|
16754
|
+
{
|
|
16755
|
+
"$ref": "#/components/schemas/ErrorIncorrectId"
|
|
16756
|
+
},
|
|
16757
|
+
{
|
|
16758
|
+
"$ref": "#/components/schemas/ErrorIncorrectIdEntityRelation"
|
|
16759
|
+
},
|
|
16760
|
+
{
|
|
16761
|
+
"$ref": "#/components/schemas/ErrorIpBlocked"
|
|
16762
|
+
},
|
|
16763
|
+
{
|
|
16764
|
+
"$ref": "#/components/schemas/ErrorApiDisabled"
|
|
16765
|
+
},
|
|
16766
|
+
{
|
|
16767
|
+
"$ref": "#/components/schemas/ErrorKeyOwnerInFederalJail"
|
|
16768
|
+
},
|
|
16769
|
+
{
|
|
16770
|
+
"$ref": "#/components/schemas/ErrorKeyChangeCooldown"
|
|
16771
|
+
},
|
|
16772
|
+
{
|
|
16773
|
+
"$ref": "#/components/schemas/ErrorKeyReadError"
|
|
16774
|
+
},
|
|
16775
|
+
{
|
|
16776
|
+
"$ref": "#/components/schemas/ErrorKeyTemporaryDisabled"
|
|
16777
|
+
},
|
|
16778
|
+
{
|
|
16779
|
+
"$ref": "#/components/schemas/ErrorDailyReadLimitReached"
|
|
16780
|
+
},
|
|
16781
|
+
{
|
|
16782
|
+
"$ref": "#/components/schemas/ErrorLogUnavailable"
|
|
16783
|
+
},
|
|
16784
|
+
{
|
|
16785
|
+
"$ref": "#/components/schemas/ErrorAccessLevelTooLow"
|
|
16786
|
+
},
|
|
16787
|
+
{
|
|
16788
|
+
"$ref": "#/components/schemas/ErrorBackendError"
|
|
16789
|
+
},
|
|
16790
|
+
{
|
|
16791
|
+
"$ref": "#/components/schemas/ErrorApiKeyPaused"
|
|
16792
|
+
},
|
|
16793
|
+
{
|
|
16794
|
+
"$ref": "#/components/schemas/ErrorMustMigrateToCrimesV2"
|
|
16795
|
+
},
|
|
16796
|
+
{
|
|
16797
|
+
"$ref": "#/components/schemas/ErrorRaceNotFinished"
|
|
16798
|
+
},
|
|
16799
|
+
{
|
|
16800
|
+
"$ref": "#/components/schemas/ErrorIncorrectCategory"
|
|
16801
|
+
},
|
|
16802
|
+
{
|
|
16803
|
+
"$ref": "#/components/schemas/ErrorOnlyAvailableInApiV1"
|
|
16804
|
+
},
|
|
16805
|
+
{
|
|
16806
|
+
"$ref": "#/components/schemas/ErrorOnlyAvailableInApiV2"
|
|
16807
|
+
},
|
|
16808
|
+
{
|
|
16809
|
+
"$ref": "#/components/schemas/ErrorClosedTemporarily"
|
|
16810
|
+
},
|
|
16811
|
+
{
|
|
16812
|
+
"$ref": "#/components/schemas/ErrorInvalidStatRequested"
|
|
16813
|
+
},
|
|
16814
|
+
{
|
|
16815
|
+
"$ref": "#/components/schemas/ErrorOnlyCategoryOrStatsAllowed"
|
|
16816
|
+
},
|
|
16817
|
+
{
|
|
16818
|
+
"$ref": "#/components/schemas/ErrorMustMigrateToOrganizedCrimesV2"
|
|
16819
|
+
},
|
|
16820
|
+
{
|
|
16821
|
+
"$ref": "#/components/schemas/ErrorIncorrectLogId"
|
|
16822
|
+
},
|
|
16823
|
+
{
|
|
16824
|
+
"$ref": "#/components/schemas/ErrorCategorySelectionUnavailableForInteractionLogs"
|
|
16825
|
+
}
|
|
16826
|
+
]
|
|
16827
|
+
},
|
|
16164
16828
|
"UserEquipment": {
|
|
16165
16829
|
"allOf": [
|
|
16166
16830
|
{
|