@lgriffin/esi.ts 6.0.0 → 7.4.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/CHANGELOG.md +110 -1
- package/README.md +245 -159
- package/dist/clients/AllianceClient.d.ts +2 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -1
- package/dist/clients/AllianceClient.js +2 -0
- package/dist/clients/BaseEsiClient.d.ts +4 -2
- package/dist/clients/BaseEsiClient.d.ts.map +1 -1
- package/dist/clients/BaseEsiClient.js +9 -0
- package/dist/clients/ContactsClient.d.ts +6 -4
- package/dist/clients/ContactsClient.d.ts.map +1 -1
- package/dist/clients/ContactsClient.js +9 -7
- package/dist/clients/FleetClient.d.ts +2 -2
- package/dist/clients/FleetClient.d.ts.map +1 -1
- package/dist/clients/FleetClient.js +8 -2
- package/dist/clients/SovereigntyClient.d.ts +1 -1
- package/dist/clients/SovereigntyClient.d.ts.map +1 -1
- package/dist/clients/UiClient.d.ts +11 -9
- package/dist/clients/UiClient.d.ts.map +1 -1
- package/dist/clients/UiClient.js +15 -13
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/constants.js +1 -1
- package/dist/core/endpoints/EndpointDefinition.d.ts +12 -4
- package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
- package/dist/core/endpoints/allianceEndpoints.d.ts +17 -14
- package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/allianceEndpoints.js +3 -0
- package/dist/core/endpoints/assetEndpoints.d.ts +16 -0
- package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/assetEndpoints.js +1 -0
- package/dist/core/endpoints/characterEndpoints.d.ts +8 -0
- package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/characterEndpoints.js +1 -0
- package/dist/core/endpoints/cloneEndpoints.d.ts +17 -15
- package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/cloneEndpoints.js +2 -0
- package/dist/core/endpoints/contactEndpoints.d.ts +11 -3
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/contactEndpoints.js +5 -3
- package/dist/core/endpoints/corporationEndpoints.d.ts +27 -0
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.js +7 -0
- package/dist/core/endpoints/createClient.d.ts +5 -1
- package/dist/core/endpoints/createClient.d.ts.map +1 -1
- package/dist/core/endpoints/createClient.js +74 -55
- package/dist/core/endpoints/dogmaEndpoints.d.ts +41 -38
- package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/dogmaEndpoints.js +3 -0
- package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-cache-ttls.generated.js +14 -7
- package/dist/core/endpoints/esi-scopes.generated.d.ts +1 -1
- package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -1
- package/dist/core/endpoints/esi-scopes.generated.js +11 -3
- package/dist/core/endpoints/factionEndpoints.d.ts +2 -2
- package/dist/core/endpoints/fittingEndpoints.d.ts +1 -1
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +8 -8
- package/dist/core/endpoints/mailEndpoints.d.ts +15 -0
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mailEndpoints.js +2 -0
- package/dist/core/endpoints/marketEndpoints.d.ts +20 -0
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/marketEndpoints.js +4 -0
- package/dist/core/endpoints/metaEndpoints.d.ts +2 -0
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/metaEndpoints.js +2 -0
- package/dist/core/endpoints/piEndpoints.d.ts +4 -0
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/piEndpoints.js +2 -0
- package/dist/core/endpoints/routeEndpoints.d.ts +4 -0
- package/dist/core/endpoints/routeEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/routeEndpoints.js +2 -0
- package/dist/core/endpoints/searchEndpoints.d.ts +13 -0
- package/dist/core/endpoints/searchEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/searchEndpoints.js +2 -0
- package/dist/core/endpoints/skillEndpoints.d.ts +10 -0
- package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/skillEndpoints.js +1 -0
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +30 -16
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/sovereigntyEndpoints.js +1 -1
- package/dist/core/endpoints/uiEndpoints.d.ts +14 -4
- package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/uiEndpoints.js +8 -4
- package/dist/core/endpoints/universeEndpoints.d.ts +9 -1
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/universeEndpoints.js +8 -0
- package/dist/core/endpoints/walletEndpoints.d.ts +5 -0
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/walletEndpoints.js +3 -0
- package/dist/core/endpoints/warEndpoints.d.ts +1 -0
- package/dist/core/endpoints/warEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/warEndpoints.js +1 -0
- package/dist/core/util/testHelpers.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/schemas/assets.d.ts +1 -0
- package/dist/schemas/assets.d.ts.map +1 -1
- package/dist/schemas/assets.js +1 -1
- package/dist/schemas/character.d.ts +8 -0
- package/dist/schemas/character.d.ts.map +1 -1
- package/dist/schemas/character.js +9 -1
- package/dist/schemas/corporation.d.ts +18 -0
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/corporation.js +15 -1
- package/dist/schemas/faction-warfare.d.ts +2 -2
- package/dist/schemas/faction-warfare.js +2 -2
- package/dist/schemas/fittings.d.ts +1 -1
- package/dist/schemas/fittings.js +1 -1
- package/dist/schemas/freelance-jobs.d.ts +8 -8
- package/dist/schemas/freelance-jobs.js +5 -5
- package/dist/schemas/mail.d.ts +14 -0
- package/dist/schemas/mail.d.ts.map +1 -1
- package/dist/schemas/mail.js +10 -1
- package/dist/schemas/market.d.ts +13 -0
- package/dist/schemas/market.d.ts.map +1 -1
- package/dist/schemas/market.js +14 -1
- package/dist/schemas/skills.d.ts +10 -0
- package/dist/schemas/skills.d.ts.map +1 -1
- package/dist/schemas/skills.js +11 -1
- package/dist/schemas/sovereignty.d.ts +28 -14
- package/dist/schemas/sovereignty.d.ts.map +1 -1
- package/dist/schemas/sovereignty.js +35 -8
- package/dist/schemas/universe.d.ts +1 -1
- package/dist/schemas/universe.js +1 -1
- package/dist/testing/TestDataFactory.d.ts +1 -0
- package/dist/testing/TestDataFactory.d.ts.map +1 -1
- package/dist/testing/TestDataFactory.js +19 -10
- package/dist/types/api-responses.d.ts +1 -0
- package/dist/types/api-responses.d.ts.map +1 -1
- package/dist/types/api-responses.js +1 -0
- package/dist/types/branded.d.ts +23 -0
- package/dist/types/branded.d.ts.map +1 -0
- package/dist/types/branded.js +6 -0
- package/dist/types/common.d.ts +10 -0
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/generated/esi-spec.generated.d.ts +655 -430
- package/dist/types/generated/esi-spec.generated.d.ts.map +1 -1
- package/dist/types/generated/esi-spec.generated.js +3 -3
- package/dist/types/generated/spec-alignment.check.d.ts +13 -0
- package/dist/types/generated/spec-alignment.check.d.ts.map +1 -0
- package/dist/types/generated/spec-alignment.check.js +14 -0
- package/dist/types/market.d.ts +2 -1
- package/dist/types/market.d.ts.map +1 -1
- package/package.json +52 -12
|
@@ -15,6 +15,7 @@ export declare class AllianceClient extends BaseEsiClient<typeof allianceEndpoin
|
|
|
15
15
|
/**
|
|
16
16
|
* Retrieve contacts for an alliance.
|
|
17
17
|
*
|
|
18
|
+
* @deprecated Use ContactsClient.getAllianceContacts() instead
|
|
18
19
|
* @param allianceId - The ID of the alliance whose contacts to retrieve
|
|
19
20
|
* @returns A list of alliance contacts with standings and contact types
|
|
20
21
|
* @requires Authentication
|
|
@@ -23,6 +24,7 @@ export declare class AllianceClient extends BaseEsiClient<typeof allianceEndpoin
|
|
|
23
24
|
/**
|
|
24
25
|
* Retrieve custom contact labels for an alliance.
|
|
25
26
|
*
|
|
27
|
+
* @deprecated Use ContactsClient.getAllianceContactLabels() instead
|
|
26
28
|
* @param allianceId - The ID of the alliance whose contact labels to retrieve
|
|
27
29
|
* @returns A list of custom labels used to categorize alliance contacts
|
|
28
30
|
* @requires Authentication
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllianceClient.d.ts","sourceRoot":"","sources":["../../src/clients/AllianceClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EACL,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,YAAY,EACb,MAAM,wBAAwB,CAAC;AAEhC,qBAAa,cAAe,SAAQ,aAAa,CAAC,OAAO,iBAAiB,CAAC;IACzE,OAAO,CAAC,UAAU,CAA2D;gBAEjE,MAAM,EAAE,SAAS;IAK7B;;;;;OAKG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAI1D
|
|
1
|
+
{"version":3,"file":"AllianceClient.d.ts","sourceRoot":"","sources":["../../src/clients/AllianceClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EACL,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,YAAY,EACb,MAAM,wBAAwB,CAAC;AAEhC,qBAAa,cAAe,SAAQ,aAAa,CAAC,OAAO,iBAAiB,CAAC;IACzE,OAAO,CAAC,UAAU,CAA2D;gBAEjE,MAAM,EAAE,SAAS;IAK7B;;;;;OAKG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAI1D;;;;;;;OAOG;IACH,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAM3D;;;;;;;OAOG;IACH,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAMrE;;;;;OAKG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAItD;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAInD;;;;OAIG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAGlC"}
|
|
@@ -23,6 +23,7 @@ class AllianceClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
23
23
|
/**
|
|
24
24
|
* Retrieve contacts for an alliance.
|
|
25
25
|
*
|
|
26
|
+
* @deprecated Use ContactsClient.getAllianceContacts() instead
|
|
26
27
|
* @param allianceId - The ID of the alliance whose contacts to retrieve
|
|
27
28
|
* @returns A list of alliance contacts with standings and contact types
|
|
28
29
|
* @requires Authentication
|
|
@@ -33,6 +34,7 @@ class AllianceClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
33
34
|
/**
|
|
34
35
|
* Retrieve custom contact labels for an alliance.
|
|
35
36
|
*
|
|
37
|
+
* @deprecated Use ContactsClient.getAllianceContactLabels() instead
|
|
36
38
|
* @param allianceId - The ID of the alliance whose contact labels to retrieve
|
|
37
39
|
* @returns A list of custom labels used to categorize alliance contacts
|
|
38
40
|
* @requires Authentication
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiClient } from '../core/ApiClient';
|
|
2
|
-
import { createClient, WithMetadata } from '../core/endpoints/createClient';
|
|
2
|
+
import { createClient, WithMetadata, WithSafeMode } from '../core/endpoints/createClient';
|
|
3
3
|
import { EndpointMap } from '../core/endpoints/EndpointDefinition';
|
|
4
4
|
import { PageResult } from '../core/pagination/AsyncPaginationIterator';
|
|
5
5
|
type ClientMethods<T extends EndpointMap> = ReturnType<typeof createClient<T>>;
|
|
@@ -8,9 +8,11 @@ export declare abstract class BaseEsiClient<T extends EndpointMap> {
|
|
|
8
8
|
protected _client: ApiClient;
|
|
9
9
|
protected _endpoints: T;
|
|
10
10
|
private _metaApi?;
|
|
11
|
+
private _safeApi?;
|
|
11
12
|
constructor(client: ApiClient, endpoints: T);
|
|
12
13
|
protected streamEndpoint<R>(endpointName: string & keyof T, ...args: unknown[]): AsyncGenerator<PageResult<R>, void, undefined>;
|
|
13
|
-
withMetadata(): WithMetadata<Omit<this, 'withMetadata'>>;
|
|
14
|
+
withMetadata(): WithMetadata<Omit<this, 'withMetadata' | 'withSafeMode'>>;
|
|
15
|
+
withSafeMode(): WithSafeMode<Omit<this, 'withMetadata' | 'withSafeMode'>>;
|
|
14
16
|
}
|
|
15
17
|
export {};
|
|
16
18
|
//# sourceMappingURL=BaseEsiClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseEsiClient.d.ts","sourceRoot":"","sources":["../../src/clients/BaseEsiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EACL,YAAY,EAEZ,YAAY,EACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAEL,UAAU,EACX,MAAM,4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IAC7B,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACxB,OAAO,CAAC,QAAQ,CAAC,CAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,CAAmB;gBAExB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC;IAM3C,SAAS,CAAC,cAAc,CAAC,CAAC,EACxB,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC,EAC9B,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC;IAgBjD,YAAY,IAAI,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAAC,CAAC;IAWzE,YAAY,IAAI,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAAC,CAAC;CAU1E"}
|
|
@@ -9,6 +9,7 @@ class BaseEsiClient {
|
|
|
9
9
|
_client;
|
|
10
10
|
_endpoints;
|
|
11
11
|
_metaApi;
|
|
12
|
+
_safeApi;
|
|
12
13
|
constructor(client, endpoints) {
|
|
13
14
|
this._client = client;
|
|
14
15
|
this._endpoints = endpoints;
|
|
@@ -27,5 +28,13 @@ class BaseEsiClient {
|
|
|
27
28
|
}
|
|
28
29
|
return this._metaApi;
|
|
29
30
|
}
|
|
31
|
+
withSafeMode() {
|
|
32
|
+
if (!this._safeApi) {
|
|
33
|
+
this._safeApi = (0, createClient_1.createClient)(this._client, this._endpoints, {
|
|
34
|
+
safeMode: true,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return this._safeApi;
|
|
38
|
+
}
|
|
30
39
|
}
|
|
31
40
|
exports.BaseEsiClient = BaseEsiClient;
|
|
@@ -40,19 +40,21 @@ export declare class ContactsClient extends BaseEsiClient<typeof contactEndpoint
|
|
|
40
40
|
* Add contacts to a character's contact list via a POST request.
|
|
41
41
|
*
|
|
42
42
|
* @param characterId - The ID of the character to add contacts for
|
|
43
|
-
* @param
|
|
43
|
+
* @param standing - Standing value for the contacts (-10 to 10)
|
|
44
|
+
* @param contactIds - Array of character/corporation/alliance IDs to add
|
|
44
45
|
* @returns An array of contact IDs that were successfully added
|
|
45
46
|
* @requires Authentication
|
|
46
47
|
*/
|
|
47
|
-
postCharacterContacts(characterId: number,
|
|
48
|
+
postCharacterContacts(characterId: number, standing: number, contactIds: number[]): Promise<number[]>;
|
|
48
49
|
/**
|
|
49
50
|
* Update existing contacts in a character's contact list via a PUT request.
|
|
50
51
|
*
|
|
51
52
|
* @param characterId - The ID of the character whose contacts to update
|
|
52
|
-
* @param
|
|
53
|
+
* @param standing - New standing value for the contacts (-10 to 10)
|
|
54
|
+
* @param contactIds - Array of contact IDs to update
|
|
53
55
|
* @requires Authentication
|
|
54
56
|
*/
|
|
55
|
-
putCharacterContacts(characterId: number,
|
|
57
|
+
putCharacterContacts(characterId: number, standing: number, contactIds: number[]): Promise<void>;
|
|
56
58
|
/**
|
|
57
59
|
* Retrieve custom contact labels for a character.
|
|
58
60
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactsClient.d.ts","sourceRoot":"","sources":["../../src/clients/ContactsClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE/D,qBAAa,cAAe,SAAQ,aAAa,CAAC,OAAO,gBAAgB,CAAC;gBAC5D,MAAM,EAAE,SAAS;IAI7B;;;;;;OAMG;IACH,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAI3D;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EA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Q,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;;OAMG;IACH,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;IAMvE;;;;;;OAMG;IACH,sBAAsB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAIjE;;;;;;OAMG;IACH,2BAA2B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC;CAK5E"}
|
|
@@ -35,7 +35,7 @@ class ContactsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
35
35
|
* @requires Authentication
|
|
36
36
|
*/
|
|
37
37
|
deleteCharacterContacts(characterId, contactIds) {
|
|
38
|
-
return this.api.deleteCharacterContacts(characterId, contactIds);
|
|
38
|
+
return this.api.deleteCharacterContacts(characterId, contactIds.join(','));
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Retrieve a character's contact list.
|
|
@@ -51,22 +51,24 @@ class ContactsClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
51
51
|
* Add contacts to a character's contact list via a POST request.
|
|
52
52
|
*
|
|
53
53
|
* @param characterId - The ID of the character to add contacts for
|
|
54
|
-
* @param
|
|
54
|
+
* @param standing - Standing value for the contacts (-10 to 10)
|
|
55
|
+
* @param contactIds - Array of character/corporation/alliance IDs to add
|
|
55
56
|
* @returns An array of contact IDs that were successfully added
|
|
56
57
|
* @requires Authentication
|
|
57
58
|
*/
|
|
58
|
-
postCharacterContacts(characterId,
|
|
59
|
-
return this.api.addContacts(characterId,
|
|
59
|
+
postCharacterContacts(characterId, standing, contactIds) {
|
|
60
|
+
return this.api.addContacts(characterId, standing, contactIds);
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* Update existing contacts in a character's contact list via a PUT request.
|
|
63
64
|
*
|
|
64
65
|
* @param characterId - The ID of the character whose contacts to update
|
|
65
|
-
* @param
|
|
66
|
+
* @param standing - New standing value for the contacts (-10 to 10)
|
|
67
|
+
* @param contactIds - Array of contact IDs to update
|
|
66
68
|
* @requires Authentication
|
|
67
69
|
*/
|
|
68
|
-
putCharacterContacts(characterId,
|
|
69
|
-
return this.api.editContacts(characterId,
|
|
70
|
+
putCharacterContacts(characterId, standing, contactIds) {
|
|
71
|
+
return this.api.editContacts(characterId, standing, contactIds);
|
|
70
72
|
}
|
|
71
73
|
/**
|
|
72
74
|
* Retrieve custom contact labels for a character.
|
|
@@ -74,7 +74,7 @@ export declare class FleetClient extends BaseEsiClient<typeof fleetEndpoints> {
|
|
|
74
74
|
*
|
|
75
75
|
* @param fleetId - The ID of the fleet
|
|
76
76
|
* @param squadId - The ID of the squad to rename
|
|
77
|
-
* @param name - The new name for the squad
|
|
77
|
+
* @param name - The new name for the squad (max 10 characters)
|
|
78
78
|
* @requires Authentication
|
|
79
79
|
*/
|
|
80
80
|
renameFleetSquad(fleetId: number, squadId: number, name: string): Promise<void>;
|
|
@@ -110,7 +110,7 @@ export declare class FleetClient extends BaseEsiClient<typeof fleetEndpoints> {
|
|
|
110
110
|
*
|
|
111
111
|
* @param fleetId - The ID of the fleet
|
|
112
112
|
* @param wingId - The ID of the wing to rename
|
|
113
|
-
* @param name - The new name for the wing
|
|
113
|
+
* @param name - The new name for the wing (max 10 characters)
|
|
114
114
|
* @requires Authentication
|
|
115
115
|
*/
|
|
116
116
|
renameFleetWing(fleetId: number, wingId: number, name: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FleetClient.d.ts","sourceRoot":"","sources":["../../src/clients/FleetClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EACL,kBAAkB,E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AAC,IAAI,CAAC;IAWhB;;;;;;OAMG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAIpD;;;;;;;OAOG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAM5E;;;;;;OAMG;IACH,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/D;;;;;;;OAOG;IACH,eAAe,CACb,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAWhB;;;;;;;OAOG;IACH,gBAAgB,CACd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAKjC"}
|
|
@@ -93,10 +93,13 @@ class FleetClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
93
93
|
*
|
|
94
94
|
* @param fleetId - The ID of the fleet
|
|
95
95
|
* @param squadId - The ID of the squad to rename
|
|
96
|
-
* @param name - The new name for the squad
|
|
96
|
+
* @param name - The new name for the squad (max 10 characters)
|
|
97
97
|
* @requires Authentication
|
|
98
98
|
*/
|
|
99
99
|
renameFleetSquad(fleetId, squadId, name) {
|
|
100
|
+
if (name.length > 10) {
|
|
101
|
+
return Promise.reject(new Error(`Fleet squad name "${name}" exceeds ESI maximum of 10 characters`));
|
|
102
|
+
}
|
|
100
103
|
return this.api.renameFleetSquad(fleetId, squadId, name);
|
|
101
104
|
}
|
|
102
105
|
/**
|
|
@@ -135,10 +138,13 @@ class FleetClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
135
138
|
*
|
|
136
139
|
* @param fleetId - The ID of the fleet
|
|
137
140
|
* @param wingId - The ID of the wing to rename
|
|
138
|
-
* @param name - The new name for the wing
|
|
141
|
+
* @param name - The new name for the wing (max 10 characters)
|
|
139
142
|
* @requires Authentication
|
|
140
143
|
*/
|
|
141
144
|
renameFleetWing(fleetId, wingId, name) {
|
|
145
|
+
if (name.length > 10) {
|
|
146
|
+
return Promise.reject(new Error(`Fleet wing name "${name}" exceeds ESI maximum of 10 characters`));
|
|
147
|
+
}
|
|
142
148
|
return this.api.renameFleetWing(fleetId, wingId, name);
|
|
143
149
|
}
|
|
144
150
|
/**
|
|
@@ -15,6 +15,6 @@ export declare class SovereigntyClient extends BaseEsiClient<typeof sovereigntyE
|
|
|
15
15
|
*
|
|
16
16
|
* @returns A list of sovereignty systems with ownership, ADM indices, and anchored structures
|
|
17
17
|
*/
|
|
18
|
-
getSovereigntySystems(): Promise<SovereigntySystem
|
|
18
|
+
getSovereigntySystems(): Promise<SovereigntySystem>;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=SovereigntyClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SovereigntyClient.d.ts","sourceRoot":"","sources":["../../src/clients/SovereigntyClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhF,qBAAa,iBAAkB,SAAQ,aAAa,CAClD,OAAO,oBAAoB,CAC5B;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,uBAAuB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIzD;;;;OAIG;IACH,qBAAqB,IAAI,OAAO,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SovereigntyClient.d.ts","sourceRoot":"","sources":["../../src/clients/SovereigntyClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhF,qBAAa,iBAAkB,SAAQ,aAAa,CAClD,OAAO,oBAAoB,CAC5B;gBACa,MAAM,EAAE,SAAS;IAI7B;;;;OAIG;IACH,uBAAuB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAIzD;;;;OAIG;IACH,qBAAqB,IAAI,OAAO,CAAC,iBAAiB,CAAC;CAGpD"}
|
|
@@ -6,35 +6,37 @@ export declare class UiClient extends BaseEsiClient<typeof uiEndpoints> {
|
|
|
6
6
|
/**
|
|
7
7
|
* Sets a solar system as an autopilot waypoint in the EVE client.
|
|
8
8
|
*
|
|
9
|
-
* @param
|
|
9
|
+
* @param destinationId - The solar system, station, or structure ID to set as waypoint
|
|
10
|
+
* @param addToBeginning - Whether to add the waypoint to the beginning of the route
|
|
11
|
+
* @param clearOtherWaypoints - Whether to clear existing waypoints first
|
|
10
12
|
* @requires Authentication
|
|
11
13
|
*/
|
|
12
|
-
setAutopilotWaypoint(
|
|
14
|
+
setAutopilotWaypoint(destinationId: number, addToBeginning: boolean, clearOtherWaypoints: boolean): Promise<void>;
|
|
13
15
|
/**
|
|
14
16
|
* Opens the contract window for a specific contract in the EVE client.
|
|
15
17
|
*
|
|
16
|
-
* @param
|
|
18
|
+
* @param contractId - The contract ID to display
|
|
17
19
|
* @requires Authentication
|
|
18
20
|
*/
|
|
19
|
-
openContractWindow(
|
|
21
|
+
openContractWindow(contractId: number): Promise<void>;
|
|
20
22
|
/**
|
|
21
23
|
* Opens the information window for a specific entity in the EVE client.
|
|
22
24
|
*
|
|
23
|
-
* @param
|
|
25
|
+
* @param targetId - The character, corporation, alliance, or type ID to display
|
|
24
26
|
* @requires Authentication
|
|
25
27
|
*/
|
|
26
|
-
openInformationWindow(
|
|
28
|
+
openInformationWindow(targetId: number): Promise<void>;
|
|
27
29
|
/**
|
|
28
30
|
* Opens the market details window for a specific type in the EVE client.
|
|
29
31
|
*
|
|
30
|
-
* @param
|
|
32
|
+
* @param typeId - The inventory type ID to display market details for
|
|
31
33
|
* @requires Authentication
|
|
32
34
|
*/
|
|
33
|
-
openMarketDetailsWindow(
|
|
35
|
+
openMarketDetailsWindow(typeId: number): Promise<void>;
|
|
34
36
|
/**
|
|
35
37
|
* Opens the new mail composition window in the EVE client with pre-filled fields.
|
|
36
38
|
*
|
|
37
|
-
* @param body - The mail details including recipients, subject, and body text
|
|
39
|
+
* @param body - The mail details including recipients (integer array), subject, and body text
|
|
38
40
|
* @requires Authentication
|
|
39
41
|
*/
|
|
40
42
|
openNewMailWindow(body: object): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiClient.d.ts","sourceRoot":"","sources":["../../src/clients/UiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,aAAa,CAAC,OAAO,WAAW,CAAC;gBACjD,MAAM,EAAE,SAAS;IAI7B
|
|
1
|
+
{"version":3,"file":"UiClient.d.ts","sourceRoot":"","sources":["../../src/clients/UiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,QAAS,SAAQ,aAAa,CAAC,OAAO,WAAW,CAAC;gBACjD,MAAM,EAAE,SAAS;IAI7B;;;;;;;OAOG;IACH,oBAAoB,CAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,OAAO,EACvB,mBAAmB,EAAE,OAAO,GAC3B,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;OAKG;IACH,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIrD;;;;;OAKG;IACH,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;;;OAKG;IACH,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD;;;;;OAKG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG/C"}
|
package/dist/clients/UiClient.js
CHANGED
|
@@ -10,43 +10,45 @@ class UiClient extends BaseEsiClient_1.BaseEsiClient {
|
|
|
10
10
|
/**
|
|
11
11
|
* Sets a solar system as an autopilot waypoint in the EVE client.
|
|
12
12
|
*
|
|
13
|
-
* @param
|
|
13
|
+
* @param destinationId - The solar system, station, or structure ID to set as waypoint
|
|
14
|
+
* @param addToBeginning - Whether to add the waypoint to the beginning of the route
|
|
15
|
+
* @param clearOtherWaypoints - Whether to clear existing waypoints first
|
|
14
16
|
* @requires Authentication
|
|
15
17
|
*/
|
|
16
|
-
setAutopilotWaypoint(
|
|
17
|
-
return this.api.setAutopilotWaypoint(
|
|
18
|
+
setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints) {
|
|
19
|
+
return this.api.setAutopilotWaypoint(destinationId, addToBeginning, clearOtherWaypoints);
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Opens the contract window for a specific contract in the EVE client.
|
|
21
23
|
*
|
|
22
|
-
* @param
|
|
24
|
+
* @param contractId - The contract ID to display
|
|
23
25
|
* @requires Authentication
|
|
24
26
|
*/
|
|
25
|
-
openContractWindow(
|
|
26
|
-
return this.api.openContractWindow(
|
|
27
|
+
openContractWindow(contractId) {
|
|
28
|
+
return this.api.openContractWindow(contractId);
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* Opens the information window for a specific entity in the EVE client.
|
|
30
32
|
*
|
|
31
|
-
* @param
|
|
33
|
+
* @param targetId - The character, corporation, alliance, or type ID to display
|
|
32
34
|
* @requires Authentication
|
|
33
35
|
*/
|
|
34
|
-
openInformationWindow(
|
|
35
|
-
return this.api.openInformationWindow(
|
|
36
|
+
openInformationWindow(targetId) {
|
|
37
|
+
return this.api.openInformationWindow(targetId);
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
38
40
|
* Opens the market details window for a specific type in the EVE client.
|
|
39
41
|
*
|
|
40
|
-
* @param
|
|
42
|
+
* @param typeId - The inventory type ID to display market details for
|
|
41
43
|
* @requires Authentication
|
|
42
44
|
*/
|
|
43
|
-
openMarketDetailsWindow(
|
|
44
|
-
return this.api.openMarketDetailsWindow(
|
|
45
|
+
openMarketDetailsWindow(typeId) {
|
|
46
|
+
return this.api.openMarketDetailsWindow(typeId);
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
47
49
|
* Opens the new mail composition window in the EVE client with pre-filled fields.
|
|
48
50
|
*
|
|
49
|
-
* @param body - The mail details including recipients, subject, and body text
|
|
51
|
+
* @param body - The mail details including recipients (integer array), subject, and body text
|
|
50
52
|
* @requires Authentication
|
|
51
53
|
*/
|
|
52
54
|
openNewMailWindow(body) {
|
package/dist/core/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const PACKAGE_NAME = "esi.ts";
|
|
2
|
-
export declare const PACKAGE_VERSION = "
|
|
3
|
-
export declare const USER_AGENT = "esi.ts/
|
|
2
|
+
export declare const PACKAGE_VERSION = "7.4.0";
|
|
3
|
+
export declare const USER_AGENT = "esi.ts/7.4.0";
|
|
4
4
|
export declare const COMPATIBILITY_DATE = "2026-05-19";
|
|
5
5
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/core/constants.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.COMPATIBILITY_DATE = exports.USER_AGENT = exports.PACKAGE_VERSION = exports.PACKAGE_NAME = void 0;
|
|
4
4
|
exports.PACKAGE_NAME = 'esi.ts';
|
|
5
|
-
exports.PACKAGE_VERSION = '
|
|
5
|
+
exports.PACKAGE_VERSION = '7.4.0';
|
|
6
6
|
exports.USER_AGENT = `${exports.PACKAGE_NAME}/${exports.PACKAGE_VERSION}`;
|
|
7
7
|
exports.COMPATIBILITY_DATE = '2026-05-19';
|
|
@@ -38,16 +38,24 @@ export type EndpointArgs<D> = D extends {
|
|
|
38
38
|
pathParams: infer P extends readonly string[];
|
|
39
39
|
} ? D extends {
|
|
40
40
|
bodyBuilder: (...args: infer BA) => unknown;
|
|
41
|
-
} ?
|
|
41
|
+
} ? D extends {
|
|
42
|
+
queryParams: Record<string, string>;
|
|
43
|
+
} ? [
|
|
44
|
+
...PathParamArgs<P>,
|
|
45
|
+
...(string | number | boolean | undefined)[],
|
|
46
|
+
...BA
|
|
47
|
+
] : [...PathParamArgs<P>, ...BA] : D extends {
|
|
42
48
|
hasBody: true;
|
|
43
49
|
} ? [...PathParamArgs<P>, body: object] : D extends {
|
|
44
50
|
queryParams: Record<string, string>;
|
|
45
|
-
} ? [...PathParamArgs<P>, ...(string | number | undefined)[]] : PathParamArgs<P> : D extends {
|
|
51
|
+
} ? [...PathParamArgs<P>, ...(string | number | boolean | undefined)[]] : PathParamArgs<P> : D extends {
|
|
46
52
|
bodyBuilder: (...args: infer BA) => unknown;
|
|
47
|
-
} ?
|
|
53
|
+
} ? D extends {
|
|
54
|
+
queryParams: Record<string, string>;
|
|
55
|
+
} ? [...(string | number | boolean | undefined)[], ...BA] : BA : D extends {
|
|
48
56
|
hasBody: true;
|
|
49
57
|
} ? [body: object] : D extends {
|
|
50
58
|
queryParams: Record<string, string>;
|
|
51
|
-
} ? (string | number | undefined)[] : [];
|
|
59
|
+
} ? (string | number | boolean | undefined)[] : [];
|
|
52
60
|
export {};
|
|
53
61
|
//# sourceMappingURL=EndpointDefinition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndpointDefinition.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/EndpointDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,MAAM,EAAE,UAAU,CAAC;IACnB,kDAAkD;IAClD,YAAY,EAAE,OAAO,CAAC;IACtB,qDAAqD;IACrD,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mFAAmF;IAEnF,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC;IAC1C,+EAA+E;IAC/E,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sEAAsE;IACtE,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,iDAAiD;IACjD,cAAc,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC;CAC/B;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;A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CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC/C,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,CAAC,GACnE,aAAa,CAAC,CAAC,CAAC,GACtB,CAAC,SAAS;IAAE,WAAW,EAAE,CAAC,GAAG,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAA;CAAE,GACvD,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC/C,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,EAAE,GAAG,EAAE,CAAC,GACrD,EAAE,GACJ,CAAC,SAAS;IAAE,OAAO,EAAE,IAAI,CAAA;CAAE,GACzB,CAAC,IAAI,EAAE,MAAM,CAAC,GACd,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,GAC/C,CAAC,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,GACzC,EAAE,CAAC"}
|
|
@@ -1,40 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
1
2
|
export declare const allianceEndpoints: {
|
|
2
3
|
readonly getAllianceById: {
|
|
3
4
|
readonly path: "alliances/{allianceId}/";
|
|
4
5
|
readonly method: "GET";
|
|
5
6
|
readonly requiresAuth: false;
|
|
6
7
|
readonly pathParams: readonly ["allianceId"];
|
|
7
|
-
readonly responseSchema:
|
|
8
|
-
alliance_id:
|
|
9
|
-
name:
|
|
10
|
-
ticker:
|
|
11
|
-
creator_id:
|
|
12
|
-
creator_corporation_id:
|
|
13
|
-
executor_corporation_id:
|
|
14
|
-
date_founded:
|
|
15
|
-
faction_id:
|
|
16
|
-
},
|
|
8
|
+
readonly responseSchema: z.ZodObject<{
|
|
9
|
+
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
ticker: z.ZodString;
|
|
12
|
+
creator_id: z.ZodNumber;
|
|
13
|
+
creator_corporation_id: z.ZodNumber;
|
|
14
|
+
executor_corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
date_founded: z.ZodString;
|
|
16
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}, z.core.$loose>;
|
|
17
18
|
};
|
|
18
19
|
readonly getCorporations: {
|
|
19
20
|
readonly path: "alliances/{allianceId}/corporations/";
|
|
20
21
|
readonly method: "GET";
|
|
21
22
|
readonly requiresAuth: false;
|
|
22
23
|
readonly pathParams: readonly ["allianceId"];
|
|
24
|
+
readonly responseSchema: z.ZodArray<z.ZodNumber>;
|
|
23
25
|
};
|
|
24
26
|
readonly getIcons: {
|
|
25
27
|
readonly path: "alliances/{allianceId}/icons/";
|
|
26
28
|
readonly method: "GET";
|
|
27
29
|
readonly requiresAuth: false;
|
|
28
30
|
readonly pathParams: readonly ["allianceId"];
|
|
29
|
-
readonly responseSchema:
|
|
30
|
-
px64x64:
|
|
31
|
-
px128x128:
|
|
32
|
-
},
|
|
31
|
+
readonly responseSchema: z.ZodObject<{
|
|
32
|
+
px64x64: z.ZodOptional<z.ZodString>;
|
|
33
|
+
px128x128: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, z.core.$loose>;
|
|
33
35
|
};
|
|
34
36
|
readonly getAlliances: {
|
|
35
37
|
readonly path: "alliances";
|
|
36
38
|
readonly method: "GET";
|
|
37
39
|
readonly requiresAuth: false;
|
|
40
|
+
readonly responseSchema: z.ZodArray<z.ZodNumber>;
|
|
38
41
|
};
|
|
39
42
|
};
|
|
40
43
|
//# sourceMappingURL=allianceEndpoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allianceEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/allianceEndpoints.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"allianceEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/allianceEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.allianceEndpoints = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
4
5
|
const alliance_1 = require("../../schemas/alliance");
|
|
5
6
|
exports.allianceEndpoints = {
|
|
6
7
|
getAllianceById: {
|
|
@@ -15,6 +16,7 @@ exports.allianceEndpoints = {
|
|
|
15
16
|
method: 'GET',
|
|
16
17
|
requiresAuth: false,
|
|
17
18
|
pathParams: ['allianceId'],
|
|
19
|
+
responseSchema: zod_1.z.array(zod_1.z.number()),
|
|
18
20
|
},
|
|
19
21
|
getIcons: {
|
|
20
22
|
path: 'alliances/{allianceId}/icons/',
|
|
@@ -27,5 +29,6 @@ exports.allianceEndpoints = {
|
|
|
27
29
|
path: 'alliances',
|
|
28
30
|
method: 'GET',
|
|
29
31
|
requiresAuth: false,
|
|
32
|
+
responseSchema: zod_1.z.array(zod_1.z.number()),
|
|
30
33
|
},
|
|
31
34
|
};
|
|
@@ -14,6 +14,7 @@ export declare const assetEndpoints: {
|
|
|
14
14
|
other: "other";
|
|
15
15
|
solar_system: "solar_system";
|
|
16
16
|
station: "station";
|
|
17
|
+
item: "item";
|
|
17
18
|
}>;
|
|
18
19
|
location_flag: z.ZodString;
|
|
19
20
|
is_singleton: z.ZodBoolean;
|
|
@@ -25,6 +26,21 @@ export declare const assetEndpoints: {
|
|
|
25
26
|
readonly method: "GET";
|
|
26
27
|
readonly requiresAuth: true;
|
|
27
28
|
readonly pathParams: readonly ["corporationId"];
|
|
29
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
30
|
+
item_id: z.ZodNumber;
|
|
31
|
+
type_id: z.ZodNumber;
|
|
32
|
+
quantity: z.ZodNumber;
|
|
33
|
+
location_id: z.ZodNumber;
|
|
34
|
+
location_type: z.ZodEnum<{
|
|
35
|
+
other: "other";
|
|
36
|
+
solar_system: "solar_system";
|
|
37
|
+
station: "station";
|
|
38
|
+
item: "item";
|
|
39
|
+
}>;
|
|
40
|
+
location_flag: z.ZodString;
|
|
41
|
+
is_singleton: z.ZodBoolean;
|
|
42
|
+
is_blueprint_copy: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
}, z.core.$loose>>;
|
|
28
44
|
};
|
|
29
45
|
readonly postCharacterAssetLocations: {
|
|
30
46
|
readonly path: "characters/{characterId}/assets/locations/";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/assetEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"assetEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/assetEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAoBA,MAAM,EAAE;;;;;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;;;;;wCAQR,MAAM,EAAE;;;;;;;wCAOR,MAAM,EAAE;;CAEH,CAAC"}
|
|
@@ -11,6 +11,7 @@ export declare const characterEndpoints: {
|
|
|
11
11
|
description: z.ZodOptional<z.ZodString>;
|
|
12
12
|
corporation_id: z.ZodNumber;
|
|
13
13
|
alliance_id: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
14
15
|
ancestry_id: z.ZodOptional<z.ZodNumber>;
|
|
15
16
|
bloodline_id: z.ZodNumber;
|
|
16
17
|
race_id: z.ZodNumber;
|
|
@@ -94,6 +95,13 @@ export declare const characterEndpoints: {
|
|
|
94
95
|
readonly method: "GET";
|
|
95
96
|
readonly requiresAuth: true;
|
|
96
97
|
readonly pathParams: readonly ["characterId"];
|
|
98
|
+
readonly responseSchema: z.ZodArray<z.ZodObject<{
|
|
99
|
+
notification_id: z.ZodNumber;
|
|
100
|
+
sender_character_id: z.ZodNumber;
|
|
101
|
+
message: z.ZodString;
|
|
102
|
+
send_date: z.ZodString;
|
|
103
|
+
standing_level: z.ZodNumber;
|
|
104
|
+
}, z.core.$loose>>;
|
|
97
105
|
};
|
|
98
106
|
readonly getCorporationHistory: {
|
|
99
107
|
readonly path: "characters/{characterId}/corporationhistory/";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"characterEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/characterEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"characterEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/characterEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAiBxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGC,CAAC"}
|
|
@@ -51,6 +51,7 @@ exports.characterEndpoints = {
|
|
|
51
51
|
method: 'GET',
|
|
52
52
|
requiresAuth: true,
|
|
53
53
|
pathParams: ['characterId'],
|
|
54
|
+
responseSchema: zod_1.z.array(character_1.ContactNotificationSchema),
|
|
54
55
|
},
|
|
55
56
|
getCorporationHistory: {
|
|
56
57
|
path: 'characters/{characterId}/corporationhistory/',
|