@localisprimary/esi 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +4 -4
- package/dist/types.d.ts +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -129,7 +129,7 @@ esi.postCharacterMail({
|
|
|
129
129
|
| [`getCharacterImplants`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdImplants) | Return implants on the active clone of a character |
|
|
130
130
|
| [`getCharacterIndustryJobs`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdIndustryJobs) | List industry jobs placed by a character |
|
|
131
131
|
| [`getCharacterKillmailsRecent`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdKillmailsRecent) | Return a list of a character's kills and losses going back 90 days |
|
|
132
|
-
| [`getCharacterLocation`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLocation) |
|
|
132
|
+
| [`getCharacterLocation`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLocation) | Get the current location of a character, including the station or structure it is docked in. |
|
|
133
133
|
| [`getCharacterLoyaltyPoints`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLoyaltyPoints) | Return a list of loyalty points for all corporations the character has worked for |
|
|
134
134
|
| [`getCharacterMail`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdMail) | Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards |
|
|
135
135
|
| [`postCharacterMail`](https://developers.eveonline.com/api-explorer#/operations/PostCharactersCharacterIdMail) | Create and send a new mail |
|
|
@@ -144,7 +144,7 @@ esi.postCharacterMail({
|
|
|
144
144
|
| [`getCharacterMining`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdMining) | Paginated record of all mining done by a character for the past 30 days |
|
|
145
145
|
| [`getCharacterNotifications`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdNotifications) | Return character notifications |
|
|
146
146
|
| [`getCharacterNotificationsContacts`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdNotificationsContacts) | Return notifications about having been added to someone's contact list |
|
|
147
|
-
| [`getCharacterOnline`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOnline) |
|
|
147
|
+
| [`getCharacterOnline`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOnline) | Get whether a character is online, and its login statistics. |
|
|
148
148
|
| [`getCharacterOrders`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOrders) | List open market orders placed by a character |
|
|
149
149
|
| [`getCharacterOrdersHistory`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOrdersHistory) | List cancelled and expired market orders placed by a character up to 90 days in the past. |
|
|
150
150
|
| [`getCharacterPlanet`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdPlanetsPlanetId) | Returns full details on the layout of a single planetary colony, including links, pins and routes. Note: Planetary information is only recalculated when the colony is viewed through the client. Information will not update until this criteria is met. |
|
|
@@ -153,7 +153,7 @@ esi.postCharacterMail({
|
|
|
153
153
|
| [`getCharacterRoles`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdRoles) | Returns a character's corporation roles |
|
|
154
154
|
| [`postCharactersAffiliation`](https://developers.eveonline.com/api-explorer#/operations/PostCharactersAffiliation) | Bulk lookup of character IDs to corporation, alliance and faction |
|
|
155
155
|
| [`getCharacterSearch`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdSearch) | Search for entities that match a given sub-string. |
|
|
156
|
-
| [`getCharacterShip`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdShip) | Get the
|
|
156
|
+
| [`getCharacterShip`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdShip) | Get the ship a character is currently in. |
|
|
157
157
|
| [`getCharacterSkillqueue`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdSkillqueue) | List the configured skill queue for the given character. Entries that have their finish time in the past are completed, but aren't updated in the "/skills" route yet. This will happen the next time the character logs in. |
|
|
158
158
|
| [`getCharacterSkills`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdSkills) | List all trained skills for the given character. Skills returned by this route can be out-of-date if the character hasn't logged in since one or more skills completed training. Use the /skillqueue route to check for skills that completed training. Entries that are in the past need to be applied on top of this list to get an accurate view of the character's current skills. |
|
|
159
159
|
| [`getCharacterStandings`](https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdStandings) | Return character standings from agents, NPC corporations, and factions |
|
package/dist/client.d.ts
CHANGED
|
@@ -245,7 +245,7 @@ export declare class EsiClient {
|
|
|
245
245
|
*/
|
|
246
246
|
getCharacterKillmailsRecent(params: Types.GetCharacterKillmailsRecentParams): Promise<Types.EsiResponse<Types.GetCharacterKillmailsRecentResponse, Types.GetCharacterKillmailsRecentResponseHeaders>>;
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* Get the current location of a character, including the station or structure it is docked in.
|
|
249
249
|
|
|
250
250
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLocation
|
|
251
251
|
*/
|
|
@@ -335,7 +335,7 @@ export declare class EsiClient {
|
|
|
335
335
|
*/
|
|
336
336
|
getCharacterNotificationsContacts(params: Types.GetCharacterNotificationsContactsParams): Promise<Types.EsiResponse<Types.GetCharacterNotificationsContactsResponse, Types.GetCharacterNotificationsContactsResponseHeaders>>;
|
|
337
337
|
/**
|
|
338
|
-
*
|
|
338
|
+
* Get whether a character is online, and its login statistics.
|
|
339
339
|
|
|
340
340
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOnline
|
|
341
341
|
*/
|
|
@@ -385,7 +385,7 @@ export declare class EsiClient {
|
|
|
385
385
|
*/
|
|
386
386
|
getCharacterSearch(params: Types.GetCharacterSearchParams): Promise<Types.EsiResponse<Types.GetCharacterSearchResponse, Types.GetCharacterSearchResponseHeaders>>;
|
|
387
387
|
/**
|
|
388
|
-
* Get the
|
|
388
|
+
* Get the ship a character is currently in.
|
|
389
389
|
|
|
390
390
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdShip
|
|
391
391
|
*/
|
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-08-
|
|
2
|
+
const COMPATIBILITY_DATE = '2026-08-31';
|
|
3
3
|
export class EsiClient {
|
|
4
4
|
constructor(options) {
|
|
5
5
|
this.baseUrl = 'https://esi.evetech.net';
|
|
@@ -498,7 +498,7 @@ export class EsiClient {
|
|
|
498
498
|
return this.request('GET', path, queryParams, undefined);
|
|
499
499
|
}
|
|
500
500
|
/**
|
|
501
|
-
*
|
|
501
|
+
* Get the current location of a character, including the station or structure it is docked in.
|
|
502
502
|
|
|
503
503
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdLocation
|
|
504
504
|
*/
|
|
@@ -646,7 +646,7 @@ export class EsiClient {
|
|
|
646
646
|
return this.request('GET', path, undefined, undefined);
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
|
-
*
|
|
649
|
+
* Get whether a character is online, and its login statistics.
|
|
650
650
|
|
|
651
651
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdOnline
|
|
652
652
|
*/
|
|
@@ -726,7 +726,7 @@ export class EsiClient {
|
|
|
726
726
|
return this.request('GET', path, queryParams, undefined);
|
|
727
727
|
}
|
|
728
728
|
/**
|
|
729
|
-
* Get the
|
|
729
|
+
* Get the ship a character is currently in.
|
|
730
730
|
|
|
731
731
|
* @see https://developers.eveonline.com/api-explorer#/operations/GetCharactersCharacterIdShip
|
|
732
732
|
*/
|
package/dist/types.d.ts
CHANGED
|
@@ -620,10 +620,13 @@ export interface GetCharacterKillmailsRecentResponseHeaders {
|
|
|
620
620
|
'last-modified'?: string;
|
|
621
621
|
'x-pages'?: string;
|
|
622
622
|
}
|
|
623
|
+
export type SolarSystemID = number;
|
|
624
|
+
export type StationID = number;
|
|
625
|
+
export type ItemID = number;
|
|
623
626
|
export interface GetCharacterLocationResponse {
|
|
624
|
-
solar_system_id:
|
|
625
|
-
station_id?:
|
|
626
|
-
structure_id?:
|
|
627
|
+
solar_system_id: SolarSystemID;
|
|
628
|
+
station_id?: StationID;
|
|
629
|
+
structure_id?: ItemID;
|
|
627
630
|
}
|
|
628
631
|
export interface GetCharacterLocationParams {
|
|
629
632
|
character_id: number | string;
|
|
@@ -1032,10 +1035,11 @@ export interface GetCharacterSearchResponseHeaders {
|
|
|
1032
1035
|
etag?: string;
|
|
1033
1036
|
'last-modified'?: string;
|
|
1034
1037
|
}
|
|
1038
|
+
export type TypeID = number;
|
|
1035
1039
|
export interface GetCharacterShipResponse {
|
|
1036
|
-
ship_item_id:
|
|
1040
|
+
ship_item_id: ItemID;
|
|
1037
1041
|
ship_name: string;
|
|
1038
|
-
ship_type_id:
|
|
1042
|
+
ship_type_id: TypeID;
|
|
1039
1043
|
}
|
|
1040
1044
|
export interface GetCharacterShipParams {
|
|
1041
1045
|
character_id: number | string;
|
|
@@ -1045,7 +1049,6 @@ export interface GetCharacterShipResponseHeaders {
|
|
|
1045
1049
|
etag?: string;
|
|
1046
1050
|
'last-modified'?: string;
|
|
1047
1051
|
}
|
|
1048
|
-
export type TypeID = number;
|
|
1049
1052
|
export interface CharactersSkillqueueSkill {
|
|
1050
1053
|
finish_date?: string;
|
|
1051
1054
|
finished_level: number;
|
|
@@ -1284,7 +1287,6 @@ export interface GetCorporationsNpccorpsResponseHeaders {
|
|
|
1284
1287
|
etag?: string;
|
|
1285
1288
|
'last-modified'?: string;
|
|
1286
1289
|
}
|
|
1287
|
-
export type StationID = number;
|
|
1288
1290
|
export interface GetCorporationResponse {
|
|
1289
1291
|
alliance_id?: AllianceID;
|
|
1290
1292
|
ceo_id: CharacterID;
|