@localisprimary/esi 2.1.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +210 -199
- package/dist/client.d.ts +240 -216
- package/dist/client.js +431 -313
- package/dist/types.d.ts +1360 -470
- package/package.json +9 -9
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createCacheEntry, createCacheKey, esiMemoryCache, isFresh, refreshCacheEntry, } from './cache.js';
|
|
2
|
-
const COMPATIBILITY_DATE = '2026-
|
|
2
|
+
const COMPATIBILITY_DATE = '2026-11-19';
|
|
3
3
|
export class EsiClient {
|
|
4
4
|
constructor(options) {
|
|
5
5
|
this.baseUrl = 'https://esi.evetech.net';
|
|
@@ -189,12 +189,30 @@ export class EsiClient {
|
|
|
189
189
|
/**
|
|
190
190
|
* Public information about a character
|
|
191
191
|
|
|
192
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
192
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersDetail
|
|
193
193
|
*/
|
|
194
194
|
async getCharacter(params) {
|
|
195
195
|
const path = `/characters/${params.character_id}`;
|
|
196
196
|
return this.request('GET', path, undefined, undefined);
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Lists all Access Lists the character is Manager or Admin of.
|
|
200
|
+
|
|
201
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersAccessListsListing
|
|
202
|
+
*/
|
|
203
|
+
async getCharacterAccessLists(params) {
|
|
204
|
+
const path = `/characters/${params.character_id}/access-lists`;
|
|
205
|
+
return this.request('GET', path, undefined, undefined);
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Get the details of an Access List.
|
|
209
|
+
|
|
210
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersAccessListsDetail
|
|
211
|
+
*/
|
|
212
|
+
async getCharacterAccessList(params) {
|
|
213
|
+
const path = `/characters/${params.character_id}/access-lists/${params.access_list_id}`;
|
|
214
|
+
return this.request('GET', path, undefined, undefined);
|
|
215
|
+
}
|
|
198
216
|
/**
|
|
199
217
|
* Return a list of agents research information for a character. The formula for finding the current research points with an agent is: currentPoints = remainderPoints + pointsPerDay * days(currentTime - researchStartDate)
|
|
200
218
|
|
|
@@ -268,7 +286,7 @@ export class EsiClient {
|
|
|
268
286
|
|
|
269
287
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdCalendarEventId
|
|
270
288
|
*/
|
|
271
|
-
async
|
|
289
|
+
async getCharacterCalendarEvent(params) {
|
|
272
290
|
const path = `/characters/${params.character_id}/calendar/${params.event_id}`;
|
|
273
291
|
return this.request('GET', path, undefined, undefined);
|
|
274
292
|
}
|
|
@@ -277,7 +295,7 @@ export class EsiClient {
|
|
|
277
295
|
|
|
278
296
|
* @see https://developers.eveonline.com/api-explorer#/operations/PutCharactersCharacterIdCalendarEventId
|
|
279
297
|
*/
|
|
280
|
-
async
|
|
298
|
+
async putCharacterCalendarEvent(params) {
|
|
281
299
|
const path = `/characters/${params.character_id}/calendar/${params.event_id}`;
|
|
282
300
|
const body = { response: params.response };
|
|
283
301
|
return this.request('PUT', path, undefined, body);
|
|
@@ -396,6 +414,24 @@ export class EsiClient {
|
|
|
396
414
|
const path = `/characters/${params.character_id}/corporationhistory`;
|
|
397
415
|
return this.request('GET', path, undefined, undefined);
|
|
398
416
|
}
|
|
417
|
+
/**
|
|
418
|
+
* Listing of all SKINR licenses you own
|
|
419
|
+
|
|
420
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCosmeticsSkinr
|
|
421
|
+
*/
|
|
422
|
+
async getCharacterCosmeticsSkinr(params) {
|
|
423
|
+
const path = `/characters/${params.character_id}/cosmetics/skinr`;
|
|
424
|
+
return this.request('GET', path, undefined, undefined);
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Listing of all SKINR component licenses you own
|
|
428
|
+
|
|
429
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCosmeticsSkinrComponents
|
|
430
|
+
*/
|
|
431
|
+
async getCharacterCosmeticsSkinrComponents(params) {
|
|
432
|
+
const path = `/characters/${params.character_id}/cosmetics/skinr/components`;
|
|
433
|
+
return this.request('GET', path, undefined, undefined);
|
|
434
|
+
}
|
|
399
435
|
/**
|
|
400
436
|
* Takes a source character ID in the url and a set of target character ID's in the body, returns a CSPA charge cost
|
|
401
437
|
|
|
@@ -457,6 +493,24 @@ export class EsiClient {
|
|
|
457
493
|
const path = `/characters/${params.character_id}/fleet`;
|
|
458
494
|
return this.request('GET', path, undefined, undefined);
|
|
459
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* Listing of all freelance jobs you are actively participating in.
|
|
498
|
+
|
|
499
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersFreelanceJobsListing
|
|
500
|
+
*/
|
|
501
|
+
async getCharacterFreelanceJobs(params) {
|
|
502
|
+
const path = `/characters/${params.character_id}/freelance-jobs`;
|
|
503
|
+
return this.request('GET', path, undefined, undefined);
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Show your participation in a freelance job.
|
|
507
|
+
|
|
508
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersFreelanceJobsParticipation
|
|
509
|
+
*/
|
|
510
|
+
async getCharacterFreelanceJobParticipation(params) {
|
|
511
|
+
const path = `/characters/${params.character_id}/freelance-jobs/${params.job_id}/participation`;
|
|
512
|
+
return this.request('GET', path, undefined, undefined);
|
|
513
|
+
}
|
|
460
514
|
/**
|
|
461
515
|
* Statistical overview of a character involved in faction warfare
|
|
462
516
|
|
|
@@ -498,7 +552,7 @@ export class EsiClient {
|
|
|
498
552
|
return this.request('GET', path, queryParams, undefined);
|
|
499
553
|
}
|
|
500
554
|
/**
|
|
501
|
-
*
|
|
555
|
+
* Get the current location of a character, including the station or structure it is docked in.
|
|
502
556
|
|
|
503
557
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLocation
|
|
504
558
|
*/
|
|
@@ -585,7 +639,7 @@ export class EsiClient {
|
|
|
585
639
|
|
|
586
640
|
* @see https://developers.eveonline.com/api-explorer#/operations/DeleteCharactersCharacterIdMailMailId
|
|
587
641
|
*/
|
|
588
|
-
async
|
|
642
|
+
async deleteCharacterMailMessage(params) {
|
|
589
643
|
const path = `/characters/${params.character_id}/mail/${params.mail_id}`;
|
|
590
644
|
return this.request('DELETE', path, undefined, undefined);
|
|
591
645
|
}
|
|
@@ -594,7 +648,7 @@ export class EsiClient {
|
|
|
594
648
|
|
|
595
649
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdMailMailId
|
|
596
650
|
*/
|
|
597
|
-
async
|
|
651
|
+
async getCharacterMailMessage(params) {
|
|
598
652
|
const path = `/characters/${params.character_id}/mail/${params.mail_id}`;
|
|
599
653
|
return this.request('GET', path, undefined, undefined);
|
|
600
654
|
}
|
|
@@ -603,7 +657,7 @@ export class EsiClient {
|
|
|
603
657
|
|
|
604
658
|
* @see https://developers.eveonline.com/api-explorer#/operations/PutCharactersCharacterIdMailMailId
|
|
605
659
|
*/
|
|
606
|
-
async
|
|
660
|
+
async putCharacterMailMessage(params) {
|
|
607
661
|
const path = `/characters/${params.character_id}/mail/${params.mail_id}`;
|
|
608
662
|
const body = { labels: params.labels, read: params.read };
|
|
609
663
|
return this.request('PUT', path, undefined, body);
|
|
@@ -617,6 +671,47 @@ export class EsiClient {
|
|
|
617
671
|
const path = `/characters/${params.character_id}/medals`;
|
|
618
672
|
return this.request('GET', path, undefined, undefined);
|
|
619
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* Listing of all Mercenary Tactical Operations for the character.
|
|
676
|
+
|
|
677
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersMercenaryTacticalOperationsListing
|
|
678
|
+
*/
|
|
679
|
+
async getCharacterMercenaryTacticalOperations(params) {
|
|
680
|
+
const path = `/characters/${params.character_id}/mercenary-tactical-operations`;
|
|
681
|
+
return this.request('GET', path, undefined, undefined);
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* Get the details of a Mercenary Tactical Operation.
|
|
685
|
+
|
|
686
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersMercenaryTacticalOperationsDetail
|
|
687
|
+
*/
|
|
688
|
+
async getCharacterMercenaryTacticalOperation(params) {
|
|
689
|
+
const path = `/characters/${params.character_id}/mercenary-tactical-operations/${params.operation_id}`;
|
|
690
|
+
return this.request('GET', path, undefined, undefined);
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Listing of the military campaign objectives the character has participated in.
|
|
694
|
+
|
|
695
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersMilitaryCampaignsObjectivesListing
|
|
696
|
+
*/
|
|
697
|
+
async getCharacterMilitaryCampaignsObjectives(params) {
|
|
698
|
+
const path = `/characters/${params.character_id}/military-campaigns/objectives`;
|
|
699
|
+
const queryParams = {
|
|
700
|
+
after: params.after,
|
|
701
|
+
before: params.before,
|
|
702
|
+
limit: params.limit,
|
|
703
|
+
};
|
|
704
|
+
return this.request('GET', path, queryParams, undefined);
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Show your participation in a military campaign objective.
|
|
708
|
+
|
|
709
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersMilitaryCampaignsObjectivesParticipation
|
|
710
|
+
*/
|
|
711
|
+
async getCharacterMilitaryCampaignsObjectiveParticipation(params) {
|
|
712
|
+
const path = `/characters/${params.character_id}/military-campaigns/objectives/${params.objective_id}`;
|
|
713
|
+
return this.request('GET', path, undefined, undefined);
|
|
714
|
+
}
|
|
620
715
|
/**
|
|
621
716
|
* Paginated record of all mining done by a character for the past 30 days
|
|
622
717
|
|
|
@@ -646,7 +741,7 @@ export class EsiClient {
|
|
|
646
741
|
return this.request('GET', path, undefined, undefined);
|
|
647
742
|
}
|
|
648
743
|
/**
|
|
649
|
-
*
|
|
744
|
+
* Get whether a character is online, and its login statistics.
|
|
650
745
|
|
|
651
746
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOnline
|
|
652
747
|
*/
|
|
@@ -673,6 +768,20 @@ export class EsiClient {
|
|
|
673
768
|
const queryParams = { page: params.page };
|
|
674
769
|
return this.request('GET', path, queryParams, undefined);
|
|
675
770
|
}
|
|
771
|
+
/**
|
|
772
|
+
* List the SKINR listings a character has posted on the Paragon Hub.
|
|
773
|
+
|
|
774
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersParagonHubSkinr
|
|
775
|
+
*/
|
|
776
|
+
async getCharacterParagonHubSkinr(params) {
|
|
777
|
+
const path = `/characters/${params.character_id}/paragon-hub/skinr`;
|
|
778
|
+
const queryParams = {
|
|
779
|
+
after: params.after,
|
|
780
|
+
before: params.before,
|
|
781
|
+
limit: params.limit,
|
|
782
|
+
};
|
|
783
|
+
return this.request('GET', path, queryParams, undefined);
|
|
784
|
+
}
|
|
676
785
|
/**
|
|
677
786
|
* Returns a list of all planetary colonies owned by a character.
|
|
678
787
|
|
|
@@ -726,7 +835,7 @@ export class EsiClient {
|
|
|
726
835
|
return this.request('GET', path, queryParams, undefined);
|
|
727
836
|
}
|
|
728
837
|
/**
|
|
729
|
-
* Get the
|
|
838
|
+
* Get the ship a character is currently in.
|
|
730
839
|
|
|
731
840
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdShip
|
|
732
841
|
*/
|
|
@@ -768,6 +877,24 @@ export class EsiClient {
|
|
|
768
877
|
const path = `/characters/${params.character_id}/standings`;
|
|
769
878
|
return this.request('GET', path, undefined, undefined);
|
|
770
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* Listing of all Mercenary Dens.
|
|
882
|
+
|
|
883
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersStructuresMercenaryDensListing
|
|
884
|
+
*/
|
|
885
|
+
async getCharacterStructuresMercenaryDens(params) {
|
|
886
|
+
const path = `/characters/${params.character_id}/structures/mercenary-dens`;
|
|
887
|
+
return this.request('GET', path, undefined, undefined);
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Get the details of a Mercenary Den.
|
|
891
|
+
|
|
892
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersStructuresMercenaryDensDetail
|
|
893
|
+
*/
|
|
894
|
+
async getCharacterStructuresMercenaryDen(params) {
|
|
895
|
+
const path = `/characters/${params.character_id}/structures/mercenary-dens/${params.mercenary_den_id}`;
|
|
896
|
+
return this.request('GET', path, undefined, undefined);
|
|
897
|
+
}
|
|
771
898
|
/**
|
|
772
899
|
* Returns a character's titles
|
|
773
900
|
|
|
@@ -831,7 +958,7 @@ export class EsiClient {
|
|
|
831
958
|
|
|
832
959
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetContractsPublicRegionId
|
|
833
960
|
*/
|
|
834
|
-
async
|
|
961
|
+
async getContractsPublicRegion(params) {
|
|
835
962
|
const path = `/contracts/public/${params.region_id}`;
|
|
836
963
|
const queryParams = { page: params.page };
|
|
837
964
|
return this.request('GET', path, queryParams, undefined);
|
|
@@ -841,7 +968,7 @@ export class EsiClient {
|
|
|
841
968
|
|
|
842
969
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationCorporationIdMiningExtractions
|
|
843
970
|
*/
|
|
844
|
-
async
|
|
971
|
+
async getCorporationMiningExtractions(params) {
|
|
845
972
|
const path = `/corporation/${params.corporation_id}/mining/extractions`;
|
|
846
973
|
const queryParams = { page: params.page };
|
|
847
974
|
return this.request('GET', path, queryParams, undefined);
|
|
@@ -851,7 +978,7 @@ export class EsiClient {
|
|
|
851
978
|
|
|
852
979
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationCorporationIdMiningObservers
|
|
853
980
|
*/
|
|
854
|
-
async
|
|
981
|
+
async getCorporationMiningObservers(params) {
|
|
855
982
|
const path = `/corporation/${params.corporation_id}/mining/observers`;
|
|
856
983
|
const queryParams = { page: params.page };
|
|
857
984
|
return this.request('GET', path, queryParams, undefined);
|
|
@@ -861,7 +988,7 @@ export class EsiClient {
|
|
|
861
988
|
|
|
862
989
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationCorporationIdMiningObserversObserverId
|
|
863
990
|
*/
|
|
864
|
-
async
|
|
991
|
+
async getCorporationMiningObserver(params) {
|
|
865
992
|
const path = `/corporation/${params.corporation_id}/mining/observers/${params.observer_id}`;
|
|
866
993
|
const queryParams = { page: params.page };
|
|
867
994
|
return this.request('GET', path, queryParams, undefined);
|
|
@@ -1021,6 +1148,34 @@ export class EsiClient {
|
|
|
1021
1148
|
const path = `/corporations/${params.corporation_id}/facilities`;
|
|
1022
1149
|
return this.request('GET', path, undefined, undefined);
|
|
1023
1150
|
}
|
|
1151
|
+
/**
|
|
1152
|
+
* Listing of all freelance jobs for your corporation.
|
|
1153
|
+
|
|
1154
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsFreelanceJobsListing
|
|
1155
|
+
*/
|
|
1156
|
+
async getCorporationFreelanceJobs(params) {
|
|
1157
|
+
const path = `/corporations/${params.corporation_id}/freelance-jobs`;
|
|
1158
|
+
const queryParams = {
|
|
1159
|
+
after: params.after,
|
|
1160
|
+
before: params.before,
|
|
1161
|
+
limit: params.limit,
|
|
1162
|
+
};
|
|
1163
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* Listing of all participants of a freelance job.
|
|
1167
|
+
|
|
1168
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsFreelanceJobsParticipants
|
|
1169
|
+
*/
|
|
1170
|
+
async getCorporationFreelanceJobParticipants(params) {
|
|
1171
|
+
const path = `/corporations/${params.corporation_id}/freelance-jobs/${params.job_id}/participants`;
|
|
1172
|
+
const queryParams = {
|
|
1173
|
+
after: params.after,
|
|
1174
|
+
before: params.before,
|
|
1175
|
+
limit: params.limit,
|
|
1176
|
+
};
|
|
1177
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1178
|
+
}
|
|
1024
1179
|
/**
|
|
1025
1180
|
* Statistics about a corporation involved in faction warfare
|
|
1026
1181
|
|
|
@@ -1140,6 +1295,53 @@ export class EsiClient {
|
|
|
1140
1295
|
const queryParams = { page: params.page };
|
|
1141
1296
|
return this.request('GET', path, queryParams, undefined);
|
|
1142
1297
|
}
|
|
1298
|
+
/**
|
|
1299
|
+
* Listing of all (active) corporation projects.
|
|
1300
|
+
|
|
1301
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsProjectsListing
|
|
1302
|
+
*/
|
|
1303
|
+
async getCorporationProjects(params) {
|
|
1304
|
+
const path = `/corporations/${params.corporation_id}/projects`;
|
|
1305
|
+
const queryParams = {
|
|
1306
|
+
after: params.after,
|
|
1307
|
+
before: params.before,
|
|
1308
|
+
limit: params.limit,
|
|
1309
|
+
state: params.state,
|
|
1310
|
+
};
|
|
1311
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1312
|
+
}
|
|
1313
|
+
/**
|
|
1314
|
+
* Get the details of a corporation project.
|
|
1315
|
+
|
|
1316
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsProjectsDetail
|
|
1317
|
+
*/
|
|
1318
|
+
async getCorporationProject(params) {
|
|
1319
|
+
const path = `/corporations/${params.corporation_id}/projects/${params.project_id}`;
|
|
1320
|
+
return this.request('GET', path, undefined, undefined);
|
|
1321
|
+
}
|
|
1322
|
+
/**
|
|
1323
|
+
* Show your contribution to a corporation project.
|
|
1324
|
+
|
|
1325
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsProjectsContribution
|
|
1326
|
+
*/
|
|
1327
|
+
async getCorporationProjectContribution(params) {
|
|
1328
|
+
const path = `/corporations/${params.corporation_id}/projects/${params.project_id}/contribution/${params.character_id}`;
|
|
1329
|
+
return this.request('GET', path, undefined, undefined);
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* Listing of all contributors to a corporation project.
|
|
1333
|
+
|
|
1334
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsProjectsContributors
|
|
1335
|
+
*/
|
|
1336
|
+
async getCorporationProjectContributors(params) {
|
|
1337
|
+
const path = `/corporations/${params.corporation_id}/projects/${params.project_id}/contributors`;
|
|
1338
|
+
const queryParams = {
|
|
1339
|
+
after: params.after,
|
|
1340
|
+
before: params.before,
|
|
1341
|
+
limit: params.limit,
|
|
1342
|
+
};
|
|
1343
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1344
|
+
}
|
|
1143
1345
|
/**
|
|
1144
1346
|
* Return the roles of all members if the character has the personnel manager role or any grantable role.
|
|
1145
1347
|
|
|
@@ -1209,6 +1411,42 @@ export class EsiClient {
|
|
|
1209
1411
|
const queryParams = { page: params.page };
|
|
1210
1412
|
return this.request('GET', path, queryParams, undefined);
|
|
1211
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
* Listing of all Skyhooks.
|
|
1416
|
+
|
|
1417
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsStructuresSkyhooksListing
|
|
1418
|
+
*/
|
|
1419
|
+
async getCorporationStructuresSkyhooks(params) {
|
|
1420
|
+
const path = `/corporations/${params.corporation_id}/structures/skyhooks`;
|
|
1421
|
+
return this.request('GET', path, undefined, undefined);
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Get the details of a Skyhook.
|
|
1425
|
+
|
|
1426
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsStructuresSkyhooksDetail
|
|
1427
|
+
*/
|
|
1428
|
+
async getCorporationStructuresSkyhook(params) {
|
|
1429
|
+
const path = `/corporations/${params.corporation_id}/structures/skyhooks/${params.skyhook_id}`;
|
|
1430
|
+
return this.request('GET', path, undefined, undefined);
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Listing of all Sovereignty Hubs.
|
|
1434
|
+
|
|
1435
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsStructuresSovereigntyHubsListing
|
|
1436
|
+
*/
|
|
1437
|
+
async getCorporationStructuresSovereigntyHubs(params) {
|
|
1438
|
+
const path = `/corporations/${params.corporation_id}/structures/sovereignty-hubs`;
|
|
1439
|
+
return this.request('GET', path, undefined, undefined);
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* Get the details of a Sovereignty Hub.
|
|
1443
|
+
|
|
1444
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsStructuresSovereigntyHubsDetail
|
|
1445
|
+
*/
|
|
1446
|
+
async getCorporationStructuresSovereigntyHub(params) {
|
|
1447
|
+
const path = `/corporations/${params.corporation_id}/structures/sovereignty-hubs/${params.sovereignty_hub_id}`;
|
|
1448
|
+
return this.request('GET', path, undefined, undefined);
|
|
1449
|
+
}
|
|
1212
1450
|
/**
|
|
1213
1451
|
* Returns a corporation's titles
|
|
1214
1452
|
|
|
@@ -1232,7 +1470,7 @@ export class EsiClient {
|
|
|
1232
1470
|
|
|
1233
1471
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsCorporationIdWalletsDivisionJournal
|
|
1234
1472
|
*/
|
|
1235
|
-
async
|
|
1473
|
+
async getCorporationWalletJournal(params) {
|
|
1236
1474
|
const path = `/corporations/${params.corporation_id}/wallets/${params.division}/journal`;
|
|
1237
1475
|
const queryParams = { page: params.page };
|
|
1238
1476
|
return this.request('GET', path, queryParams, undefined);
|
|
@@ -1242,11 +1480,20 @@ export class EsiClient {
|
|
|
1242
1480
|
|
|
1243
1481
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCorporationsCorporationIdWalletsDivisionTransactions
|
|
1244
1482
|
*/
|
|
1245
|
-
async
|
|
1483
|
+
async getCorporationWalletTransactions(params) {
|
|
1246
1484
|
const path = `/corporations/${params.corporation_id}/wallets/${params.division}/transactions`;
|
|
1247
1485
|
const queryParams = { from_id: params.from_id };
|
|
1248
1486
|
return this.request('GET', path, queryParams, undefined);
|
|
1249
1487
|
}
|
|
1488
|
+
/**
|
|
1489
|
+
* All attributes of a SKINR license
|
|
1490
|
+
|
|
1491
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetCosmeticsSkinr
|
|
1492
|
+
*/
|
|
1493
|
+
async getCosmeticsSkinr(params) {
|
|
1494
|
+
const path = `/cosmetics/skinr/${params.skinr_id}`;
|
|
1495
|
+
return this.request('GET', path, undefined, undefined);
|
|
1496
|
+
}
|
|
1250
1497
|
/**
|
|
1251
1498
|
* Get a list of dogma attribute ids
|
|
1252
1499
|
|
|
@@ -1276,7 +1523,7 @@ export class EsiClient {
|
|
|
1276
1523
|
|
|
1277
1524
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetDogmaDynamicItemsTypeIdItemId
|
|
1278
1525
|
*/
|
|
1279
|
-
async
|
|
1526
|
+
async getDogmaDynamicItem(params) {
|
|
1280
1527
|
const path = `/dogma/dynamic/items/${params.type_id}/${params.item_id}`;
|
|
1281
1528
|
return this.request('GET', path, undefined, undefined);
|
|
1282
1529
|
}
|
|
@@ -1433,6 +1680,38 @@ export class EsiClient {
|
|
|
1433
1680
|
const path = `/fleets/${params.fleet_id}/wings/${params.wing_id}/squads`;
|
|
1434
1681
|
return this.request('POST', path, undefined, undefined);
|
|
1435
1682
|
}
|
|
1683
|
+
/**
|
|
1684
|
+
* Listing of all public freelance jobs.
|
|
1685
|
+
|
|
1686
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetFreelanceJobsListing
|
|
1687
|
+
*/
|
|
1688
|
+
async getFreelanceJobs(params) {
|
|
1689
|
+
const path = `/freelance-jobs`;
|
|
1690
|
+
const queryParams = params
|
|
1691
|
+
? {
|
|
1692
|
+
after: params.after,
|
|
1693
|
+
before: params.before,
|
|
1694
|
+
limit: params.limit,
|
|
1695
|
+
corporation_id: params.corporation_id,
|
|
1696
|
+
}
|
|
1697
|
+
: undefined;
|
|
1698
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* Get the details of a freelance job.
|
|
1702
|
+
|
|
1703
|
+
* Jobs without an ACL (public jobs) does not require authentication.
|
|
1704
|
+
|
|
1705
|
+
* Jobs with an ACL requires authentication, and requires that the character is:
|
|
1706
|
+
- An active participant of the job, or
|
|
1707
|
+
- A freelance job manager for the corporation that owns the job.
|
|
1708
|
+
|
|
1709
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetFreelanceJobsDetail
|
|
1710
|
+
*/
|
|
1711
|
+
async getFreelanceJob(params) {
|
|
1712
|
+
const path = `/freelance-jobs/${params.job_id}`;
|
|
1713
|
+
return this.request('GET', path, undefined, undefined);
|
|
1714
|
+
}
|
|
1436
1715
|
/**
|
|
1437
1716
|
* Top 4 leaderboard of factions for kills and victory points separated by total, last week and yesterday
|
|
1438
1717
|
|
|
@@ -1538,7 +1817,7 @@ export class EsiClient {
|
|
|
1538
1817
|
|
|
1539
1818
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetKillmailsKillmailIdKillmailHash
|
|
1540
1819
|
*/
|
|
1541
|
-
async
|
|
1820
|
+
async getKillmail(params) {
|
|
1542
1821
|
const path = `/killmails/${params.killmail_id}/${params.killmail_hash}`;
|
|
1543
1822
|
return this.request('GET', path, undefined, undefined);
|
|
1544
1823
|
}
|
|
@@ -1571,7 +1850,7 @@ export class EsiClient {
|
|
|
1571
1850
|
|
|
1572
1851
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetMarketsGroupsMarketGroupId
|
|
1573
1852
|
*/
|
|
1574
|
-
async
|
|
1853
|
+
async getMarketsGroup(params) {
|
|
1575
1854
|
const path = `/markets/groups/${params.market_group_id}`;
|
|
1576
1855
|
return this.request('GET', path, undefined, undefined);
|
|
1577
1856
|
}
|
|
@@ -1649,247 +1928,228 @@ export class EsiClient {
|
|
|
1649
1928
|
return this.request('GET', path, undefined, undefined);
|
|
1650
1929
|
}
|
|
1651
1930
|
/**
|
|
1652
|
-
* Get the
|
|
1931
|
+
* Get the name ESI is currently going by, plus the full and glorious history of every name it has ever had. The three letters have never once meant the same thing twice.
|
|
1653
1932
|
|
|
1654
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1933
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMetaName
|
|
1655
1934
|
*/
|
|
1656
|
-
async
|
|
1657
|
-
const path = `/
|
|
1658
|
-
const queryParams = {
|
|
1659
|
-
avoid: params.avoid,
|
|
1660
|
-
connections: params.connections,
|
|
1661
|
-
flag: params.flag,
|
|
1662
|
-
};
|
|
1663
|
-
return this.request('GET', path, queryParams, undefined);
|
|
1664
|
-
}
|
|
1665
|
-
/**
|
|
1666
|
-
* Shows sovereignty data for campaigns.
|
|
1667
|
-
|
|
1668
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetSovereigntyCampaigns
|
|
1669
|
-
*/
|
|
1670
|
-
async getSovereigntyCampaigns() {
|
|
1671
|
-
const path = `/sovereignty/campaigns`;
|
|
1935
|
+
async getMetaName() {
|
|
1936
|
+
const path = `/meta/name`;
|
|
1672
1937
|
return this.request('GET', path, undefined, undefined);
|
|
1673
1938
|
}
|
|
1674
1939
|
/**
|
|
1675
|
-
*
|
|
1940
|
+
* Get the health status of each API route.
|
|
1676
1941
|
|
|
1677
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1942
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMetaStatus
|
|
1678
1943
|
*/
|
|
1679
|
-
async
|
|
1680
|
-
const path = `/
|
|
1944
|
+
async getMetaStatus() {
|
|
1945
|
+
const path = `/meta/status`;
|
|
1681
1946
|
return this.request('GET', path, undefined, undefined);
|
|
1682
1947
|
}
|
|
1683
1948
|
/**
|
|
1684
|
-
*
|
|
1949
|
+
* Listing of all active military campaigns.
|
|
1685
1950
|
|
|
1686
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1951
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMilitaryCampaignsListing
|
|
1687
1952
|
*/
|
|
1688
|
-
async
|
|
1689
|
-
const path = `/
|
|
1953
|
+
async getMilitaryCampaigns() {
|
|
1954
|
+
const path = `/military-campaigns`;
|
|
1690
1955
|
return this.request('GET', path, undefined, undefined);
|
|
1691
1956
|
}
|
|
1692
1957
|
/**
|
|
1693
|
-
*
|
|
1958
|
+
* Get the details of a military campaign.
|
|
1694
1959
|
|
|
1695
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1960
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMilitaryCampaignsDetail
|
|
1696
1961
|
*/
|
|
1697
|
-
async
|
|
1698
|
-
const path = `/
|
|
1962
|
+
async getMilitaryCampaign(params) {
|
|
1963
|
+
const path = `/military-campaigns/${params.campaign_id}`;
|
|
1699
1964
|
return this.request('GET', path, undefined, undefined);
|
|
1700
1965
|
}
|
|
1701
1966
|
/**
|
|
1702
|
-
*
|
|
1967
|
+
* Listing of all active, completed or expired objectives of a military campaign.
|
|
1703
1968
|
|
|
1704
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1969
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMilitaryCampaignsObjectivesListing
|
|
1705
1970
|
*/
|
|
1706
|
-
async
|
|
1707
|
-
const path = `/
|
|
1971
|
+
async getMilitaryCampaignObjectives(params) {
|
|
1972
|
+
const path = `/military-campaigns/${params.campaign_id}/objectives`;
|
|
1708
1973
|
const queryParams = {
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1974
|
+
after: params.after,
|
|
1975
|
+
before: params.before,
|
|
1976
|
+
limit: params.limit,
|
|
1712
1977
|
};
|
|
1713
|
-
return this.request('
|
|
1714
|
-
}
|
|
1715
|
-
/**
|
|
1716
|
-
* Open the contract window inside the client
|
|
1717
|
-
|
|
1718
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiOpenwindowContract
|
|
1719
|
-
*/
|
|
1720
|
-
async postUiOpenwindowContract(params) {
|
|
1721
|
-
const path = `/ui/openwindow/contract`;
|
|
1722
|
-
const queryParams = { contract_id: params.contract_id };
|
|
1723
|
-
return this.request('POST', path, queryParams, undefined);
|
|
1978
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1724
1979
|
}
|
|
1725
1980
|
/**
|
|
1726
|
-
*
|
|
1981
|
+
* Get the details of an objective of a military campaign.
|
|
1727
1982
|
|
|
1728
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1983
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetMilitaryCampaignsObjectivesDetail
|
|
1729
1984
|
*/
|
|
1730
|
-
async
|
|
1731
|
-
const path = `/
|
|
1732
|
-
|
|
1733
|
-
return this.request('POST', path, queryParams, undefined);
|
|
1985
|
+
async getMilitaryCampaignObjective(params) {
|
|
1986
|
+
const path = `/military-campaigns/${params.campaign_id}/objectives/${params.objective_id}`;
|
|
1987
|
+
return this.request('GET', path, undefined, undefined);
|
|
1734
1988
|
}
|
|
1735
1989
|
/**
|
|
1736
|
-
*
|
|
1990
|
+
* Browse the SKINR listings publicly available on the Paragon Hub.
|
|
1737
1991
|
|
|
1738
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
1992
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetParagonHubSkinr
|
|
1739
1993
|
*/
|
|
1740
|
-
async
|
|
1741
|
-
const path = `/
|
|
1742
|
-
const queryParams =
|
|
1743
|
-
|
|
1994
|
+
async getParagonHubSkinr(params) {
|
|
1995
|
+
const path = `/paragon-hub/skinr`;
|
|
1996
|
+
const queryParams = params
|
|
1997
|
+
? { after: params.after, before: params.before, limit: params.limit }
|
|
1998
|
+
: undefined;
|
|
1999
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1744
2000
|
}
|
|
1745
2001
|
/**
|
|
1746
|
-
*
|
|
2002
|
+
* Browse the SKINR listings on the Paragon Hub that are visible to the given alliance.
|
|
1747
2003
|
|
|
1748
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2004
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetParagonHubSkinrAlliances
|
|
1749
2005
|
*/
|
|
1750
|
-
async
|
|
1751
|
-
const path = `/
|
|
1752
|
-
const
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
to_corp_or_alliance_id: params.to_corp_or_alliance_id,
|
|
1757
|
-
to_mailing_list_id: params.to_mailing_list_id,
|
|
2006
|
+
async getParagonHubSkinrAlliances(params) {
|
|
2007
|
+
const path = `/paragon-hub/skinr/alliances/${params.alliance_id}`;
|
|
2008
|
+
const queryParams = {
|
|
2009
|
+
after: params.after,
|
|
2010
|
+
before: params.before,
|
|
2011
|
+
limit: params.limit,
|
|
1758
2012
|
};
|
|
1759
|
-
return this.request('
|
|
2013
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1760
2014
|
}
|
|
1761
2015
|
/**
|
|
1762
|
-
*
|
|
1763
|
-
|
|
1764
|
-
* This route expires daily at 11:05
|
|
2016
|
+
* Browse the SKINR listings on the Paragon Hub that are visible to the given character.
|
|
1765
2017
|
|
|
1766
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2018
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetParagonHubSkinrCharacters
|
|
1767
2019
|
*/
|
|
1768
|
-
async
|
|
1769
|
-
const path = `/
|
|
1770
|
-
|
|
2020
|
+
async getParagonHubSkinrCharacters(params) {
|
|
2021
|
+
const path = `/paragon-hub/skinr/characters/${params.character_id}`;
|
|
2022
|
+
const queryParams = {
|
|
2023
|
+
after: params.after,
|
|
2024
|
+
before: params.before,
|
|
2025
|
+
limit: params.limit,
|
|
2026
|
+
};
|
|
2027
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1771
2028
|
}
|
|
1772
2029
|
/**
|
|
1773
|
-
*
|
|
1774
|
-
|
|
1775
|
-
* This route expires daily at 11:05
|
|
2030
|
+
* Browse the SKINR listings on the Paragon Hub that are visible to the given corporation.
|
|
1776
2031
|
|
|
1777
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2032
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetParagonHubSkinrCorporations
|
|
1778
2033
|
*/
|
|
1779
|
-
async
|
|
1780
|
-
const path = `/
|
|
1781
|
-
|
|
2034
|
+
async getParagonHubSkinrCorporations(params) {
|
|
2035
|
+
const path = `/paragon-hub/skinr/corporations/${params.corporation_id}`;
|
|
2036
|
+
const queryParams = {
|
|
2037
|
+
after: params.after,
|
|
2038
|
+
before: params.before,
|
|
2039
|
+
limit: params.limit,
|
|
2040
|
+
};
|
|
2041
|
+
return this.request('GET', path, queryParams, undefined);
|
|
1782
2042
|
}
|
|
1783
2043
|
/**
|
|
1784
|
-
*
|
|
1785
|
-
|
|
1786
|
-
* This route expires daily at 11:05
|
|
2044
|
+
* Calculate the systems between the given origin and destination.
|
|
1787
2045
|
|
|
1788
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2046
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostRoute
|
|
1789
2047
|
*/
|
|
1790
|
-
async
|
|
1791
|
-
const path = `/
|
|
1792
|
-
|
|
2048
|
+
async postRoute(params) {
|
|
2049
|
+
const path = `/route/${params.origin_system_id}/${params.destination_system_id}`;
|
|
2050
|
+
const body = {
|
|
2051
|
+
avoid_systems: params.avoid_systems,
|
|
2052
|
+
connections: params.connections,
|
|
2053
|
+
preference: params.preference,
|
|
2054
|
+
security_penalty: params.security_penalty,
|
|
2055
|
+
};
|
|
2056
|
+
return this.request('POST', path, undefined, body);
|
|
1793
2057
|
}
|
|
1794
2058
|
/**
|
|
1795
|
-
*
|
|
1796
|
-
|
|
1797
|
-
* This route expires daily at 11:05
|
|
2059
|
+
* Listing of all Skyhooks that currently or will shortly be raidable.
|
|
1798
2060
|
|
|
1799
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2061
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetSkyhooksRaidable
|
|
1800
2062
|
*/
|
|
1801
|
-
async
|
|
1802
|
-
const path = `/
|
|
2063
|
+
async getSkyhooksRaidable() {
|
|
2064
|
+
const path = `/skyhooks/raidable`;
|
|
1803
2065
|
return this.request('GET', path, undefined, undefined);
|
|
1804
2066
|
}
|
|
1805
2067
|
/**
|
|
1806
|
-
*
|
|
1807
|
-
|
|
1808
|
-
* This route expires daily at 11:05
|
|
2068
|
+
* Shows sovereignty data for campaigns.
|
|
1809
2069
|
|
|
1810
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2070
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetSovereigntyCampaigns
|
|
1811
2071
|
*/
|
|
1812
|
-
async
|
|
1813
|
-
const path = `/
|
|
2072
|
+
async getSovereigntyCampaigns() {
|
|
2073
|
+
const path = `/sovereignty/campaigns`;
|
|
1814
2074
|
return this.request('GET', path, undefined, undefined);
|
|
1815
2075
|
}
|
|
1816
2076
|
/**
|
|
1817
|
-
*
|
|
1818
|
-
|
|
1819
|
-
* This route expires daily at 11:05
|
|
2077
|
+
* Listing of sovereignty details for all K-space systems in New Eden.
|
|
1820
2078
|
|
|
1821
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2079
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetSovereigntySystems
|
|
1822
2080
|
*/
|
|
1823
|
-
async
|
|
1824
|
-
const path = `/
|
|
2081
|
+
async getSovereigntySystems() {
|
|
2082
|
+
const path = `/sovereignty/systems`;
|
|
1825
2083
|
return this.request('GET', path, undefined, undefined);
|
|
1826
2084
|
}
|
|
1827
2085
|
/**
|
|
1828
|
-
*
|
|
1829
|
-
|
|
1830
|
-
* This route expires daily at 11:05
|
|
2086
|
+
* Current status of the EVE Online cluster
|
|
1831
2087
|
|
|
1832
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2088
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/GetStatus
|
|
1833
2089
|
*/
|
|
1834
|
-
async
|
|
1835
|
-
const path = `/
|
|
2090
|
+
async getStatus() {
|
|
2091
|
+
const path = `/status`;
|
|
1836
2092
|
return this.request('GET', path, undefined, undefined);
|
|
1837
2093
|
}
|
|
1838
2094
|
/**
|
|
1839
|
-
*
|
|
1840
|
-
|
|
1841
|
-
* This route expires daily at 11:05
|
|
2095
|
+
* Set a solar system as autopilot waypoint
|
|
1842
2096
|
|
|
1843
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2097
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiAutopilotWaypoint
|
|
1844
2098
|
*/
|
|
1845
|
-
async
|
|
1846
|
-
const path = `/
|
|
1847
|
-
|
|
2099
|
+
async postUiAutopilotWaypoint(params) {
|
|
2100
|
+
const path = `/ui/autopilot/waypoint`;
|
|
2101
|
+
const queryParams = {
|
|
2102
|
+
add_to_beginning: params.add_to_beginning,
|
|
2103
|
+
clear_other_waypoints: params.clear_other_waypoints,
|
|
2104
|
+
destination_id: params.destination_id,
|
|
2105
|
+
};
|
|
2106
|
+
return this.request('POST', path, queryParams, undefined);
|
|
1848
2107
|
}
|
|
1849
2108
|
/**
|
|
1850
|
-
*
|
|
1851
|
-
|
|
1852
|
-
* This route expires daily at 11:05
|
|
2109
|
+
* Open the contract window inside the client
|
|
1853
2110
|
|
|
1854
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2111
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiOpenwindowContract
|
|
1855
2112
|
*/
|
|
1856
|
-
async
|
|
1857
|
-
const path = `/
|
|
1858
|
-
|
|
2113
|
+
async postUiOpenwindowContract(params) {
|
|
2114
|
+
const path = `/ui/openwindow/contract`;
|
|
2115
|
+
const queryParams = { contract_id: params.contract_id };
|
|
2116
|
+
return this.request('POST', path, queryParams, undefined);
|
|
1859
2117
|
}
|
|
1860
2118
|
/**
|
|
1861
|
-
*
|
|
1862
|
-
|
|
1863
|
-
* This route expires daily at 11:05
|
|
2119
|
+
* Open the information window for a character, corporation or alliance inside the client
|
|
1864
2120
|
|
|
1865
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2121
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiOpenwindowInformation
|
|
1866
2122
|
*/
|
|
1867
|
-
async
|
|
1868
|
-
const path = `/
|
|
1869
|
-
|
|
2123
|
+
async postUiOpenwindowInformation(params) {
|
|
2124
|
+
const path = `/ui/openwindow/information`;
|
|
2125
|
+
const queryParams = { target_id: params.target_id };
|
|
2126
|
+
return this.request('POST', path, queryParams, undefined);
|
|
1870
2127
|
}
|
|
1871
2128
|
/**
|
|
1872
|
-
*
|
|
1873
|
-
|
|
1874
|
-
* This route expires daily at 11:05
|
|
2129
|
+
* Open the market details window for a specific typeID inside the client
|
|
1875
2130
|
|
|
1876
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2131
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiOpenwindowMarketdetails
|
|
1877
2132
|
*/
|
|
1878
|
-
async
|
|
1879
|
-
const path = `/
|
|
1880
|
-
const queryParams =
|
|
1881
|
-
return this.request('
|
|
2133
|
+
async postUiOpenwindowMarketdetails(params) {
|
|
2134
|
+
const path = `/ui/openwindow/marketdetails`;
|
|
2135
|
+
const queryParams = { type_id: params.type_id };
|
|
2136
|
+
return this.request('POST', path, queryParams, undefined);
|
|
1882
2137
|
}
|
|
1883
2138
|
/**
|
|
1884
|
-
*
|
|
1885
|
-
|
|
1886
|
-
* This route expires daily at 11:05
|
|
2139
|
+
* Open the New Mail window, according to settings from the request if applicable
|
|
1887
2140
|
|
|
1888
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/
|
|
2141
|
+
* @see https://developers.eveonline.com/api-explorer#/operations/PostUiOpenwindowNewmail
|
|
1889
2142
|
*/
|
|
1890
|
-
async
|
|
1891
|
-
const path = `/
|
|
1892
|
-
|
|
2143
|
+
async postUiOpenwindowNewmail(params) {
|
|
2144
|
+
const path = `/ui/openwindow/newmail`;
|
|
2145
|
+
const body = {
|
|
2146
|
+
body: params.body,
|
|
2147
|
+
recipients: params.recipients,
|
|
2148
|
+
subject: params.subject,
|
|
2149
|
+
to_corp_or_alliance_id: params.to_corp_or_alliance_id,
|
|
2150
|
+
to_mailing_list_id: params.to_mailing_list_id,
|
|
2151
|
+
};
|
|
2152
|
+
return this.request('POST', path, undefined, body);
|
|
1893
2153
|
}
|
|
1894
2154
|
/**
|
|
1895
2155
|
* Resolve a set of names to IDs in the following categories: agents, alliances, characters, constellations, corporations factions, inventory_types, regions, stations, and systems. Only exact matches will be returned. All names searched for are cached for 12 hours
|
|
@@ -1901,17 +2161,6 @@ export class EsiClient {
|
|
|
1901
2161
|
const body = params.body;
|
|
1902
2162
|
return this.request('POST', path, undefined, body);
|
|
1903
2163
|
}
|
|
1904
|
-
/**
|
|
1905
|
-
* Get information on a moon
|
|
1906
|
-
|
|
1907
|
-
* This route expires daily at 11:05
|
|
1908
|
-
|
|
1909
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseMoonsMoonId
|
|
1910
|
-
*/
|
|
1911
|
-
async getUniverseMoon(params) {
|
|
1912
|
-
const path = `/universe/moons/${params.moon_id}`;
|
|
1913
|
-
return this.request('GET', path, undefined, undefined);
|
|
1914
|
-
}
|
|
1915
2164
|
/**
|
|
1916
2165
|
* Resolve a set of IDs to names and categories. Supported ID's for resolving are: Characters, Corporations, Alliances, Stations, Solar Systems, Constellations, Regions, Types, Factions
|
|
1917
2166
|
|
|
@@ -1922,92 +2171,6 @@ export class EsiClient {
|
|
|
1922
2171
|
const body = params.body;
|
|
1923
2172
|
return this.request('POST', path, undefined, body);
|
|
1924
2173
|
}
|
|
1925
|
-
/**
|
|
1926
|
-
* Get information on a planet
|
|
1927
|
-
|
|
1928
|
-
* This route expires daily at 11:05
|
|
1929
|
-
|
|
1930
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniversePlanetsPlanetId
|
|
1931
|
-
*/
|
|
1932
|
-
async getUniversePlanet(params) {
|
|
1933
|
-
const path = `/universe/planets/${params.planet_id}`;
|
|
1934
|
-
return this.request('GET', path, undefined, undefined);
|
|
1935
|
-
}
|
|
1936
|
-
/**
|
|
1937
|
-
* Get a list of character races
|
|
1938
|
-
|
|
1939
|
-
* This route expires daily at 11:05
|
|
1940
|
-
|
|
1941
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseRaces
|
|
1942
|
-
*/
|
|
1943
|
-
async getUniverseRaces() {
|
|
1944
|
-
const path = `/universe/races`;
|
|
1945
|
-
return this.request('GET', path, undefined, undefined);
|
|
1946
|
-
}
|
|
1947
|
-
/**
|
|
1948
|
-
* Get a list of regions
|
|
1949
|
-
|
|
1950
|
-
* This route expires daily at 11:05
|
|
1951
|
-
|
|
1952
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseRegions
|
|
1953
|
-
*/
|
|
1954
|
-
async getUniverseRegions() {
|
|
1955
|
-
const path = `/universe/regions`;
|
|
1956
|
-
return this.request('GET', path, undefined, undefined);
|
|
1957
|
-
}
|
|
1958
|
-
/**
|
|
1959
|
-
* Get information on a region
|
|
1960
|
-
|
|
1961
|
-
* This route expires daily at 11:05
|
|
1962
|
-
|
|
1963
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseRegionsRegionId
|
|
1964
|
-
*/
|
|
1965
|
-
async getUniverseRegion(params) {
|
|
1966
|
-
const path = `/universe/regions/${params.region_id}`;
|
|
1967
|
-
return this.request('GET', path, undefined, undefined);
|
|
1968
|
-
}
|
|
1969
|
-
/**
|
|
1970
|
-
* Get information on a planetary factory schematic
|
|
1971
|
-
|
|
1972
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseSchematicsSchematicId
|
|
1973
|
-
*/
|
|
1974
|
-
async getUniverseSchematic(params) {
|
|
1975
|
-
const path = `/universe/schematics/${params.schematic_id}`;
|
|
1976
|
-
return this.request('GET', path, undefined, undefined);
|
|
1977
|
-
}
|
|
1978
|
-
/**
|
|
1979
|
-
* Get information on a stargate
|
|
1980
|
-
|
|
1981
|
-
* This route expires daily at 11:05
|
|
1982
|
-
|
|
1983
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseStargatesStargateId
|
|
1984
|
-
*/
|
|
1985
|
-
async getUniverseStargate(params) {
|
|
1986
|
-
const path = `/universe/stargates/${params.stargate_id}`;
|
|
1987
|
-
return this.request('GET', path, undefined, undefined);
|
|
1988
|
-
}
|
|
1989
|
-
/**
|
|
1990
|
-
* Get information on a star
|
|
1991
|
-
|
|
1992
|
-
* This route expires daily at 11:05
|
|
1993
|
-
|
|
1994
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseStarsStarId
|
|
1995
|
-
*/
|
|
1996
|
-
async getUniverseStar(params) {
|
|
1997
|
-
const path = `/universe/stars/${params.star_id}`;
|
|
1998
|
-
return this.request('GET', path, undefined, undefined);
|
|
1999
|
-
}
|
|
2000
|
-
/**
|
|
2001
|
-
* Get information on a station
|
|
2002
|
-
|
|
2003
|
-
* This route expires daily at 11:05
|
|
2004
|
-
|
|
2005
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseStationsStationId
|
|
2006
|
-
*/
|
|
2007
|
-
async getUniverseStation(params) {
|
|
2008
|
-
const path = `/universe/stations/${params.station_id}`;
|
|
2009
|
-
return this.request('GET', path, undefined, undefined);
|
|
2010
|
-
}
|
|
2011
2174
|
/**
|
|
2012
2175
|
* List all public structures
|
|
2013
2176
|
|
|
@@ -2045,51 +2208,6 @@ export class EsiClient {
|
|
|
2045
2208
|
const path = `/universe/system_kills`;
|
|
2046
2209
|
return this.request('GET', path, undefined, undefined);
|
|
2047
2210
|
}
|
|
2048
|
-
/**
|
|
2049
|
-
* Get a list of solar systems
|
|
2050
|
-
|
|
2051
|
-
* This route expires daily at 11:05
|
|
2052
|
-
|
|
2053
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseSystems
|
|
2054
|
-
*/
|
|
2055
|
-
async getUniverseSystems() {
|
|
2056
|
-
const path = `/universe/systems`;
|
|
2057
|
-
return this.request('GET', path, undefined, undefined);
|
|
2058
|
-
}
|
|
2059
|
-
/**
|
|
2060
|
-
* Get information on a solar system.
|
|
2061
|
-
|
|
2062
|
-
* This route expires daily at 11:05
|
|
2063
|
-
|
|
2064
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseSystemsSystemId
|
|
2065
|
-
*/
|
|
2066
|
-
async getUniverseSystem(params) {
|
|
2067
|
-
const path = `/universe/systems/${params.system_id}`;
|
|
2068
|
-
return this.request('GET', path, undefined, undefined);
|
|
2069
|
-
}
|
|
2070
|
-
/**
|
|
2071
|
-
* Get a list of type ids
|
|
2072
|
-
|
|
2073
|
-
* This route expires daily at 11:05
|
|
2074
|
-
|
|
2075
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseTypes
|
|
2076
|
-
*/
|
|
2077
|
-
async getUniverseTypes(params) {
|
|
2078
|
-
const path = `/universe/types`;
|
|
2079
|
-
const queryParams = params ? { page: params.page } : undefined;
|
|
2080
|
-
return this.request('GET', path, queryParams, undefined);
|
|
2081
|
-
}
|
|
2082
|
-
/**
|
|
2083
|
-
* Get information on a type
|
|
2084
|
-
|
|
2085
|
-
* This route expires daily at 11:05
|
|
2086
|
-
|
|
2087
|
-
* @see https://developers.eveonline.com/api-explorer#/operations/GetUniverseTypesTypeId
|
|
2088
|
-
*/
|
|
2089
|
-
async getUniverseType(params) {
|
|
2090
|
-
const path = `/universe/types/${params.type_id}`;
|
|
2091
|
-
return this.request('GET', path, undefined, undefined);
|
|
2092
|
-
}
|
|
2093
2211
|
/**
|
|
2094
2212
|
* Return a list of wars
|
|
2095
2213
|
|