torn-client 0.4.3 → 0.4.5
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.mts +648 -220
- package/dist/index.d.ts +648 -220
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -59,7 +59,7 @@ declare class PaginatedResponse<T> {
|
|
|
59
59
|
type AmmoId = number;
|
|
60
60
|
|
|
61
61
|
/** @category Models */
|
|
62
|
-
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;
|
|
62
|
+
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 | ErrorFileDoesNotExist;
|
|
63
63
|
|
|
64
64
|
/** @category Models */
|
|
65
65
|
type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
|
|
@@ -67,6 +67,9 @@ type ApiFiltersAttacksRevivesEnum = "incoming" | "outgoing" | "idFilter";
|
|
|
67
67
|
/** @category Models */
|
|
68
68
|
type ApiKeyAccessTypeEnum = "Custom" | "Public Only" | "Minimal Access" | "Limited Access" | "Full Access";
|
|
69
69
|
|
|
70
|
+
/** @category Models */
|
|
71
|
+
type ApplicationStatusEnum = "accepted" | "declined" | "withdrawn" | "active";
|
|
72
|
+
|
|
70
73
|
/** @category Models */
|
|
71
74
|
type Attack = {
|
|
72
75
|
id: AttackId;
|
|
@@ -328,12 +331,255 @@ type Bounty = {
|
|
|
328
331
|
/** @category Models */
|
|
329
332
|
type ChainId = number;
|
|
330
333
|
|
|
334
|
+
/** @category Models */
|
|
335
|
+
type CompaniesResponse = {
|
|
336
|
+
companies: CompanyProfile[];
|
|
337
|
+
companies_timestamp: number;
|
|
338
|
+
companies_delay: number;
|
|
339
|
+
_metadata: RequestMetadataWithLinksAndTotal;
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
/** @category Models */
|
|
343
|
+
type CompaniesSearchResponse = {
|
|
344
|
+
search: CompanySearchProfile[];
|
|
345
|
+
_metadata: RequestMetadataWithLinks;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/** @category Models */
|
|
349
|
+
type CompanyApplication = {
|
|
350
|
+
player: CompanyApplicationPlayer;
|
|
351
|
+
message: string | null;
|
|
352
|
+
expires_at: number;
|
|
353
|
+
status: ApplicationStatusEnum;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
/** @category Models */
|
|
357
|
+
type CompanyApplicationPlayer = {
|
|
358
|
+
id: UserId;
|
|
359
|
+
name: string;
|
|
360
|
+
level: number;
|
|
361
|
+
stats: CompanyApplicationPlayerStats;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/** @category Models */
|
|
365
|
+
type CompanyApplicationPlayerStats = {
|
|
366
|
+
manual_labor: number;
|
|
367
|
+
intelligence: number;
|
|
368
|
+
endurance: number;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
/** @category Models */
|
|
372
|
+
type CompanyApplicationsResponse = {
|
|
373
|
+
applications: CompanyApplication[];
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
/** @category Models */
|
|
377
|
+
type CompanyCustomers = {
|
|
378
|
+
daily: number;
|
|
379
|
+
weekly: number;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/** @category Models */
|
|
383
|
+
type CompanyDirector = {
|
|
384
|
+
id: UserId;
|
|
385
|
+
name: string;
|
|
386
|
+
status: UserStatus;
|
|
387
|
+
last_action: UserLastAction;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
/** @category Models */
|
|
391
|
+
type CompanyEmployee = {
|
|
392
|
+
id: UserId;
|
|
393
|
+
name: string;
|
|
394
|
+
position: CompanyEmployeePosition;
|
|
395
|
+
days_in_company: number;
|
|
396
|
+
status: UserStatus;
|
|
397
|
+
last_action: UserLastAction;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
/** @category Models */
|
|
401
|
+
type CompanyEmployeeEffectiveness = {
|
|
402
|
+
working_stats: number;
|
|
403
|
+
settled_in: number;
|
|
404
|
+
book: number;
|
|
405
|
+
merits: number;
|
|
406
|
+
director_education: number;
|
|
407
|
+
management: number;
|
|
408
|
+
wrong_gender: number;
|
|
409
|
+
addiction: number;
|
|
410
|
+
inactivity: number;
|
|
411
|
+
total: number;
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/** @category Models */
|
|
415
|
+
type CompanyEmployeeExtended = CompanyEmployee & {
|
|
416
|
+
stats: CompanyEmployeeStats;
|
|
417
|
+
effectiveness: CompanyEmployeeEffectiveness;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
/** @category Models */
|
|
421
|
+
type CompanyEmployeeFull = CompanyEmployeeExtended & {
|
|
422
|
+
joined_at: number;
|
|
423
|
+
wage: number;
|
|
424
|
+
value: number | null;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
/** @category Models */
|
|
428
|
+
type CompanyEmployeePosition = {
|
|
429
|
+
id: CompanyPositionId;
|
|
430
|
+
name: string;
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
/** @category Models */
|
|
434
|
+
type CompanyEmployees = {
|
|
435
|
+
hired: number;
|
|
436
|
+
capacity: number;
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
/** @category Models */
|
|
440
|
+
type CompanyEmployeesResponse = {
|
|
441
|
+
employees: CompanyEmployee | CompanyEmployeeExtended | CompanyEmployeeFull[];
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
/** @category Models */
|
|
445
|
+
type CompanyEmployeesResponseBasic = {
|
|
446
|
+
employees: CompanyEmployee[];
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/** @category Models */
|
|
450
|
+
type CompanyEmployeeStats = {
|
|
451
|
+
manual_labor: number;
|
|
452
|
+
intelligence: number;
|
|
453
|
+
endurance: number;
|
|
454
|
+
};
|
|
455
|
+
|
|
331
456
|
/** @category Models */
|
|
332
457
|
type CompanyId = number;
|
|
333
458
|
|
|
459
|
+
/** @category Models */
|
|
460
|
+
type CompanyIncome = {
|
|
461
|
+
daily: number;
|
|
462
|
+
weekly: number;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
/** @category Models */
|
|
466
|
+
type CompanyLookupResponse = {
|
|
467
|
+
selections: CompanySelectionName[];
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/** @category Models */
|
|
471
|
+
type CompanyNewsCategory = "main" | "funds" | "training" | "employees" | "all";
|
|
472
|
+
|
|
473
|
+
/** @category Models */
|
|
474
|
+
type CompanyPositionId = number;
|
|
475
|
+
|
|
476
|
+
/** @category Models */
|
|
477
|
+
type CompanyProfile = {
|
|
478
|
+
id: CompanyId;
|
|
479
|
+
name: string;
|
|
480
|
+
created_at: number;
|
|
481
|
+
days_old: number;
|
|
482
|
+
image: string | null;
|
|
483
|
+
type: CompanyType;
|
|
484
|
+
rating: number;
|
|
485
|
+
director: CompanyDirector;
|
|
486
|
+
employees: CompanyEmployees;
|
|
487
|
+
income: CompanyIncome;
|
|
488
|
+
customers: CompanyCustomers;
|
|
489
|
+
applications_allowed: boolean;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
/** @category Models */
|
|
493
|
+
type CompanyProfileExtended = CompanyProfile & {
|
|
494
|
+
funds: number;
|
|
495
|
+
popularity: number;
|
|
496
|
+
efficiency: number;
|
|
497
|
+
environment: number;
|
|
498
|
+
trains: number;
|
|
499
|
+
advertisement_budget: number;
|
|
500
|
+
upgrades: CompanyUpgrades;
|
|
501
|
+
value: number;
|
|
502
|
+
};
|
|
503
|
+
|
|
504
|
+
/** @category Models */
|
|
505
|
+
type CompanyProfileExtendedResponse = {
|
|
506
|
+
profile: CompanyProfileExtended;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
/** @category Models */
|
|
510
|
+
type CompanyProfileResponse = {
|
|
511
|
+
profile: CompanyProfile;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
/** @category Models */
|
|
515
|
+
type CompanyProfileResponseMixed = {
|
|
516
|
+
profile: CompanyProfile | CompanyProfileExtended;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
/** @category Models */
|
|
520
|
+
type CompanyResponse = CompanyApplicationsResponse | CompanyEmployeesResponse | CompanyEmployeesResponseBasic | CompanyProfileResponseMixed | CompanyProfileResponse | NewsResponse | CompanyStockResponse | CompanyLookupResponse | TimestampResponse;
|
|
521
|
+
|
|
522
|
+
/** @category Models */
|
|
523
|
+
type CompanySearchParameter = "recruiting" | "notRecruiting" | string;
|
|
524
|
+
|
|
525
|
+
/** @category Models */
|
|
526
|
+
type CompanySearchProfile = {
|
|
527
|
+
id: CompanyId;
|
|
528
|
+
name: string;
|
|
529
|
+
created_at: number;
|
|
530
|
+
days_old: number;
|
|
531
|
+
image: string | null;
|
|
532
|
+
type: CompanyType;
|
|
533
|
+
rating: number;
|
|
534
|
+
employees: CompanyEmployees;
|
|
535
|
+
income: CompanyIncome;
|
|
536
|
+
customers: CompanyCustomers;
|
|
537
|
+
applications_allowed: boolean;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
/** @category Models */
|
|
541
|
+
type CompanySelectionName = "applications" | "companies" | "employees" | "lookup" | "news" | "profile" | "snapshot" | "stock" | "timestamp" | string;
|
|
542
|
+
|
|
543
|
+
/** @category Models */
|
|
544
|
+
type CompanyStaffRoomSizeEnum = "No staff room" | "Small staff room" | "Standard staff room" | "Large staff room" | "Very large staff room" | "Huge staff room" | "Colossal staff room";
|
|
545
|
+
|
|
546
|
+
/** @category Models */
|
|
547
|
+
type CompanyStockItem = {
|
|
548
|
+
name: string;
|
|
549
|
+
id: number;
|
|
550
|
+
cost: number;
|
|
551
|
+
rrp: number;
|
|
552
|
+
price: number;
|
|
553
|
+
in_stock: number;
|
|
554
|
+
on_order: number;
|
|
555
|
+
sold_amount: number;
|
|
556
|
+
sold_worth: number;
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
/** @category Models */
|
|
560
|
+
type CompanyStockResponse = {
|
|
561
|
+
stock: CompanyStockItem[];
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
/** @category Models */
|
|
565
|
+
type CompanyStorageSizeEnum = "Small room" | "Standard room" | "Large room" | "Huge room" | "Warehouse" | "Large warehouse" | "Huge warehouse";
|
|
566
|
+
|
|
567
|
+
/** @category Models */
|
|
568
|
+
type CompanyType = {
|
|
569
|
+
id: CompanyTypeId;
|
|
570
|
+
name: string;
|
|
571
|
+
};
|
|
572
|
+
|
|
334
573
|
/** @category Models */
|
|
335
574
|
type CompanyTypeId = number;
|
|
336
575
|
|
|
576
|
+
/** @category Models */
|
|
577
|
+
type CompanyUpgrades = {
|
|
578
|
+
staff_room: CompanyStaffRoomSizeEnum;
|
|
579
|
+
storage: string;
|
|
580
|
+
storage_capacity: CompanyStorageSizeEnum;
|
|
581
|
+
};
|
|
582
|
+
|
|
337
583
|
/** @category Models */
|
|
338
584
|
type CountryEnum = "Mexico" | "Hawaii" | "South Africa" | "Japan" | "China" | "Argentina" | "Switzerland" | "Canada" | "United Kingdom" | "UAE" | "Cayman Islands" | "Torn";
|
|
339
585
|
|
|
@@ -391,6 +637,12 @@ type ErrorDailyReadLimitReached = {
|
|
|
391
637
|
error: string;
|
|
392
638
|
};
|
|
393
639
|
|
|
640
|
+
/** @category Models */
|
|
641
|
+
type ErrorFileDoesNotExist = {
|
|
642
|
+
code: number;
|
|
643
|
+
error: string;
|
|
644
|
+
};
|
|
645
|
+
|
|
394
646
|
/** @category Models */
|
|
395
647
|
type ErrorIncorrectCategory = {
|
|
396
648
|
code: number;
|
|
@@ -570,7 +822,7 @@ type FactionApplication = {
|
|
|
570
822
|
};
|
|
571
823
|
message: string | null;
|
|
572
824
|
valid_until: number;
|
|
573
|
-
status:
|
|
825
|
+
status: ApplicationStatusEnum;
|
|
574
826
|
};
|
|
575
827
|
|
|
576
828
|
/** @category Models */
|
|
@@ -578,9 +830,6 @@ type FactionApplicationsResponse = {
|
|
|
578
830
|
applications: FactionApplication[];
|
|
579
831
|
};
|
|
580
832
|
|
|
581
|
-
/** @category Models */
|
|
582
|
-
type FactionApplicationStatusEnum = "accepted" | "declined" | "withdrawn" | "active";
|
|
583
|
-
|
|
584
833
|
/** @category Models */
|
|
585
834
|
type FactionAttackResult = "None" | "Attacked" | "Mugged" | "Hospitalized" | "Arrested" | "Looted" | "Lost" | "Stalemate" | "Assist" | "Escape" | "Timeout" | "Special" | "Bounty" | "Interrupted";
|
|
586
835
|
|
|
@@ -806,8 +1055,6 @@ type FactionCrimeRewardPayout = {
|
|
|
806
1055
|
type FactionCrimeSlot = {
|
|
807
1056
|
position: string;
|
|
808
1057
|
position_info: FactionSlotPositionInfo;
|
|
809
|
-
position_id?: TornOrganizedCrimePositionIdDeprecated;
|
|
810
|
-
position_number?: number;
|
|
811
1058
|
item_requirement: {
|
|
812
1059
|
id: ItemId;
|
|
813
1060
|
is_reusable: boolean;
|
|
@@ -901,22 +1148,9 @@ type FactionMembersResponse = {
|
|
|
901
1148
|
members: FactionMember[];
|
|
902
1149
|
};
|
|
903
1150
|
|
|
904
|
-
/** @category Models */
|
|
905
|
-
type FactionNews = {
|
|
906
|
-
id: string;
|
|
907
|
-
text: string;
|
|
908
|
-
timestamp: number;
|
|
909
|
-
};
|
|
910
|
-
|
|
911
1151
|
/** @category Models */
|
|
912
1152
|
type FactionNewsCategory = "main" | "attack" | "armoryDeposit" | "armoryAction" | "territoryWar" | "rankedWar" | "territoryGain" | "chain" | "crime" | "membership" | "depositFunds" | "giveFunds";
|
|
913
1153
|
|
|
914
|
-
/** @category Models */
|
|
915
|
-
type FactionNewsResponse = {
|
|
916
|
-
news: FactionNews[];
|
|
917
|
-
_metadata: RequestMetadataWithLinks;
|
|
918
|
-
};
|
|
919
|
-
|
|
920
1154
|
/** @category Models */
|
|
921
1155
|
type FactionOngoingChain = {
|
|
922
1156
|
id: ChainId;
|
|
@@ -1135,7 +1369,7 @@ type FactionRankedWarsCategoryEnum = "all" | "ongoing";
|
|
|
1135
1369
|
type FactionRankEnum = "Unranked" | "Bronze" | "Silver" | "Gold" | "Platinum" | "Diamond";
|
|
1136
1370
|
|
|
1137
1371
|
/** @category Models */
|
|
1138
|
-
type FactionResponse = FactionHofResponse | FactionMembersResponse | FactionBasicResponse | FactionWarsResponse |
|
|
1372
|
+
type FactionResponse = FactionHofResponse | FactionMembersResponse | FactionBasicResponse | FactionWarsResponse | NewsResponse | RevivesResponse | FactionTerritoryWarsHistoryResponse | AttacksResponse | FactionBalanceResponse | FactionRaidWarReportResponse | FactionTerritoriesOwnershipResponse | FactionPositionsResponse | RevivesFullResponse | AttacksFullResponse | FactionApplicationsResponse | FactionOngoingChainResponse | FactionChainsResponse | FactionChainReportResponse | FactionCrimesResponse | FactionCrimeResponse | FactionRaidsResponse | FactionWarfareResponse | FactionRankedWarReportResponse | FactionTerritoryWarReportResponse | FactionTerritoriesResponse | FactionUpgradesResponse | FactionStatsResponse | FactionContributorsResponse | FactionRacketsResponse | FactionRankedWarResponse | FactionLookupResponse | TimestampResponse;
|
|
1139
1373
|
|
|
1140
1374
|
/** @category Models */
|
|
1141
1375
|
type FactionSearch = {
|
|
@@ -1143,6 +1377,7 @@ type FactionSearch = {
|
|
|
1143
1377
|
name: string;
|
|
1144
1378
|
respect: number;
|
|
1145
1379
|
members: number;
|
|
1380
|
+
members_max: number;
|
|
1146
1381
|
leader: FactionSearchLeader;
|
|
1147
1382
|
co_leader: FactionSearchLeader | null;
|
|
1148
1383
|
image: string | null;
|
|
@@ -1217,6 +1452,7 @@ type FactionTerritoryEnum = "AAB" | "AAC" | "AAD" | "AAE" | "AAF" | "AAG" | "ABA
|
|
|
1217
1452
|
/** @category Models */
|
|
1218
1453
|
type FactionTerritoryOwnership = {
|
|
1219
1454
|
id: string;
|
|
1455
|
+
irradiated: boolean;
|
|
1220
1456
|
owned_by: FactionId | null;
|
|
1221
1457
|
acquired_at: number | null;
|
|
1222
1458
|
};
|
|
@@ -1757,7 +1993,7 @@ type LogId = number;
|
|
|
1757
1993
|
/** @category Models */
|
|
1758
1994
|
type MarketItemMarketResponse = {
|
|
1759
1995
|
itemmarket: ItemMarket;
|
|
1760
|
-
_metadata:
|
|
1996
|
+
_metadata: RequestMetadataWithLinksAndTotal;
|
|
1761
1997
|
};
|
|
1762
1998
|
|
|
1763
1999
|
/** @category Models */
|
|
@@ -1770,7 +2006,7 @@ type MarketPropertiesResponse = {
|
|
|
1770
2006
|
properties: MarketPropertyDetails;
|
|
1771
2007
|
properties_timestamp: number;
|
|
1772
2008
|
properties_delay?: number;
|
|
1773
|
-
_metadata:
|
|
2009
|
+
_metadata: RequestMetadataWithLinksAndTotal;
|
|
1774
2010
|
};
|
|
1775
2011
|
|
|
1776
2012
|
/** @category Models */
|
|
@@ -1804,7 +2040,7 @@ type MarketRentalsResponse = {
|
|
|
1804
2040
|
rentals: MarketRentalDetails;
|
|
1805
2041
|
rentals_timestamp: number;
|
|
1806
2042
|
rentals_delay?: number;
|
|
1807
|
-
_metadata:
|
|
2043
|
+
_metadata: RequestMetadataWithLinksAndTotal;
|
|
1808
2044
|
};
|
|
1809
2045
|
|
|
1810
2046
|
/** @category Models */
|
|
@@ -1855,6 +2091,19 @@ type MissionRewardUpgrade = "Item" | "Ammo" | "Upgrade";
|
|
|
1855
2091
|
/** @category Models */
|
|
1856
2092
|
type MissionStatusEnum = "Accepted" | "Available" | "Failed" | "Completed";
|
|
1857
2093
|
|
|
2094
|
+
/** @category Models */
|
|
2095
|
+
type News = {
|
|
2096
|
+
id: string;
|
|
2097
|
+
text: string;
|
|
2098
|
+
timestamp: number;
|
|
2099
|
+
};
|
|
2100
|
+
|
|
2101
|
+
/** @category Models */
|
|
2102
|
+
type NewsResponse = {
|
|
2103
|
+
news: News[];
|
|
2104
|
+
_metadata: RequestMetadataWithLinks;
|
|
2105
|
+
};
|
|
2106
|
+
|
|
1858
2107
|
/** @category Models */
|
|
1859
2108
|
type OrganizedCrimeName = string;
|
|
1860
2109
|
|
|
@@ -2950,7 +3199,7 @@ type TimestampResponse = {
|
|
|
2950
3199
|
type TornBountiesResponse = {
|
|
2951
3200
|
bounties: Bounty[];
|
|
2952
3201
|
bounties_timestamp: number;
|
|
2953
|
-
bounties_delay
|
|
3202
|
+
bounties_delay: number;
|
|
2954
3203
|
_metadata: RequestMetadataWithLinksAndTotal;
|
|
2955
3204
|
};
|
|
2956
3205
|
|
|
@@ -3264,6 +3513,7 @@ type TornItemDetailsResponse = {
|
|
|
3264
3513
|
type TornItemMods = {
|
|
3265
3514
|
id: ItemModId;
|
|
3266
3515
|
name: string;
|
|
3516
|
+
image: string;
|
|
3267
3517
|
description: string;
|
|
3268
3518
|
dual_fit: boolean;
|
|
3269
3519
|
weapons: TornItemWeaponTypeEnum[];
|
|
@@ -3403,7 +3653,6 @@ type TornOrganizedCrimeScope = {
|
|
|
3403
3653
|
|
|
3404
3654
|
/** @category Models */
|
|
3405
3655
|
type TornOrganizedCrimeSlot = {
|
|
3406
|
-
id?: TornOrganizedCrimePositionIdDeprecated;
|
|
3407
3656
|
position_info: FactionSlotPositionInfo;
|
|
3408
3657
|
name: string;
|
|
3409
3658
|
required_item: TornOrganizedCrimeRequiredItem | null;
|
|
@@ -4107,6 +4356,19 @@ type UserEnlistedCarsResponse = {
|
|
|
4107
4356
|
/** @category Models */
|
|
4108
4357
|
type UserEquipment = TornItemDetails & {
|
|
4109
4358
|
slot: number;
|
|
4359
|
+
mods: UserEquipmentItemMod[];
|
|
4360
|
+
ammo: {
|
|
4361
|
+
id: AmmoId;
|
|
4362
|
+
name: string;
|
|
4363
|
+
quantity: number;
|
|
4364
|
+
type: TornItemAmmoTypeEnum;
|
|
4365
|
+
};
|
|
4366
|
+
};
|
|
4367
|
+
|
|
4368
|
+
/** @category Models */
|
|
4369
|
+
type UserEquipmentItemMod = {
|
|
4370
|
+
id: ItemModId;
|
|
4371
|
+
name: string;
|
|
4110
4372
|
};
|
|
4111
4373
|
|
|
4112
4374
|
/** @category Models */
|
|
@@ -4304,6 +4566,19 @@ type UserItemMarketResponse = {
|
|
|
4304
4566
|
_metadata: RequestMetadataWithLinks;
|
|
4305
4567
|
};
|
|
4306
4568
|
|
|
4569
|
+
/** @category Models */
|
|
4570
|
+
type UserItemMod = {
|
|
4571
|
+
id: ItemModId;
|
|
4572
|
+
title: string;
|
|
4573
|
+
equipped: boolean;
|
|
4574
|
+
equipped_item_uid: ItemUid | null;
|
|
4575
|
+
};
|
|
4576
|
+
|
|
4577
|
+
/** @category Models */
|
|
4578
|
+
type UserItemModsResponse = {
|
|
4579
|
+
itemmods: UserItemMod[];
|
|
4580
|
+
};
|
|
4581
|
+
|
|
4307
4582
|
/** @category Models */
|
|
4308
4583
|
type UserJob = {
|
|
4309
4584
|
type: "job";
|
|
@@ -4718,7 +4993,7 @@ type UserRaceCarDetails = RaceCar & {
|
|
|
4718
4993
|
|
|
4719
4994
|
/** @category Models */
|
|
4720
4995
|
type UserRaceDetails = RacingRaceDetails & {
|
|
4721
|
-
skill_gain: number;
|
|
4996
|
+
skill_gain: number | null;
|
|
4722
4997
|
};
|
|
4723
4998
|
|
|
4724
4999
|
/** @category Models */
|
|
@@ -4756,7 +5031,7 @@ type UserRefillsResponse = {
|
|
|
4756
5031
|
};
|
|
4757
5032
|
|
|
4758
5033
|
/** @category Models */
|
|
4759
|
-
type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserStocksResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserCasinoResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserTradeResponse | UserTradesResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | UserInventoryResponse | TimestampResponse;
|
|
5034
|
+
type UserResponse = UserCrimesResponse | UserWeaponExpResponse | UserAmmoResponse | UserDiscordResponse | UserRacesResponse | UserEnlistedCarsResponse | UserForumPostsResponse | UserForumThreadsResponse | UserForumSubscribedThreadsResponse | UserForumFeedResponse | UserForumFriendsResponse | UserPropertyResponse | ReportsResponse | UserHofResponse | UserCalendarResponse | UserRacingRecordsResponse | UserEducationResponse | UserStocksResponse | UserBountiesResponse | UserJobRanksResponse | UserPropertiesResponse | UserFactionBalanceResponse | UserBasicResponse | RevivesResponse | UserHonorsResponse | UserMedalsResponse | UserMeritsResponse | RevivesFullResponse | UserProfileResponse | UserJobResponse | UserFactionResponse | UserCompetitionResponse | UserIconsResponse | UserItemMarketResponse | UserListResponse | UserEquipmentResponse | UserMissionsResponse | UserPersonalStatsResponse | UserOrganizedCrimeResponse | UserItemModsResponse | AttacksResponse | UserBarsResponse | UserCooldownsResponse | UserNotificationsResponse | UserRefillsResponse | UserTravelResponse | UserVirusResponse | AttacksFullResponse | UserCasinoResponse | UserMoneyResponse | UserJobPointsResponse | UserWorkStatsResponse | UserSkillsResponse | UserBattleStatsResponse | UserTradeResponse | UserTradesResponse | UserNewEventsResponse | UserEventsResponse | UserMessagesResponse | UserNewMessagesResponse | UserLookupResponse | UserInventoryResponse | TimestampResponse;
|
|
4760
5035
|
|
|
4761
5036
|
/** @category Models */
|
|
4762
5037
|
type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "NPC" | "Committee" | "Reporter" | "Wiki Contributor" | "Wiki Editor" | "Civilian";
|
|
@@ -4765,7 +5040,7 @@ type UserRoleEnum = "Admin" | "Officer" | "Moderator" | "Helper" | "Tester" | "N
|
|
|
4765
5040
|
type UserRpsStatus = "scissors" | "rock" | "paper";
|
|
4766
5041
|
|
|
4767
5042
|
/** @category Models */
|
|
4768
|
-
type UserSelectionName = "ammo" | "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "casino" | "competition" | "cooldowns" | "crimes" | "discord" | "enlistedcars" | "equipment" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "inventory" | "itemmarket" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "stocks" | "trades" | "trade" | "travel" | "timestamp" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "networth" | "perks" | string;
|
|
5043
|
+
type UserSelectionName = "ammo" | "attacks" | "attacksfull" | "bars" | "basic" | "battlestats" | "bounties" | "calendar" | "casino" | "competition" | "cooldowns" | "crimes" | "discord" | "enlistedcars" | "equipment" | "events" | "faction" | "factionbalance" | "forumfeed" | "forumfriends" | "forumposts" | "forumsubscribedthreads" | "forumthreads" | "hof" | "honors" | "icons" | "inventory" | "itemmarket" | "itemmod" | "job" | "jobpoints" | "jobranks" | "list" | "log" | "lookup" | "medals" | "merits" | "messages" | "missions" | "money" | "newevents" | "newmessages" | "notifications" | "organizedcrime" | "personalstats" | "profile" | "properties" | "property" | "races" | "racingrecords" | "refills" | "reports" | "revives" | "revivesfull" | "skills" | "stocks" | "trades" | "trade" | "travel" | "timestamp" | "weaponexp" | "workstats" | "bazaar" | "criminalrecord" | "display" | "education" | "gym" | "networth" | "perks" | string;
|
|
4769
5044
|
|
|
4770
5045
|
/** @category Models */
|
|
4771
5046
|
type UserSkillDetail = {
|
|
@@ -4915,6 +5190,152 @@ type UserWorkStatsResponse = {
|
|
|
4915
5190
|
/** @category Models */
|
|
4916
5191
|
type WeaponBonusEnum = "Any" | "Double" | "Yellow" | "Orange" | "Red" | "Achilles" | "Assassinate" | "Backstab" | "Berserk" | "Bleed" | "Blindfire" | "Blindside" | "Bloodlust" | "Burn" | "Comeback" | "Conserve" | "Cripple" | "Crusher" | "Cupid" | "Deadeye" | "Deadly" | "Demoralize" | "Disarm" | "Double-edged" | "Double Tap" | "Emasculate" | "Empower" | "Eviscerate" | "Execute" | "Expose" | "Finale" | "Focus" | "Freeze" | "Frenzy" | "Fury" | "Grace" | "Hazardous" | "Home run" | "Irradiate" | "Lacerate" | "Motivation" | "Paralyze" | "Parry" | "Penetrate" | "Plunder" | "Poison" | "Powerful" | "Proficience" | "Puncture" | "Quicken" | "Rage" | "Revitalize" | "Roshambo" | "Shock" | "Sleep" | "Slow" | "Smash" | "Smurf" | "Specialist" | "Spray" | "Storage" | "Stricken" | "Stun" | "Suppress" | "Sure Shot" | "Throttle" | "Toxin" | "Warlord" | "Weaken" | "Wind-up" | "Wither";
|
|
4917
5192
|
|
|
5193
|
+
/**
|
|
5194
|
+
* Access the Company API endpoints
|
|
5195
|
+
* @category Endpoints
|
|
5196
|
+
*/
|
|
5197
|
+
declare class CompanyEndpoint {
|
|
5198
|
+
private readonly requester;
|
|
5199
|
+
constructor(requester: Requester);
|
|
5200
|
+
/**
|
|
5201
|
+
* Get your company's applications
|
|
5202
|
+
* @param params - Optional query parameters
|
|
5203
|
+
*/
|
|
5204
|
+
applications(params?: {
|
|
5205
|
+
timestamp?: number | string;
|
|
5206
|
+
}): Promise<CompanyApplicationsResponse>;
|
|
5207
|
+
/**
|
|
5208
|
+
* Get my company's employees
|
|
5209
|
+
* @param params - Optional query parameters
|
|
5210
|
+
*/
|
|
5211
|
+
employees(params?: {
|
|
5212
|
+
striptags?: "true" | "false";
|
|
5213
|
+
timestamp?: number | string;
|
|
5214
|
+
}): Promise<CompanyEmployeesResponse>;
|
|
5215
|
+
/**
|
|
5216
|
+
* Get your company's news details
|
|
5217
|
+
* @param params - Optional query parameters
|
|
5218
|
+
*/
|
|
5219
|
+
news(params?: {
|
|
5220
|
+
striptags?: "true" | "false";
|
|
5221
|
+
limit?: number;
|
|
5222
|
+
sort?: "DESC" | "ASC";
|
|
5223
|
+
to?: number;
|
|
5224
|
+
from?: number;
|
|
5225
|
+
cat?: CompanyNewsCategory;
|
|
5226
|
+
timestamp?: number | string;
|
|
5227
|
+
}): Promise<PaginatedResponse<NewsResponse> & NewsResponse>;
|
|
5228
|
+
/**
|
|
5229
|
+
* Get my company's profile
|
|
5230
|
+
* @param params - Optional query parameters
|
|
5231
|
+
*/
|
|
5232
|
+
profile(params?: {
|
|
5233
|
+
striptags?: "true" | "false";
|
|
5234
|
+
timestamp?: number | string;
|
|
5235
|
+
}): Promise<CompanyProfileResponseMixed>;
|
|
5236
|
+
/**
|
|
5237
|
+
* Search companies by name or other criteria
|
|
5238
|
+
* @param params - Optional query parameters
|
|
5239
|
+
*/
|
|
5240
|
+
search(params?: {
|
|
5241
|
+
name?: string;
|
|
5242
|
+
filters?: ("recruiting" | "notRecruiting" | string)[];
|
|
5243
|
+
limit?: number;
|
|
5244
|
+
offset?: number;
|
|
5245
|
+
timestamp?: number | string;
|
|
5246
|
+
}): Promise<PaginatedResponse<CompaniesSearchResponse> & CompaniesSearchResponse>;
|
|
5247
|
+
/**
|
|
5248
|
+
* Get daily companies snapshot CSV
|
|
5249
|
+
* @param params - Optional query parameters
|
|
5250
|
+
*/
|
|
5251
|
+
snapshot(params?: {
|
|
5252
|
+
timestamp?: number | string;
|
|
5253
|
+
}): Promise<unknown>;
|
|
5254
|
+
/**
|
|
5255
|
+
* Get your company's stock
|
|
5256
|
+
* @param params - Optional query parameters
|
|
5257
|
+
*/
|
|
5258
|
+
stock(params?: {
|
|
5259
|
+
timestamp?: number | string;
|
|
5260
|
+
}): Promise<CompanyStockResponse>;
|
|
5261
|
+
/**
|
|
5262
|
+
* No summary available
|
|
5263
|
+
* @param params - Optional query parameters
|
|
5264
|
+
*/
|
|
5265
|
+
lookup(params?: {
|
|
5266
|
+
timestamp?: number | string;
|
|
5267
|
+
}): Promise<CompanyLookupResponse>;
|
|
5268
|
+
/**
|
|
5269
|
+
* Get current server time
|
|
5270
|
+
* @param params - Optional query parameters
|
|
5271
|
+
*/
|
|
5272
|
+
timestamp(params?: {
|
|
5273
|
+
timestamp?: number | string;
|
|
5274
|
+
}): Promise<TimestampResponse>;
|
|
5275
|
+
/**
|
|
5276
|
+
* Get any Company selection
|
|
5277
|
+
* @param params - Optional query parameters
|
|
5278
|
+
*/
|
|
5279
|
+
get(params?: {
|
|
5280
|
+
selections?: CompanySelectionName[];
|
|
5281
|
+
id?: CompanyId;
|
|
5282
|
+
legacy?: CompanySelectionName[];
|
|
5283
|
+
cat?: CompanyNewsCategory;
|
|
5284
|
+
limit?: number;
|
|
5285
|
+
striptags?: "true" | "false";
|
|
5286
|
+
offset?: number;
|
|
5287
|
+
timestamp?: number | string;
|
|
5288
|
+
}): Promise<CompanyResponse>;
|
|
5289
|
+
/** @param id - The ID for this context */
|
|
5290
|
+
withId(id: string | number): CompanyIdContext;
|
|
5291
|
+
/** @param typeId - The ID for this context */
|
|
5292
|
+
withTypeId(typeId: string | number): CompanyTypeIdContext;
|
|
5293
|
+
}
|
|
5294
|
+
/**
|
|
5295
|
+
* Context class for Company API endpoints that require a "id"
|
|
5296
|
+
* @category Endpoints
|
|
5297
|
+
*/
|
|
5298
|
+
declare class CompanyIdContext {
|
|
5299
|
+
private readonly requester;
|
|
5300
|
+
private readonly contextId;
|
|
5301
|
+
constructor(requester: Requester, contextId: string | number);
|
|
5302
|
+
/**
|
|
5303
|
+
* Get a company's employees
|
|
5304
|
+
* @param params - Optional query parameters
|
|
5305
|
+
*/
|
|
5306
|
+
employees(params?: {
|
|
5307
|
+
striptags?: "true" | "false";
|
|
5308
|
+
timestamp?: number | string;
|
|
5309
|
+
}): Promise<CompanyEmployeesResponseBasic>;
|
|
5310
|
+
/**
|
|
5311
|
+
* Get a company's profile
|
|
5312
|
+
* @param params - Optional query parameters
|
|
5313
|
+
*/
|
|
5314
|
+
profile(params?: {
|
|
5315
|
+
striptags?: "true" | "false";
|
|
5316
|
+
timestamp?: number | string;
|
|
5317
|
+
}): Promise<CompanyProfileResponse>;
|
|
5318
|
+
}
|
|
5319
|
+
/**
|
|
5320
|
+
* Context class for Company API endpoints that require a "typeId"
|
|
5321
|
+
* @category Endpoints
|
|
5322
|
+
*/
|
|
5323
|
+
declare class CompanyTypeIdContext {
|
|
5324
|
+
private readonly requester;
|
|
5325
|
+
private readonly contextId;
|
|
5326
|
+
constructor(requester: Requester, contextId: string | number);
|
|
5327
|
+
/**
|
|
5328
|
+
* Get a list of companies for a specific company type
|
|
5329
|
+
* @param params - Optional query parameters
|
|
5330
|
+
*/
|
|
5331
|
+
companies(params?: {
|
|
5332
|
+
limit?: number;
|
|
5333
|
+
offset?: number;
|
|
5334
|
+
striptags?: "true" | "false";
|
|
5335
|
+
timestamp?: number | string;
|
|
5336
|
+
}): Promise<PaginatedResponse<CompaniesResponse> & CompaniesResponse>;
|
|
5337
|
+
}
|
|
5338
|
+
|
|
4918
5339
|
/**
|
|
4919
5340
|
* Access the Faction API endpoints
|
|
4920
5341
|
* @category Endpoints
|
|
@@ -4927,7 +5348,7 @@ declare class FactionEndpoint {
|
|
|
4927
5348
|
* @param params - Optional query parameters
|
|
4928
5349
|
*/
|
|
4929
5350
|
applications(params?: {
|
|
4930
|
-
timestamp?: string;
|
|
5351
|
+
timestamp?: number | string;
|
|
4931
5352
|
}): Promise<FactionApplicationsResponse>;
|
|
4932
5353
|
/**
|
|
4933
5354
|
* Get your faction's detailed attacks
|
|
@@ -4939,7 +5360,7 @@ declare class FactionEndpoint {
|
|
|
4939
5360
|
sort?: "DESC" | "ASC";
|
|
4940
5361
|
to?: number;
|
|
4941
5362
|
from?: number;
|
|
4942
|
-
timestamp?: string;
|
|
5363
|
+
timestamp?: number | string;
|
|
4943
5364
|
}): Promise<PaginatedResponse<AttacksResponse> & AttacksResponse>;
|
|
4944
5365
|
/**
|
|
4945
5366
|
* Get your faction's simplified attacks
|
|
@@ -4951,7 +5372,7 @@ declare class FactionEndpoint {
|
|
|
4951
5372
|
sort?: "DESC" | "ASC";
|
|
4952
5373
|
to?: number;
|
|
4953
5374
|
from?: number;
|
|
4954
|
-
timestamp?: string;
|
|
5375
|
+
timestamp?: number | string;
|
|
4955
5376
|
}): Promise<PaginatedResponse<AttacksFullResponse> & AttacksFullResponse>;
|
|
4956
5377
|
/**
|
|
4957
5378
|
* Get your faction's & member's balance details
|
|
@@ -4959,21 +5380,21 @@ declare class FactionEndpoint {
|
|
|
4959
5380
|
*/
|
|
4960
5381
|
balance(params?: {
|
|
4961
5382
|
cat?: "all" | "current";
|
|
4962
|
-
timestamp?: string;
|
|
5383
|
+
timestamp?: number | string;
|
|
4963
5384
|
}): Promise<FactionBalanceResponse>;
|
|
4964
5385
|
/**
|
|
4965
5386
|
* Get your faction's basic details
|
|
4966
5387
|
* @param params - Optional query parameters
|
|
4967
5388
|
*/
|
|
4968
5389
|
basic(params?: {
|
|
4969
|
-
timestamp?: string;
|
|
5390
|
+
timestamp?: number | string;
|
|
4970
5391
|
}): Promise<FactionBasicResponse>;
|
|
4971
5392
|
/**
|
|
4972
5393
|
* Get your faction's current chain
|
|
4973
5394
|
* @param params - Optional query parameters
|
|
4974
5395
|
*/
|
|
4975
5396
|
chain(params?: {
|
|
4976
|
-
timestamp?: string;
|
|
5397
|
+
timestamp?: number | string;
|
|
4977
5398
|
}): Promise<FactionOngoingChainResponse>;
|
|
4978
5399
|
/**
|
|
4979
5400
|
* Get a list of your faction's completed chains
|
|
@@ -4984,14 +5405,14 @@ declare class FactionEndpoint {
|
|
|
4984
5405
|
sort?: "DESC" | "ASC";
|
|
4985
5406
|
to?: number;
|
|
4986
5407
|
from?: number;
|
|
4987
|
-
timestamp?: string;
|
|
5408
|
+
timestamp?: number | string;
|
|
4988
5409
|
}): Promise<PaginatedResponse<FactionChainsResponse> & FactionChainsResponse>;
|
|
4989
5410
|
/**
|
|
4990
5411
|
* Get your faction's latest chain report
|
|
4991
5412
|
* @param params - Optional query parameters
|
|
4992
5413
|
*/
|
|
4993
5414
|
chainreport(params?: {
|
|
4994
|
-
timestamp?: string;
|
|
5415
|
+
timestamp?: number | string;
|
|
4995
5416
|
}): Promise<FactionChainReportResponse>;
|
|
4996
5417
|
/**
|
|
4997
5418
|
* Get your faction's challenge contributors
|
|
@@ -5000,7 +5421,7 @@ declare class FactionEndpoint {
|
|
|
5000
5421
|
contributors(params?: {
|
|
5001
5422
|
stat?: FactionStatEnum;
|
|
5002
5423
|
cat?: "all" | "current";
|
|
5003
|
-
timestamp?: string;
|
|
5424
|
+
timestamp?: number | string;
|
|
5004
5425
|
}): Promise<FactionContributorsResponse>;
|
|
5005
5426
|
/**
|
|
5006
5427
|
* Get your faction's organized crimes
|
|
@@ -5014,14 +5435,14 @@ declare class FactionEndpoint {
|
|
|
5014
5435
|
from?: number;
|
|
5015
5436
|
to?: number;
|
|
5016
5437
|
sort?: "DESC" | "ASC";
|
|
5017
|
-
timestamp?: string;
|
|
5438
|
+
timestamp?: number | string;
|
|
5018
5439
|
}): Promise<PaginatedResponse<FactionCrimesResponse> & FactionCrimesResponse>;
|
|
5019
5440
|
/**
|
|
5020
5441
|
* Get your faction's hall of fame rankings.
|
|
5021
5442
|
* @param params - Optional query parameters
|
|
5022
5443
|
*/
|
|
5023
5444
|
hof(params?: {
|
|
5024
|
-
timestamp?: string;
|
|
5445
|
+
timestamp?: number | string;
|
|
5025
5446
|
}): Promise<FactionHofResponse>;
|
|
5026
5447
|
/**
|
|
5027
5448
|
* Get a list of your faction's members
|
|
@@ -5029,7 +5450,7 @@ declare class FactionEndpoint {
|
|
|
5029
5450
|
*/
|
|
5030
5451
|
members(params?: {
|
|
5031
5452
|
striptags?: "true" | "false";
|
|
5032
|
-
timestamp?: string;
|
|
5453
|
+
timestamp?: number | string;
|
|
5033
5454
|
}): Promise<FactionMembersResponse>;
|
|
5034
5455
|
/**
|
|
5035
5456
|
* Get your faction's news details
|
|
@@ -5042,21 +5463,21 @@ declare class FactionEndpoint {
|
|
|
5042
5463
|
to?: number;
|
|
5043
5464
|
from?: number;
|
|
5044
5465
|
cat?: FactionNewsCategory;
|
|
5045
|
-
timestamp?: string;
|
|
5046
|
-
}): Promise<PaginatedResponse<
|
|
5466
|
+
timestamp?: number | string;
|
|
5467
|
+
}): Promise<PaginatedResponse<NewsResponse> & NewsResponse>;
|
|
5047
5468
|
/**
|
|
5048
5469
|
* Get your faction's positions details
|
|
5049
5470
|
* @param params - Optional query parameters
|
|
5050
5471
|
*/
|
|
5051
5472
|
positions(params?: {
|
|
5052
|
-
timestamp?: string;
|
|
5473
|
+
timestamp?: number | string;
|
|
5053
5474
|
}): Promise<FactionPositionsResponse>;
|
|
5054
5475
|
/**
|
|
5055
5476
|
* Get a list of current rackets
|
|
5056
5477
|
* @param params - Optional query parameters
|
|
5057
5478
|
*/
|
|
5058
5479
|
rackets(params?: {
|
|
5059
|
-
timestamp?: string;
|
|
5480
|
+
timestamp?: number | string;
|
|
5060
5481
|
}): Promise<FactionRacketsResponse>;
|
|
5061
5482
|
/**
|
|
5062
5483
|
* Get raids history for your faction
|
|
@@ -5067,7 +5488,7 @@ declare class FactionEndpoint {
|
|
|
5067
5488
|
to?: number;
|
|
5068
5489
|
sort?: "DESC" | "ASC";
|
|
5069
5490
|
limit?: number;
|
|
5070
|
-
timestamp?: string;
|
|
5491
|
+
timestamp?: number | string;
|
|
5071
5492
|
}): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
|
|
5072
5493
|
/**
|
|
5073
5494
|
* Get ranked wars history for your faction
|
|
@@ -5079,7 +5500,7 @@ declare class FactionEndpoint {
|
|
|
5079
5500
|
from?: number;
|
|
5080
5501
|
to?: number;
|
|
5081
5502
|
sort?: "DESC" | "ASC";
|
|
5082
|
-
timestamp?: string;
|
|
5503
|
+
timestamp?: number | string;
|
|
5083
5504
|
}): Promise<PaginatedResponse<FactionRankedWarResponse> & FactionRankedWarResponse>;
|
|
5084
5505
|
/**
|
|
5085
5506
|
* Get faction reports
|
|
@@ -5091,7 +5512,7 @@ declare class FactionEndpoint {
|
|
|
5091
5512
|
limit?: number;
|
|
5092
5513
|
offset?: number;
|
|
5093
5514
|
sort?: "DESC" | "ASC";
|
|
5094
|
-
timestamp?: string;
|
|
5515
|
+
timestamp?: number | string;
|
|
5095
5516
|
}): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
|
|
5096
5517
|
/**
|
|
5097
5518
|
* Get your faction's detailed revives
|
|
@@ -5104,7 +5525,7 @@ declare class FactionEndpoint {
|
|
|
5104
5525
|
to?: number;
|
|
5105
5526
|
from?: number;
|
|
5106
5527
|
striptags?: "true" | "false";
|
|
5107
|
-
timestamp?: string;
|
|
5528
|
+
timestamp?: number | string;
|
|
5108
5529
|
}): Promise<PaginatedResponse<RevivesResponse> & RevivesResponse>;
|
|
5109
5530
|
/**
|
|
5110
5531
|
* Get your faction's simplified revives
|
|
@@ -5117,7 +5538,7 @@ declare class FactionEndpoint {
|
|
|
5117
5538
|
to?: number;
|
|
5118
5539
|
from?: number;
|
|
5119
5540
|
striptags?: "true" | "false";
|
|
5120
|
-
timestamp?: string;
|
|
5541
|
+
timestamp?: number | string;
|
|
5121
5542
|
}): Promise<PaginatedResponse<RevivesFullResponse> & RevivesFullResponse>;
|
|
5122
5543
|
/**
|
|
5123
5544
|
* Search factions by name or other criteria
|
|
@@ -5128,21 +5549,21 @@ declare class FactionEndpoint {
|
|
|
5128
5549
|
filters?: ("destroyed" | "notDestroyed" | "recruiting" | "notRecruiting" | string)[];
|
|
5129
5550
|
limit?: number;
|
|
5130
5551
|
offset?: number;
|
|
5131
|
-
timestamp?: string;
|
|
5552
|
+
timestamp?: number | string;
|
|
5132
5553
|
}): Promise<PaginatedResponse<FactionSearchResponse> & FactionSearchResponse>;
|
|
5133
5554
|
/**
|
|
5134
5555
|
* Get your faction's challenges stats
|
|
5135
5556
|
* @param params - Optional query parameters
|
|
5136
5557
|
*/
|
|
5137
5558
|
stats(params?: {
|
|
5138
|
-
timestamp?: string;
|
|
5559
|
+
timestamp?: number | string;
|
|
5139
5560
|
}): Promise<FactionStatsResponse>;
|
|
5140
5561
|
/**
|
|
5141
5562
|
* Get a list of your faction's territories
|
|
5142
5563
|
* @param params - Optional query parameters
|
|
5143
5564
|
*/
|
|
5144
5565
|
territory(params?: {
|
|
5145
|
-
timestamp?: string;
|
|
5566
|
+
timestamp?: number | string;
|
|
5146
5567
|
}): Promise<FactionTerritoriesResponse>;
|
|
5147
5568
|
/**
|
|
5148
5569
|
* Get a list territory ownership
|
|
@@ -5151,7 +5572,7 @@ declare class FactionEndpoint {
|
|
|
5151
5572
|
territoryownership(params?: {
|
|
5152
5573
|
offset?: number;
|
|
5153
5574
|
limit?: number;
|
|
5154
|
-
timestamp?: string;
|
|
5575
|
+
timestamp?: number | string;
|
|
5155
5576
|
}): Promise<FactionTerritoriesOwnershipResponse>;
|
|
5156
5577
|
/**
|
|
5157
5578
|
* Get territory wars history for your faction
|
|
@@ -5162,14 +5583,14 @@ declare class FactionEndpoint {
|
|
|
5162
5583
|
to?: number;
|
|
5163
5584
|
sort?: "DESC" | "ASC";
|
|
5164
5585
|
limit?: number;
|
|
5165
|
-
timestamp?: string;
|
|
5586
|
+
timestamp?: number | string;
|
|
5166
5587
|
}): Promise<FactionTerritoryWarsHistoryResponse>;
|
|
5167
5588
|
/**
|
|
5168
5589
|
* Get your faction's upgrades
|
|
5169
5590
|
* @param params - Optional query parameters
|
|
5170
5591
|
*/
|
|
5171
5592
|
upgrades(params?: {
|
|
5172
|
-
timestamp?: string;
|
|
5593
|
+
timestamp?: number | string;
|
|
5173
5594
|
}): Promise<FactionUpgradesResponse>;
|
|
5174
5595
|
/**
|
|
5175
5596
|
* Get faction warfare
|
|
@@ -5181,28 +5602,28 @@ declare class FactionEndpoint {
|
|
|
5181
5602
|
sort?: "DESC" | "ASC";
|
|
5182
5603
|
from?: number;
|
|
5183
5604
|
to?: number;
|
|
5184
|
-
timestamp?: string;
|
|
5605
|
+
timestamp?: number | string;
|
|
5185
5606
|
}): Promise<PaginatedResponse<FactionWarfareResponse> & FactionWarfareResponse>;
|
|
5186
5607
|
/**
|
|
5187
5608
|
* Get your faction's wars & pacts details
|
|
5188
5609
|
* @param params - Optional query parameters
|
|
5189
5610
|
*/
|
|
5190
5611
|
wars(params?: {
|
|
5191
|
-
timestamp?: string;
|
|
5612
|
+
timestamp?: number | string;
|
|
5192
5613
|
}): Promise<FactionWarsResponse>;
|
|
5193
5614
|
/**
|
|
5194
5615
|
* No summary available
|
|
5195
5616
|
* @param params - Optional query parameters
|
|
5196
5617
|
*/
|
|
5197
5618
|
lookup(params?: {
|
|
5198
|
-
timestamp?: string;
|
|
5619
|
+
timestamp?: number | string;
|
|
5199
5620
|
}): Promise<FactionLookupResponse>;
|
|
5200
5621
|
/**
|
|
5201
5622
|
* Get current server time
|
|
5202
5623
|
* @param params - Optional query parameters
|
|
5203
5624
|
*/
|
|
5204
5625
|
timestamp(params?: {
|
|
5205
|
-
timestamp?: string;
|
|
5626
|
+
timestamp?: number | string;
|
|
5206
5627
|
}): Promise<TimestampResponse>;
|
|
5207
5628
|
/**
|
|
5208
5629
|
* Get any Faction selection
|
|
@@ -5221,7 +5642,7 @@ declare class FactionEndpoint {
|
|
|
5221
5642
|
striptags?: "true" | "false";
|
|
5222
5643
|
sort?: "DESC" | "ASC";
|
|
5223
5644
|
offset?: number;
|
|
5224
|
-
timestamp?: string;
|
|
5645
|
+
timestamp?: number | string;
|
|
5225
5646
|
}): Promise<FactionResponse>;
|
|
5226
5647
|
/** @param id - The ID for this context */
|
|
5227
5648
|
withId(id: string | number): FactionIdContext;
|
|
@@ -5249,14 +5670,14 @@ declare class FactionIdContext {
|
|
|
5249
5670
|
* @param params - Optional query parameters
|
|
5250
5671
|
*/
|
|
5251
5672
|
basic(params?: {
|
|
5252
|
-
timestamp?: string;
|
|
5673
|
+
timestamp?: number | string;
|
|
5253
5674
|
}): Promise<FactionBasicResponse>;
|
|
5254
5675
|
/**
|
|
5255
5676
|
* Get a faction's current chain
|
|
5256
5677
|
* @param params - Optional query parameters
|
|
5257
5678
|
*/
|
|
5258
5679
|
chain(params?: {
|
|
5259
|
-
timestamp?: string;
|
|
5680
|
+
timestamp?: number | string;
|
|
5260
5681
|
}): Promise<FactionOngoingChainResponse>;
|
|
5261
5682
|
/**
|
|
5262
5683
|
* Get a list of a faction's completed chains
|
|
@@ -5267,14 +5688,14 @@ declare class FactionIdContext {
|
|
|
5267
5688
|
sort?: "DESC" | "ASC";
|
|
5268
5689
|
to?: number;
|
|
5269
5690
|
from?: number;
|
|
5270
|
-
timestamp?: string;
|
|
5691
|
+
timestamp?: number | string;
|
|
5271
5692
|
}): Promise<PaginatedResponse<FactionChainsResponse> & FactionChainsResponse>;
|
|
5272
5693
|
/**
|
|
5273
5694
|
* Get a faction's hall of fame rankings.
|
|
5274
5695
|
* @param params - Optional query parameters
|
|
5275
5696
|
*/
|
|
5276
5697
|
hof(params?: {
|
|
5277
|
-
timestamp?: string;
|
|
5698
|
+
timestamp?: number | string;
|
|
5278
5699
|
}): Promise<FactionHofResponse>;
|
|
5279
5700
|
/**
|
|
5280
5701
|
* Get a list of a faction's members
|
|
@@ -5282,7 +5703,7 @@ declare class FactionIdContext {
|
|
|
5282
5703
|
*/
|
|
5283
5704
|
members(params?: {
|
|
5284
5705
|
striptags?: "true" | "false";
|
|
5285
|
-
timestamp?: string;
|
|
5706
|
+
timestamp?: number | string;
|
|
5286
5707
|
}): Promise<FactionMembersResponse>;
|
|
5287
5708
|
/**
|
|
5288
5709
|
* Get a faction's raids history
|
|
@@ -5293,7 +5714,7 @@ declare class FactionIdContext {
|
|
|
5293
5714
|
to?: number;
|
|
5294
5715
|
sort?: "DESC" | "ASC";
|
|
5295
5716
|
limit?: number;
|
|
5296
|
-
timestamp?: string;
|
|
5717
|
+
timestamp?: number | string;
|
|
5297
5718
|
}): Promise<PaginatedResponse<FactionRaidsResponse> & FactionRaidsResponse>;
|
|
5298
5719
|
/**
|
|
5299
5720
|
* Get a faction's ranked wars history
|
|
@@ -5302,14 +5723,14 @@ declare class FactionIdContext {
|
|
|
5302
5723
|
rankedwars(params?: {
|
|
5303
5724
|
offset?: number;
|
|
5304
5725
|
limit?: number;
|
|
5305
|
-
timestamp?: string;
|
|
5726
|
+
timestamp?: number | string;
|
|
5306
5727
|
}): Promise<PaginatedResponse<FactionRankedWarResponse> & FactionRankedWarResponse>;
|
|
5307
5728
|
/**
|
|
5308
5729
|
* Get a list of a faction's territories
|
|
5309
5730
|
* @param params - Optional query parameters
|
|
5310
5731
|
*/
|
|
5311
5732
|
territory(params?: {
|
|
5312
|
-
timestamp?: string;
|
|
5733
|
+
timestamp?: number | string;
|
|
5313
5734
|
}): Promise<FactionTerritoriesResponse>;
|
|
5314
5735
|
/**
|
|
5315
5736
|
* Get a faction's territory wars history
|
|
@@ -5320,14 +5741,14 @@ declare class FactionIdContext {
|
|
|
5320
5741
|
to?: number;
|
|
5321
5742
|
sort?: "DESC" | "ASC";
|
|
5322
5743
|
limit?: number;
|
|
5323
|
-
timestamp?: string;
|
|
5744
|
+
timestamp?: number | string;
|
|
5324
5745
|
}): Promise<FactionTerritoryWarsHistoryResponse>;
|
|
5325
5746
|
/**
|
|
5326
5747
|
* Get a faction's wars & pacts details
|
|
5327
5748
|
* @param params - Optional query parameters
|
|
5328
5749
|
*/
|
|
5329
5750
|
wars(params?: {
|
|
5330
|
-
timestamp?: string;
|
|
5751
|
+
timestamp?: number | string;
|
|
5331
5752
|
}): Promise<FactionWarsResponse>;
|
|
5332
5753
|
/** Get faction by ID */
|
|
5333
5754
|
get(): Promise<Faction>;
|
|
@@ -5345,7 +5766,7 @@ declare class FactionChainIdContext {
|
|
|
5345
5766
|
* @param params - Optional query parameters
|
|
5346
5767
|
*/
|
|
5347
5768
|
chainreport(params?: {
|
|
5348
|
-
timestamp?: string;
|
|
5769
|
+
timestamp?: number | string;
|
|
5349
5770
|
}): Promise<FactionChainReportResponse>;
|
|
5350
5771
|
}
|
|
5351
5772
|
/**
|
|
@@ -5361,7 +5782,7 @@ declare class FactionCrimeIdContext {
|
|
|
5361
5782
|
* @param params - Optional query parameters
|
|
5362
5783
|
*/
|
|
5363
5784
|
crime(params?: {
|
|
5364
|
-
timestamp?: string;
|
|
5785
|
+
timestamp?: number | string;
|
|
5365
5786
|
}): Promise<FactionCrimeResponse>;
|
|
5366
5787
|
}
|
|
5367
5788
|
/**
|
|
@@ -5377,7 +5798,7 @@ declare class FactionRaidWarIdContext {
|
|
|
5377
5798
|
* @param params - Optional query parameters
|
|
5378
5799
|
*/
|
|
5379
5800
|
raidreport(params?: {
|
|
5380
|
-
timestamp?: string;
|
|
5801
|
+
timestamp?: number | string;
|
|
5381
5802
|
}): Promise<FactionRaidWarReportResponse>;
|
|
5382
5803
|
}
|
|
5383
5804
|
/**
|
|
@@ -5393,7 +5814,7 @@ declare class FactionRankedWarIdContext {
|
|
|
5393
5814
|
* @param params - Optional query parameters
|
|
5394
5815
|
*/
|
|
5395
5816
|
rankedwarreport(params?: {
|
|
5396
|
-
timestamp?: string;
|
|
5817
|
+
timestamp?: number | string;
|
|
5397
5818
|
}): Promise<FactionRankedWarReportResponse>;
|
|
5398
5819
|
}
|
|
5399
5820
|
/**
|
|
@@ -5409,7 +5830,7 @@ declare class FactionTerritoryWarIdContext {
|
|
|
5409
5830
|
* @param params - Optional query parameters
|
|
5410
5831
|
*/
|
|
5411
5832
|
territorywarreport(params?: {
|
|
5412
|
-
timestamp?: string;
|
|
5833
|
+
timestamp?: number | string;
|
|
5413
5834
|
}): Promise<FactionTerritoryWarReportResponse>;
|
|
5414
5835
|
}
|
|
5415
5836
|
|
|
@@ -5425,7 +5846,7 @@ declare class ForumEndpoint {
|
|
|
5425
5846
|
* @param params - Optional query parameters
|
|
5426
5847
|
*/
|
|
5427
5848
|
categories(params?: {
|
|
5428
|
-
timestamp?: string;
|
|
5849
|
+
timestamp?: number | string;
|
|
5429
5850
|
}): Promise<ForumCategoriesResponse>;
|
|
5430
5851
|
/**
|
|
5431
5852
|
* Get threads across all forum categories
|
|
@@ -5436,21 +5857,21 @@ declare class ForumEndpoint {
|
|
|
5436
5857
|
sort?: "DESC" | "ASC";
|
|
5437
5858
|
from?: number;
|
|
5438
5859
|
to?: number;
|
|
5439
|
-
timestamp?: string;
|
|
5860
|
+
timestamp?: number | string;
|
|
5440
5861
|
}): Promise<PaginatedResponse<ForumThreadsResponse> & ForumThreadsResponse>;
|
|
5441
5862
|
/**
|
|
5442
5863
|
* Get all available forum selections
|
|
5443
5864
|
* @param params - Optional query parameters
|
|
5444
5865
|
*/
|
|
5445
5866
|
lookup(params?: {
|
|
5446
|
-
timestamp?: string;
|
|
5867
|
+
timestamp?: number | string;
|
|
5447
5868
|
}): Promise<ForumLookupResponse>;
|
|
5448
5869
|
/**
|
|
5449
5870
|
* Get current server time
|
|
5450
5871
|
* @param params - Optional query parameters
|
|
5451
5872
|
*/
|
|
5452
5873
|
timestamp(params?: {
|
|
5453
|
-
timestamp?: string;
|
|
5874
|
+
timestamp?: number | string;
|
|
5454
5875
|
}): Promise<TimestampResponse>;
|
|
5455
5876
|
/**
|
|
5456
5877
|
* Get any Forum selection
|
|
@@ -5465,7 +5886,7 @@ declare class ForumEndpoint {
|
|
|
5465
5886
|
from?: number;
|
|
5466
5887
|
to?: number;
|
|
5467
5888
|
offset?: number;
|
|
5468
|
-
timestamp?: string;
|
|
5889
|
+
timestamp?: number | string;
|
|
5469
5890
|
}): Promise<ForumResponse>;
|
|
5470
5891
|
/** @param threadId - The ID for this context */
|
|
5471
5892
|
withThreadId(threadId: string | number): ForumThreadIdContext;
|
|
@@ -5490,14 +5911,14 @@ declare class ForumThreadIdContext {
|
|
|
5490
5911
|
sort?: "DESC" | "ASC";
|
|
5491
5912
|
from?: number;
|
|
5492
5913
|
to?: number;
|
|
5493
|
-
timestamp?: string;
|
|
5914
|
+
timestamp?: number | string;
|
|
5494
5915
|
}): Promise<PaginatedResponse<ForumPostsResponse> & ForumPostsResponse>;
|
|
5495
5916
|
/**
|
|
5496
5917
|
* Get specific thread details
|
|
5497
5918
|
* @param params - Optional query parameters
|
|
5498
5919
|
*/
|
|
5499
5920
|
thread(params?: {
|
|
5500
|
-
timestamp?: string;
|
|
5921
|
+
timestamp?: number | string;
|
|
5501
5922
|
}): Promise<ForumThreadResponse>;
|
|
5502
5923
|
}
|
|
5503
5924
|
/**
|
|
@@ -5517,7 +5938,7 @@ declare class ForumCategoryIdsContext {
|
|
|
5517
5938
|
sort?: "DESC" | "ASC";
|
|
5518
5939
|
from?: number;
|
|
5519
5940
|
to?: number;
|
|
5520
|
-
timestamp?: string;
|
|
5941
|
+
timestamp?: number | string;
|
|
5521
5942
|
}): Promise<PaginatedResponse<ForumThreadsResponse> & ForumThreadsResponse>;
|
|
5522
5943
|
}
|
|
5523
5944
|
|
|
@@ -5535,14 +5956,14 @@ declare class KeyEndpoint {
|
|
|
5535
5956
|
log(params?: {
|
|
5536
5957
|
limit?: number;
|
|
5537
5958
|
offset?: number;
|
|
5538
|
-
timestamp?: string;
|
|
5959
|
+
timestamp?: number | string;
|
|
5539
5960
|
}): Promise<KeyLogResponse>;
|
|
5540
5961
|
/**
|
|
5541
5962
|
* Get current key info
|
|
5542
5963
|
* @param params - Optional query parameters
|
|
5543
5964
|
*/
|
|
5544
5965
|
info(params?: {
|
|
5545
|
-
timestamp?: string;
|
|
5966
|
+
timestamp?: number | string;
|
|
5546
5967
|
}): Promise<KeyInfoResponse>;
|
|
5547
5968
|
/**
|
|
5548
5969
|
* Get any Key selection
|
|
@@ -5552,7 +5973,7 @@ declare class KeyEndpoint {
|
|
|
5552
5973
|
selections?: KeySelectionName[];
|
|
5553
5974
|
limit?: number;
|
|
5554
5975
|
offset?: number;
|
|
5555
|
-
timestamp?: string;
|
|
5976
|
+
timestamp?: number | string;
|
|
5556
5977
|
}): Promise<KeyResponse>;
|
|
5557
5978
|
}
|
|
5558
5979
|
|
|
@@ -5574,7 +5995,7 @@ declare class MarketEndpoint {
|
|
|
5574
5995
|
sort?: "DESC" | "ASC";
|
|
5575
5996
|
from?: number;
|
|
5576
5997
|
to?: number;
|
|
5577
|
-
timestamp?: string;
|
|
5998
|
+
timestamp?: number | string;
|
|
5578
5999
|
}): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
|
|
5579
6000
|
/**
|
|
5580
6001
|
* Get bazaar directory
|
|
@@ -5582,21 +6003,21 @@ declare class MarketEndpoint {
|
|
|
5582
6003
|
*/
|
|
5583
6004
|
bazaar(params?: {
|
|
5584
6005
|
cat?: MarketSpecializedBazaarCategoryEnum;
|
|
5585
|
-
timestamp?: string;
|
|
6006
|
+
timestamp?: number | string;
|
|
5586
6007
|
}): Promise<BazaarResponse>;
|
|
5587
6008
|
/**
|
|
5588
6009
|
* Get all available market selections
|
|
5589
6010
|
* @param params - Optional query parameters
|
|
5590
6011
|
*/
|
|
5591
6012
|
lookup(params?: {
|
|
5592
|
-
timestamp?: string;
|
|
6013
|
+
timestamp?: number | string;
|
|
5593
6014
|
}): Promise<MarketLookupResponse>;
|
|
5594
6015
|
/**
|
|
5595
6016
|
* Get current server time
|
|
5596
6017
|
* @param params - Optional query parameters
|
|
5597
6018
|
*/
|
|
5598
6019
|
timestamp(params?: {
|
|
5599
|
-
timestamp?: string;
|
|
6020
|
+
timestamp?: number | string;
|
|
5600
6021
|
}): Promise<TimestampResponse>;
|
|
5601
6022
|
/**
|
|
5602
6023
|
* Get any Market selection
|
|
@@ -5611,7 +6032,7 @@ declare class MarketEndpoint {
|
|
|
5611
6032
|
sort?: "DESC" | "ASC";
|
|
5612
6033
|
offset?: number;
|
|
5613
6034
|
limit?: number;
|
|
5614
|
-
timestamp?: string;
|
|
6035
|
+
timestamp?: number | string;
|
|
5615
6036
|
}): Promise<MarketResponse>;
|
|
5616
6037
|
/** @param propertyTypeId - The ID for this context */
|
|
5617
6038
|
withPropertyTypeId(propertyTypeId: string | number): MarketPropertyTypeIdContext;
|
|
@@ -5629,7 +6050,7 @@ declare class MarketIdContext {
|
|
|
5629
6050
|
* @param params - Optional query parameters
|
|
5630
6051
|
*/
|
|
5631
6052
|
auctionhouselisting(params?: {
|
|
5632
|
-
timestamp?: string;
|
|
6053
|
+
timestamp?: number | string;
|
|
5633
6054
|
}): Promise<AuctionHouseListing>;
|
|
5634
6055
|
/**
|
|
5635
6056
|
* Get specific item auction house listings
|
|
@@ -5640,14 +6061,14 @@ declare class MarketIdContext {
|
|
|
5640
6061
|
sort?: "DESC" | "ASC";
|
|
5641
6062
|
from?: number;
|
|
5642
6063
|
to?: number;
|
|
5643
|
-
timestamp?: string;
|
|
6064
|
+
timestamp?: number | string;
|
|
5644
6065
|
}): Promise<PaginatedResponse<AuctionHouseResponse> & AuctionHouseResponse>;
|
|
5645
6066
|
/**
|
|
5646
6067
|
* Get item specialized bazaar directory
|
|
5647
6068
|
* @param params - Optional query parameters
|
|
5648
6069
|
*/
|
|
5649
6070
|
bazaar(params?: {
|
|
5650
|
-
timestamp?: string;
|
|
6071
|
+
timestamp?: number | string;
|
|
5651
6072
|
}): Promise<BazaarResponseSpecialized>;
|
|
5652
6073
|
/**
|
|
5653
6074
|
* Get item market listings
|
|
@@ -5657,7 +6078,7 @@ declare class MarketIdContext {
|
|
|
5657
6078
|
bonus?: WeaponBonusEnum;
|
|
5658
6079
|
limit?: number;
|
|
5659
6080
|
offset?: number;
|
|
5660
|
-
timestamp?: string;
|
|
6081
|
+
timestamp?: number | string;
|
|
5661
6082
|
}): Promise<PaginatedResponse<MarketItemMarketResponse> & MarketItemMarketResponse>;
|
|
5662
6083
|
}
|
|
5663
6084
|
/**
|
|
@@ -5676,7 +6097,7 @@ declare class MarketPropertyTypeIdContext {
|
|
|
5676
6097
|
offset?: number;
|
|
5677
6098
|
limit?: number;
|
|
5678
6099
|
sort?: "DESC" | "ASC";
|
|
5679
|
-
timestamp?: string;
|
|
6100
|
+
timestamp?: number | string;
|
|
5680
6101
|
}): Promise<PaginatedResponse<MarketPropertiesResponse> & MarketPropertiesResponse>;
|
|
5681
6102
|
/**
|
|
5682
6103
|
* Get properties rental listings
|
|
@@ -5686,7 +6107,7 @@ declare class MarketPropertyTypeIdContext {
|
|
|
5686
6107
|
offset?: number;
|
|
5687
6108
|
limit?: number;
|
|
5688
6109
|
sort?: "DESC" | "ASC";
|
|
5689
|
-
timestamp?: string;
|
|
6110
|
+
timestamp?: number | string;
|
|
5690
6111
|
}): Promise<PaginatedResponse<MarketRentalsResponse> & MarketRentalsResponse>;
|
|
5691
6112
|
}
|
|
5692
6113
|
|
|
@@ -5704,14 +6125,14 @@ declare class PropertyEndpoint {
|
|
|
5704
6125
|
* @param params - Optional query parameters
|
|
5705
6126
|
*/
|
|
5706
6127
|
lookup(params?: {
|
|
5707
|
-
timestamp?: string;
|
|
6128
|
+
timestamp?: number | string;
|
|
5708
6129
|
}): Promise<PropertyLookupResponse>;
|
|
5709
6130
|
/**
|
|
5710
6131
|
* Get current server time
|
|
5711
6132
|
* @param params - Optional query parameters
|
|
5712
6133
|
*/
|
|
5713
6134
|
timestamp(params?: {
|
|
5714
|
-
timestamp?: string;
|
|
6135
|
+
timestamp?: number | string;
|
|
5715
6136
|
}): Promise<TimestampResponse>;
|
|
5716
6137
|
/**
|
|
5717
6138
|
* Get any property selection
|
|
@@ -5720,7 +6141,7 @@ declare class PropertyEndpoint {
|
|
|
5720
6141
|
get(params?: {
|
|
5721
6142
|
selections?: PropertySelectionName[];
|
|
5722
6143
|
id?: PropertyId;
|
|
5723
|
-
timestamp?: string;
|
|
6144
|
+
timestamp?: number | string;
|
|
5724
6145
|
}): Promise<PropertyResponse>;
|
|
5725
6146
|
}
|
|
5726
6147
|
/**
|
|
@@ -5736,7 +6157,7 @@ declare class PropertyIdContext {
|
|
|
5736
6157
|
* @param params - Optional query parameters
|
|
5737
6158
|
*/
|
|
5738
6159
|
get(params?: {
|
|
5739
|
-
timestamp?: string;
|
|
6160
|
+
timestamp?: number | string;
|
|
5740
6161
|
}): Promise<PropertyPropertyResponse>;
|
|
5741
6162
|
}
|
|
5742
6163
|
|
|
@@ -5752,14 +6173,14 @@ declare class RacingEndpoint {
|
|
|
5752
6173
|
* @param params - Optional query parameters
|
|
5753
6174
|
*/
|
|
5754
6175
|
cars(params?: {
|
|
5755
|
-
timestamp?: string;
|
|
6176
|
+
timestamp?: number | string;
|
|
5756
6177
|
}): Promise<RacingCarsResponse>;
|
|
5757
6178
|
/**
|
|
5758
6179
|
* Get all possible car upgrades
|
|
5759
6180
|
* @param params - Optional query parameters
|
|
5760
6181
|
*/
|
|
5761
6182
|
carupgrades(params?: {
|
|
5762
|
-
timestamp?: string;
|
|
6183
|
+
timestamp?: number | string;
|
|
5763
6184
|
}): Promise<RacingCarUpgradesResponse>;
|
|
5764
6185
|
/**
|
|
5765
6186
|
* Get races
|
|
@@ -5771,28 +6192,28 @@ declare class RacingEndpoint {
|
|
|
5771
6192
|
to?: number;
|
|
5772
6193
|
from?: number;
|
|
5773
6194
|
cat?: RacingRaceTypeEnum;
|
|
5774
|
-
timestamp?: string;
|
|
6195
|
+
timestamp?: number | string;
|
|
5775
6196
|
}): Promise<PaginatedResponse<RacingRacesResponse> & RacingRacesResponse>;
|
|
5776
6197
|
/**
|
|
5777
6198
|
* Get race tracks and descriptions
|
|
5778
6199
|
* @param params - Optional query parameters
|
|
5779
6200
|
*/
|
|
5780
6201
|
tracks(params?: {
|
|
5781
|
-
timestamp?: string;
|
|
6202
|
+
timestamp?: number | string;
|
|
5782
6203
|
}): Promise<RacingTracksResponse>;
|
|
5783
6204
|
/**
|
|
5784
6205
|
* Get all available racing selections
|
|
5785
6206
|
* @param params - Optional query parameters
|
|
5786
6207
|
*/
|
|
5787
6208
|
lookup(params?: {
|
|
5788
|
-
timestamp?: string;
|
|
6209
|
+
timestamp?: number | string;
|
|
5789
6210
|
}): Promise<RacingLookupResponse>;
|
|
5790
6211
|
/**
|
|
5791
6212
|
* Get current server time
|
|
5792
6213
|
* @param params - Optional query parameters
|
|
5793
6214
|
*/
|
|
5794
6215
|
timestamp(params?: {
|
|
5795
|
-
timestamp?: string;
|
|
6216
|
+
timestamp?: number | string;
|
|
5796
6217
|
}): Promise<TimestampResponse>;
|
|
5797
6218
|
/**
|
|
5798
6219
|
* Get any Racing selection
|
|
@@ -5807,7 +6228,7 @@ declare class RacingEndpoint {
|
|
|
5807
6228
|
from?: number;
|
|
5808
6229
|
cat?: RacingRaceTypeEnum | RaceClassEnum;
|
|
5809
6230
|
offset?: number;
|
|
5810
|
-
timestamp?: string;
|
|
6231
|
+
timestamp?: number | string;
|
|
5811
6232
|
}): Promise<RacingResponse>;
|
|
5812
6233
|
/** @param raceId - The ID for this context */
|
|
5813
6234
|
withRaceId(raceId: string | number): RacingRaceIdContext;
|
|
@@ -5827,7 +6248,7 @@ declare class RacingRaceIdContext {
|
|
|
5827
6248
|
* @param params - Optional query parameters
|
|
5828
6249
|
*/
|
|
5829
6250
|
race(params?: {
|
|
5830
|
-
timestamp?: string;
|
|
6251
|
+
timestamp?: number | string;
|
|
5831
6252
|
}): Promise<RacingRaceDetailsResponse>;
|
|
5832
6253
|
}
|
|
5833
6254
|
/**
|
|
@@ -5844,7 +6265,7 @@ declare class RacingTrackIdContext {
|
|
|
5844
6265
|
*/
|
|
5845
6266
|
records(params?: {
|
|
5846
6267
|
cat?: RaceClassEnum;
|
|
5847
|
-
timestamp?: string;
|
|
6268
|
+
timestamp?: number | string;
|
|
5848
6269
|
}): Promise<RacingTrackRecordsResponse>;
|
|
5849
6270
|
}
|
|
5850
6271
|
|
|
@@ -5864,7 +6285,7 @@ declare class TornEndpoint {
|
|
|
5864
6285
|
offset?: number;
|
|
5865
6286
|
sort?: "DESC" | "ASC";
|
|
5866
6287
|
striptags?: "true" | "false";
|
|
5867
|
-
timestamp?: string;
|
|
6288
|
+
timestamp?: number | string;
|
|
5868
6289
|
}): Promise<PaginatedResponse<AttackLogResponse> & AttackLogResponse>;
|
|
5869
6290
|
/**
|
|
5870
6291
|
* Get bounties
|
|
@@ -5873,35 +6294,35 @@ declare class TornEndpoint {
|
|
|
5873
6294
|
bounties(params?: {
|
|
5874
6295
|
limit?: number;
|
|
5875
6296
|
offset?: number;
|
|
5876
|
-
timestamp?: string;
|
|
6297
|
+
timestamp?: number | string;
|
|
5877
6298
|
}): Promise<PaginatedResponse<TornBountiesResponse> & TornBountiesResponse>;
|
|
5878
6299
|
/**
|
|
5879
6300
|
* Get calendar information
|
|
5880
6301
|
* @param params - Optional query parameters
|
|
5881
6302
|
*/
|
|
5882
6303
|
calendar(params?: {
|
|
5883
|
-
timestamp?: string;
|
|
6304
|
+
timestamp?: number | string;
|
|
5884
6305
|
}): Promise<TornCalendarResponse>;
|
|
5885
6306
|
/**
|
|
5886
6307
|
* Get crimes information
|
|
5887
6308
|
* @param params - Optional query parameters
|
|
5888
6309
|
*/
|
|
5889
6310
|
crimes(params?: {
|
|
5890
|
-
timestamp?: string;
|
|
6311
|
+
timestamp?: number | string;
|
|
5891
6312
|
}): Promise<TornCrimesResponse>;
|
|
5892
6313
|
/**
|
|
5893
6314
|
* Get education information
|
|
5894
6315
|
* @param params - Optional query parameters
|
|
5895
6316
|
*/
|
|
5896
6317
|
education(params?: {
|
|
5897
|
-
timestamp?: string;
|
|
6318
|
+
timestamp?: number | string;
|
|
5898
6319
|
}): Promise<TornEducationResponse>;
|
|
5899
6320
|
/**
|
|
5900
6321
|
* Get current standings for all elimination teams
|
|
5901
6322
|
* @param params - Optional query parameters
|
|
5902
6323
|
*/
|
|
5903
6324
|
elimination(params?: {
|
|
5904
|
-
timestamp?: string;
|
|
6325
|
+
timestamp?: number | string;
|
|
5905
6326
|
}): Promise<TornEliminationTeamsResponse>;
|
|
5906
6327
|
/**
|
|
5907
6328
|
* Get faction hall of fame positions for a specific category
|
|
@@ -5911,14 +6332,14 @@ declare class TornEndpoint {
|
|
|
5911
6332
|
limit?: number;
|
|
5912
6333
|
offset?: number;
|
|
5913
6334
|
cat?: TornFactionHofCategory;
|
|
5914
|
-
timestamp?: string;
|
|
6335
|
+
timestamp?: number | string;
|
|
5915
6336
|
}): Promise<PaginatedResponse<TornFactionHofResponse> & TornFactionHofResponse>;
|
|
5916
6337
|
/**
|
|
5917
6338
|
* Get full faction tree
|
|
5918
6339
|
* @param params - Optional query parameters
|
|
5919
6340
|
*/
|
|
5920
6341
|
factiontree(params?: {
|
|
5921
|
-
timestamp?: string;
|
|
6342
|
+
timestamp?: number | string;
|
|
5922
6343
|
}): Promise<TornFactionTreeResponse>;
|
|
5923
6344
|
/**
|
|
5924
6345
|
* Get all honors
|
|
@@ -5928,7 +6349,7 @@ declare class TornEndpoint {
|
|
|
5928
6349
|
limit?: number;
|
|
5929
6350
|
offset?: number;
|
|
5930
6351
|
sort?: "DESC" | "ASC";
|
|
5931
|
-
timestamp?: string;
|
|
6352
|
+
timestamp?: number | string;
|
|
5932
6353
|
}): Promise<TornHonorsResponse>;
|
|
5933
6354
|
/**
|
|
5934
6355
|
* Get player hall of fame positions for a specific category
|
|
@@ -5938,21 +6359,21 @@ declare class TornEndpoint {
|
|
|
5938
6359
|
limit?: number;
|
|
5939
6360
|
offset?: number;
|
|
5940
6361
|
cat?: TornHofCategory;
|
|
5941
|
-
timestamp?: string;
|
|
6362
|
+
timestamp?: number | string;
|
|
5942
6363
|
}): Promise<PaginatedResponse<TornHofResponse> & TornHofResponse>;
|
|
5943
6364
|
/**
|
|
5944
6365
|
* Get information about ammo
|
|
5945
6366
|
* @param params - Optional query parameters
|
|
5946
6367
|
*/
|
|
5947
6368
|
itemammo(params?: {
|
|
5948
|
-
timestamp?: string;
|
|
6369
|
+
timestamp?: number | string;
|
|
5949
6370
|
}): Promise<TornItemAmmoResponse>;
|
|
5950
6371
|
/**
|
|
5951
6372
|
* Get information about weapon upgrades
|
|
5952
6373
|
* @param params - Optional query parameters
|
|
5953
6374
|
*/
|
|
5954
6375
|
itemmods(params?: {
|
|
5955
|
-
timestamp?: string;
|
|
6376
|
+
timestamp?: number | string;
|
|
5956
6377
|
}): Promise<TornItemModsResponse>;
|
|
5957
6378
|
/**
|
|
5958
6379
|
* Get information about items
|
|
@@ -5961,56 +6382,56 @@ declare class TornEndpoint {
|
|
|
5961
6382
|
items(params?: {
|
|
5962
6383
|
cat?: TornItemCategory;
|
|
5963
6384
|
sort?: "DESC" | "ASC";
|
|
5964
|
-
timestamp?: string;
|
|
6385
|
+
timestamp?: number | string;
|
|
5965
6386
|
}): Promise<TornItemsResponse>;
|
|
5966
6387
|
/**
|
|
5967
6388
|
* Get available log categories
|
|
5968
6389
|
* @param params - Optional query parameters
|
|
5969
6390
|
*/
|
|
5970
6391
|
logcategories(params?: {
|
|
5971
|
-
timestamp?: string;
|
|
6392
|
+
timestamp?: number | string;
|
|
5972
6393
|
}): Promise<TornLogCategoriesResponse>;
|
|
5973
6394
|
/**
|
|
5974
6395
|
* Get all available log ids
|
|
5975
6396
|
* @param params - Optional query parameters
|
|
5976
6397
|
*/
|
|
5977
6398
|
logtypes(params?: {
|
|
5978
|
-
timestamp?: string;
|
|
6399
|
+
timestamp?: number | string;
|
|
5979
6400
|
}): Promise<TornLogTypesResponse>;
|
|
5980
6401
|
/**
|
|
5981
6402
|
* Get all medals
|
|
5982
6403
|
* @param params - Optional query parameters
|
|
5983
6404
|
*/
|
|
5984
6405
|
medals(params?: {
|
|
5985
|
-
timestamp?: string;
|
|
6406
|
+
timestamp?: number | string;
|
|
5986
6407
|
}): Promise<TornMedalsResponse>;
|
|
5987
6408
|
/**
|
|
5988
6409
|
* Get all merits
|
|
5989
6410
|
* @param params - Optional query parameters
|
|
5990
6411
|
*/
|
|
5991
6412
|
merits(params?: {
|
|
5992
|
-
timestamp?: string;
|
|
6413
|
+
timestamp?: number | string;
|
|
5993
6414
|
}): Promise<TornMeritsResponse>;
|
|
5994
6415
|
/**
|
|
5995
6416
|
* Get organized crimes information
|
|
5996
6417
|
* @param params - Optional query parameters
|
|
5997
6418
|
*/
|
|
5998
6419
|
organizedcrimes(params?: {
|
|
5999
|
-
timestamp?: string;
|
|
6420
|
+
timestamp?: number | string;
|
|
6000
6421
|
}): Promise<TornOrganizedCrimeResponse>;
|
|
6001
6422
|
/**
|
|
6002
6423
|
* Get properties details
|
|
6003
6424
|
* @param params - Optional query parameters
|
|
6004
6425
|
*/
|
|
6005
6426
|
properties(params?: {
|
|
6006
|
-
timestamp?: string;
|
|
6427
|
+
timestamp?: number | string;
|
|
6007
6428
|
}): Promise<TornProperties>;
|
|
6008
6429
|
/**
|
|
6009
6430
|
* Get all stocks
|
|
6010
6431
|
* @param params - Optional query parameters
|
|
6011
6432
|
*/
|
|
6012
6433
|
stocks(params?: {
|
|
6013
|
-
timestamp?: string;
|
|
6434
|
+
timestamp?: number | string;
|
|
6014
6435
|
}): Promise<TornStocksResponse>;
|
|
6015
6436
|
/**
|
|
6016
6437
|
* Get territory details
|
|
@@ -6020,21 +6441,21 @@ declare class TornEndpoint {
|
|
|
6020
6441
|
ids?: FactionTerritoryEnum[];
|
|
6021
6442
|
offset?: number;
|
|
6022
6443
|
limit?: number;
|
|
6023
|
-
timestamp?: string;
|
|
6444
|
+
timestamp?: number | string;
|
|
6024
6445
|
}): Promise<PaginatedResponse<TornTerritoriesResponse> & TornTerritoriesResponse>;
|
|
6025
6446
|
/**
|
|
6026
6447
|
* Get all available torn selections
|
|
6027
6448
|
* @param params - Optional query parameters
|
|
6028
6449
|
*/
|
|
6029
6450
|
lookup(params?: {
|
|
6030
|
-
timestamp?: string;
|
|
6451
|
+
timestamp?: number | string;
|
|
6031
6452
|
}): Promise<TornLookupResponse>;
|
|
6032
6453
|
/**
|
|
6033
6454
|
* Get current server time
|
|
6034
6455
|
* @param params - Optional query parameters
|
|
6035
6456
|
*/
|
|
6036
6457
|
timestamp(params?: {
|
|
6037
|
-
timestamp?: string;
|
|
6458
|
+
timestamp?: number | string;
|
|
6038
6459
|
}): Promise<TimestampResponse>;
|
|
6039
6460
|
/**
|
|
6040
6461
|
* Get any Torn selection
|
|
@@ -6051,7 +6472,7 @@ declare class TornEndpoint {
|
|
|
6051
6472
|
sort?: "DESC" | "ASC";
|
|
6052
6473
|
cat?: TornFactionHofCategory | TornHofCategory | TornItemCategory;
|
|
6053
6474
|
offset?: number;
|
|
6054
|
-
timestamp?: string;
|
|
6475
|
+
timestamp?: number | string;
|
|
6055
6476
|
}): Promise<TornResponse>;
|
|
6056
6477
|
/** @param id - The ID for this context */
|
|
6057
6478
|
withId(id: string | number): TornIdContext;
|
|
@@ -6079,14 +6500,14 @@ declare class TornIdContext {
|
|
|
6079
6500
|
eliminationteam(params?: {
|
|
6080
6501
|
limit?: number;
|
|
6081
6502
|
offset?: number;
|
|
6082
|
-
timestamp?: string;
|
|
6503
|
+
timestamp?: number | string;
|
|
6083
6504
|
}): Promise<PaginatedResponse<TornEliminationTeamPlayersResponse> & TornEliminationTeamPlayersResponse>;
|
|
6084
6505
|
/**
|
|
6085
6506
|
* Get information about a specific item
|
|
6086
6507
|
* @param params - Optional query parameters
|
|
6087
6508
|
*/
|
|
6088
6509
|
itemdetails(params?: {
|
|
6089
|
-
timestamp?: string;
|
|
6510
|
+
timestamp?: number | string;
|
|
6090
6511
|
}): Promise<TornItemDetailsResponse>;
|
|
6091
6512
|
}
|
|
6092
6513
|
/**
|
|
@@ -6102,7 +6523,7 @@ declare class TornIdsContext {
|
|
|
6102
6523
|
* @param params - Optional query parameters
|
|
6103
6524
|
*/
|
|
6104
6525
|
honors(params?: {
|
|
6105
|
-
timestamp?: string;
|
|
6526
|
+
timestamp?: number | string;
|
|
6106
6527
|
}): Promise<TornHonorsResponse>;
|
|
6107
6528
|
/**
|
|
6108
6529
|
* Get information about items
|
|
@@ -6110,14 +6531,14 @@ declare class TornIdsContext {
|
|
|
6110
6531
|
*/
|
|
6111
6532
|
items(params?: {
|
|
6112
6533
|
sort?: "DESC" | "ASC";
|
|
6113
|
-
timestamp?: string;
|
|
6534
|
+
timestamp?: number | string;
|
|
6114
6535
|
}): Promise<TornItemsResponse>;
|
|
6115
6536
|
/**
|
|
6116
6537
|
* Get specific medals
|
|
6117
6538
|
* @param params - Optional query parameters
|
|
6118
6539
|
*/
|
|
6119
6540
|
medals(params?: {
|
|
6120
|
-
timestamp?: string;
|
|
6541
|
+
timestamp?: number | string;
|
|
6121
6542
|
}): Promise<TornMedalsResponse>;
|
|
6122
6543
|
}
|
|
6123
6544
|
/**
|
|
@@ -6133,7 +6554,7 @@ declare class TornLogCategoryIdContext {
|
|
|
6133
6554
|
* @param params - Optional query parameters
|
|
6134
6555
|
*/
|
|
6135
6556
|
logtypes(params?: {
|
|
6136
|
-
timestamp?: string;
|
|
6557
|
+
timestamp?: number | string;
|
|
6137
6558
|
}): Promise<TornLogTypesResponse>;
|
|
6138
6559
|
}
|
|
6139
6560
|
/**
|
|
@@ -6149,7 +6570,7 @@ declare class TornStockIdContext {
|
|
|
6149
6570
|
* @param params - Optional query parameters
|
|
6150
6571
|
*/
|
|
6151
6572
|
stocks(params?: {
|
|
6152
|
-
timestamp?: string;
|
|
6573
|
+
timestamp?: number | string;
|
|
6153
6574
|
}): Promise<TornStockDetailedResponse>;
|
|
6154
6575
|
}
|
|
6155
6576
|
/**
|
|
@@ -6165,7 +6586,7 @@ declare class TornCrimeIdContext {
|
|
|
6165
6586
|
* @param params - Optional query parameters
|
|
6166
6587
|
*/
|
|
6167
6588
|
subcrimes(params?: {
|
|
6168
|
-
timestamp?: string;
|
|
6589
|
+
timestamp?: number | string;
|
|
6169
6590
|
}): Promise<TornSubcrimesResponse>;
|
|
6170
6591
|
}
|
|
6171
6592
|
|
|
@@ -6181,7 +6602,7 @@ declare class UserEndpoint {
|
|
|
6181
6602
|
* @param params - Optional query parameters
|
|
6182
6603
|
*/
|
|
6183
6604
|
ammo(params?: {
|
|
6184
|
-
timestamp?: string;
|
|
6605
|
+
timestamp?: number | string;
|
|
6185
6606
|
}): Promise<UserAmmoResponse>;
|
|
6186
6607
|
/**
|
|
6187
6608
|
* Get your detailed attacks
|
|
@@ -6193,7 +6614,7 @@ declare class UserEndpoint {
|
|
|
6193
6614
|
sort?: "DESC" | "ASC";
|
|
6194
6615
|
to?: number;
|
|
6195
6616
|
from?: number;
|
|
6196
|
-
timestamp?: string;
|
|
6617
|
+
timestamp?: number | string;
|
|
6197
6618
|
}): Promise<PaginatedResponse<AttacksResponse> & AttacksResponse>;
|
|
6198
6619
|
/**
|
|
6199
6620
|
* Get your simplified attacks
|
|
@@ -6205,14 +6626,14 @@ declare class UserEndpoint {
|
|
|
6205
6626
|
sort?: "DESC" | "ASC";
|
|
6206
6627
|
to?: number;
|
|
6207
6628
|
from?: number;
|
|
6208
|
-
timestamp?: string;
|
|
6629
|
+
timestamp?: number | string;
|
|
6209
6630
|
}): Promise<PaginatedResponse<AttacksFullResponse> & AttacksFullResponse>;
|
|
6210
6631
|
/**
|
|
6211
6632
|
* Get your bars information
|
|
6212
6633
|
* @param params - Optional query parameters
|
|
6213
6634
|
*/
|
|
6214
6635
|
bars(params?: {
|
|
6215
|
-
timestamp?: string;
|
|
6636
|
+
timestamp?: number | string;
|
|
6216
6637
|
}): Promise<UserBarsResponse>;
|
|
6217
6638
|
/**
|
|
6218
6639
|
* Get your basic profile information
|
|
@@ -6220,77 +6641,77 @@ declare class UserEndpoint {
|
|
|
6220
6641
|
*/
|
|
6221
6642
|
basic(params?: {
|
|
6222
6643
|
striptags?: "true" | "false";
|
|
6223
|
-
timestamp?: string;
|
|
6644
|
+
timestamp?: number | string;
|
|
6224
6645
|
}): Promise<UserBasicResponse>;
|
|
6225
6646
|
/**
|
|
6226
6647
|
* Get your battlestats
|
|
6227
6648
|
* @param params - Optional query parameters
|
|
6228
6649
|
*/
|
|
6229
6650
|
battlestats(params?: {
|
|
6230
|
-
timestamp?: string;
|
|
6651
|
+
timestamp?: number | string;
|
|
6231
6652
|
}): Promise<UserBattleStatsResponse>;
|
|
6232
6653
|
/**
|
|
6233
6654
|
* Get bounties placed on you
|
|
6234
6655
|
* @param params - Optional query parameters
|
|
6235
6656
|
*/
|
|
6236
6657
|
bounties(params?: {
|
|
6237
|
-
timestamp?: string;
|
|
6658
|
+
timestamp?: number | string;
|
|
6238
6659
|
}): Promise<UserBountiesResponse>;
|
|
6239
6660
|
/**
|
|
6240
6661
|
* Get your calendar events start time
|
|
6241
6662
|
* @param params - Optional query parameters
|
|
6242
6663
|
*/
|
|
6243
6664
|
calendar(params?: {
|
|
6244
|
-
timestamp?: string;
|
|
6665
|
+
timestamp?: number | string;
|
|
6245
6666
|
}): Promise<UserCalendarResponse>;
|
|
6246
6667
|
/**
|
|
6247
6668
|
* Get your casino streak & tokens
|
|
6248
6669
|
* @param params - Optional query parameters
|
|
6249
6670
|
*/
|
|
6250
6671
|
casino(params?: {
|
|
6251
|
-
timestamp?: string;
|
|
6672
|
+
timestamp?: number | string;
|
|
6252
6673
|
}): Promise<UserCasinoResponse>;
|
|
6253
6674
|
/**
|
|
6254
6675
|
* Get your competition information
|
|
6255
6676
|
* @param params - Optional query parameters
|
|
6256
6677
|
*/
|
|
6257
6678
|
competition(params?: {
|
|
6258
|
-
timestamp?: string;
|
|
6679
|
+
timestamp?: number | string;
|
|
6259
6680
|
}): Promise<UserCompetitionResponse>;
|
|
6260
6681
|
/**
|
|
6261
6682
|
* Get your cooldowns information
|
|
6262
6683
|
* @param params - Optional query parameters
|
|
6263
6684
|
*/
|
|
6264
6685
|
cooldowns(params?: {
|
|
6265
|
-
timestamp?: string;
|
|
6686
|
+
timestamp?: number | string;
|
|
6266
6687
|
}): Promise<UserCooldownsResponse>;
|
|
6267
6688
|
/**
|
|
6268
6689
|
* Get your discord information
|
|
6269
6690
|
* @param params - Optional query parameters
|
|
6270
6691
|
*/
|
|
6271
6692
|
discord(params?: {
|
|
6272
|
-
timestamp?: string;
|
|
6693
|
+
timestamp?: number | string;
|
|
6273
6694
|
}): Promise<UserDiscordResponse>;
|
|
6274
6695
|
/**
|
|
6275
6696
|
* Get your education information
|
|
6276
6697
|
* @param params - Optional query parameters
|
|
6277
6698
|
*/
|
|
6278
6699
|
education(params?: {
|
|
6279
|
-
timestamp?: string;
|
|
6700
|
+
timestamp?: number | string;
|
|
6280
6701
|
}): Promise<UserEducationResponse>;
|
|
6281
6702
|
/**
|
|
6282
6703
|
* Get your enlisted cars
|
|
6283
6704
|
* @param params - Optional query parameters
|
|
6284
6705
|
*/
|
|
6285
6706
|
enlistedcars(params?: {
|
|
6286
|
-
timestamp?: string;
|
|
6707
|
+
timestamp?: number | string;
|
|
6287
6708
|
}): Promise<UserEnlistedCarsResponse>;
|
|
6288
6709
|
/**
|
|
6289
6710
|
* Get your equipment & clothing
|
|
6290
6711
|
* @param params - Optional query parameters
|
|
6291
6712
|
*/
|
|
6292
6713
|
equipment(params?: {
|
|
6293
|
-
timestamp?: string;
|
|
6714
|
+
timestamp?: number | string;
|
|
6294
6715
|
}): Promise<UserEquipmentResponse>;
|
|
6295
6716
|
/**
|
|
6296
6717
|
* Get your events
|
|
@@ -6301,28 +6722,28 @@ declare class UserEndpoint {
|
|
|
6301
6722
|
limit?: number;
|
|
6302
6723
|
from?: number;
|
|
6303
6724
|
to?: number;
|
|
6304
|
-
timestamp?: string;
|
|
6725
|
+
timestamp?: number | string;
|
|
6305
6726
|
}): Promise<PaginatedResponse<UserEventsResponse> & UserEventsResponse>;
|
|
6306
6727
|
/**
|
|
6307
6728
|
* Get your faction information
|
|
6308
6729
|
* @param params - Optional query parameters
|
|
6309
6730
|
*/
|
|
6310
6731
|
faction(params?: {
|
|
6311
|
-
timestamp?: string;
|
|
6732
|
+
timestamp?: number | string;
|
|
6312
6733
|
}): Promise<UserFactionResponse>;
|
|
6313
6734
|
/**
|
|
6314
6735
|
* Get updates on your threads and posts
|
|
6315
6736
|
* @param params - Optional query parameters
|
|
6316
6737
|
*/
|
|
6317
6738
|
forumfeed(params?: {
|
|
6318
|
-
timestamp?: string;
|
|
6739
|
+
timestamp?: number | string;
|
|
6319
6740
|
}): Promise<UserForumFeedResponse>;
|
|
6320
6741
|
/**
|
|
6321
6742
|
* Get updates on your friends' activity
|
|
6322
6743
|
* @param params - Optional query parameters
|
|
6323
6744
|
*/
|
|
6324
6745
|
forumfriends(params?: {
|
|
6325
|
-
timestamp?: string;
|
|
6746
|
+
timestamp?: number | string;
|
|
6326
6747
|
}): Promise<UserForumFriendsResponse>;
|
|
6327
6748
|
/**
|
|
6328
6749
|
* Get your posts
|
|
@@ -6334,14 +6755,14 @@ declare class UserEndpoint {
|
|
|
6334
6755
|
sort?: "DESC" | "ASC";
|
|
6335
6756
|
from?: number;
|
|
6336
6757
|
to?: number;
|
|
6337
|
-
timestamp?: string;
|
|
6758
|
+
timestamp?: number | string;
|
|
6338
6759
|
}): Promise<PaginatedResponse<UserForumPostsResponse> & UserForumPostsResponse>;
|
|
6339
6760
|
/**
|
|
6340
6761
|
* Get updates on threads you subscribed to
|
|
6341
6762
|
* @param params - Optional query parameters
|
|
6342
6763
|
*/
|
|
6343
6764
|
forumsubscribedthreads(params?: {
|
|
6344
|
-
timestamp?: string;
|
|
6765
|
+
timestamp?: number | string;
|
|
6345
6766
|
}): Promise<UserForumSubscribedThreadsResponse>;
|
|
6346
6767
|
/**
|
|
6347
6768
|
* Get your threads
|
|
@@ -6352,28 +6773,28 @@ declare class UserEndpoint {
|
|
|
6352
6773
|
sort?: "DESC" | "ASC";
|
|
6353
6774
|
from?: number;
|
|
6354
6775
|
to?: number;
|
|
6355
|
-
timestamp?: string;
|
|
6776
|
+
timestamp?: number | string;
|
|
6356
6777
|
}): Promise<PaginatedResponse<UserForumThreadsResponse> & UserForumThreadsResponse>;
|
|
6357
6778
|
/**
|
|
6358
6779
|
* Get your hall of fame rankings
|
|
6359
6780
|
* @param params - Optional query parameters
|
|
6360
6781
|
*/
|
|
6361
6782
|
hof(params?: {
|
|
6362
|
-
timestamp?: string;
|
|
6783
|
+
timestamp?: number | string;
|
|
6363
6784
|
}): Promise<UserHofResponse>;
|
|
6364
6785
|
/**
|
|
6365
6786
|
* Get your achieved honors
|
|
6366
6787
|
* @param params - Optional query parameters
|
|
6367
6788
|
*/
|
|
6368
6789
|
honors(params?: {
|
|
6369
|
-
timestamp?: string;
|
|
6790
|
+
timestamp?: number | string;
|
|
6370
6791
|
}): Promise<UserHonorsResponse>;
|
|
6371
6792
|
/**
|
|
6372
6793
|
* Get your icons information
|
|
6373
6794
|
* @param params - Optional query parameters
|
|
6374
6795
|
*/
|
|
6375
6796
|
icons(params?: {
|
|
6376
|
-
timestamp?: string;
|
|
6797
|
+
timestamp?: number | string;
|
|
6377
6798
|
}): Promise<UserIconsResponse>;
|
|
6378
6799
|
/**
|
|
6379
6800
|
* Get your inventory
|
|
@@ -6383,7 +6804,7 @@ declare class UserEndpoint {
|
|
|
6383
6804
|
cat?: TornInventoryItemType;
|
|
6384
6805
|
offset?: number;
|
|
6385
6806
|
limit?: number;
|
|
6386
|
-
timestamp?: string;
|
|
6807
|
+
timestamp?: number | string;
|
|
6387
6808
|
}): Promise<PaginatedResponse<UserInventoryResponse> & UserInventoryResponse>;
|
|
6388
6809
|
/**
|
|
6389
6810
|
* Get your item market listings
|
|
@@ -6391,28 +6812,35 @@ declare class UserEndpoint {
|
|
|
6391
6812
|
*/
|
|
6392
6813
|
itemmarket(params?: {
|
|
6393
6814
|
offset?: number;
|
|
6394
|
-
timestamp?: string;
|
|
6815
|
+
timestamp?: number | string;
|
|
6395
6816
|
}): Promise<PaginatedResponse<UserItemMarketResponse> & UserItemMarketResponse>;
|
|
6817
|
+
/**
|
|
6818
|
+
* Get your information about available item mods
|
|
6819
|
+
* @param params - Optional query parameters
|
|
6820
|
+
*/
|
|
6821
|
+
itemmods(params?: {
|
|
6822
|
+
timestamp?: number | string;
|
|
6823
|
+
}): Promise<UserItemModsResponse>;
|
|
6396
6824
|
/**
|
|
6397
6825
|
* Get your job information
|
|
6398
6826
|
* @param params - Optional query parameters
|
|
6399
6827
|
*/
|
|
6400
6828
|
job(params?: {
|
|
6401
|
-
timestamp?: string;
|
|
6829
|
+
timestamp?: number | string;
|
|
6402
6830
|
}): Promise<UserJobResponse>;
|
|
6403
6831
|
/**
|
|
6404
6832
|
* Get your jobpoints
|
|
6405
6833
|
* @param params - Optional query parameters
|
|
6406
6834
|
*/
|
|
6407
6835
|
jobpoints(params?: {
|
|
6408
|
-
timestamp?: string;
|
|
6836
|
+
timestamp?: number | string;
|
|
6409
6837
|
}): Promise<UserJobPointsResponse>;
|
|
6410
6838
|
/**
|
|
6411
6839
|
* Get your starter job positions
|
|
6412
6840
|
* @param params - Optional query parameters
|
|
6413
6841
|
*/
|
|
6414
6842
|
jobranks(params?: {
|
|
6415
|
-
timestamp?: string;
|
|
6843
|
+
timestamp?: number | string;
|
|
6416
6844
|
}): Promise<UserJobRanksResponse>;
|
|
6417
6845
|
/**
|
|
6418
6846
|
* Get your friends, enemies or targets list
|
|
@@ -6424,7 +6852,7 @@ declare class UserEndpoint {
|
|
|
6424
6852
|
limit?: number;
|
|
6425
6853
|
offset?: number;
|
|
6426
6854
|
sort?: "DESC" | "ASC";
|
|
6427
|
-
timestamp?: string;
|
|
6855
|
+
timestamp?: number | string;
|
|
6428
6856
|
}): Promise<PaginatedResponse<UserListResponse> & UserListResponse>;
|
|
6429
6857
|
/**
|
|
6430
6858
|
* Get your logs
|
|
@@ -6437,21 +6865,21 @@ declare class UserEndpoint {
|
|
|
6437
6865
|
limit?: number;
|
|
6438
6866
|
to?: number;
|
|
6439
6867
|
from?: number;
|
|
6440
|
-
timestamp?: string;
|
|
6868
|
+
timestamp?: number | string;
|
|
6441
6869
|
}): Promise<PaginatedResponse<UserLogsResponse> & UserLogsResponse>;
|
|
6442
6870
|
/**
|
|
6443
6871
|
* Get your achieved medals
|
|
6444
6872
|
* @param params - Optional query parameters
|
|
6445
6873
|
*/
|
|
6446
6874
|
medals(params?: {
|
|
6447
|
-
timestamp?: string;
|
|
6875
|
+
timestamp?: number | string;
|
|
6448
6876
|
}): Promise<UserMedalsResponse>;
|
|
6449
6877
|
/**
|
|
6450
6878
|
* Get your merits
|
|
6451
6879
|
* @param params - Optional query parameters
|
|
6452
6880
|
*/
|
|
6453
6881
|
merits(params?: {
|
|
6454
|
-
timestamp?: string;
|
|
6882
|
+
timestamp?: number | string;
|
|
6455
6883
|
}): Promise<UserMeritsResponse>;
|
|
6456
6884
|
/**
|
|
6457
6885
|
* Get your messages
|
|
@@ -6462,21 +6890,21 @@ declare class UserEndpoint {
|
|
|
6462
6890
|
from?: number;
|
|
6463
6891
|
to?: number;
|
|
6464
6892
|
sort?: "DESC" | "ASC";
|
|
6465
|
-
timestamp?: string;
|
|
6893
|
+
timestamp?: number | string;
|
|
6466
6894
|
}): Promise<PaginatedResponse<UserMessagesResponse> & UserMessagesResponse>;
|
|
6467
6895
|
/**
|
|
6468
6896
|
* Get your current missions information
|
|
6469
6897
|
* @param params - Optional query parameters
|
|
6470
6898
|
*/
|
|
6471
6899
|
missions(params?: {
|
|
6472
|
-
timestamp?: string;
|
|
6900
|
+
timestamp?: number | string;
|
|
6473
6901
|
}): Promise<UserMissionsResponse>;
|
|
6474
6902
|
/**
|
|
6475
6903
|
* Get your current wealth
|
|
6476
6904
|
* @param params - Optional query parameters
|
|
6477
6905
|
*/
|
|
6478
6906
|
money(params?: {
|
|
6479
|
-
timestamp?: string;
|
|
6907
|
+
timestamp?: number | string;
|
|
6480
6908
|
}): Promise<UserMoneyResponse>;
|
|
6481
6909
|
/**
|
|
6482
6910
|
* Get your unseen events
|
|
@@ -6484,35 +6912,35 @@ declare class UserEndpoint {
|
|
|
6484
6912
|
*/
|
|
6485
6913
|
newevents(params?: {
|
|
6486
6914
|
striptags?: "true" | "false";
|
|
6487
|
-
timestamp?: string;
|
|
6915
|
+
timestamp?: number | string;
|
|
6488
6916
|
}): Promise<UserNewEventsResponse>;
|
|
6489
6917
|
/**
|
|
6490
6918
|
* Get your unseen messages
|
|
6491
6919
|
* @param params - Optional query parameters
|
|
6492
6920
|
*/
|
|
6493
6921
|
newmessages(params?: {
|
|
6494
|
-
timestamp?: string;
|
|
6922
|
+
timestamp?: number | string;
|
|
6495
6923
|
}): Promise<UserNewMessagesResponse>;
|
|
6496
6924
|
/**
|
|
6497
6925
|
* Get your notifications
|
|
6498
6926
|
* @param params - Optional query parameters
|
|
6499
6927
|
*/
|
|
6500
6928
|
notifications(params?: {
|
|
6501
|
-
timestamp?: string;
|
|
6929
|
+
timestamp?: number | string;
|
|
6502
6930
|
}): Promise<UserNotificationsResponse>;
|
|
6503
6931
|
/**
|
|
6504
6932
|
* Get your current ongoing organized crime
|
|
6505
6933
|
* @param params - Optional query parameters
|
|
6506
6934
|
*/
|
|
6507
6935
|
organizedcrime(params?: {
|
|
6508
|
-
timestamp?: string;
|
|
6936
|
+
timestamp?: number | string;
|
|
6509
6937
|
}): Promise<UserOrganizedCrimeResponse>;
|
|
6510
6938
|
/**
|
|
6511
6939
|
* Get available slots for organized crimes with status 'Recruiting'
|
|
6512
6940
|
* @param params - Optional query parameters
|
|
6513
6941
|
*/
|
|
6514
6942
|
organizedcrimes(params?: {
|
|
6515
|
-
timestamp?: string;
|
|
6943
|
+
timestamp?: number | string;
|
|
6516
6944
|
}): Promise<PaginatedResponse<UserOrganizedCrimesResponse> & UserOrganizedCrimesResponse>;
|
|
6517
6945
|
/**
|
|
6518
6946
|
* Get your personal stats
|
|
@@ -6529,7 +6957,7 @@ declare class UserEndpoint {
|
|
|
6529
6957
|
*/
|
|
6530
6958
|
profile(params?: {
|
|
6531
6959
|
striptags?: "true" | "false";
|
|
6532
|
-
timestamp?: string;
|
|
6960
|
+
timestamp?: number | string;
|
|
6533
6961
|
}): Promise<UserProfileResponse>;
|
|
6534
6962
|
/**
|
|
6535
6963
|
* Get your own properties
|
|
@@ -6539,14 +6967,14 @@ declare class UserEndpoint {
|
|
|
6539
6967
|
filters?: "ownedByUser" | "ownedBySpouse";
|
|
6540
6968
|
offset?: number;
|
|
6541
6969
|
limit?: number;
|
|
6542
|
-
timestamp?: string;
|
|
6970
|
+
timestamp?: number | string;
|
|
6543
6971
|
}): Promise<PaginatedResponse<UserPropertiesResponse> & UserPropertiesResponse>;
|
|
6544
6972
|
/**
|
|
6545
6973
|
* Get your current property
|
|
6546
6974
|
* @param params - Optional query parameters
|
|
6547
6975
|
*/
|
|
6548
6976
|
property(params?: {
|
|
6549
|
-
timestamp?: string;
|
|
6977
|
+
timestamp?: number | string;
|
|
6550
6978
|
}): Promise<UserPropertyResponse>;
|
|
6551
6979
|
/**
|
|
6552
6980
|
* Get user races
|
|
@@ -6558,21 +6986,21 @@ declare class UserEndpoint {
|
|
|
6558
6986
|
from?: number;
|
|
6559
6987
|
to?: number;
|
|
6560
6988
|
cat?: RacingRaceTypeEnum;
|
|
6561
|
-
timestamp?: string;
|
|
6989
|
+
timestamp?: number | string;
|
|
6562
6990
|
}): Promise<PaginatedResponse<UserRacesResponse> & UserRacesResponse>;
|
|
6563
6991
|
/**
|
|
6564
6992
|
* Get your current racing records
|
|
6565
6993
|
* @param params - Optional query parameters
|
|
6566
6994
|
*/
|
|
6567
6995
|
racingrecords(params?: {
|
|
6568
|
-
timestamp?: string;
|
|
6996
|
+
timestamp?: number | string;
|
|
6569
6997
|
}): Promise<UserRacingRecordsResponse>;
|
|
6570
6998
|
/**
|
|
6571
6999
|
* Get your refills information
|
|
6572
7000
|
* @param params - Optional query parameters
|
|
6573
7001
|
*/
|
|
6574
7002
|
refills(params?: {
|
|
6575
|
-
timestamp?: string;
|
|
7003
|
+
timestamp?: number | string;
|
|
6576
7004
|
}): Promise<UserRefillsResponse>;
|
|
6577
7005
|
/**
|
|
6578
7006
|
* Get your reports
|
|
@@ -6584,7 +7012,7 @@ declare class UserEndpoint {
|
|
|
6584
7012
|
limit?: number;
|
|
6585
7013
|
offset?: number;
|
|
6586
7014
|
sort?: "DESC" | "ASC";
|
|
6587
|
-
timestamp?: string;
|
|
7015
|
+
timestamp?: number | string;
|
|
6588
7016
|
}): Promise<PaginatedResponse<ReportsResponse> & ReportsResponse>;
|
|
6589
7017
|
/**
|
|
6590
7018
|
* Get your detailed revives
|
|
@@ -6597,7 +7025,7 @@ declare class UserEndpoint {
|
|
|
6597
7025
|
to?: number;
|
|
6598
7026
|
from?: number;
|
|
6599
7027
|
striptags?: "true" | "false";
|
|
6600
|
-
timestamp?: string;
|
|
7028
|
+
timestamp?: number | string;
|
|
6601
7029
|
}): Promise<PaginatedResponse<RevivesResponse> & RevivesResponse>;
|
|
6602
7030
|
/**
|
|
6603
7031
|
* Get your simplified revives
|
|
@@ -6610,21 +7038,21 @@ declare class UserEndpoint {
|
|
|
6610
7038
|
to?: number;
|
|
6611
7039
|
from?: number;
|
|
6612
7040
|
striptags?: "true" | "false";
|
|
6613
|
-
timestamp?: string;
|
|
7041
|
+
timestamp?: number | string;
|
|
6614
7042
|
}): Promise<PaginatedResponse<RevivesFullResponse> & RevivesFullResponse>;
|
|
6615
7043
|
/**
|
|
6616
7044
|
* Get your skills
|
|
6617
7045
|
* @param params - Optional query parameters
|
|
6618
7046
|
*/
|
|
6619
7047
|
skills(params?: {
|
|
6620
|
-
timestamp?: string;
|
|
7048
|
+
timestamp?: number | string;
|
|
6621
7049
|
}): Promise<UserSkillsResponse>;
|
|
6622
7050
|
/**
|
|
6623
7051
|
* Get your stocks
|
|
6624
7052
|
* @param params - Optional query parameters
|
|
6625
7053
|
*/
|
|
6626
7054
|
stocks(params?: {
|
|
6627
|
-
timestamp?: string;
|
|
7055
|
+
timestamp?: number | string;
|
|
6628
7056
|
}): Promise<UserStocksResponse>;
|
|
6629
7057
|
/**
|
|
6630
7058
|
* Get your trades
|
|
@@ -6636,49 +7064,49 @@ declare class UserEndpoint {
|
|
|
6636
7064
|
sort?: "DESC" | "ASC";
|
|
6637
7065
|
to?: number;
|
|
6638
7066
|
from?: number;
|
|
6639
|
-
timestamp?: string;
|
|
7067
|
+
timestamp?: number | string;
|
|
6640
7068
|
}): Promise<PaginatedResponse<UserTradesResponse> & UserTradesResponse>;
|
|
6641
7069
|
/**
|
|
6642
7070
|
* Get your travel information
|
|
6643
7071
|
* @param params - Optional query parameters
|
|
6644
7072
|
*/
|
|
6645
7073
|
travel(params?: {
|
|
6646
|
-
timestamp?: string;
|
|
7074
|
+
timestamp?: number | string;
|
|
6647
7075
|
}): Promise<UserTravelResponse>;
|
|
6648
7076
|
/**
|
|
6649
7077
|
* Get your virus coding information
|
|
6650
7078
|
* @param params - Optional query parameters
|
|
6651
7079
|
*/
|
|
6652
7080
|
virus(params?: {
|
|
6653
|
-
timestamp?: string;
|
|
7081
|
+
timestamp?: number | string;
|
|
6654
7082
|
}): Promise<UserVirusResponse>;
|
|
6655
7083
|
/**
|
|
6656
7084
|
* Get your weapon experience information
|
|
6657
7085
|
* @param params - Optional query parameters
|
|
6658
7086
|
*/
|
|
6659
7087
|
weaponexp(params?: {
|
|
6660
|
-
timestamp?: string;
|
|
7088
|
+
timestamp?: number | string;
|
|
6661
7089
|
}): Promise<UserWeaponExpResponse>;
|
|
6662
7090
|
/**
|
|
6663
7091
|
* Get your working stats
|
|
6664
7092
|
* @param params - Optional query parameters
|
|
6665
7093
|
*/
|
|
6666
7094
|
workstats(params?: {
|
|
6667
|
-
timestamp?: string;
|
|
7095
|
+
timestamp?: number | string;
|
|
6668
7096
|
}): Promise<UserWorkStatsResponse>;
|
|
6669
7097
|
/**
|
|
6670
7098
|
* Get all available user selections
|
|
6671
7099
|
* @param params - Optional query parameters
|
|
6672
7100
|
*/
|
|
6673
7101
|
lookup(params?: {
|
|
6674
|
-
timestamp?: string;
|
|
7102
|
+
timestamp?: number | string;
|
|
6675
7103
|
}): Promise<UserLookupResponse>;
|
|
6676
7104
|
/**
|
|
6677
7105
|
* Get current server time
|
|
6678
7106
|
* @param params - Optional query parameters
|
|
6679
7107
|
*/
|
|
6680
7108
|
timestamp(params?: {
|
|
6681
|
-
timestamp?: string;
|
|
7109
|
+
timestamp?: number | string;
|
|
6682
7110
|
}): Promise<TimestampResponse>;
|
|
6683
7111
|
/**
|
|
6684
7112
|
* Get any User selection
|
|
@@ -6697,7 +7125,7 @@ declare class UserEndpoint {
|
|
|
6697
7125
|
filters?: "incoming" | "outgoing" | "ownedByUser" | "ownedBySpouse";
|
|
6698
7126
|
striptags?: "true" | "false";
|
|
6699
7127
|
offset?: number;
|
|
6700
|
-
timestamp?: string;
|
|
7128
|
+
timestamp?: number | string;
|
|
6701
7129
|
}): Promise<UserResponse>;
|
|
6702
7130
|
/** @param id - The ID for this context */
|
|
6703
7131
|
withId(id: string | number): UserIdContext;
|
|
@@ -6720,35 +7148,35 @@ declare class UserIdContext {
|
|
|
6720
7148
|
*/
|
|
6721
7149
|
basic(params?: {
|
|
6722
7150
|
striptags?: "true" | "false";
|
|
6723
|
-
timestamp?: string;
|
|
7151
|
+
timestamp?: number | string;
|
|
6724
7152
|
}): Promise<UserBasicResponse>;
|
|
6725
7153
|
/**
|
|
6726
7154
|
* Get bounties placed on a specific user
|
|
6727
7155
|
* @param params - Optional query parameters
|
|
6728
7156
|
*/
|
|
6729
7157
|
bounties(params?: {
|
|
6730
|
-
timestamp?: string;
|
|
7158
|
+
timestamp?: number | string;
|
|
6731
7159
|
}): Promise<UserBountiesResponse>;
|
|
6732
7160
|
/**
|
|
6733
7161
|
* Get competition information for a specific player
|
|
6734
7162
|
* @param params - Optional query parameters
|
|
6735
7163
|
*/
|
|
6736
7164
|
competition(params?: {
|
|
6737
|
-
timestamp?: string;
|
|
7165
|
+
timestamp?: number | string;
|
|
6738
7166
|
}): Promise<UserCompetitionResponse>;
|
|
6739
7167
|
/**
|
|
6740
7168
|
* Get discord information for a specific user
|
|
6741
7169
|
* @param params - Optional query parameters
|
|
6742
7170
|
*/
|
|
6743
7171
|
discord(params?: {
|
|
6744
|
-
timestamp?: string;
|
|
7172
|
+
timestamp?: number | string;
|
|
6745
7173
|
}): Promise<UserDiscordResponse>;
|
|
6746
7174
|
/**
|
|
6747
7175
|
* Get faction information for a specific player
|
|
6748
7176
|
* @param params - Optional query parameters
|
|
6749
7177
|
*/
|
|
6750
7178
|
faction(params?: {
|
|
6751
|
-
timestamp?: string;
|
|
7179
|
+
timestamp?: number | string;
|
|
6752
7180
|
}): Promise<UserFactionResponse>;
|
|
6753
7181
|
/**
|
|
6754
7182
|
* Get posts for a specific player
|
|
@@ -6760,7 +7188,7 @@ declare class UserIdContext {
|
|
|
6760
7188
|
sort?: "DESC" | "ASC";
|
|
6761
7189
|
from?: number;
|
|
6762
7190
|
to?: number;
|
|
6763
|
-
timestamp?: string;
|
|
7191
|
+
timestamp?: number | string;
|
|
6764
7192
|
}): Promise<PaginatedResponse<UserForumPostsResponse> & UserForumPostsResponse>;
|
|
6765
7193
|
/**
|
|
6766
7194
|
* Get threads for a specific player
|
|
@@ -6771,28 +7199,28 @@ declare class UserIdContext {
|
|
|
6771
7199
|
sort?: "DESC" | "ASC";
|
|
6772
7200
|
from?: number;
|
|
6773
7201
|
to?: number;
|
|
6774
|
-
timestamp?: string;
|
|
7202
|
+
timestamp?: number | string;
|
|
6775
7203
|
}): Promise<PaginatedResponse<UserForumThreadsResponse> & UserForumThreadsResponse>;
|
|
6776
7204
|
/**
|
|
6777
7205
|
* Get hall of fame rankings for a specific player
|
|
6778
7206
|
* @param params - Optional query parameters
|
|
6779
7207
|
*/
|
|
6780
7208
|
hof(params?: {
|
|
6781
|
-
timestamp?: string;
|
|
7209
|
+
timestamp?: number | string;
|
|
6782
7210
|
}): Promise<UserHofResponse>;
|
|
6783
7211
|
/**
|
|
6784
7212
|
* Get icons information for a specific player
|
|
6785
7213
|
* @param params - Optional query parameters
|
|
6786
7214
|
*/
|
|
6787
7215
|
icons(params?: {
|
|
6788
|
-
timestamp?: string;
|
|
7216
|
+
timestamp?: number | string;
|
|
6789
7217
|
}): Promise<UserIconsResponse>;
|
|
6790
7218
|
/**
|
|
6791
7219
|
* Get job information for a specific player
|
|
6792
7220
|
* @param params - Optional query parameters
|
|
6793
7221
|
*/
|
|
6794
7222
|
job(params?: {
|
|
6795
|
-
timestamp?: string;
|
|
7223
|
+
timestamp?: number | string;
|
|
6796
7224
|
}): Promise<UserJobResponse>;
|
|
6797
7225
|
/**
|
|
6798
7226
|
* Get a player's personal stats
|
|
@@ -6809,7 +7237,7 @@ declare class UserIdContext {
|
|
|
6809
7237
|
*/
|
|
6810
7238
|
profile(params?: {
|
|
6811
7239
|
striptags?: "true" | "false";
|
|
6812
|
-
timestamp?: string;
|
|
7240
|
+
timestamp?: number | string;
|
|
6813
7241
|
}): Promise<UserProfileResponse>;
|
|
6814
7242
|
/**
|
|
6815
7243
|
* Get specific user's properties
|
|
@@ -6819,14 +7247,14 @@ declare class UserIdContext {
|
|
|
6819
7247
|
filters?: "ownedByUser" | "ownedBySpouse";
|
|
6820
7248
|
offset?: number;
|
|
6821
7249
|
limit?: number;
|
|
6822
|
-
timestamp?: string;
|
|
7250
|
+
timestamp?: number | string;
|
|
6823
7251
|
}): Promise<PaginatedResponse<UserPropertiesResponse> & UserPropertiesResponse>;
|
|
6824
7252
|
/**
|
|
6825
7253
|
* Get specific user's property
|
|
6826
7254
|
* @param params - Optional query parameters
|
|
6827
7255
|
*/
|
|
6828
7256
|
property(params?: {
|
|
6829
|
-
timestamp?: string;
|
|
7257
|
+
timestamp?: number | string;
|
|
6830
7258
|
}): Promise<UserPropertyResponse>;
|
|
6831
7259
|
/** Get user by ID */
|
|
6832
7260
|
get(): Promise<User>;
|
|
@@ -6844,7 +7272,7 @@ declare class UserCrimeIdContext {
|
|
|
6844
7272
|
* @param params - Optional query parameters
|
|
6845
7273
|
*/
|
|
6846
7274
|
crimes(params?: {
|
|
6847
|
-
timestamp?: string;
|
|
7275
|
+
timestamp?: number | string;
|
|
6848
7276
|
}): Promise<UserCrimesResponse>;
|
|
6849
7277
|
}
|
|
6850
7278
|
/**
|
|
@@ -6860,7 +7288,7 @@ declare class UserTradeIdContext {
|
|
|
6860
7288
|
* @param params - Optional query parameters
|
|
6861
7289
|
*/
|
|
6862
7290
|
trade(params?: {
|
|
6863
|
-
timestamp?: string;
|
|
7291
|
+
timestamp?: number | string;
|
|
6864
7292
|
}): Promise<UserTradeResponse>;
|
|
6865
7293
|
}
|
|
6866
7294
|
|
|
@@ -7003,4 +7431,4 @@ declare class TornRateLimitError extends Error {
|
|
|
7003
7431
|
constructor(message: string);
|
|
7004
7432
|
}
|
|
7005
7433
|
|
|
7006
|
-
export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompanyId, type CompanyTypeId, type CountryEnum, type DirtyBombId, type DiscordId, type EducationId, type EliminationTeamId, type ErrorAccessLevelTooLow, type ErrorApiDisabled, type ErrorApiKeyPaused, type ErrorBackendError, type ErrorCategorySelectionUnavailableForInteractionLogs, type ErrorClosedTemporarily, type ErrorDailyReadLimitReached, type ErrorIncorrectCategory, type ErrorIncorrectId, type ErrorIncorrectIdEntityRelation, type ErrorIncorrectKey, type ErrorIncorrectLogId, type ErrorInvalidStatRequested, type ErrorIpBlocked, type ErrorKeyChangeCooldown, type ErrorKeyEmpty, type ErrorKeyOwnerInFederalJail, type ErrorKeyReadError, type ErrorKeyTemporaryDisabled, type ErrorLogUnavailable, type ErrorMustMigrateToCrimesV2, type ErrorMustMigrateToOrganizedCrimesV2, type ErrorOnlyAvailableInApiV1, type ErrorOnlyAvailableInApiV2, type ErrorOnlyCategoryOrStatsAllowed, type ErrorRaceNotFinished, type ErrorTooManyRequests, type ErrorUnknown, type ErrorWrongFields, type ErrorWrongType, type Faction, type FactionApplication, type FactionApplicationStatusEnum, type FactionApplicationsResponse, type FactionAttackResult, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNews, type FactionNewsCategory, type FactionNewsResponse, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionSlotPositionInfo, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type StockId, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdContext, TornIdsContext, type TornInventoryItemType, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimePositionIdDeprecated, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornStock, type TornStockDetailed, type TornStockDetailedResponse, type TornStockHistory, TornStockIdContext, type TornStockPerformance, type TornStocksResponse, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type TradeCategoryEnum, type TradeId, type TradeItem, type TradeItemCompany, type TradeItemFaction, type TradeItemItem, type TradeItemMoney, type TradeItemNap, type TradeItemProperty, type User, type UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCasinoResponse, type UserClothing, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionElimination, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserDiscordPathId, type UserDiscordResponse, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEquipment, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionBasic, type UserFactionResponse, type UserFlyMethodEnum, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserInventory, type UserInventoryItem, type UserInventoryResponse, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type UserLastActionStatusEnum, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMaritalStatusEnum, type UserMedal, type UserMedalsResponse, type UserMeritUpgrade, type UserMerits, type UserMeritsResponse, type UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserStock, type UserStockTransaction, type UserStocksResponse, type UserSubcrime, type UserTitleEnum, type UserTrade, type UserTradeDetailed, UserTradeIdContext, type UserTradeParticipant, type UserTradeResponse, type UserTradesResponse, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
|
|
7434
|
+
export { type AmmoId, type ApiError, type ApiFiltersAttacksRevivesEnum, type ApiKeyAccessTypeEnum, type ApiKeyBalancing, type ApplicationStatusEnum, type Attack, type AttackActionEnum, type AttackCode, type AttackFinishingHitEffect, type AttackId, type AttackLog, type AttackLogResponse, type AttackLogSummary, type AttackPlayer, type AttackPlayerSimplified, type AttackSimplified, type AttackingFinishingHitEffects, type AttacksFullResponse, type AttacksResponse, type AuctionHouseListing, type AuctionHouseResponse, type AuctionHouseStackableItem, type AuctionListingId, type AwardCrimesVersionEnum, type BasicProperty, type BasicUser, type Bazaar, type BazaarAdvancedItemSales, type BazaarBargainSales, type BazaarBulkSales, type BazaarDollarSales, type BazaarRecentFavorites, type BazaarResponse, type BazaarResponseSpecialized, type BazaarSpecialized, type BazaarTotalFavorites, type BazaarWeekly, type BazaarWeeklyCustomers, type BazaarWeeklyIncome, type Bounty, type ChainId, type CompaniesResponse, type CompaniesSearchResponse, type CompanyApplication, type CompanyApplicationPlayer, type CompanyApplicationPlayerStats, type CompanyApplicationsResponse, type CompanyCustomers, type CompanyDirector, type CompanyEmployee, type CompanyEmployeeEffectiveness, type CompanyEmployeeExtended, type CompanyEmployeeFull, type CompanyEmployeePosition, type CompanyEmployeeStats, type CompanyEmployees, type CompanyEmployeesResponse, type CompanyEmployeesResponseBasic, CompanyEndpoint, type CompanyId, CompanyIdContext, type CompanyIncome, type CompanyLookupResponse, type CompanyNewsCategory, type CompanyPositionId, type CompanyProfile, type CompanyProfileExtended, type CompanyProfileExtendedResponse, type CompanyProfileResponse, type CompanyProfileResponseMixed, type CompanyResponse, type CompanySearchParameter, type CompanySearchProfile, type CompanySelectionName, type CompanyStaffRoomSizeEnum, type CompanyStockItem, type CompanyStockResponse, type CompanyStorageSizeEnum, type CompanyType, type CompanyTypeId, CompanyTypeIdContext, type CompanyUpgrades, type CountryEnum, type DirtyBombId, type DiscordId, type EducationId, type EliminationTeamId, type ErrorAccessLevelTooLow, type ErrorApiDisabled, type ErrorApiKeyPaused, type ErrorBackendError, type ErrorCategorySelectionUnavailableForInteractionLogs, type ErrorClosedTemporarily, type ErrorDailyReadLimitReached, type ErrorFileDoesNotExist, type ErrorIncorrectCategory, type ErrorIncorrectId, type ErrorIncorrectIdEntityRelation, type ErrorIncorrectKey, type ErrorIncorrectLogId, type ErrorInvalidStatRequested, type ErrorIpBlocked, type ErrorKeyChangeCooldown, type ErrorKeyEmpty, type ErrorKeyOwnerInFederalJail, type ErrorKeyReadError, type ErrorKeyTemporaryDisabled, type ErrorLogUnavailable, type ErrorMustMigrateToCrimesV2, type ErrorMustMigrateToOrganizedCrimesV2, type ErrorOnlyAvailableInApiV1, type ErrorOnlyAvailableInApiV2, type ErrorOnlyCategoryOrStatsAllowed, type ErrorRaceNotFinished, type ErrorTooManyRequests, type ErrorUnknown, type ErrorWrongFields, type ErrorWrongType, type Faction, type FactionApplication, type FactionApplicationsResponse, type FactionAttackResult, type FactionBalance, type FactionBalanceResponse, type FactionBasic, type FactionBasicResponse, type FactionBranchDetails, type FactionBranchId, type FactionBranchStateEnum, type FactionChain, FactionChainIdContext, type FactionChainReport, type FactionChainReportAttacker, type FactionChainReportAttackerAttacks, type FactionChainReportAttackerRespect, type FactionChainReportBonus, type FactionChainReportDetails, type FactionChainReportResponse, type FactionChainWarfare, type FactionChainsResponse, type FactionContributor, type FactionContributorsResponse, type FactionCrime, type FactionCrimeId, FactionCrimeIdContext, type FactionCrimeItemOutcomeEnum, type FactionCrimeResponse, type FactionCrimeReward, type FactionCrimeRewardItem, type FactionCrimeRewardPayout, type FactionCrimeSlot, type FactionCrimeStatusEnum, type FactionCrimeUser, type FactionCrimeUserItemOutcome, type FactionCrimeUserItemOutcomeEnum, type FactionCrimeUserOutcome, type FactionCrimesResponse, FactionEndpoint, type FactionHofResponse, type FactionHofStats, type FactionHofValues, type FactionId, FactionIdContext, type FactionLookupResponse, type FactionMember, type FactionMembersResponse, type FactionNewsCategory, type FactionOngoingChain, type FactionOngoingChainResponse, type FactionOrganizedCrimePayoutType, type FactionPact, type FactionPosition, type FactionPositionAbilityEnum, type FactionPositionsResponse, type FactionRacketsResponse, type FactionRaidReport, type FactionRaidReportAttacker, type FactionRaidReportFaction, type FactionRaidReportUser, type FactionRaidWar, FactionRaidWarIdContext, type FactionRaidWarParticipant, type FactionRaidWarReportResponse, type FactionRaidWarfare, type FactionRaidWarfareFaction, type FactionRaidsResponse, type FactionRank, type FactionRankEnum, type FactionRankedWar, type FactionRankedWarDetails, FactionRankedWarIdContext, type FactionRankedWarParticipant, type FactionRankedWarReportResponse, type FactionRankedWarResponse, type FactionRankedWarsCategoryEnum, type FactionResponse, type FactionSearch, type FactionSearchLeader, type FactionSearchResponse, type FactionSelectionName, type FactionSlotPositionInfo, type FactionStat, type FactionStatEnum, type FactionStatsResponse, type FactionTerritoriesOwnershipResponse, type FactionTerritoriesResponse, type FactionTerritory, type FactionTerritoryEnum, type FactionTerritoryOwnership, type FactionTerritoryWar, type FactionTerritoryWarFaction, type FactionTerritoryWarFactionWallPlayers, type FactionTerritoryWarFinished, type FactionTerritoryWarFinishedFaction, FactionTerritoryWarIdContext, type FactionTerritoryWarOngoing, type FactionTerritoryWarOngoingFaction, type FactionTerritoryWarParticipant, type FactionTerritoryWarReport, type FactionTerritoryWarReportFaction, type FactionTerritoryWarReportMembers, type FactionTerritoryWarReportResponse, type FactionTerritoryWarResultEnum, type FactionTerritoryWarfare, type FactionTerritoryWarsCategoryEnum, type FactionTerritoryWarsHistoryResponse, type FactionUpgradeDetails, type FactionUpgrades, type FactionUpgradesResponse, type FactionWarfareDirtyBomb, type FactionWarfareDirtyBombPlanter, type FactionWarfareDirtyBombTargetFaction, type FactionWarfareResponse, type FactionWarfareTypeEnum, type FactionWars, type FactionWarsResponse, type ForumCategoriesResponse, ForumCategoryIdsContext, ForumEndpoint, type ForumFeed, type ForumFeedTypeEnum, type ForumId, type ForumLookupResponse, type ForumPoll, type ForumPollVote, type ForumPost, type ForumPostId, type ForumPostsResponse, type ForumResponse, type ForumSelectionName, type ForumSubscribedThread, type ForumSubscribedThreadPostsCount, type ForumThreadAuthor, type ForumThreadBase, type ForumThreadExtended, type ForumThreadId, ForumThreadIdContext, type ForumThreadResponse, type ForumThreadUserExtended, type ForumThreadsResponse, type HofValue, type HofValueFloat, type HofValueString, type HonorId, type HonorRarityEnum, type HonorTypeEnum, type ItemId, type ItemMarket, type ItemMarketItem, type ItemMarketListingItemBonus, type ItemMarketListingItemDetails, type ItemMarketListingItemStats, type ItemMarketListingNonstackable, type ItemMarketListingStackable, type ItemModId, type ItemUid, type JobPositionArmyEnum, type JobPositionCasinoEnum, type JobPositionEducationEnum, type JobPositionGrocerEnum, type JobPositionLawEnum, type JobPositionMedicalEnum, type JobTypeEnum, KeyEndpoint, type KeyInfoAvailableLog, type KeyInfoResponse, type KeyLogResponse, type KeyResponse, type KeySelectionName, type LogCategoryId, type LogId, MarketEndpoint, MarketIdContext, type MarketItemMarketResponse, type MarketLookupResponse, type MarketPropertiesResponse, type MarketPropertyDetails, MarketPropertyTypeIdContext, type MarketRentalDetails, type MarketRentalsResponse, type MarketResponse, type MarketSelectionName, type MarketSpecializedBazaarCategoryEnum, type MedalId, type MedalTypeEnum, type MeritId, type MissionDifficultyEnum, type MissionRewardDetailsAmmo, type MissionRewardDetailsItem, type MissionRewardDetailsUpgrade, type MissionRewardUpgrade, type MissionStatusEnum, type News, type NewsResponse, type OrganizedCrimeName, PaginatedResponse, type Parameters, type PersonalStatsAttackingExtended, type PersonalStatsAttackingPopular, type PersonalStatsAttackingPublic, type PersonalStatsBattleStats, type PersonalStatsBounties, type PersonalStatsCategoryEnum, type PersonalStatsCommunication, type PersonalStatsCrimes, type PersonalStatsCrimesPopular, type PersonalStatsCrimesV1, type PersonalStatsCrimesV2, type PersonalStatsDrugs, type PersonalStatsFinishingHits, type PersonalStatsHistoricStat, type PersonalStatsHospital, type PersonalStatsHospitalPopular, type PersonalStatsInvestments, type PersonalStatsItems, type PersonalStatsItemsPopular, type PersonalStatsJail, type PersonalStatsJobsExtended, type PersonalStatsJobsPublic, type PersonalStatsMissions, type PersonalStatsNetworthExtended, type PersonalStatsNetworthPublic, type PersonalStatsOther, type PersonalStatsOtherPopular, type PersonalStatsRacing, type PersonalStatsStatName, type PersonalStatsTrading, type PersonalStatsTravel, type PersonalStatsTravelPopular, type ProfileSpouse, PropertyEndpoint, type PropertyId, PropertyIdContext, type PropertyLookupResponse, type PropertyModificationEnum, type PropertyPropertyResponse, type PropertyResponse, type PropertySelectionName, type PropertyStaffEnum, type PropertyTypeId, type Race, type RaceCar, type RaceCarId, type RaceCarUpgrade, type RaceCarUpgradeCategory, type RaceCarUpgradeId, type RaceCarUpgradeSubCategory, type RaceClassEnum, type RaceId, type RaceRecord, type RaceStatusEnum, type RaceTrack, type RaceTrackId, type RacerDetails, type RacingCarUpgradesResponse, type RacingCarsResponse, RacingEndpoint, type RacingLookupResponse, type RacingRaceDetails, type RacingRaceDetailsResponse, RacingRaceIdContext, type RacingRaceTypeEnum, type RacingRacesResponse, type RacingResponse, type RacingSelectionName, RacingTrackIdContext, type RacingTrackRecordsResponse, type RacingTracksResponse, type RaidWarId, type RankedWarId, type RateLimitMode, type Report, type ReportAnonymousBounties, type ReportBase, type ReportCompanyFinancials, type ReportFriendOrFoe, type ReportFriendOrFoeUser, type ReportHistory, type ReportHistoryCompany, type ReportHistoryFaction, type ReportInvestment, type ReportMoney, type ReportMostWanted, type ReportReport, type ReportStats, type ReportStockAnalysis, type ReportTrueLevel, type ReportTypeEnum, type ReportWarrantDetails, type ReportsResponse, type RequestLinks, type RequestMetadata, type RequestMetadataWithLinks, type RequestMetadataWithLinksAndTotal, type Requester, type Revive, type ReviveId, type ReviveSetting, type ReviveSimplified, type RevivesFullResponse, type RevivesResponse, type SelectionCategoryEnum, type StockId, type TerritoryWarId, type TimestampResponse, TornAPI, type TornAPIOptions, TornApiError, type TornBountiesResponse, type TornCalendarActivity, type TornCalendarResponse, type TornCrime, type TornCrimeId, TornCrimeIdContext, type TornCrimesResponse, type TornEducation, type TornEducationCourses, type TornEducationPrerequisites, type TornEducationResponse, type TornEducationRewards, type TornEliminationTeam, type TornEliminationTeamLeader, type TornEliminationTeamPlayer, type TornEliminationTeamPlayersResponse, type TornEliminationTeamsResponse, TornEndpoint, type TornFactionHof, type TornFactionHofCategory, type TornFactionHofResponse, type TornFactionTree, type TornFactionTreeBranch, type TornFactionTreeResponse, type TornHof, type TornHofBasic, type TornHofCategory, type TornHofResponse, type TornHofWithOffenses, type TornHonor, type TornHonorsResponse, TornIdContext, TornIdsContext, type TornInventoryItemType, type TornItem, type TornItemAmmo, type TornItemAmmoResponse, type TornItemAmmoTypeEnum, type TornItemArmorCoverage, type TornItemArmorCoveragePartEnum, type TornItemArmorDetails, type TornItemBaseStats, type TornItemCategory, type TornItemDetails, type TornItemDetailsResponse, type TornItemMods, type TornItemModsResponse, type TornItemTypeEnum, type TornItemWeaponCategoryEnum, type TornItemWeaponDetails, type TornItemWeaponTypeEnum, type TornItemsResponse, type TornLog, type TornLogCategoriesResponse, type TornLogCategory, TornLogCategoryIdContext, type TornLogTypesResponse, type TornLookupResponse, type TornMedal, type TornMedalsResponse, type TornMerit, type TornMeritsResponse, type TornOrganizedCrime, type TornOrganizedCrimePositionId, type TornOrganizedCrimePositionIdDeprecated, type TornOrganizedCrimeRequiredItem, type TornOrganizedCrimeResponse, type TornOrganizedCrimeScope, type TornOrganizedCrimeSlot, type TornOrganizedCrimeSpawn, type TornProperties, type TornRacket, type TornRacketReward, type TornRacketType, TornRateLimitError, type TornResponse, type TornSelectionName, type TornStock, type TornStockDetailed, type TornStockDetailedResponse, type TornStockHistory, TornStockIdContext, type TornStockPerformance, type TornStocksResponse, type TornSubcrime, type TornSubcrimesResponse, type TornTerritoriesNoLinksResponse, type TornTerritoriesResponse, type TornTerritory, type TornTerritoryCoordinates, type TradeCategoryEnum, type TradeId, type TradeItem, type TradeItemCompany, type TradeItemFaction, type TradeItemItem, type TradeItemMoney, type TradeItemNap, type TradeItemProperty, type User, type UserAmmo, type UserAmmoResponse, type UserAmmoType, type UserBar, type UserBars, type UserBarsResponse, type UserBasic, type UserBasicResponse, type UserBattleStatDetail, type UserBattleStatModifierDetail, type UserBattleStatsResponse, type UserBountiesResponse, type UserCalendar, type UserCalendarResponse, type UserCasinoResponse, type UserClothing, type UserCompany, type UserCompanyPoints, type UserCompetitionEasterEggs, type UserCompetitionElimination, type UserCompetitionHalloween, type UserCompetitionResponse, type UserCompetitionRps, type UserCooldownsResponse, type UserCrime, type UserCrimeAttempts, type UserCrimeDetailsBootlegging, type UserCrimeDetailsCardSkimming, type UserCrimeDetailsCracking, type UserCrimeDetailsGraffiti, type UserCrimeDetailsHustling, type UserCrimeDetailsScamming, type UserCrimeDetailsShoplifting, UserCrimeIdContext, type UserCrimeRewardAmmo, type UserCrimeRewardItem, type UserCrimeRewards, type UserCrimeUniques, type UserCrimeUniquesReward, type UserCrimeUniquesRewardAmmo, type UserCrimeUniquesRewardAmmoEnum, type UserCrimeUniquesRewardMoney, type UserCrimesResponse, type UserCurrentEducation, type UserDiscordPathId, type UserDiscordResponse, type UserDonatorStatusEnum, type UserEducation, type UserEducationResponse, UserEndpoint, type UserEnlistedCarsResponse, type UserEquipment, type UserEquipmentItemMod, type UserEquipmentResponse, type UserEvent, type UserEventId, type UserEventsResponse, type UserFaction, type UserFactionBalance, type UserFactionBalanceResponse, type UserFactionBasic, type UserFactionResponse, type UserFlyMethodEnum, type UserForumFeedResponse, type UserForumFriendsResponse, type UserForumPostsResponse, type UserForumSubscribedThreadsResponse, type UserForumThreadsResponse, type UserGenderEnum, type UserHofResponse, type UserHofStats, type UserHonor, type UserHonorsResponse, type UserIconId, type UserIconPrivate, type UserIconPublic, type UserIconsResponse, type UserId, UserIdContext, type UserInventory, type UserInventoryItem, type UserInventoryResponse, type UserItemMarkeListingItemDetails, type UserItemMarketListing, type UserItemMarketResponse, type UserItemMod, type UserItemModsResponse, type UserJob, type UserJobPointsResponse, type UserJobRanks, type UserJobRanksResponse, type UserJobResponse, type UserLastAction, type UserLastActionStatusEnum, type UserList, type UserListEnum, type UserListResponse, type UserLog, type UserLogId, type UserLogsResponse, type UserLookupResponse, type UserMaritalStatusEnum, type UserMedal, type UserMedalsResponse, type UserMeritUpgrade, type UserMerits, type UserMeritsResponse, type UserMessage, type UserMessageId, type UserMessageTypeEnum, type UserMessagesResponse, type UserMissionsResponse, type UserMoneyResponse, type UserNewEventsResponse, type UserNewMessagesResponse, type UserNotificationsResponse, type UserOrganizedCrimeError, type UserOrganizedCrimeResponse, type UserOrganizedCrimesResponse, type UserPersonalStatsCategory, type UserPersonalStatsFull, type UserPersonalStatsFullPublic, type UserPersonalStatsHistoric, type UserPersonalStatsPopular, type UserPersonalStatsResponse, type UserPlaneImageTypeEnum, type UserProfileResponse, type UserPropertiesResponse, type UserPropertyBasicDetails, type UserPropertyDetails, type UserPropertyDetailsExtended, type UserPropertyDetailsExtendedForRent, type UserPropertyDetailsExtendedForSale, type UserPropertyDetailsExtendedRented, type UserPropertyDetailsExtendedWithRent, type UserPropertyResponse, type UserRaceCarDetails, type UserRaceDetails, type UserRacesResponse, type UserRacingRecordsResponse, type UserRankEnum, type UserRefillsResponse, type UserResponse, type UserRoleEnum, type UserRpsStatus, type UserSelectionName, type UserSkillDetail, type UserSkillSlugEnum, type UserSkillsResponse, type UserStatus, type UserStatusStateEnum, type UserStock, type UserStockTransaction, type UserStocksResponse, type UserSubcrime, type UserTitleEnum, type UserTrade, type UserTradeDetailed, UserTradeIdContext, type UserTradeParticipant, type UserTradeResponse, type UserTradesResponse, type UserTravelResponse, type UserVirus, type UserVirusResponse, type UserWeaponExp, type UserWeaponExpResponse, type UserWorkStatsResponse, type WeaponBonusEnum };
|