@lgriffin/esi.ts 9.0.0 → 9.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 +18 -0
- package/README.md +82 -50
- package/dist/EsiClient.d.ts +5 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/EsiClientBuilder.d.ts.map +1 -1
- package/dist/clients/AccessListsClient.d.ts +11 -1
- package/dist/clients/AccessListsClient.d.ts.map +1 -1
- package/dist/clients/CorporationProjectsClient.d.ts +44 -0
- package/dist/clients/CorporationProjectsClient.d.ts.map +1 -0
- package/dist/clients/MercenaryClient.d.ts +6 -2
- package/dist/clients/MercenaryClient.d.ts.map +1 -1
- package/dist/clients/MetaClient.d.ts +25 -0
- package/dist/clients/MetaClient.d.ts.map +1 -1
- package/dist/clients/MilitaryCampaignsClient.d.ts +53 -0
- package/dist/clients/MilitaryCampaignsClient.d.ts.map +1 -0
- package/dist/clients/SkyhooksClient.d.ts +6 -2
- package/dist/clients/SkyhooksClient.d.ts.map +1 -1
- package/dist/core/ApiClient.d.ts +3 -0
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ClientRegistry.d.ts +5 -3
- package/dist/core/ClientRegistry.d.ts.map +1 -1
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/endpoints/accessListEndpoints.d.ts +27 -18
- package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/assetEndpoints.d.ts +2 -12
- package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/calendarEndpoints.d.ts +3 -19
- package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/characterEndpoints.d.ts +4 -20
- package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/cloneEndpoints.d.ts +2 -8
- package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/contactEndpoints.d.ts +3 -18
- package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/contractEndpoints.d.ts +9 -75
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.d.ts +7 -36
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts +50 -0
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/factionEndpoints.d.ts +1 -6
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/fleetEndpoints.d.ts +2 -12
- package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/incursionEndpoints.d.ts +1 -5
- package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/industryEndpoints.d.ts +5 -19
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mailEndpoints.d.ts +2 -12
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/marketEndpoints.d.ts +2 -8
- package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mercenaryEndpoints.d.ts +7 -10
- package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/metaEndpoints.d.ts +36 -0
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/militaryCampaignEndpoints.d.ts +87 -0
- package/dist/core/endpoints/militaryCampaignEndpoints.d.ts.map +1 -0
- package/dist/core/endpoints/piEndpoints.d.ts +1 -10
- package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/skyhookEndpoints.d.ts +7 -5
- package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts +1 -6
- package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/universeEndpoints.d.ts +1 -11
- package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2047 -1616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2045 -1616
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/access-lists.d.ts +4 -18
- package/dist/schemas/access-lists.d.ts.map +1 -1
- package/dist/schemas/alliance.d.ts +1 -5
- package/dist/schemas/alliance.d.ts.map +1 -1
- package/dist/schemas/assets.d.ts +1 -6
- package/dist/schemas/assets.d.ts.map +1 -1
- package/dist/schemas/calendar.d.ts +3 -19
- package/dist/schemas/calendar.d.ts.map +1 -1
- package/dist/schemas/character.d.ts +3 -15
- package/dist/schemas/character.d.ts.map +1 -1
- package/dist/schemas/clones.d.ts +2 -8
- package/dist/schemas/clones.d.ts.map +1 -1
- package/dist/schemas/common.d.ts +1 -5
- package/dist/schemas/common.d.ts.map +1 -1
- package/dist/schemas/contacts.d.ts +1 -6
- package/dist/schemas/contacts.d.ts.map +1 -1
- package/dist/schemas/contracts.d.ts +3 -25
- package/dist/schemas/contracts.d.ts.map +1 -1
- package/dist/schemas/corporation-projects.d.ts +17 -0
- package/dist/schemas/corporation-projects.d.ts.map +1 -0
- package/dist/schemas/corporation.d.ts +6 -31
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/esiEnum.d.ts +3 -0
- package/dist/schemas/esiEnum.d.ts.map +1 -0
- package/dist/schemas/faction-warfare.d.ts +1 -6
- package/dist/schemas/faction-warfare.d.ts.map +1 -1
- package/dist/schemas/fleet.d.ts +2 -12
- package/dist/schemas/fleet.d.ts.map +1 -1
- package/dist/schemas/incursions.d.ts +1 -5
- package/dist/schemas/incursions.d.ts.map +1 -1
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1552 -1434
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/index.mjs +1540 -1434
- package/dist/schemas/index.mjs.map +1 -1
- package/dist/schemas/industry.d.ts +1 -8
- package/dist/schemas/industry.d.ts.map +1 -1
- package/dist/schemas/mail.d.ts +1 -6
- package/dist/schemas/mail.d.ts.map +1 -1
- package/dist/schemas/market.d.ts +2 -8
- package/dist/schemas/market.d.ts.map +1 -1
- package/dist/schemas/mercenary.d.ts +1 -6
- package/dist/schemas/mercenary.d.ts.map +1 -1
- package/dist/schemas/meta.d.ts +25 -0
- package/dist/schemas/meta.d.ts.map +1 -0
- package/dist/schemas/military-campaigns.d.ts +26 -0
- package/dist/schemas/military-campaigns.d.ts.map +1 -0
- package/dist/schemas/pi.d.ts +1 -10
- package/dist/schemas/pi.d.ts.map +1 -1
- package/dist/schemas/sovereignty.d.ts +1 -6
- package/dist/schemas/sovereignty.d.ts.map +1 -1
- package/dist/schemas/universe.d.ts +1 -11
- package/dist/schemas/universe.d.ts.map +1 -1
- package/dist/sde/IStaticDataProvider.d.ts +106 -0
- package/dist/sde/IStaticDataProvider.d.ts.map +1 -0
- package/dist/sde/MemorySdeProvider.d.ts +167 -0
- package/dist/sde/MemorySdeProvider.d.ts.map +1 -0
- package/dist/sde/SdeDataProvider.d.ts +119 -0
- package/dist/sde/SdeDataProvider.d.ts.map +1 -0
- package/dist/sde/SdeTestDataFactory.d.ts +33 -0
- package/dist/sde/SdeTestDataFactory.d.ts.map +1 -0
- package/dist/sde/errors.d.ts +23 -0
- package/dist/sde/errors.d.ts.map +1 -0
- package/dist/sde/index.d.ts +9 -0
- package/dist/sde/index.d.ts.map +1 -0
- package/dist/sde/index.js +7684 -0
- package/dist/sde/index.js.map +1 -0
- package/dist/sde/index.mjs +7666 -0
- package/dist/sde/index.mjs.map +1 -0
- package/dist/sde/ingestion/SdeDatabaseBuilder.d.ts +18 -0
- package/dist/sde/ingestion/SdeDatabaseBuilder.d.ts.map +1 -0
- package/dist/sde/ingestion/SdeDownloader.d.ts +14 -0
- package/dist/sde/ingestion/SdeDownloader.d.ts.map +1 -0
- package/dist/sde/ingestion/SdeExtractor.d.ts +18 -0
- package/dist/sde/ingestion/SdeExtractor.d.ts.map +1 -0
- package/dist/sde/ingestion/constants.d.ts +13 -0
- package/dist/sde/ingestion/constants.d.ts.map +1 -0
- package/dist/sde/ingestion/index.d.ts +10 -0
- package/dist/sde/ingestion/index.d.ts.map +1 -0
- package/dist/sde/ingestion/transforms.d.ts +13 -0
- package/dist/sde/ingestion/transforms.d.ts.map +1 -0
- package/dist/sde/schemas.d.ts +1121 -0
- package/dist/sde/schemas.d.ts.map +1 -0
- package/dist/sde/types.d.ts +1039 -0
- package/dist/sde/types.d.ts.map +1 -0
- package/dist/sde/version.d.ts +7 -0
- package/dist/sde/version.d.ts.map +1 -0
- package/dist/testing/TestDataFactory.d.ts +1 -1
- package/dist/types/api-responses.d.ts +3 -0
- package/dist/types/api-responses.d.ts.map +1 -1
- package/dist/types/corporation-projects.d.ts +6 -0
- package/dist/types/corporation-projects.d.ts.map +1 -0
- package/dist/types/meta.d.ts +8 -0
- package/dist/types/meta.d.ts.map +1 -0
- package/dist/types/military-campaigns.d.ts +6 -0
- package/dist/types/military-campaigns.d.ts.map +1 -0
- package/package.json +34 -5
package/dist/index.mjs
CHANGED
|
@@ -72,6 +72,7 @@ var ApiClient = class {
|
|
|
72
72
|
validateResponse = true;
|
|
73
73
|
validateRequest = false;
|
|
74
74
|
language;
|
|
75
|
+
compatibilityDate;
|
|
75
76
|
getTimeout() {
|
|
76
77
|
return this.timeout;
|
|
77
78
|
}
|
|
@@ -153,6 +154,12 @@ var ApiClient = class {
|
|
|
153
154
|
setLanguage(language) {
|
|
154
155
|
this.language = language;
|
|
155
156
|
}
|
|
157
|
+
getCompatibilityDate() {
|
|
158
|
+
return this.compatibilityDate;
|
|
159
|
+
}
|
|
160
|
+
setCompatibilityDate(date) {
|
|
161
|
+
this.compatibilityDate = date;
|
|
162
|
+
}
|
|
156
163
|
setAccessToken(token) {
|
|
157
164
|
if (this.accessToken !== token) {
|
|
158
165
|
this.cache?.clear();
|
|
@@ -177,7 +184,8 @@ var ApiClient = class {
|
|
|
177
184
|
hasTokenProvider: this.tokenProvider !== void 0,
|
|
178
185
|
validateResponse: this.validateResponse,
|
|
179
186
|
validateRequest: this.validateRequest,
|
|
180
|
-
language: this.language
|
|
187
|
+
language: this.language,
|
|
188
|
+
compatibilityDate: this.compatibilityDate
|
|
181
189
|
};
|
|
182
190
|
}
|
|
183
191
|
async refreshToken() {
|
|
@@ -537,7 +545,7 @@ function isValidationError(error) {
|
|
|
537
545
|
|
|
538
546
|
// src/core/constants.ts
|
|
539
547
|
var PACKAGE_NAME = "esi.ts";
|
|
540
|
-
var PACKAGE_VERSION = "
|
|
548
|
+
var PACKAGE_VERSION = "9.2.0";
|
|
541
549
|
var USER_AGENT = `${PACKAGE_NAME}/${PACKAGE_VERSION}`;
|
|
542
550
|
var COMPATIBILITY_DATE = "2026-05-19";
|
|
543
551
|
|
|
@@ -553,7 +561,7 @@ function buildRequestHeaders(client, url, method, requiresAuth, useETag, body, r
|
|
|
553
561
|
Accept: "application/json",
|
|
554
562
|
"Accept-Encoding": "gzip, deflate, br",
|
|
555
563
|
"User-Agent": USER_AGENT,
|
|
556
|
-
"X-Compatibility-Date": COMPATIBILITY_DATE
|
|
564
|
+
"X-Compatibility-Date": client.getCompatibilityDate() ?? COMPATIBILITY_DATE
|
|
557
565
|
};
|
|
558
566
|
const language = client.getLanguage();
|
|
559
567
|
if (language) {
|
|
@@ -1845,33 +1853,44 @@ var BaseEsiClient = class {
|
|
|
1845
1853
|
};
|
|
1846
1854
|
|
|
1847
1855
|
// src/core/endpoints/allianceEndpoints.ts
|
|
1848
|
-
import { z as
|
|
1856
|
+
import { z as z3 } from "zod";
|
|
1849
1857
|
|
|
1850
1858
|
// src/schemas/alliance.ts
|
|
1859
|
+
import { z as z2 } from "zod";
|
|
1860
|
+
|
|
1861
|
+
// src/schemas/esiEnum.ts
|
|
1851
1862
|
import { z } from "zod";
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1863
|
+
function esiEnum(values) {
|
|
1864
|
+
return z.union([
|
|
1865
|
+
z.enum(values),
|
|
1866
|
+
z.string()
|
|
1867
|
+
]);
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
// src/schemas/alliance.ts
|
|
1871
|
+
var AllianceInfoSchema = z2.looseObject({
|
|
1872
|
+
alliance_id: z2.number().optional(),
|
|
1873
|
+
name: z2.string(),
|
|
1874
|
+
ticker: z2.string(),
|
|
1875
|
+
creator_id: z2.number(),
|
|
1876
|
+
creator_corporation_id: z2.number(),
|
|
1877
|
+
executor_corporation_id: z2.number().optional(),
|
|
1878
|
+
date_founded: z2.string(),
|
|
1879
|
+
faction_id: z2.number().optional()
|
|
1880
|
+
});
|
|
1881
|
+
var AllianceContactSchema = z2.looseObject({
|
|
1882
|
+
contact_id: z2.number(),
|
|
1883
|
+
contact_type: esiEnum(["character", "corporation", "alliance"]),
|
|
1884
|
+
standing: z2.number(),
|
|
1885
|
+
label_ids: z2.array(z2.number()).optional()
|
|
1886
|
+
});
|
|
1887
|
+
var AllianceContactLabelSchema = z2.looseObject({
|
|
1888
|
+
label_id: z2.number(),
|
|
1889
|
+
label_name: z2.string()
|
|
1890
|
+
});
|
|
1891
|
+
var AllianceIconSchema = z2.looseObject({
|
|
1892
|
+
px64x64: z2.string().optional(),
|
|
1893
|
+
px128x128: z2.string().optional()
|
|
1875
1894
|
});
|
|
1876
1895
|
|
|
1877
1896
|
// src/core/endpoints/allianceEndpoints.ts
|
|
@@ -1888,7 +1907,7 @@ var allianceEndpoints = {
|
|
|
1888
1907
|
method: "GET",
|
|
1889
1908
|
requiresAuth: false,
|
|
1890
1909
|
pathParams: ["allianceId"],
|
|
1891
|
-
responseSchema:
|
|
1910
|
+
responseSchema: z3.array(z3.number())
|
|
1892
1911
|
},
|
|
1893
1912
|
getIcons: {
|
|
1894
1913
|
path: "alliances/{allianceId}/icons/",
|
|
@@ -1901,26 +1920,26 @@ var allianceEndpoints = {
|
|
|
1901
1920
|
path: "alliances",
|
|
1902
1921
|
method: "GET",
|
|
1903
1922
|
requiresAuth: false,
|
|
1904
|
-
responseSchema:
|
|
1923
|
+
responseSchema: z3.array(z3.number())
|
|
1905
1924
|
}
|
|
1906
1925
|
};
|
|
1907
1926
|
|
|
1908
1927
|
// src/core/endpoints/contactEndpoints.ts
|
|
1909
|
-
import { z as
|
|
1928
|
+
import { z as z5 } from "zod";
|
|
1910
1929
|
|
|
1911
1930
|
// src/schemas/contacts.ts
|
|
1912
|
-
import { z as
|
|
1913
|
-
var ContactSchema =
|
|
1914
|
-
contact_id:
|
|
1915
|
-
contact_type:
|
|
1916
|
-
standing:
|
|
1917
|
-
label_ids:
|
|
1918
|
-
is_blocked:
|
|
1919
|
-
is_watched:
|
|
1931
|
+
import { z as z4 } from "zod";
|
|
1932
|
+
var ContactSchema = z4.looseObject({
|
|
1933
|
+
contact_id: z4.number(),
|
|
1934
|
+
contact_type: esiEnum(["character", "corporation", "alliance", "faction"]),
|
|
1935
|
+
standing: z4.number(),
|
|
1936
|
+
label_ids: z4.array(z4.number()).optional(),
|
|
1937
|
+
is_blocked: z4.boolean().optional(),
|
|
1938
|
+
is_watched: z4.boolean().optional()
|
|
1920
1939
|
});
|
|
1921
|
-
var ContactLabelSchema =
|
|
1922
|
-
label_id:
|
|
1923
|
-
label_name:
|
|
1940
|
+
var ContactLabelSchema = z4.looseObject({
|
|
1941
|
+
label_id: z4.number(),
|
|
1942
|
+
label_name: z4.string()
|
|
1924
1943
|
});
|
|
1925
1944
|
|
|
1926
1945
|
// src/core/endpoints/contactEndpoints.ts
|
|
@@ -1930,42 +1949,42 @@ var contactEndpoints = {
|
|
|
1930
1949
|
method: "GET",
|
|
1931
1950
|
requiresAuth: true,
|
|
1932
1951
|
pathParams: ["allianceId"],
|
|
1933
|
-
responseSchema:
|
|
1952
|
+
responseSchema: z5.array(ContactSchema)
|
|
1934
1953
|
},
|
|
1935
1954
|
getAllianceContactLabels: {
|
|
1936
1955
|
path: "alliances/{allianceId}/contacts/labels",
|
|
1937
1956
|
method: "GET",
|
|
1938
1957
|
requiresAuth: true,
|
|
1939
1958
|
pathParams: ["allianceId"],
|
|
1940
|
-
responseSchema:
|
|
1959
|
+
responseSchema: z5.array(ContactLabelSchema)
|
|
1941
1960
|
},
|
|
1942
1961
|
getCharacterContacts: {
|
|
1943
1962
|
path: "characters/{characterId}/contacts",
|
|
1944
1963
|
method: "GET",
|
|
1945
1964
|
requiresAuth: true,
|
|
1946
1965
|
pathParams: ["characterId"],
|
|
1947
|
-
responseSchema:
|
|
1966
|
+
responseSchema: z5.array(ContactSchema)
|
|
1948
1967
|
},
|
|
1949
1968
|
getCharacterContactLabels: {
|
|
1950
1969
|
path: "characters/{characterId}/contacts/labels",
|
|
1951
1970
|
method: "GET",
|
|
1952
1971
|
requiresAuth: true,
|
|
1953
1972
|
pathParams: ["characterId"],
|
|
1954
|
-
responseSchema:
|
|
1973
|
+
responseSchema: z5.array(ContactLabelSchema)
|
|
1955
1974
|
},
|
|
1956
1975
|
getCorporationContacts: {
|
|
1957
1976
|
path: "corporations/{corporationId}/contacts",
|
|
1958
1977
|
method: "GET",
|
|
1959
1978
|
requiresAuth: true,
|
|
1960
1979
|
pathParams: ["corporationId"],
|
|
1961
|
-
responseSchema:
|
|
1980
|
+
responseSchema: z5.array(ContactSchema)
|
|
1962
1981
|
},
|
|
1963
1982
|
getCorporationContactLabels: {
|
|
1964
1983
|
path: "corporations/{corporationId}/contacts/labels",
|
|
1965
1984
|
method: "GET",
|
|
1966
1985
|
requiresAuth: true,
|
|
1967
1986
|
pathParams: ["corporationId"],
|
|
1968
|
-
responseSchema:
|
|
1987
|
+
responseSchema: z5.array(ContactLabelSchema)
|
|
1969
1988
|
},
|
|
1970
1989
|
addContacts: {
|
|
1971
1990
|
path: "characters/{characterId}/contacts",
|
|
@@ -1974,7 +1993,7 @@ var contactEndpoints = {
|
|
|
1974
1993
|
pathParams: ["characterId"],
|
|
1975
1994
|
queryParams: { standing: "standing" },
|
|
1976
1995
|
bodyBuilder: (contactIds) => contactIds,
|
|
1977
|
-
requestSchema:
|
|
1996
|
+
requestSchema: z5.array(z5.number().int())
|
|
1978
1997
|
},
|
|
1979
1998
|
editContacts: {
|
|
1980
1999
|
path: "characters/{characterId}/contacts",
|
|
@@ -2074,31 +2093,31 @@ var AllianceClient = class extends BaseEsiClient {
|
|
|
2074
2093
|
};
|
|
2075
2094
|
|
|
2076
2095
|
// src/core/endpoints/assetEndpoints.ts
|
|
2077
|
-
import { z as
|
|
2096
|
+
import { z as z7 } from "zod";
|
|
2078
2097
|
|
|
2079
2098
|
// src/schemas/assets.ts
|
|
2080
|
-
import { z as
|
|
2081
|
-
var CharacterAssetSchema =
|
|
2082
|
-
item_id:
|
|
2083
|
-
type_id:
|
|
2084
|
-
quantity:
|
|
2085
|
-
location_id:
|
|
2086
|
-
location_type:
|
|
2087
|
-
location_flag:
|
|
2088
|
-
is_singleton:
|
|
2089
|
-
is_blueprint_copy:
|
|
2090
|
-
});
|
|
2091
|
-
var AssetLocationSchema =
|
|
2092
|
-
item_id:
|
|
2093
|
-
position:
|
|
2094
|
-
x:
|
|
2095
|
-
y:
|
|
2096
|
-
z:
|
|
2099
|
+
import { z as z6 } from "zod";
|
|
2100
|
+
var CharacterAssetSchema = z6.looseObject({
|
|
2101
|
+
item_id: z6.number(),
|
|
2102
|
+
type_id: z6.number(),
|
|
2103
|
+
quantity: z6.number(),
|
|
2104
|
+
location_id: z6.number(),
|
|
2105
|
+
location_type: esiEnum(["station", "solar_system", "item", "other"]),
|
|
2106
|
+
location_flag: z6.string(),
|
|
2107
|
+
is_singleton: z6.boolean(),
|
|
2108
|
+
is_blueprint_copy: z6.boolean().optional()
|
|
2109
|
+
});
|
|
2110
|
+
var AssetLocationSchema = z6.looseObject({
|
|
2111
|
+
item_id: z6.number(),
|
|
2112
|
+
position: z6.looseObject({
|
|
2113
|
+
x: z6.number(),
|
|
2114
|
+
y: z6.number(),
|
|
2115
|
+
z: z6.number()
|
|
2097
2116
|
})
|
|
2098
2117
|
});
|
|
2099
|
-
var AssetNameSchema =
|
|
2100
|
-
item_id:
|
|
2101
|
-
name:
|
|
2118
|
+
var AssetNameSchema = z6.looseObject({
|
|
2119
|
+
item_id: z6.number(),
|
|
2120
|
+
name: z6.string()
|
|
2102
2121
|
});
|
|
2103
2122
|
|
|
2104
2123
|
// src/core/endpoints/assetEndpoints.ts
|
|
@@ -2108,14 +2127,14 @@ var assetEndpoints = {
|
|
|
2108
2127
|
method: "GET",
|
|
2109
2128
|
requiresAuth: true,
|
|
2110
2129
|
pathParams: ["characterId"],
|
|
2111
|
-
responseSchema:
|
|
2130
|
+
responseSchema: z7.array(CharacterAssetSchema)
|
|
2112
2131
|
},
|
|
2113
2132
|
getCorporationAssets: {
|
|
2114
2133
|
path: "corporations/{corporationId}/assets/",
|
|
2115
2134
|
method: "GET",
|
|
2116
2135
|
requiresAuth: true,
|
|
2117
2136
|
pathParams: ["corporationId"],
|
|
2118
|
-
responseSchema:
|
|
2137
|
+
responseSchema: z7.array(CharacterAssetSchema)
|
|
2119
2138
|
},
|
|
2120
2139
|
postCharacterAssetLocations: {
|
|
2121
2140
|
path: "characters/{characterId}/assets/locations/",
|
|
@@ -2123,7 +2142,7 @@ var assetEndpoints = {
|
|
|
2123
2142
|
requiresAuth: true,
|
|
2124
2143
|
pathParams: ["characterId"],
|
|
2125
2144
|
bodyBuilder: (itemIds) => itemIds,
|
|
2126
|
-
responseSchema:
|
|
2145
|
+
responseSchema: z7.array(AssetLocationSchema)
|
|
2127
2146
|
},
|
|
2128
2147
|
postCharacterAssetNames: {
|
|
2129
2148
|
path: "characters/{characterId}/assets/names/",
|
|
@@ -2131,7 +2150,7 @@ var assetEndpoints = {
|
|
|
2131
2150
|
requiresAuth: true,
|
|
2132
2151
|
pathParams: ["characterId"],
|
|
2133
2152
|
bodyBuilder: (itemIds) => itemIds,
|
|
2134
|
-
responseSchema:
|
|
2153
|
+
responseSchema: z7.array(AssetNameSchema)
|
|
2135
2154
|
},
|
|
2136
2155
|
postCorporationAssetLocations: {
|
|
2137
2156
|
path: "corporations/{corporationId}/assets/locations/",
|
|
@@ -2242,43 +2261,43 @@ var AssetsClient = class extends BaseEsiClient {
|
|
|
2242
2261
|
};
|
|
2243
2262
|
|
|
2244
2263
|
// src/core/endpoints/calendarEndpoints.ts
|
|
2245
|
-
import { z as
|
|
2264
|
+
import { z as z9 } from "zod";
|
|
2246
2265
|
|
|
2247
2266
|
// src/schemas/calendar.ts
|
|
2248
|
-
import { z as
|
|
2249
|
-
var CalendarEventSchema =
|
|
2250
|
-
event_id:
|
|
2251
|
-
event_date:
|
|
2252
|
-
title:
|
|
2253
|
-
importance:
|
|
2254
|
-
event_response:
|
|
2267
|
+
import { z as z8 } from "zod";
|
|
2268
|
+
var CalendarEventSchema = z8.looseObject({
|
|
2269
|
+
event_id: z8.number(),
|
|
2270
|
+
event_date: z8.string(),
|
|
2271
|
+
title: z8.string(),
|
|
2272
|
+
importance: z8.number(),
|
|
2273
|
+
event_response: esiEnum([
|
|
2255
2274
|
"declined",
|
|
2256
2275
|
"not_responded",
|
|
2257
2276
|
"accepted",
|
|
2258
2277
|
"tentative"
|
|
2259
2278
|
])
|
|
2260
2279
|
});
|
|
2261
|
-
var CalendarEventDetailSchema =
|
|
2262
|
-
event_id:
|
|
2263
|
-
date:
|
|
2264
|
-
title:
|
|
2265
|
-
text:
|
|
2266
|
-
owner_id:
|
|
2267
|
-
owner_name:
|
|
2268
|
-
owner_type:
|
|
2280
|
+
var CalendarEventDetailSchema = z8.looseObject({
|
|
2281
|
+
event_id: z8.number(),
|
|
2282
|
+
date: z8.string(),
|
|
2283
|
+
title: z8.string(),
|
|
2284
|
+
text: z8.string(),
|
|
2285
|
+
owner_id: z8.number(),
|
|
2286
|
+
owner_name: z8.string(),
|
|
2287
|
+
owner_type: esiEnum([
|
|
2269
2288
|
"eve_server",
|
|
2270
2289
|
"corporation",
|
|
2271
2290
|
"faction",
|
|
2272
2291
|
"character",
|
|
2273
2292
|
"alliance"
|
|
2274
2293
|
]),
|
|
2275
|
-
duration:
|
|
2276
|
-
importance:
|
|
2277
|
-
response:
|
|
2294
|
+
duration: z8.number(),
|
|
2295
|
+
importance: z8.number(),
|
|
2296
|
+
response: z8.string()
|
|
2278
2297
|
});
|
|
2279
|
-
var CalendarEventAttendeeSchema =
|
|
2280
|
-
character_id:
|
|
2281
|
-
event_response:
|
|
2298
|
+
var CalendarEventAttendeeSchema = z8.looseObject({
|
|
2299
|
+
character_id: z8.number(),
|
|
2300
|
+
event_response: esiEnum([
|
|
2282
2301
|
"declined",
|
|
2283
2302
|
"not_responded",
|
|
2284
2303
|
"accepted",
|
|
@@ -2293,7 +2312,7 @@ var calendarEndpoints = {
|
|
|
2293
2312
|
method: "GET",
|
|
2294
2313
|
requiresAuth: true,
|
|
2295
2314
|
pathParams: ["characterId"],
|
|
2296
|
-
responseSchema:
|
|
2315
|
+
responseSchema: z9.array(CalendarEventSchema)
|
|
2297
2316
|
},
|
|
2298
2317
|
getCalendarEventById: {
|
|
2299
2318
|
path: "characters/{characterId}/calendar/{eventId}/",
|
|
@@ -2307,7 +2326,7 @@ var calendarEndpoints = {
|
|
|
2307
2326
|
method: "GET",
|
|
2308
2327
|
requiresAuth: true,
|
|
2309
2328
|
pathParams: ["characterId", "eventId"],
|
|
2310
|
-
responseSchema:
|
|
2329
|
+
responseSchema: z9.array(CalendarEventAttendeeSchema)
|
|
2311
2330
|
},
|
|
2312
2331
|
respondToCalendarEvent: {
|
|
2313
2332
|
path: "characters/{characterId}/calendar/{eventId}/",
|
|
@@ -2383,156 +2402,156 @@ var CalendarClient = class extends BaseEsiClient {
|
|
|
2383
2402
|
};
|
|
2384
2403
|
|
|
2385
2404
|
// src/core/endpoints/characterEndpoints.ts
|
|
2386
|
-
import { z as
|
|
2405
|
+
import { z as z12 } from "zod";
|
|
2387
2406
|
|
|
2388
2407
|
// src/schemas/character.ts
|
|
2389
|
-
import { z as
|
|
2390
|
-
var CharacterInfoSchema =
|
|
2391
|
-
character_id:
|
|
2392
|
-
name:
|
|
2393
|
-
description:
|
|
2394
|
-
corporation_id:
|
|
2395
|
-
alliance_id:
|
|
2396
|
-
faction_id:
|
|
2397
|
-
ancestry_id:
|
|
2398
|
-
bloodline_id:
|
|
2399
|
-
race_id:
|
|
2400
|
-
gender:
|
|
2401
|
-
security_status:
|
|
2402
|
-
title:
|
|
2403
|
-
birthday:
|
|
2404
|
-
});
|
|
2405
|
-
var CharacterPortraitSchema =
|
|
2406
|
-
px64x64:
|
|
2407
|
-
px128x128:
|
|
2408
|
-
px256x256:
|
|
2409
|
-
px512x512:
|
|
2410
|
-
});
|
|
2411
|
-
var CharacterAttributesSchema =
|
|
2412
|
-
charisma:
|
|
2413
|
-
intelligence:
|
|
2414
|
-
memory:
|
|
2415
|
-
perception:
|
|
2416
|
-
willpower:
|
|
2417
|
-
bonus_remaps:
|
|
2418
|
-
last_remap_date:
|
|
2419
|
-
accrued_remap_cooldown_date:
|
|
2420
|
-
});
|
|
2421
|
-
var AgentResearchSchema =
|
|
2422
|
-
agent_id:
|
|
2423
|
-
skill_type_id:
|
|
2424
|
-
started_at:
|
|
2425
|
-
points_per_day:
|
|
2426
|
-
remainder_points:
|
|
2427
|
-
});
|
|
2428
|
-
var BlueprintSchema =
|
|
2429
|
-
item_id:
|
|
2430
|
-
type_id:
|
|
2431
|
-
location_id:
|
|
2432
|
-
location_flag:
|
|
2433
|
-
quantity:
|
|
2434
|
-
time_efficiency:
|
|
2435
|
-
material_efficiency:
|
|
2436
|
-
runs:
|
|
2437
|
-
});
|
|
2438
|
-
var CorporationHistorySchema =
|
|
2439
|
-
corporation_id:
|
|
2440
|
-
record_id:
|
|
2441
|
-
start_date:
|
|
2442
|
-
is_deleted:
|
|
2443
|
-
});
|
|
2444
|
-
var JumpFatigueSchema =
|
|
2445
|
-
jump_fatigue_expire_date:
|
|
2446
|
-
last_jump_date:
|
|
2447
|
-
last_update_date:
|
|
2448
|
-
});
|
|
2449
|
-
var MedalSchema =
|
|
2450
|
-
medal_id:
|
|
2451
|
-
title:
|
|
2452
|
-
description:
|
|
2453
|
-
date:
|
|
2454
|
-
issuer_id:
|
|
2455
|
-
corporation_id:
|
|
2456
|
-
reason:
|
|
2457
|
-
status:
|
|
2458
|
-
graphics:
|
|
2459
|
-
|
|
2460
|
-
part:
|
|
2461
|
-
layer:
|
|
2462
|
-
graphic:
|
|
2463
|
-
color:
|
|
2408
|
+
import { z as z10 } from "zod";
|
|
2409
|
+
var CharacterInfoSchema = z10.looseObject({
|
|
2410
|
+
character_id: z10.number().optional(),
|
|
2411
|
+
name: z10.string(),
|
|
2412
|
+
description: z10.string().optional(),
|
|
2413
|
+
corporation_id: z10.number(),
|
|
2414
|
+
alliance_id: z10.number().optional(),
|
|
2415
|
+
faction_id: z10.number().optional(),
|
|
2416
|
+
ancestry_id: z10.number().optional(),
|
|
2417
|
+
bloodline_id: z10.number(),
|
|
2418
|
+
race_id: z10.number(),
|
|
2419
|
+
gender: esiEnum(["male", "female"]),
|
|
2420
|
+
security_status: z10.number().optional(),
|
|
2421
|
+
title: z10.string().optional(),
|
|
2422
|
+
birthday: z10.string()
|
|
2423
|
+
});
|
|
2424
|
+
var CharacterPortraitSchema = z10.looseObject({
|
|
2425
|
+
px64x64: z10.string().optional(),
|
|
2426
|
+
px128x128: z10.string().optional(),
|
|
2427
|
+
px256x256: z10.string().optional(),
|
|
2428
|
+
px512x512: z10.string().optional()
|
|
2429
|
+
});
|
|
2430
|
+
var CharacterAttributesSchema = z10.looseObject({
|
|
2431
|
+
charisma: z10.number(),
|
|
2432
|
+
intelligence: z10.number(),
|
|
2433
|
+
memory: z10.number(),
|
|
2434
|
+
perception: z10.number(),
|
|
2435
|
+
willpower: z10.number(),
|
|
2436
|
+
bonus_remaps: z10.number().optional(),
|
|
2437
|
+
last_remap_date: z10.string().optional(),
|
|
2438
|
+
accrued_remap_cooldown_date: z10.string().optional()
|
|
2439
|
+
});
|
|
2440
|
+
var AgentResearchSchema = z10.looseObject({
|
|
2441
|
+
agent_id: z10.number(),
|
|
2442
|
+
skill_type_id: z10.number(),
|
|
2443
|
+
started_at: z10.string(),
|
|
2444
|
+
points_per_day: z10.number(),
|
|
2445
|
+
remainder_points: z10.number()
|
|
2446
|
+
});
|
|
2447
|
+
var BlueprintSchema = z10.looseObject({
|
|
2448
|
+
item_id: z10.number(),
|
|
2449
|
+
type_id: z10.number(),
|
|
2450
|
+
location_id: z10.number(),
|
|
2451
|
+
location_flag: z10.string(),
|
|
2452
|
+
quantity: z10.number(),
|
|
2453
|
+
time_efficiency: z10.number(),
|
|
2454
|
+
material_efficiency: z10.number(),
|
|
2455
|
+
runs: z10.number()
|
|
2456
|
+
});
|
|
2457
|
+
var CorporationHistorySchema = z10.looseObject({
|
|
2458
|
+
corporation_id: z10.number(),
|
|
2459
|
+
record_id: z10.number(),
|
|
2460
|
+
start_date: z10.string(),
|
|
2461
|
+
is_deleted: z10.boolean().optional()
|
|
2462
|
+
});
|
|
2463
|
+
var JumpFatigueSchema = z10.looseObject({
|
|
2464
|
+
jump_fatigue_expire_date: z10.string().optional(),
|
|
2465
|
+
last_jump_date: z10.string().optional(),
|
|
2466
|
+
last_update_date: z10.string().optional()
|
|
2467
|
+
});
|
|
2468
|
+
var MedalSchema = z10.looseObject({
|
|
2469
|
+
medal_id: z10.number(),
|
|
2470
|
+
title: z10.string(),
|
|
2471
|
+
description: z10.string(),
|
|
2472
|
+
date: z10.string(),
|
|
2473
|
+
issuer_id: z10.number(),
|
|
2474
|
+
corporation_id: z10.number(),
|
|
2475
|
+
reason: z10.string(),
|
|
2476
|
+
status: esiEnum(["private", "public"]),
|
|
2477
|
+
graphics: z10.array(
|
|
2478
|
+
z10.looseObject({
|
|
2479
|
+
part: z10.number(),
|
|
2480
|
+
layer: z10.number(),
|
|
2481
|
+
graphic: z10.string(),
|
|
2482
|
+
color: z10.number().optional()
|
|
2464
2483
|
})
|
|
2465
2484
|
)
|
|
2466
2485
|
});
|
|
2467
|
-
var NotificationSchema =
|
|
2468
|
-
notification_id:
|
|
2469
|
-
type:
|
|
2470
|
-
sender_id:
|
|
2471
|
-
sender_type:
|
|
2486
|
+
var NotificationSchema = z10.looseObject({
|
|
2487
|
+
notification_id: z10.number(),
|
|
2488
|
+
type: z10.string(),
|
|
2489
|
+
sender_id: z10.number(),
|
|
2490
|
+
sender_type: esiEnum([
|
|
2472
2491
|
"character",
|
|
2473
2492
|
"corporation",
|
|
2474
2493
|
"alliance",
|
|
2475
2494
|
"faction",
|
|
2476
2495
|
"other"
|
|
2477
2496
|
]),
|
|
2478
|
-
timestamp:
|
|
2479
|
-
text:
|
|
2480
|
-
is_read:
|
|
2481
|
-
});
|
|
2482
|
-
var CharacterTitleSchema =
|
|
2483
|
-
title_id:
|
|
2484
|
-
name:
|
|
2485
|
-
});
|
|
2486
|
-
var CharacterAffiliationSchema =
|
|
2487
|
-
character_id:
|
|
2488
|
-
corporation_id:
|
|
2489
|
-
alliance_id:
|
|
2490
|
-
faction_id:
|
|
2491
|
-
});
|
|
2492
|
-
var ContactNotificationSchema =
|
|
2493
|
-
notification_id:
|
|
2494
|
-
sender_character_id:
|
|
2495
|
-
message:
|
|
2496
|
-
send_date:
|
|
2497
|
-
standing_level:
|
|
2498
|
-
});
|
|
2499
|
-
var CharacterRoleSchema =
|
|
2500
|
-
roles:
|
|
2501
|
-
roles_at_hq:
|
|
2502
|
-
roles_at_base:
|
|
2503
|
-
roles_at_other:
|
|
2497
|
+
timestamp: z10.string(),
|
|
2498
|
+
text: z10.string().optional(),
|
|
2499
|
+
is_read: z10.boolean().optional()
|
|
2500
|
+
});
|
|
2501
|
+
var CharacterTitleSchema = z10.looseObject({
|
|
2502
|
+
title_id: z10.number(),
|
|
2503
|
+
name: z10.string()
|
|
2504
|
+
});
|
|
2505
|
+
var CharacterAffiliationSchema = z10.looseObject({
|
|
2506
|
+
character_id: z10.number(),
|
|
2507
|
+
corporation_id: z10.number(),
|
|
2508
|
+
alliance_id: z10.number().optional(),
|
|
2509
|
+
faction_id: z10.number().optional()
|
|
2510
|
+
});
|
|
2511
|
+
var ContactNotificationSchema = z10.looseObject({
|
|
2512
|
+
notification_id: z10.number(),
|
|
2513
|
+
sender_character_id: z10.number(),
|
|
2514
|
+
message: z10.string(),
|
|
2515
|
+
send_date: z10.string(),
|
|
2516
|
+
standing_level: z10.number()
|
|
2517
|
+
});
|
|
2518
|
+
var CharacterRoleSchema = z10.looseObject({
|
|
2519
|
+
roles: z10.array(z10.string()).optional(),
|
|
2520
|
+
roles_at_hq: z10.array(z10.string()).optional(),
|
|
2521
|
+
roles_at_base: z10.array(z10.string()).optional(),
|
|
2522
|
+
roles_at_other: z10.array(z10.string()).optional()
|
|
2504
2523
|
});
|
|
2505
2524
|
|
|
2506
2525
|
// src/schemas/common.ts
|
|
2507
|
-
import { z as
|
|
2508
|
-
var StandingSchema =
|
|
2509
|
-
from_id:
|
|
2510
|
-
from_type:
|
|
2511
|
-
standing:
|
|
2512
|
-
});
|
|
2513
|
-
var RateLimitMetaSchema =
|
|
2514
|
-
remaining:
|
|
2515
|
-
limit:
|
|
2516
|
-
used:
|
|
2517
|
-
group:
|
|
2518
|
-
});
|
|
2519
|
-
var EsiResponseMetaSchema =
|
|
2520
|
-
headers:
|
|
2521
|
-
fromCache:
|
|
2522
|
-
stale:
|
|
2523
|
-
cacheHitType:
|
|
2524
|
-
warning:
|
|
2525
|
-
code:
|
|
2526
|
-
message:
|
|
2526
|
+
import { z as z11 } from "zod";
|
|
2527
|
+
var StandingSchema = z11.looseObject({
|
|
2528
|
+
from_id: z11.number(),
|
|
2529
|
+
from_type: esiEnum(["agent", "npc_corp", "faction"]),
|
|
2530
|
+
standing: z11.number()
|
|
2531
|
+
});
|
|
2532
|
+
var RateLimitMetaSchema = z11.object({
|
|
2533
|
+
remaining: z11.number(),
|
|
2534
|
+
limit: z11.number(),
|
|
2535
|
+
used: z11.number(),
|
|
2536
|
+
group: z11.string().nullable()
|
|
2537
|
+
});
|
|
2538
|
+
var EsiResponseMetaSchema = z11.looseObject({
|
|
2539
|
+
headers: z11.record(z11.string(), z11.string()),
|
|
2540
|
+
fromCache: z11.boolean(),
|
|
2541
|
+
stale: z11.boolean(),
|
|
2542
|
+
cacheHitType: z11.enum(["spec-ttl", "etag-304", "stale-on-error"]).optional(),
|
|
2543
|
+
warning: z11.object({
|
|
2544
|
+
code: z11.number(),
|
|
2545
|
+
message: z11.string()
|
|
2527
2546
|
}).optional(),
|
|
2528
|
-
requestId:
|
|
2529
|
-
date:
|
|
2530
|
-
contentLanguage:
|
|
2547
|
+
requestId: z11.string().optional(),
|
|
2548
|
+
date: z11.string().optional(),
|
|
2549
|
+
contentLanguage: z11.string().optional(),
|
|
2531
2550
|
rateLimit: RateLimitMetaSchema.optional(),
|
|
2532
|
-
responseTimeMs:
|
|
2551
|
+
responseTimeMs: z11.number().optional()
|
|
2533
2552
|
});
|
|
2534
2553
|
function esiResponse(dataSchema) {
|
|
2535
|
-
return
|
|
2554
|
+
return z11.object({
|
|
2536
2555
|
data: dataSchema,
|
|
2537
2556
|
meta: EsiResponseMetaSchema
|
|
2538
2557
|
});
|
|
@@ -2552,14 +2571,14 @@ var characterEndpoints = {
|
|
|
2552
2571
|
method: "GET",
|
|
2553
2572
|
requiresAuth: true,
|
|
2554
2573
|
pathParams: ["characterId"],
|
|
2555
|
-
responseSchema:
|
|
2574
|
+
responseSchema: z12.array(AgentResearchSchema)
|
|
2556
2575
|
},
|
|
2557
2576
|
getBlueprints: {
|
|
2558
2577
|
path: "characters/{characterId}/blueprints/",
|
|
2559
2578
|
method: "GET",
|
|
2560
2579
|
requiresAuth: true,
|
|
2561
2580
|
pathParams: ["characterId"],
|
|
2562
|
-
responseSchema:
|
|
2581
|
+
responseSchema: z12.array(BlueprintSchema)
|
|
2563
2582
|
},
|
|
2564
2583
|
getRoles: {
|
|
2565
2584
|
path: "characters/{characterId}/roles",
|
|
@@ -2573,28 +2592,28 @@ var characterEndpoints = {
|
|
|
2573
2592
|
method: "GET",
|
|
2574
2593
|
requiresAuth: true,
|
|
2575
2594
|
pathParams: ["characterId"],
|
|
2576
|
-
responseSchema:
|
|
2595
|
+
responseSchema: z12.array(StandingSchema)
|
|
2577
2596
|
},
|
|
2578
2597
|
getTitles: {
|
|
2579
2598
|
path: "characters/{characterId}/titles",
|
|
2580
2599
|
method: "GET",
|
|
2581
2600
|
requiresAuth: true,
|
|
2582
2601
|
pathParams: ["characterId"],
|
|
2583
|
-
responseSchema:
|
|
2602
|
+
responseSchema: z12.array(CharacterTitleSchema)
|
|
2584
2603
|
},
|
|
2585
2604
|
getContactNotifications: {
|
|
2586
2605
|
path: "characters/{characterId}/notifications/contacts/",
|
|
2587
2606
|
method: "GET",
|
|
2588
2607
|
requiresAuth: true,
|
|
2589
2608
|
pathParams: ["characterId"],
|
|
2590
|
-
responseSchema:
|
|
2609
|
+
responseSchema: z12.array(ContactNotificationSchema)
|
|
2591
2610
|
},
|
|
2592
2611
|
getCorporationHistory: {
|
|
2593
2612
|
path: "characters/{characterId}/corporationhistory/",
|
|
2594
2613
|
method: "GET",
|
|
2595
2614
|
requiresAuth: false,
|
|
2596
2615
|
pathParams: ["characterId"],
|
|
2597
|
-
responseSchema:
|
|
2616
|
+
responseSchema: z12.array(CorporationHistorySchema)
|
|
2598
2617
|
},
|
|
2599
2618
|
getJumpFatigue: {
|
|
2600
2619
|
path: "characters/{characterId}/fatigue/",
|
|
@@ -2608,14 +2627,14 @@ var characterEndpoints = {
|
|
|
2608
2627
|
method: "GET",
|
|
2609
2628
|
requiresAuth: true,
|
|
2610
2629
|
pathParams: ["characterId"],
|
|
2611
|
-
responseSchema:
|
|
2630
|
+
responseSchema: z12.array(MedalSchema)
|
|
2612
2631
|
},
|
|
2613
2632
|
getNotifications: {
|
|
2614
2633
|
path: "characters/{characterId}/notifications/",
|
|
2615
2634
|
method: "GET",
|
|
2616
2635
|
requiresAuth: true,
|
|
2617
2636
|
pathParams: ["characterId"],
|
|
2618
|
-
responseSchema:
|
|
2637
|
+
responseSchema: z12.array(NotificationSchema)
|
|
2619
2638
|
},
|
|
2620
2639
|
getPortrait: {
|
|
2621
2640
|
path: "characters/{characterId}/portrait/",
|
|
@@ -2817,26 +2836,26 @@ var CharacterClient = class extends BaseEsiClient {
|
|
|
2817
2836
|
};
|
|
2818
2837
|
|
|
2819
2838
|
// src/core/endpoints/cloneEndpoints.ts
|
|
2820
|
-
import { z as
|
|
2839
|
+
import { z as z14 } from "zod";
|
|
2821
2840
|
|
|
2822
2841
|
// src/schemas/clones.ts
|
|
2823
|
-
import { z as
|
|
2824
|
-
var CloneInfoSchema =
|
|
2825
|
-
home_location:
|
|
2826
|
-
location_id:
|
|
2827
|
-
location_type:
|
|
2842
|
+
import { z as z13 } from "zod";
|
|
2843
|
+
var CloneInfoSchema = z13.looseObject({
|
|
2844
|
+
home_location: z13.looseObject({
|
|
2845
|
+
location_id: z13.number(),
|
|
2846
|
+
location_type: esiEnum(["station", "structure"])
|
|
2828
2847
|
}).optional(),
|
|
2829
|
-
jump_clones:
|
|
2830
|
-
|
|
2831
|
-
jump_clone_id:
|
|
2832
|
-
location_id:
|
|
2833
|
-
location_type:
|
|
2834
|
-
implants:
|
|
2835
|
-
name:
|
|
2848
|
+
jump_clones: z13.array(
|
|
2849
|
+
z13.looseObject({
|
|
2850
|
+
jump_clone_id: z13.number(),
|
|
2851
|
+
location_id: z13.number(),
|
|
2852
|
+
location_type: esiEnum(["station", "structure"]),
|
|
2853
|
+
implants: z13.array(z13.number()),
|
|
2854
|
+
name: z13.string().optional()
|
|
2836
2855
|
})
|
|
2837
2856
|
),
|
|
2838
|
-
last_clone_jump_date:
|
|
2839
|
-
last_station_change_date:
|
|
2857
|
+
last_clone_jump_date: z13.string().optional(),
|
|
2858
|
+
last_station_change_date: z13.string().optional()
|
|
2840
2859
|
});
|
|
2841
2860
|
|
|
2842
2861
|
// src/core/endpoints/cloneEndpoints.ts
|
|
@@ -2853,7 +2872,7 @@ var cloneEndpoints = {
|
|
|
2853
2872
|
method: "GET",
|
|
2854
2873
|
requiresAuth: true,
|
|
2855
2874
|
pathParams: ["characterId"],
|
|
2856
|
-
responseSchema:
|
|
2875
|
+
responseSchema: z14.array(z14.number())
|
|
2857
2876
|
}
|
|
2858
2877
|
};
|
|
2859
2878
|
|
|
@@ -3025,20 +3044,20 @@ var ContactsClient = class extends BaseEsiClient {
|
|
|
3025
3044
|
};
|
|
3026
3045
|
|
|
3027
3046
|
// src/core/endpoints/contractEndpoints.ts
|
|
3028
|
-
import { z as
|
|
3047
|
+
import { z as z16 } from "zod";
|
|
3029
3048
|
|
|
3030
3049
|
// src/schemas/contracts.ts
|
|
3031
|
-
import { z as
|
|
3032
|
-
var ContractSchema =
|
|
3033
|
-
contract_id:
|
|
3034
|
-
issuer_id:
|
|
3035
|
-
issuer_corporation_id:
|
|
3036
|
-
assignee_id:
|
|
3037
|
-
acceptor_id:
|
|
3038
|
-
start_location_id:
|
|
3039
|
-
end_location_id:
|
|
3040
|
-
type:
|
|
3041
|
-
status:
|
|
3050
|
+
import { z as z15 } from "zod";
|
|
3051
|
+
var ContractSchema = z15.looseObject({
|
|
3052
|
+
contract_id: z15.number(),
|
|
3053
|
+
issuer_id: z15.number(),
|
|
3054
|
+
issuer_corporation_id: z15.number(),
|
|
3055
|
+
assignee_id: z15.number().optional(),
|
|
3056
|
+
acceptor_id: z15.number().optional(),
|
|
3057
|
+
start_location_id: z15.number().optional(),
|
|
3058
|
+
end_location_id: z15.number().optional(),
|
|
3059
|
+
type: esiEnum(["unknown", "item_exchange", "auction", "courier", "loan"]),
|
|
3060
|
+
status: esiEnum([
|
|
3042
3061
|
"outstanding",
|
|
3043
3062
|
"in_progress",
|
|
3044
3063
|
"finished_issuer",
|
|
@@ -3050,34 +3069,39 @@ var ContractSchema = z14.looseObject({
|
|
|
3050
3069
|
"deleted",
|
|
3051
3070
|
"reversed"
|
|
3052
3071
|
]).optional(),
|
|
3053
|
-
title:
|
|
3054
|
-
for_corporation:
|
|
3055
|
-
availability:
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3072
|
+
title: z15.string().optional(),
|
|
3073
|
+
for_corporation: z15.boolean().optional(),
|
|
3074
|
+
availability: esiEnum([
|
|
3075
|
+
"public",
|
|
3076
|
+
"personal",
|
|
3077
|
+
"corporation",
|
|
3078
|
+
"alliance"
|
|
3079
|
+
]).optional(),
|
|
3080
|
+
date_issued: z15.string(),
|
|
3081
|
+
date_expired: z15.string(),
|
|
3082
|
+
date_accepted: z15.string().optional(),
|
|
3083
|
+
date_completed: z15.string().optional(),
|
|
3084
|
+
days_to_complete: z15.number().optional(),
|
|
3085
|
+
price: z15.number().optional(),
|
|
3086
|
+
reward: z15.number().optional(),
|
|
3087
|
+
collateral: z15.number().optional(),
|
|
3088
|
+
buyout: z15.number().optional(),
|
|
3089
|
+
volume: z15.number().optional()
|
|
3090
|
+
});
|
|
3091
|
+
var ContractItemSchema = z15.looseObject({
|
|
3092
|
+
record_id: z15.number(),
|
|
3093
|
+
type_id: z15.number(),
|
|
3094
|
+
quantity: z15.number(),
|
|
3095
|
+
raw_quantity: z15.number().optional(),
|
|
3096
|
+
is_singleton: z15.boolean(),
|
|
3097
|
+
is_blueprint_copy: z15.boolean().optional(),
|
|
3098
|
+
is_included: z15.boolean()
|
|
3099
|
+
});
|
|
3100
|
+
var ContractBidSchema = z15.looseObject({
|
|
3101
|
+
bid_id: z15.number(),
|
|
3102
|
+
bidder_id: z15.number(),
|
|
3103
|
+
date_bid: z15.string(),
|
|
3104
|
+
amount: z15.number()
|
|
3081
3105
|
});
|
|
3082
3106
|
|
|
3083
3107
|
// src/core/endpoints/contractEndpoints.ts
|
|
@@ -3087,63 +3111,63 @@ var contractEndpoints = {
|
|
|
3087
3111
|
method: "GET",
|
|
3088
3112
|
requiresAuth: true,
|
|
3089
3113
|
pathParams: ["characterId"],
|
|
3090
|
-
responseSchema:
|
|
3114
|
+
responseSchema: z16.array(ContractSchema)
|
|
3091
3115
|
},
|
|
3092
3116
|
getCharacterContractBids: {
|
|
3093
3117
|
path: "characters/{characterId}/contracts/{contractId}/bids",
|
|
3094
3118
|
method: "GET",
|
|
3095
3119
|
requiresAuth: true,
|
|
3096
3120
|
pathParams: ["characterId", "contractId"],
|
|
3097
|
-
responseSchema:
|
|
3121
|
+
responseSchema: z16.array(ContractBidSchema)
|
|
3098
3122
|
},
|
|
3099
3123
|
getCharacterContractItems: {
|
|
3100
3124
|
path: "characters/{characterId}/contracts/{contractId}/items",
|
|
3101
3125
|
method: "GET",
|
|
3102
3126
|
requiresAuth: true,
|
|
3103
3127
|
pathParams: ["characterId", "contractId"],
|
|
3104
|
-
responseSchema:
|
|
3128
|
+
responseSchema: z16.array(ContractItemSchema)
|
|
3105
3129
|
},
|
|
3106
3130
|
getCorporationContracts: {
|
|
3107
3131
|
path: "corporations/{corporationId}/contracts",
|
|
3108
3132
|
method: "GET",
|
|
3109
3133
|
requiresAuth: true,
|
|
3110
3134
|
pathParams: ["corporationId"],
|
|
3111
|
-
responseSchema:
|
|
3135
|
+
responseSchema: z16.array(ContractSchema)
|
|
3112
3136
|
},
|
|
3113
3137
|
getCorporationContractBids: {
|
|
3114
3138
|
path: "corporations/{corporationId}/contracts/{contractId}/bids",
|
|
3115
3139
|
method: "GET",
|
|
3116
3140
|
requiresAuth: true,
|
|
3117
3141
|
pathParams: ["corporationId", "contractId"],
|
|
3118
|
-
responseSchema:
|
|
3142
|
+
responseSchema: z16.array(ContractBidSchema)
|
|
3119
3143
|
},
|
|
3120
3144
|
getCorporationContractItems: {
|
|
3121
3145
|
path: "corporations/{corporationId}/contracts/{contractId}/items",
|
|
3122
3146
|
method: "GET",
|
|
3123
3147
|
requiresAuth: true,
|
|
3124
3148
|
pathParams: ["corporationId", "contractId"],
|
|
3125
|
-
responseSchema:
|
|
3149
|
+
responseSchema: z16.array(ContractItemSchema)
|
|
3126
3150
|
},
|
|
3127
3151
|
getPublicContracts: {
|
|
3128
3152
|
path: "contracts/public/{regionId}",
|
|
3129
3153
|
method: "GET",
|
|
3130
3154
|
requiresAuth: false,
|
|
3131
3155
|
pathParams: ["regionId"],
|
|
3132
|
-
responseSchema:
|
|
3156
|
+
responseSchema: z16.array(ContractSchema)
|
|
3133
3157
|
},
|
|
3134
3158
|
getPublicContractBids: {
|
|
3135
3159
|
path: "contracts/public/bids/{contractId}",
|
|
3136
3160
|
method: "GET",
|
|
3137
3161
|
requiresAuth: false,
|
|
3138
3162
|
pathParams: ["contractId"],
|
|
3139
|
-
responseSchema:
|
|
3163
|
+
responseSchema: z16.array(ContractBidSchema)
|
|
3140
3164
|
},
|
|
3141
3165
|
getPublicContractItems: {
|
|
3142
3166
|
path: "contracts/public/items/{contractId}",
|
|
3143
3167
|
method: "GET",
|
|
3144
3168
|
requiresAuth: false,
|
|
3145
3169
|
pathParams: ["contractId"],
|
|
3146
|
-
responseSchema:
|
|
3170
|
+
responseSchema: z16.array(ContractItemSchema)
|
|
3147
3171
|
}
|
|
3148
3172
|
};
|
|
3149
3173
|
|
|
@@ -3270,195 +3294,207 @@ var ContractsClient = class extends BaseEsiClient {
|
|
|
3270
3294
|
};
|
|
3271
3295
|
|
|
3272
3296
|
// src/core/endpoints/corporationEndpoints.ts
|
|
3273
|
-
import { z as
|
|
3297
|
+
import { z as z18 } from "zod";
|
|
3274
3298
|
|
|
3275
3299
|
// src/schemas/corporation.ts
|
|
3276
|
-
import { z as
|
|
3277
|
-
var CorporationInfoSchema =
|
|
3278
|
-
corporation_id:
|
|
3279
|
-
name:
|
|
3280
|
-
ticker:
|
|
3281
|
-
description:
|
|
3282
|
-
url:
|
|
3283
|
-
alliance_id:
|
|
3284
|
-
ceo_id:
|
|
3285
|
-
creator_id:
|
|
3286
|
-
date_founded:
|
|
3287
|
-
faction_id:
|
|
3288
|
-
home_station_id:
|
|
3289
|
-
member_count:
|
|
3290
|
-
shares:
|
|
3291
|
-
tax_rate:
|
|
3292
|
-
war_eligible:
|
|
3293
|
-
});
|
|
3294
|
-
var CorporationAllianceHistorySchema =
|
|
3295
|
-
alliance_id:
|
|
3296
|
-
is_deleted:
|
|
3297
|
-
record_id:
|
|
3298
|
-
start_date:
|
|
3299
|
-
});
|
|
3300
|
-
var CorporationMedalSchema =
|
|
3301
|
-
medal_id:
|
|
3302
|
-
title:
|
|
3303
|
-
description:
|
|
3304
|
-
creator_id:
|
|
3305
|
-
date:
|
|
3306
|
-
});
|
|
3307
|
-
var CorporationStarbaseSchema =
|
|
3308
|
-
starbase_id:
|
|
3309
|
-
type_id:
|
|
3310
|
-
system_id:
|
|
3311
|
-
state:
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3300
|
+
import { z as z17 } from "zod";
|
|
3301
|
+
var CorporationInfoSchema = z17.looseObject({
|
|
3302
|
+
corporation_id: z17.number().optional(),
|
|
3303
|
+
name: z17.string(),
|
|
3304
|
+
ticker: z17.string(),
|
|
3305
|
+
description: z17.string().optional(),
|
|
3306
|
+
url: z17.string().optional(),
|
|
3307
|
+
alliance_id: z17.number().optional(),
|
|
3308
|
+
ceo_id: z17.number(),
|
|
3309
|
+
creator_id: z17.number(),
|
|
3310
|
+
date_founded: z17.string().optional(),
|
|
3311
|
+
faction_id: z17.number().optional(),
|
|
3312
|
+
home_station_id: z17.number().optional(),
|
|
3313
|
+
member_count: z17.number(),
|
|
3314
|
+
shares: z17.number().optional(),
|
|
3315
|
+
tax_rate: z17.number(),
|
|
3316
|
+
war_eligible: z17.boolean().optional()
|
|
3317
|
+
});
|
|
3318
|
+
var CorporationAllianceHistorySchema = z17.looseObject({
|
|
3319
|
+
alliance_id: z17.number().optional(),
|
|
3320
|
+
is_deleted: z17.boolean().optional(),
|
|
3321
|
+
record_id: z17.number(),
|
|
3322
|
+
start_date: z17.string()
|
|
3323
|
+
});
|
|
3324
|
+
var CorporationMedalSchema = z17.looseObject({
|
|
3325
|
+
medal_id: z17.number(),
|
|
3326
|
+
title: z17.string(),
|
|
3327
|
+
description: z17.string(),
|
|
3328
|
+
creator_id: z17.number(),
|
|
3329
|
+
date: z17.string()
|
|
3330
|
+
});
|
|
3331
|
+
var CorporationStarbaseSchema = z17.looseObject({
|
|
3332
|
+
starbase_id: z17.number(),
|
|
3333
|
+
type_id: z17.number(),
|
|
3334
|
+
system_id: z17.number(),
|
|
3335
|
+
state: esiEnum([
|
|
3336
|
+
"offline",
|
|
3337
|
+
"online",
|
|
3338
|
+
"onlining",
|
|
3339
|
+
"reinforced",
|
|
3340
|
+
"unanchoring"
|
|
3341
|
+
]),
|
|
3342
|
+
moon_id: z17.number().optional(),
|
|
3343
|
+
onlined_since: z17.string().optional(),
|
|
3344
|
+
reinforced_until: z17.string().optional(),
|
|
3345
|
+
unanchor_at: z17.string().optional()
|
|
3346
|
+
});
|
|
3347
|
+
var CorporationDivisionsSchema = z17.looseObject({
|
|
3348
|
+
hangar: z17.array(
|
|
3349
|
+
z17.looseObject({
|
|
3350
|
+
division: z17.number(),
|
|
3351
|
+
name: z17.string().optional()
|
|
3322
3352
|
})
|
|
3323
3353
|
).optional(),
|
|
3324
|
-
wallet:
|
|
3325
|
-
|
|
3326
|
-
division:
|
|
3327
|
-
name:
|
|
3354
|
+
wallet: z17.array(
|
|
3355
|
+
z17.looseObject({
|
|
3356
|
+
division: z17.number(),
|
|
3357
|
+
name: z17.string().optional()
|
|
3328
3358
|
})
|
|
3329
3359
|
).optional()
|
|
3330
3360
|
});
|
|
3331
|
-
var CorporationFacilitySchema =
|
|
3332
|
-
facility_id:
|
|
3333
|
-
type_id:
|
|
3334
|
-
system_id:
|
|
3335
|
-
});
|
|
3336
|
-
var CorporationIssuedMedalSchema =
|
|
3337
|
-
medal_id:
|
|
3338
|
-
title:
|
|
3339
|
-
description:
|
|
3340
|
-
character_id:
|
|
3341
|
-
issued_at:
|
|
3342
|
-
issuer_id:
|
|
3343
|
-
reason:
|
|
3344
|
-
status:
|
|
3345
|
-
});
|
|
3346
|
-
var CorporationMemberTitleSchema =
|
|
3347
|
-
character_id:
|
|
3348
|
-
titles:
|
|
3349
|
-
});
|
|
3350
|
-
var CorporationMemberTrackingSchema =
|
|
3351
|
-
character_id:
|
|
3352
|
-
start_date:
|
|
3353
|
-
base_id:
|
|
3354
|
-
location_id:
|
|
3355
|
-
logoff_date:
|
|
3356
|
-
logon_date:
|
|
3357
|
-
online:
|
|
3358
|
-
ship_type_id:
|
|
3359
|
-
});
|
|
3360
|
-
var CorporationMemberRoleSchema =
|
|
3361
|
-
character_id:
|
|
3362
|
-
roles:
|
|
3363
|
-
grantable_roles:
|
|
3364
|
-
roles_at_hq:
|
|
3365
|
-
grantable_roles_at_hq:
|
|
3366
|
-
roles_at_base:
|
|
3367
|
-
grantable_roles_at_base:
|
|
3368
|
-
roles_at_other:
|
|
3369
|
-
grantable_roles_at_other:
|
|
3370
|
-
});
|
|
3371
|
-
var CorporationRoleHistorySchema =
|
|
3372
|
-
character_id:
|
|
3373
|
-
changed_at:
|
|
3374
|
-
issuer_id:
|
|
3375
|
-
role_type:
|
|
3376
|
-
before:
|
|
3377
|
-
after:
|
|
3378
|
-
});
|
|
3379
|
-
var CorporationShareholderSchema =
|
|
3380
|
-
shareholder_id:
|
|
3381
|
-
shareholder_type:
|
|
3382
|
-
share_count:
|
|
3383
|
-
});
|
|
3384
|
-
var CorporationStarbaseDetailSchema =
|
|
3385
|
-
state:
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3361
|
+
var CorporationFacilitySchema = z17.looseObject({
|
|
3362
|
+
facility_id: z17.number(),
|
|
3363
|
+
type_id: z17.number(),
|
|
3364
|
+
system_id: z17.number()
|
|
3365
|
+
});
|
|
3366
|
+
var CorporationIssuedMedalSchema = z17.looseObject({
|
|
3367
|
+
medal_id: z17.number(),
|
|
3368
|
+
title: z17.string(),
|
|
3369
|
+
description: z17.string(),
|
|
3370
|
+
character_id: z17.number(),
|
|
3371
|
+
issued_at: z17.string(),
|
|
3372
|
+
issuer_id: z17.number(),
|
|
3373
|
+
reason: z17.string(),
|
|
3374
|
+
status: esiEnum(["private", "public"])
|
|
3375
|
+
});
|
|
3376
|
+
var CorporationMemberTitleSchema = z17.looseObject({
|
|
3377
|
+
character_id: z17.number(),
|
|
3378
|
+
titles: z17.array(z17.number())
|
|
3379
|
+
});
|
|
3380
|
+
var CorporationMemberTrackingSchema = z17.looseObject({
|
|
3381
|
+
character_id: z17.number(),
|
|
3382
|
+
start_date: z17.string(),
|
|
3383
|
+
base_id: z17.number().optional(),
|
|
3384
|
+
location_id: z17.number().optional(),
|
|
3385
|
+
logoff_date: z17.string().optional(),
|
|
3386
|
+
logon_date: z17.string().optional(),
|
|
3387
|
+
online: z17.boolean().optional(),
|
|
3388
|
+
ship_type_id: z17.number().optional()
|
|
3389
|
+
});
|
|
3390
|
+
var CorporationMemberRoleSchema = z17.looseObject({
|
|
3391
|
+
character_id: z17.number(),
|
|
3392
|
+
roles: z17.array(z17.string()).optional(),
|
|
3393
|
+
grantable_roles: z17.array(z17.string()).optional(),
|
|
3394
|
+
roles_at_hq: z17.array(z17.string()).optional(),
|
|
3395
|
+
grantable_roles_at_hq: z17.array(z17.string()).optional(),
|
|
3396
|
+
roles_at_base: z17.array(z17.string()).optional(),
|
|
3397
|
+
grantable_roles_at_base: z17.array(z17.string()).optional(),
|
|
3398
|
+
roles_at_other: z17.array(z17.string()).optional(),
|
|
3399
|
+
grantable_roles_at_other: z17.array(z17.string()).optional()
|
|
3400
|
+
});
|
|
3401
|
+
var CorporationRoleHistorySchema = z17.looseObject({
|
|
3402
|
+
character_id: z17.number(),
|
|
3403
|
+
changed_at: z17.string(),
|
|
3404
|
+
issuer_id: z17.number(),
|
|
3405
|
+
role_type: z17.string(),
|
|
3406
|
+
before: z17.array(z17.string()),
|
|
3407
|
+
after: z17.array(z17.string())
|
|
3408
|
+
});
|
|
3409
|
+
var CorporationShareholderSchema = z17.looseObject({
|
|
3410
|
+
shareholder_id: z17.number(),
|
|
3411
|
+
shareholder_type: esiEnum(["character", "corporation"]),
|
|
3412
|
+
share_count: z17.number()
|
|
3413
|
+
});
|
|
3414
|
+
var CorporationStarbaseDetailSchema = z17.looseObject({
|
|
3415
|
+
state: esiEnum([
|
|
3416
|
+
"offline",
|
|
3417
|
+
"online",
|
|
3418
|
+
"onlining",
|
|
3419
|
+
"reinforced",
|
|
3420
|
+
"unanchoring"
|
|
3421
|
+
]),
|
|
3422
|
+
fuels: z17.array(
|
|
3423
|
+
z17.looseObject({
|
|
3424
|
+
type_id: z17.number(),
|
|
3425
|
+
quantity: z17.number()
|
|
3390
3426
|
})
|
|
3391
3427
|
).optional(),
|
|
3392
|
-
allow_alliance_members:
|
|
3393
|
-
allow_corporation_members:
|
|
3394
|
-
anchor:
|
|
3395
|
-
attack_if_at_war:
|
|
3396
|
-
attack_if_other_security_status_dropping:
|
|
3397
|
-
attack_security_status_threshold:
|
|
3398
|
-
attack_standing_threshold:
|
|
3399
|
-
fuel_bay_take:
|
|
3400
|
-
fuel_bay_view:
|
|
3401
|
-
offline:
|
|
3402
|
-
online:
|
|
3403
|
-
unanchor:
|
|
3404
|
-
use_alliance_standings:
|
|
3405
|
-
});
|
|
3406
|
-
var CorporationStructureSchema =
|
|
3407
|
-
structure_id:
|
|
3408
|
-
corporation_id:
|
|
3409
|
-
type_id:
|
|
3410
|
-
system_id:
|
|
3411
|
-
profile_id:
|
|
3412
|
-
services:
|
|
3413
|
-
|
|
3414
|
-
name:
|
|
3415
|
-
state:
|
|
3428
|
+
allow_alliance_members: z17.boolean().optional(),
|
|
3429
|
+
allow_corporation_members: z17.boolean().optional(),
|
|
3430
|
+
anchor: z17.string().optional(),
|
|
3431
|
+
attack_if_at_war: z17.boolean().optional(),
|
|
3432
|
+
attack_if_other_security_status_dropping: z17.boolean().optional(),
|
|
3433
|
+
attack_security_status_threshold: z17.number().optional(),
|
|
3434
|
+
attack_standing_threshold: z17.number().optional(),
|
|
3435
|
+
fuel_bay_take: z17.string().optional(),
|
|
3436
|
+
fuel_bay_view: z17.string().optional(),
|
|
3437
|
+
offline: z17.string().optional(),
|
|
3438
|
+
online: z17.string().optional(),
|
|
3439
|
+
unanchor: z17.string().optional(),
|
|
3440
|
+
use_alliance_standings: z17.boolean().optional()
|
|
3441
|
+
});
|
|
3442
|
+
var CorporationStructureSchema = z17.looseObject({
|
|
3443
|
+
structure_id: z17.number(),
|
|
3444
|
+
corporation_id: z17.number(),
|
|
3445
|
+
type_id: z17.number(),
|
|
3446
|
+
system_id: z17.number(),
|
|
3447
|
+
profile_id: z17.number(),
|
|
3448
|
+
services: z17.array(
|
|
3449
|
+
z17.looseObject({
|
|
3450
|
+
name: z17.string(),
|
|
3451
|
+
state: esiEnum(["online", "offline", "cleanup"])
|
|
3416
3452
|
})
|
|
3417
3453
|
).optional(),
|
|
3418
|
-
fuel_expires:
|
|
3419
|
-
name:
|
|
3420
|
-
state:
|
|
3421
|
-
state_timer_start:
|
|
3422
|
-
state_timer_end:
|
|
3423
|
-
unanchors_at:
|
|
3424
|
-
reinforce_hour:
|
|
3425
|
-
next_reinforce_hour:
|
|
3426
|
-
next_reinforce_apply:
|
|
3427
|
-
});
|
|
3428
|
-
var CorporationTitleSchema =
|
|
3429
|
-
title_id:
|
|
3430
|
-
name:
|
|
3431
|
-
roles:
|
|
3432
|
-
grantable_roles:
|
|
3433
|
-
roles_at_hq:
|
|
3434
|
-
grantable_roles_at_hq:
|
|
3435
|
-
roles_at_base:
|
|
3436
|
-
grantable_roles_at_base:
|
|
3437
|
-
roles_at_other:
|
|
3438
|
-
grantable_roles_at_other:
|
|
3439
|
-
});
|
|
3440
|
-
var CorporationIconSchema =
|
|
3441
|
-
px64x64:
|
|
3442
|
-
px128x128:
|
|
3443
|
-
px256x256:
|
|
3444
|
-
});
|
|
3445
|
-
var CorporationWalletDivisionSchema =
|
|
3446
|
-
division:
|
|
3447
|
-
balance:
|
|
3448
|
-
});
|
|
3449
|
-
var ContainerLogSchema =
|
|
3450
|
-
logged_at:
|
|
3451
|
-
container_id:
|
|
3452
|
-
container_type_id:
|
|
3453
|
-
character_id:
|
|
3454
|
-
location_id:
|
|
3455
|
-
location_flag:
|
|
3456
|
-
action:
|
|
3457
|
-
password_type:
|
|
3458
|
-
type_id:
|
|
3459
|
-
quantity:
|
|
3460
|
-
old_config_bitmask:
|
|
3461
|
-
new_config_bitmask:
|
|
3454
|
+
fuel_expires: z17.string().optional(),
|
|
3455
|
+
name: z17.string().optional(),
|
|
3456
|
+
state: z17.string(),
|
|
3457
|
+
state_timer_start: z17.string().optional(),
|
|
3458
|
+
state_timer_end: z17.string().optional(),
|
|
3459
|
+
unanchors_at: z17.string().optional(),
|
|
3460
|
+
reinforce_hour: z17.number().optional(),
|
|
3461
|
+
next_reinforce_hour: z17.number().optional(),
|
|
3462
|
+
next_reinforce_apply: z17.string().optional()
|
|
3463
|
+
});
|
|
3464
|
+
var CorporationTitleSchema = z17.looseObject({
|
|
3465
|
+
title_id: z17.number(),
|
|
3466
|
+
name: z17.string().optional(),
|
|
3467
|
+
roles: z17.array(z17.string()).optional(),
|
|
3468
|
+
grantable_roles: z17.array(z17.string()).optional(),
|
|
3469
|
+
roles_at_hq: z17.array(z17.string()).optional(),
|
|
3470
|
+
grantable_roles_at_hq: z17.array(z17.string()).optional(),
|
|
3471
|
+
roles_at_base: z17.array(z17.string()).optional(),
|
|
3472
|
+
grantable_roles_at_base: z17.array(z17.string()).optional(),
|
|
3473
|
+
roles_at_other: z17.array(z17.string()).optional(),
|
|
3474
|
+
grantable_roles_at_other: z17.array(z17.string()).optional()
|
|
3475
|
+
});
|
|
3476
|
+
var CorporationIconSchema = z17.looseObject({
|
|
3477
|
+
px64x64: z17.string().optional(),
|
|
3478
|
+
px128x128: z17.string().optional(),
|
|
3479
|
+
px256x256: z17.string().optional()
|
|
3480
|
+
});
|
|
3481
|
+
var CorporationWalletDivisionSchema = z17.looseObject({
|
|
3482
|
+
division: z17.number(),
|
|
3483
|
+
balance: z17.number()
|
|
3484
|
+
});
|
|
3485
|
+
var ContainerLogSchema = z17.looseObject({
|
|
3486
|
+
logged_at: z17.string(),
|
|
3487
|
+
container_id: z17.number(),
|
|
3488
|
+
container_type_id: z17.number(),
|
|
3489
|
+
character_id: z17.number(),
|
|
3490
|
+
location_id: z17.number(),
|
|
3491
|
+
location_flag: z17.string(),
|
|
3492
|
+
action: z17.string(),
|
|
3493
|
+
password_type: esiEnum(["config", "general"]).optional(),
|
|
3494
|
+
type_id: z17.number().optional(),
|
|
3495
|
+
quantity: z17.number().optional(),
|
|
3496
|
+
old_config_bitmask: z17.number().optional(),
|
|
3497
|
+
new_config_bitmask: z17.number().optional()
|
|
3462
3498
|
});
|
|
3463
3499
|
|
|
3464
3500
|
// src/core/endpoints/corporationEndpoints.ts
|
|
@@ -3475,21 +3511,21 @@ var corporationEndpoints = {
|
|
|
3475
3511
|
method: "GET",
|
|
3476
3512
|
requiresAuth: false,
|
|
3477
3513
|
pathParams: ["corporationId"],
|
|
3478
|
-
responseSchema:
|
|
3514
|
+
responseSchema: z18.array(CorporationAllianceHistorySchema)
|
|
3479
3515
|
},
|
|
3480
3516
|
getCorporationBlueprints: {
|
|
3481
3517
|
path: "corporations/{corporationId}/blueprints",
|
|
3482
3518
|
method: "GET",
|
|
3483
3519
|
requiresAuth: true,
|
|
3484
3520
|
pathParams: ["corporationId"],
|
|
3485
|
-
responseSchema:
|
|
3521
|
+
responseSchema: z18.array(BlueprintSchema)
|
|
3486
3522
|
},
|
|
3487
3523
|
getCorporationAlscLogs: {
|
|
3488
3524
|
path: "corporations/{corporationId}/containers/logs",
|
|
3489
3525
|
method: "GET",
|
|
3490
3526
|
requiresAuth: true,
|
|
3491
3527
|
pathParams: ["corporationId"],
|
|
3492
|
-
responseSchema:
|
|
3528
|
+
responseSchema: z18.array(ContainerLogSchema)
|
|
3493
3529
|
},
|
|
3494
3530
|
getCorporationDivisions: {
|
|
3495
3531
|
path: "corporations/{corporationId}/divisions",
|
|
@@ -3503,7 +3539,7 @@ var corporationEndpoints = {
|
|
|
3503
3539
|
method: "GET",
|
|
3504
3540
|
requiresAuth: true,
|
|
3505
3541
|
pathParams: ["corporationId"],
|
|
3506
|
-
responseSchema:
|
|
3542
|
+
responseSchema: z18.array(CorporationFacilitySchema)
|
|
3507
3543
|
},
|
|
3508
3544
|
getCorporationIcon: {
|
|
3509
3545
|
path: "corporations/{corporationId}/icons",
|
|
@@ -3517,77 +3553,77 @@ var corporationEndpoints = {
|
|
|
3517
3553
|
method: "GET",
|
|
3518
3554
|
requiresAuth: true,
|
|
3519
3555
|
pathParams: ["corporationId"],
|
|
3520
|
-
responseSchema:
|
|
3556
|
+
responseSchema: z18.array(CorporationMedalSchema)
|
|
3521
3557
|
},
|
|
3522
3558
|
getCorporationIssuedMedals: {
|
|
3523
3559
|
path: "corporations/{corporationId}/medals/issued",
|
|
3524
3560
|
method: "GET",
|
|
3525
3561
|
requiresAuth: true,
|
|
3526
3562
|
pathParams: ["corporationId"],
|
|
3527
|
-
responseSchema:
|
|
3563
|
+
responseSchema: z18.array(CorporationIssuedMedalSchema)
|
|
3528
3564
|
},
|
|
3529
3565
|
getCorporationMembers: {
|
|
3530
3566
|
path: "corporations/{corporationId}/members",
|
|
3531
3567
|
method: "GET",
|
|
3532
3568
|
requiresAuth: true,
|
|
3533
3569
|
pathParams: ["corporationId"],
|
|
3534
|
-
responseSchema:
|
|
3570
|
+
responseSchema: z18.array(z18.number())
|
|
3535
3571
|
},
|
|
3536
3572
|
getCorporationMemberLimit: {
|
|
3537
3573
|
path: "corporations/{corporationId}/members/limit",
|
|
3538
3574
|
method: "GET",
|
|
3539
3575
|
requiresAuth: true,
|
|
3540
3576
|
pathParams: ["corporationId"],
|
|
3541
|
-
responseSchema:
|
|
3577
|
+
responseSchema: z18.number()
|
|
3542
3578
|
},
|
|
3543
3579
|
getCorporationMembersTitles: {
|
|
3544
3580
|
path: "corporations/{corporationId}/members/titles",
|
|
3545
3581
|
method: "GET",
|
|
3546
3582
|
requiresAuth: true,
|
|
3547
3583
|
pathParams: ["corporationId"],
|
|
3548
|
-
responseSchema:
|
|
3584
|
+
responseSchema: z18.array(CorporationMemberTitleSchema)
|
|
3549
3585
|
},
|
|
3550
3586
|
getCorporationMemberTracking: {
|
|
3551
3587
|
path: "corporations/{corporationId}/membertracking",
|
|
3552
3588
|
method: "GET",
|
|
3553
3589
|
requiresAuth: true,
|
|
3554
3590
|
pathParams: ["corporationId"],
|
|
3555
|
-
responseSchema:
|
|
3591
|
+
responseSchema: z18.array(CorporationMemberTrackingSchema)
|
|
3556
3592
|
},
|
|
3557
3593
|
getCorporationMemberRoles: {
|
|
3558
3594
|
path: "corporations/{corporationId}/roles",
|
|
3559
3595
|
method: "GET",
|
|
3560
3596
|
requiresAuth: true,
|
|
3561
3597
|
pathParams: ["corporationId"],
|
|
3562
|
-
responseSchema:
|
|
3598
|
+
responseSchema: z18.array(CorporationMemberRoleSchema)
|
|
3563
3599
|
},
|
|
3564
3600
|
getCorporationMemberRolesHistory: {
|
|
3565
3601
|
path: "corporations/{corporationId}/roles/history",
|
|
3566
3602
|
method: "GET",
|
|
3567
3603
|
requiresAuth: true,
|
|
3568
3604
|
pathParams: ["corporationId"],
|
|
3569
|
-
responseSchema:
|
|
3605
|
+
responseSchema: z18.array(CorporationRoleHistorySchema)
|
|
3570
3606
|
},
|
|
3571
3607
|
getCorporationShareholders: {
|
|
3572
3608
|
path: "corporations/{corporationId}/shareholders",
|
|
3573
3609
|
method: "GET",
|
|
3574
3610
|
requiresAuth: true,
|
|
3575
3611
|
pathParams: ["corporationId"],
|
|
3576
|
-
responseSchema:
|
|
3612
|
+
responseSchema: z18.array(CorporationShareholderSchema)
|
|
3577
3613
|
},
|
|
3578
3614
|
getCorporationStandings: {
|
|
3579
3615
|
path: "corporations/{corporationId}/standings",
|
|
3580
3616
|
method: "GET",
|
|
3581
3617
|
requiresAuth: true,
|
|
3582
3618
|
pathParams: ["corporationId"],
|
|
3583
|
-
responseSchema:
|
|
3619
|
+
responseSchema: z18.array(StandingSchema)
|
|
3584
3620
|
},
|
|
3585
3621
|
getCorporationStarbases: {
|
|
3586
3622
|
path: "corporations/{corporationId}/starbases",
|
|
3587
3623
|
method: "GET",
|
|
3588
3624
|
requiresAuth: true,
|
|
3589
3625
|
pathParams: ["corporationId"],
|
|
3590
|
-
responseSchema:
|
|
3626
|
+
responseSchema: z18.array(CorporationStarbaseSchema)
|
|
3591
3627
|
},
|
|
3592
3628
|
getCorporationStarbaseDetail: {
|
|
3593
3629
|
path: "corporations/{corporationId}/starbases/{starbaseId}",
|
|
@@ -3601,20 +3637,20 @@ var corporationEndpoints = {
|
|
|
3601
3637
|
method: "GET",
|
|
3602
3638
|
requiresAuth: true,
|
|
3603
3639
|
pathParams: ["corporationId"],
|
|
3604
|
-
responseSchema:
|
|
3640
|
+
responseSchema: z18.array(CorporationStructureSchema)
|
|
3605
3641
|
},
|
|
3606
3642
|
getCorporationTitles: {
|
|
3607
3643
|
path: "corporations/{corporationId}/titles",
|
|
3608
3644
|
method: "GET",
|
|
3609
3645
|
requiresAuth: true,
|
|
3610
3646
|
pathParams: ["corporationId"],
|
|
3611
|
-
responseSchema:
|
|
3647
|
+
responseSchema: z18.array(CorporationTitleSchema)
|
|
3612
3648
|
},
|
|
3613
3649
|
getNpcCorporations: {
|
|
3614
3650
|
path: "corporations/npccorps",
|
|
3615
3651
|
method: "GET",
|
|
3616
3652
|
requiresAuth: false,
|
|
3617
|
-
responseSchema:
|
|
3653
|
+
responseSchema: z18.array(z18.number())
|
|
3618
3654
|
}
|
|
3619
3655
|
};
|
|
3620
3656
|
|
|
@@ -3937,71 +3973,179 @@ var CorporationsClient = class extends BaseEsiClient {
|
|
|
3937
3973
|
}
|
|
3938
3974
|
};
|
|
3939
3975
|
|
|
3940
|
-
// src/core/endpoints/
|
|
3976
|
+
// src/core/endpoints/corporationProjectEndpoints.ts
|
|
3977
|
+
import { z as z20 } from "zod";
|
|
3978
|
+
|
|
3979
|
+
// src/schemas/corporation-projects.ts
|
|
3941
3980
|
import { z as z19 } from "zod";
|
|
3981
|
+
var CorporationProjectSchema = z19.looseObject({
|
|
3982
|
+
project_id: z19.number(),
|
|
3983
|
+
state: z19.string(),
|
|
3984
|
+
progress: z19.number(),
|
|
3985
|
+
start_time: z19.string(),
|
|
3986
|
+
finish_time: z19.string().optional()
|
|
3987
|
+
});
|
|
3988
|
+
var CorporationProjectContributionSchema = z19.looseObject({
|
|
3989
|
+
character_id: z19.number(),
|
|
3990
|
+
contribution: z19.number()
|
|
3991
|
+
});
|
|
3992
|
+
var CorporationProjectContributorSchema = z19.looseObject({
|
|
3993
|
+
character_id: z19.number(),
|
|
3994
|
+
contribution: z19.number()
|
|
3995
|
+
});
|
|
3996
|
+
|
|
3997
|
+
// src/core/endpoints/corporationProjectEndpoints.ts
|
|
3998
|
+
var corporationProjectEndpoints = {
|
|
3999
|
+
getCorporationProjects: {
|
|
4000
|
+
path: "corporations/{corporationId}/projects",
|
|
4001
|
+
method: "GET",
|
|
4002
|
+
requiresAuth: true,
|
|
4003
|
+
pathParams: ["corporationId"],
|
|
4004
|
+
responseSchema: z20.array(CorporationProjectSchema)
|
|
4005
|
+
},
|
|
4006
|
+
getCorporationProject: {
|
|
4007
|
+
path: "corporations/{corporationId}/projects/{projectId}",
|
|
4008
|
+
method: "GET",
|
|
4009
|
+
requiresAuth: true,
|
|
4010
|
+
pathParams: ["corporationId", "projectId"],
|
|
4011
|
+
responseSchema: CorporationProjectSchema
|
|
4012
|
+
},
|
|
4013
|
+
getCorporationProjectContribution: {
|
|
4014
|
+
path: "corporations/{corporationId}/projects/{projectId}/contribution/{characterId}",
|
|
4015
|
+
method: "GET",
|
|
4016
|
+
requiresAuth: true,
|
|
4017
|
+
pathParams: ["corporationId", "projectId", "characterId"],
|
|
4018
|
+
responseSchema: CorporationProjectContributionSchema
|
|
4019
|
+
},
|
|
4020
|
+
getCorporationProjectContributors: {
|
|
4021
|
+
path: "corporations/{corporationId}/projects/{projectId}/contributors",
|
|
4022
|
+
method: "GET",
|
|
4023
|
+
requiresAuth: true,
|
|
4024
|
+
pathParams: ["corporationId", "projectId"],
|
|
4025
|
+
responseSchema: z20.array(CorporationProjectContributorSchema)
|
|
4026
|
+
}
|
|
4027
|
+
};
|
|
4028
|
+
|
|
4029
|
+
// src/clients/CorporationProjectsClient.ts
|
|
4030
|
+
var CorporationProjectsClient = class extends BaseEsiClient {
|
|
4031
|
+
constructor(client) {
|
|
4032
|
+
super(client, corporationProjectEndpoints);
|
|
4033
|
+
}
|
|
4034
|
+
/**
|
|
4035
|
+
* Retrieves a list of projects for a corporation.
|
|
4036
|
+
*
|
|
4037
|
+
* @param corporationId - The ID of the corporation
|
|
4038
|
+
* @returns An array of corporation projects
|
|
4039
|
+
* @requires Authentication
|
|
4040
|
+
*/
|
|
4041
|
+
getCorporationProjects(corporationId) {
|
|
4042
|
+
return this.api.getCorporationProjects(corporationId);
|
|
4043
|
+
}
|
|
4044
|
+
/**
|
|
4045
|
+
* Retrieves details of a specific corporation project.
|
|
4046
|
+
*
|
|
4047
|
+
* @param corporationId - The ID of the corporation
|
|
4048
|
+
* @param projectId - The ID of the project
|
|
4049
|
+
* @returns The corporation project details
|
|
4050
|
+
* @requires Authentication
|
|
4051
|
+
*/
|
|
4052
|
+
getCorporationProject(corporationId, projectId) {
|
|
4053
|
+
return this.api.getCorporationProject(corporationId, projectId);
|
|
4054
|
+
}
|
|
4055
|
+
/**
|
|
4056
|
+
* Retrieves a character's contribution to a specific corporation project.
|
|
4057
|
+
*
|
|
4058
|
+
* @param corporationId - The ID of the corporation
|
|
4059
|
+
* @param projectId - The ID of the project
|
|
4060
|
+
* @param characterId - The ID of the character
|
|
4061
|
+
* @returns The character's contribution details
|
|
4062
|
+
* @requires Authentication
|
|
4063
|
+
*/
|
|
4064
|
+
getCorporationProjectContribution(corporationId, projectId, characterId) {
|
|
4065
|
+
return this.api.getCorporationProjectContribution(
|
|
4066
|
+
corporationId,
|
|
4067
|
+
projectId,
|
|
4068
|
+
characterId
|
|
4069
|
+
);
|
|
4070
|
+
}
|
|
4071
|
+
/**
|
|
4072
|
+
* Retrieves a list of contributors to a specific corporation project.
|
|
4073
|
+
*
|
|
4074
|
+
* @param corporationId - The ID of the corporation
|
|
4075
|
+
* @param projectId - The ID of the project
|
|
4076
|
+
* @returns An array of project contributors
|
|
4077
|
+
* @requires Authentication
|
|
4078
|
+
*/
|
|
4079
|
+
getCorporationProjectContributors(corporationId, projectId) {
|
|
4080
|
+
return this.api.getCorporationProjectContributors(corporationId, projectId);
|
|
4081
|
+
}
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
// src/core/endpoints/dogmaEndpoints.ts
|
|
4085
|
+
import { z as z22 } from "zod";
|
|
3942
4086
|
|
|
3943
4087
|
// src/schemas/dogma.ts
|
|
3944
|
-
import { z as
|
|
3945
|
-
var DogmaAttributeSchema =
|
|
3946
|
-
attribute_id:
|
|
3947
|
-
name:
|
|
3948
|
-
description:
|
|
3949
|
-
icon_id:
|
|
3950
|
-
default_value:
|
|
3951
|
-
published:
|
|
3952
|
-
display_name:
|
|
3953
|
-
unit_id:
|
|
3954
|
-
stackable:
|
|
3955
|
-
high_is_good:
|
|
3956
|
-
});
|
|
3957
|
-
var DogmaEffectSchema =
|
|
3958
|
-
effect_id:
|
|
3959
|
-
name:
|
|
3960
|
-
description:
|
|
3961
|
-
icon_id:
|
|
3962
|
-
display_name:
|
|
3963
|
-
published:
|
|
3964
|
-
effect_category:
|
|
3965
|
-
is_assistance:
|
|
3966
|
-
is_offensive:
|
|
3967
|
-
is_warp_safe:
|
|
3968
|
-
disallow_auto_repeat:
|
|
3969
|
-
discharge_attribute_id:
|
|
3970
|
-
duration_attribute_id:
|
|
3971
|
-
electronic_chance:
|
|
3972
|
-
falloff_attribute_id:
|
|
3973
|
-
modifiers:
|
|
3974
|
-
|
|
3975
|
-
domain:
|
|
3976
|
-
effect_id:
|
|
3977
|
-
func:
|
|
3978
|
-
modified_attribute_id:
|
|
3979
|
-
modifying_attribute_id:
|
|
3980
|
-
operator:
|
|
4088
|
+
import { z as z21 } from "zod";
|
|
4089
|
+
var DogmaAttributeSchema = z21.looseObject({
|
|
4090
|
+
attribute_id: z21.number(),
|
|
4091
|
+
name: z21.string(),
|
|
4092
|
+
description: z21.string().optional(),
|
|
4093
|
+
icon_id: z21.number().optional(),
|
|
4094
|
+
default_value: z21.number().optional(),
|
|
4095
|
+
published: z21.boolean().optional(),
|
|
4096
|
+
display_name: z21.string().optional(),
|
|
4097
|
+
unit_id: z21.number().optional(),
|
|
4098
|
+
stackable: z21.boolean().optional(),
|
|
4099
|
+
high_is_good: z21.boolean().optional()
|
|
4100
|
+
});
|
|
4101
|
+
var DogmaEffectSchema = z21.looseObject({
|
|
4102
|
+
effect_id: z21.number(),
|
|
4103
|
+
name: z21.string(),
|
|
4104
|
+
description: z21.string().optional(),
|
|
4105
|
+
icon_id: z21.number().optional(),
|
|
4106
|
+
display_name: z21.string().optional(),
|
|
4107
|
+
published: z21.boolean().optional(),
|
|
4108
|
+
effect_category: z21.number().optional(),
|
|
4109
|
+
is_assistance: z21.boolean().optional(),
|
|
4110
|
+
is_offensive: z21.boolean().optional(),
|
|
4111
|
+
is_warp_safe: z21.boolean().optional(),
|
|
4112
|
+
disallow_auto_repeat: z21.boolean().optional(),
|
|
4113
|
+
discharge_attribute_id: z21.number().optional(),
|
|
4114
|
+
duration_attribute_id: z21.number().optional(),
|
|
4115
|
+
electronic_chance: z21.boolean().optional(),
|
|
4116
|
+
falloff_attribute_id: z21.number().optional(),
|
|
4117
|
+
modifiers: z21.array(
|
|
4118
|
+
z21.looseObject({
|
|
4119
|
+
domain: z21.string().optional(),
|
|
4120
|
+
effect_id: z21.number().optional(),
|
|
4121
|
+
func: z21.string(),
|
|
4122
|
+
modified_attribute_id: z21.number().optional(),
|
|
4123
|
+
modifying_attribute_id: z21.number().optional(),
|
|
4124
|
+
operator: z21.number().optional()
|
|
3981
4125
|
})
|
|
3982
4126
|
).optional(),
|
|
3983
|
-
post_expression:
|
|
3984
|
-
pre_expression:
|
|
3985
|
-
range_attribute_id:
|
|
3986
|
-
range_chance:
|
|
3987
|
-
tracking_speed_attribute_id:
|
|
3988
|
-
});
|
|
3989
|
-
var DogmaDynamicItemSchema =
|
|
3990
|
-
created_by:
|
|
3991
|
-
dogma_attributes:
|
|
3992
|
-
|
|
3993
|
-
attribute_id:
|
|
3994
|
-
value:
|
|
4127
|
+
post_expression: z21.number().optional(),
|
|
4128
|
+
pre_expression: z21.number().optional(),
|
|
4129
|
+
range_attribute_id: z21.number().optional(),
|
|
4130
|
+
range_chance: z21.boolean().optional(),
|
|
4131
|
+
tracking_speed_attribute_id: z21.number().optional()
|
|
4132
|
+
});
|
|
4133
|
+
var DogmaDynamicItemSchema = z21.looseObject({
|
|
4134
|
+
created_by: z21.number(),
|
|
4135
|
+
dogma_attributes: z21.array(
|
|
4136
|
+
z21.looseObject({
|
|
4137
|
+
attribute_id: z21.number(),
|
|
4138
|
+
value: z21.number()
|
|
3995
4139
|
})
|
|
3996
4140
|
),
|
|
3997
|
-
dogma_effects:
|
|
3998
|
-
|
|
3999
|
-
effect_id:
|
|
4000
|
-
is_default:
|
|
4141
|
+
dogma_effects: z21.array(
|
|
4142
|
+
z21.looseObject({
|
|
4143
|
+
effect_id: z21.number(),
|
|
4144
|
+
is_default: z21.boolean()
|
|
4001
4145
|
})
|
|
4002
4146
|
),
|
|
4003
|
-
mutator_type_id:
|
|
4004
|
-
source_type_id:
|
|
4147
|
+
mutator_type_id: z21.number(),
|
|
4148
|
+
source_type_id: z21.number()
|
|
4005
4149
|
});
|
|
4006
4150
|
|
|
4007
4151
|
// src/core/endpoints/dogmaEndpoints.ts
|
|
@@ -4010,7 +4154,7 @@ var dogmaEndpoints = {
|
|
|
4010
4154
|
path: "dogma/attributes",
|
|
4011
4155
|
method: "GET",
|
|
4012
4156
|
requiresAuth: false,
|
|
4013
|
-
responseSchema:
|
|
4157
|
+
responseSchema: z22.array(z22.number())
|
|
4014
4158
|
},
|
|
4015
4159
|
getAttributeById: {
|
|
4016
4160
|
path: "dogma/attributes/{attributeId}",
|
|
@@ -4023,7 +4167,7 @@ var dogmaEndpoints = {
|
|
|
4023
4167
|
path: "dogma/effects",
|
|
4024
4168
|
method: "GET",
|
|
4025
4169
|
requiresAuth: false,
|
|
4026
|
-
responseSchema:
|
|
4170
|
+
responseSchema: z22.array(z22.number())
|
|
4027
4171
|
},
|
|
4028
4172
|
getEffectById: {
|
|
4029
4173
|
path: "dogma/effects/{effectId}",
|
|
@@ -4096,108 +4240,108 @@ var DogmaClient = class extends BaseEsiClient {
|
|
|
4096
4240
|
};
|
|
4097
4241
|
|
|
4098
4242
|
// src/core/endpoints/factionEndpoints.ts
|
|
4099
|
-
import { z as
|
|
4243
|
+
import { z as z24 } from "zod";
|
|
4100
4244
|
|
|
4101
4245
|
// src/schemas/faction-warfare.ts
|
|
4102
|
-
import { z as
|
|
4103
|
-
var FactionWarfareStatsSchema =
|
|
4104
|
-
faction_id:
|
|
4105
|
-
pilots:
|
|
4106
|
-
systems_controlled:
|
|
4107
|
-
kills:
|
|
4108
|
-
yesterday:
|
|
4109
|
-
last_week:
|
|
4110
|
-
total:
|
|
4246
|
+
import { z as z23 } from "zod";
|
|
4247
|
+
var FactionWarfareStatsSchema = z23.looseObject({
|
|
4248
|
+
faction_id: z23.number(),
|
|
4249
|
+
pilots: z23.number(),
|
|
4250
|
+
systems_controlled: z23.number(),
|
|
4251
|
+
kills: z23.looseObject({
|
|
4252
|
+
yesterday: z23.number(),
|
|
4253
|
+
last_week: z23.number(),
|
|
4254
|
+
total: z23.number()
|
|
4111
4255
|
}),
|
|
4112
|
-
victory_points:
|
|
4113
|
-
yesterday:
|
|
4114
|
-
last_week:
|
|
4115
|
-
total:
|
|
4256
|
+
victory_points: z23.looseObject({
|
|
4257
|
+
yesterday: z23.number(),
|
|
4258
|
+
last_week: z23.number(),
|
|
4259
|
+
total: z23.number()
|
|
4116
4260
|
})
|
|
4117
4261
|
});
|
|
4118
|
-
var FactionWarfareCharacterStatsSchema =
|
|
4119
|
-
faction_id:
|
|
4120
|
-
enlisted_on:
|
|
4121
|
-
current_rank:
|
|
4122
|
-
highest_rank:
|
|
4123
|
-
kills:
|
|
4124
|
-
yesterday:
|
|
4125
|
-
last_week:
|
|
4126
|
-
total:
|
|
4262
|
+
var FactionWarfareCharacterStatsSchema = z23.looseObject({
|
|
4263
|
+
faction_id: z23.number().optional(),
|
|
4264
|
+
enlisted_on: z23.string().optional(),
|
|
4265
|
+
current_rank: z23.number().optional(),
|
|
4266
|
+
highest_rank: z23.number().optional(),
|
|
4267
|
+
kills: z23.looseObject({
|
|
4268
|
+
yesterday: z23.number(),
|
|
4269
|
+
last_week: z23.number(),
|
|
4270
|
+
total: z23.number()
|
|
4127
4271
|
}),
|
|
4128
|
-
victory_points:
|
|
4129
|
-
yesterday:
|
|
4130
|
-
last_week:
|
|
4131
|
-
total:
|
|
4272
|
+
victory_points: z23.looseObject({
|
|
4273
|
+
yesterday: z23.number(),
|
|
4274
|
+
last_week: z23.number(),
|
|
4275
|
+
total: z23.number()
|
|
4132
4276
|
})
|
|
4133
4277
|
});
|
|
4134
|
-
var FactionWarfareSystemSchema =
|
|
4135
|
-
solar_system_id:
|
|
4136
|
-
owner_faction_id:
|
|
4137
|
-
occupier_faction_id:
|
|
4138
|
-
contested:
|
|
4139
|
-
victory_points:
|
|
4140
|
-
victory_points_threshold:
|
|
4141
|
-
});
|
|
4142
|
-
var FactionWarfareWarSchema =
|
|
4143
|
-
faction_id:
|
|
4144
|
-
against_id:
|
|
4145
|
-
});
|
|
4146
|
-
var FactionWarfareLeaderboardSchema =
|
|
4147
|
-
kills:
|
|
4148
|
-
yesterday:
|
|
4149
|
-
|
|
4150
|
-
amount:
|
|
4151
|
-
id:
|
|
4278
|
+
var FactionWarfareSystemSchema = z23.looseObject({
|
|
4279
|
+
solar_system_id: z23.number(),
|
|
4280
|
+
owner_faction_id: z23.number(),
|
|
4281
|
+
occupier_faction_id: z23.number(),
|
|
4282
|
+
contested: esiEnum(["captured", "contested", "uncontested", "vulnerable"]),
|
|
4283
|
+
victory_points: z23.number(),
|
|
4284
|
+
victory_points_threshold: z23.number()
|
|
4285
|
+
});
|
|
4286
|
+
var FactionWarfareWarSchema = z23.looseObject({
|
|
4287
|
+
faction_id: z23.number(),
|
|
4288
|
+
against_id: z23.number()
|
|
4289
|
+
});
|
|
4290
|
+
var FactionWarfareLeaderboardSchema = z23.looseObject({
|
|
4291
|
+
kills: z23.looseObject({
|
|
4292
|
+
yesterday: z23.array(
|
|
4293
|
+
z23.looseObject({
|
|
4294
|
+
amount: z23.number(),
|
|
4295
|
+
id: z23.number().optional()
|
|
4152
4296
|
})
|
|
4153
4297
|
),
|
|
4154
|
-
last_week:
|
|
4155
|
-
|
|
4156
|
-
amount:
|
|
4157
|
-
id:
|
|
4298
|
+
last_week: z23.array(
|
|
4299
|
+
z23.looseObject({
|
|
4300
|
+
amount: z23.number(),
|
|
4301
|
+
id: z23.number().optional()
|
|
4158
4302
|
})
|
|
4159
4303
|
),
|
|
4160
|
-
active_total:
|
|
4161
|
-
|
|
4162
|
-
amount:
|
|
4163
|
-
id:
|
|
4304
|
+
active_total: z23.array(
|
|
4305
|
+
z23.looseObject({
|
|
4306
|
+
amount: z23.number(),
|
|
4307
|
+
id: z23.number().optional()
|
|
4164
4308
|
})
|
|
4165
4309
|
)
|
|
4166
4310
|
}),
|
|
4167
|
-
victory_points:
|
|
4168
|
-
yesterday:
|
|
4169
|
-
|
|
4170
|
-
amount:
|
|
4171
|
-
id:
|
|
4311
|
+
victory_points: z23.looseObject({
|
|
4312
|
+
yesterday: z23.array(
|
|
4313
|
+
z23.looseObject({
|
|
4314
|
+
amount: z23.number(),
|
|
4315
|
+
id: z23.number().optional()
|
|
4172
4316
|
})
|
|
4173
4317
|
),
|
|
4174
|
-
last_week:
|
|
4175
|
-
|
|
4176
|
-
amount:
|
|
4177
|
-
id:
|
|
4318
|
+
last_week: z23.array(
|
|
4319
|
+
z23.looseObject({
|
|
4320
|
+
amount: z23.number(),
|
|
4321
|
+
id: z23.number().optional()
|
|
4178
4322
|
})
|
|
4179
4323
|
),
|
|
4180
|
-
active_total:
|
|
4181
|
-
|
|
4182
|
-
amount:
|
|
4183
|
-
id:
|
|
4324
|
+
active_total: z23.array(
|
|
4325
|
+
z23.looseObject({
|
|
4326
|
+
amount: z23.number(),
|
|
4327
|
+
id: z23.number().optional()
|
|
4184
4328
|
})
|
|
4185
4329
|
)
|
|
4186
4330
|
})
|
|
4187
4331
|
});
|
|
4188
|
-
var FactionWarfareCorporationStatsSchema =
|
|
4189
|
-
faction_id:
|
|
4190
|
-
enlisted_on:
|
|
4191
|
-
pilots:
|
|
4192
|
-
kills:
|
|
4193
|
-
yesterday:
|
|
4194
|
-
last_week:
|
|
4195
|
-
total:
|
|
4332
|
+
var FactionWarfareCorporationStatsSchema = z23.looseObject({
|
|
4333
|
+
faction_id: z23.number().optional(),
|
|
4334
|
+
enlisted_on: z23.string().optional(),
|
|
4335
|
+
pilots: z23.number().optional(),
|
|
4336
|
+
kills: z23.looseObject({
|
|
4337
|
+
yesterday: z23.number(),
|
|
4338
|
+
last_week: z23.number(),
|
|
4339
|
+
total: z23.number()
|
|
4196
4340
|
}),
|
|
4197
|
-
victory_points:
|
|
4198
|
-
yesterday:
|
|
4199
|
-
last_week:
|
|
4200
|
-
total:
|
|
4341
|
+
victory_points: z23.looseObject({
|
|
4342
|
+
yesterday: z23.number(),
|
|
4343
|
+
last_week: z23.number(),
|
|
4344
|
+
total: z23.number()
|
|
4201
4345
|
})
|
|
4202
4346
|
});
|
|
4203
4347
|
|
|
@@ -4239,19 +4383,19 @@ var factionEndpoints = {
|
|
|
4239
4383
|
path: "fw/stats",
|
|
4240
4384
|
method: "GET",
|
|
4241
4385
|
requiresAuth: false,
|
|
4242
|
-
responseSchema:
|
|
4386
|
+
responseSchema: z24.array(FactionWarfareStatsSchema)
|
|
4243
4387
|
},
|
|
4244
4388
|
getSystems: {
|
|
4245
4389
|
path: "fw/systems",
|
|
4246
4390
|
method: "GET",
|
|
4247
4391
|
requiresAuth: false,
|
|
4248
|
-
responseSchema:
|
|
4392
|
+
responseSchema: z24.array(FactionWarfareSystemSchema)
|
|
4249
4393
|
},
|
|
4250
4394
|
getWars: {
|
|
4251
4395
|
path: "fw/wars",
|
|
4252
4396
|
method: "GET",
|
|
4253
4397
|
requiresAuth: false,
|
|
4254
|
-
responseSchema:
|
|
4398
|
+
responseSchema: z24.array(FactionWarfareWarSchema)
|
|
4255
4399
|
}
|
|
4256
4400
|
};
|
|
4257
4401
|
|
|
@@ -4335,20 +4479,20 @@ var FactionClient = class extends BaseEsiClient {
|
|
|
4335
4479
|
};
|
|
4336
4480
|
|
|
4337
4481
|
// src/core/endpoints/fittingEndpoints.ts
|
|
4338
|
-
import { z as
|
|
4482
|
+
import { z as z26 } from "zod";
|
|
4339
4483
|
|
|
4340
4484
|
// src/schemas/fittings.ts
|
|
4341
|
-
import { z as
|
|
4342
|
-
var FittingSchema =
|
|
4343
|
-
fitting_id:
|
|
4344
|
-
name:
|
|
4345
|
-
description:
|
|
4346
|
-
ship_type_id:
|
|
4347
|
-
items:
|
|
4348
|
-
|
|
4349
|
-
type_id:
|
|
4350
|
-
flag:
|
|
4351
|
-
quantity:
|
|
4485
|
+
import { z as z25 } from "zod";
|
|
4486
|
+
var FittingSchema = z25.looseObject({
|
|
4487
|
+
fitting_id: z25.number(),
|
|
4488
|
+
name: z25.string(),
|
|
4489
|
+
description: z25.string(),
|
|
4490
|
+
ship_type_id: z25.number(),
|
|
4491
|
+
items: z25.array(
|
|
4492
|
+
z25.looseObject({
|
|
4493
|
+
type_id: z25.number(),
|
|
4494
|
+
flag: z25.union([z25.number(), z25.string()]),
|
|
4495
|
+
quantity: z25.number()
|
|
4352
4496
|
})
|
|
4353
4497
|
)
|
|
4354
4498
|
});
|
|
@@ -4360,7 +4504,7 @@ var fittingEndpoints = {
|
|
|
4360
4504
|
method: "GET",
|
|
4361
4505
|
requiresAuth: true,
|
|
4362
4506
|
pathParams: ["characterId"],
|
|
4363
|
-
responseSchema:
|
|
4507
|
+
responseSchema: z26.array(FittingSchema)
|
|
4364
4508
|
},
|
|
4365
4509
|
createFitting: {
|
|
4366
4510
|
path: "characters/{characterId}/fittings",
|
|
@@ -4419,56 +4563,56 @@ var FittingsClient = class extends BaseEsiClient {
|
|
|
4419
4563
|
};
|
|
4420
4564
|
|
|
4421
4565
|
// src/core/endpoints/fleetEndpoints.ts
|
|
4422
|
-
import { z as
|
|
4566
|
+
import { z as z28 } from "zod";
|
|
4423
4567
|
|
|
4424
4568
|
// src/schemas/fleet.ts
|
|
4425
|
-
import { z as
|
|
4426
|
-
var FleetInfoSchema =
|
|
4427
|
-
fleet_id:
|
|
4428
|
-
fleet_boss_id:
|
|
4429
|
-
is_free_move:
|
|
4430
|
-
is_registered:
|
|
4431
|
-
is_voice_enabled:
|
|
4432
|
-
motd:
|
|
4433
|
-
});
|
|
4434
|
-
var FleetMemberSchema =
|
|
4435
|
-
character_id:
|
|
4436
|
-
ship_type_id:
|
|
4437
|
-
wing_id:
|
|
4438
|
-
squad_id:
|
|
4439
|
-
role:
|
|
4569
|
+
import { z as z27 } from "zod";
|
|
4570
|
+
var FleetInfoSchema = z27.looseObject({
|
|
4571
|
+
fleet_id: z27.number().optional(),
|
|
4572
|
+
fleet_boss_id: z27.number().optional(),
|
|
4573
|
+
is_free_move: z27.boolean(),
|
|
4574
|
+
is_registered: z27.boolean(),
|
|
4575
|
+
is_voice_enabled: z27.boolean(),
|
|
4576
|
+
motd: z27.string()
|
|
4577
|
+
});
|
|
4578
|
+
var FleetMemberSchema = z27.looseObject({
|
|
4579
|
+
character_id: z27.number(),
|
|
4580
|
+
ship_type_id: z27.number(),
|
|
4581
|
+
wing_id: z27.number(),
|
|
4582
|
+
squad_id: z27.number(),
|
|
4583
|
+
role: esiEnum([
|
|
4440
4584
|
"fleet_commander",
|
|
4441
4585
|
"wing_commander",
|
|
4442
4586
|
"squad_commander",
|
|
4443
4587
|
"squad_member"
|
|
4444
4588
|
]),
|
|
4445
|
-
role_name:
|
|
4446
|
-
join_time:
|
|
4447
|
-
takes_fleet_warp:
|
|
4448
|
-
solar_system_id:
|
|
4449
|
-
station_id:
|
|
4450
|
-
});
|
|
4451
|
-
var FleetWingSchema =
|
|
4452
|
-
id:
|
|
4453
|
-
name:
|
|
4454
|
-
squads:
|
|
4455
|
-
|
|
4456
|
-
id:
|
|
4457
|
-
name:
|
|
4589
|
+
role_name: z27.string(),
|
|
4590
|
+
join_time: z27.string(),
|
|
4591
|
+
takes_fleet_warp: z27.boolean(),
|
|
4592
|
+
solar_system_id: z27.number(),
|
|
4593
|
+
station_id: z27.number().optional()
|
|
4594
|
+
});
|
|
4595
|
+
var FleetWingSchema = z27.looseObject({
|
|
4596
|
+
id: z27.number(),
|
|
4597
|
+
name: z27.string(),
|
|
4598
|
+
squads: z27.array(
|
|
4599
|
+
z27.looseObject({
|
|
4600
|
+
id: z27.number(),
|
|
4601
|
+
name: z27.string()
|
|
4458
4602
|
})
|
|
4459
4603
|
)
|
|
4460
4604
|
});
|
|
4461
|
-
var CharacterFleetInfoSchema =
|
|
4462
|
-
fleet_id:
|
|
4463
|
-
fleet_boss_id:
|
|
4464
|
-
role:
|
|
4605
|
+
var CharacterFleetInfoSchema = z27.looseObject({
|
|
4606
|
+
fleet_id: z27.number(),
|
|
4607
|
+
fleet_boss_id: z27.number().optional(),
|
|
4608
|
+
role: esiEnum([
|
|
4465
4609
|
"fleet_commander",
|
|
4466
4610
|
"wing_commander",
|
|
4467
4611
|
"squad_commander",
|
|
4468
4612
|
"squad_member"
|
|
4469
4613
|
]),
|
|
4470
|
-
squad_id:
|
|
4471
|
-
wing_id:
|
|
4614
|
+
squad_id: z27.number(),
|
|
4615
|
+
wing_id: z27.number()
|
|
4472
4616
|
});
|
|
4473
4617
|
|
|
4474
4618
|
// src/core/endpoints/fleetEndpoints.ts
|
|
@@ -4493,9 +4637,9 @@ var fleetEndpoints = {
|
|
|
4493
4637
|
requiresAuth: true,
|
|
4494
4638
|
pathParams: ["fleetId"],
|
|
4495
4639
|
hasBody: true,
|
|
4496
|
-
requestSchema:
|
|
4497
|
-
is_free_move:
|
|
4498
|
-
motd:
|
|
4640
|
+
requestSchema: z28.looseObject({
|
|
4641
|
+
is_free_move: z28.boolean().optional(),
|
|
4642
|
+
motd: z28.string().optional()
|
|
4499
4643
|
})
|
|
4500
4644
|
},
|
|
4501
4645
|
getFleetMembers: {
|
|
@@ -4503,7 +4647,7 @@ var fleetEndpoints = {
|
|
|
4503
4647
|
method: "GET",
|
|
4504
4648
|
requiresAuth: true,
|
|
4505
4649
|
pathParams: ["fleetId"],
|
|
4506
|
-
responseSchema:
|
|
4650
|
+
responseSchema: z28.array(FleetMemberSchema)
|
|
4507
4651
|
},
|
|
4508
4652
|
createFleetInvitation: {
|
|
4509
4653
|
path: "fleets/{fleetId}/members/",
|
|
@@ -4543,7 +4687,7 @@ var fleetEndpoints = {
|
|
|
4543
4687
|
method: "GET",
|
|
4544
4688
|
requiresAuth: true,
|
|
4545
4689
|
pathParams: ["fleetId"],
|
|
4546
|
-
responseSchema:
|
|
4690
|
+
responseSchema: z28.array(FleetWingSchema)
|
|
4547
4691
|
},
|
|
4548
4692
|
createFleetWing: {
|
|
4549
4693
|
path: "fleets/{fleetId}/wings/",
|
|
@@ -4746,19 +4890,19 @@ var FleetClient = class extends BaseEsiClient {
|
|
|
4746
4890
|
};
|
|
4747
4891
|
|
|
4748
4892
|
// src/core/endpoints/incursionEndpoints.ts
|
|
4749
|
-
import { z as
|
|
4893
|
+
import { z as z30 } from "zod";
|
|
4750
4894
|
|
|
4751
4895
|
// src/schemas/incursions.ts
|
|
4752
|
-
import { z as
|
|
4753
|
-
var IncursionSchema =
|
|
4754
|
-
type:
|
|
4755
|
-
state:
|
|
4756
|
-
staging_solar_system_id:
|
|
4757
|
-
constellation_id:
|
|
4758
|
-
infested_solar_systems:
|
|
4759
|
-
has_boss:
|
|
4760
|
-
faction_id:
|
|
4761
|
-
influence:
|
|
4896
|
+
import { z as z29 } from "zod";
|
|
4897
|
+
var IncursionSchema = z29.looseObject({
|
|
4898
|
+
type: z29.string(),
|
|
4899
|
+
state: esiEnum(["withdrawing", "mobilizing", "established"]),
|
|
4900
|
+
staging_solar_system_id: z29.number(),
|
|
4901
|
+
constellation_id: z29.number(),
|
|
4902
|
+
infested_solar_systems: z29.array(z29.number()),
|
|
4903
|
+
has_boss: z29.boolean(),
|
|
4904
|
+
faction_id: z29.number(),
|
|
4905
|
+
influence: z29.number()
|
|
4762
4906
|
});
|
|
4763
4907
|
|
|
4764
4908
|
// src/core/endpoints/incursionEndpoints.ts
|
|
@@ -4767,7 +4911,7 @@ var incursionEndpoints = {
|
|
|
4767
4911
|
path: "incursions",
|
|
4768
4912
|
method: "GET",
|
|
4769
4913
|
requiresAuth: false,
|
|
4770
|
-
responseSchema:
|
|
4914
|
+
responseSchema: z30.array(IncursionSchema)
|
|
4771
4915
|
}
|
|
4772
4916
|
};
|
|
4773
4917
|
|
|
@@ -4787,26 +4931,26 @@ var IncursionsClient = class extends BaseEsiClient {
|
|
|
4787
4931
|
};
|
|
4788
4932
|
|
|
4789
4933
|
// src/core/endpoints/industryEndpoints.ts
|
|
4790
|
-
import { z as
|
|
4934
|
+
import { z as z32 } from "zod";
|
|
4791
4935
|
|
|
4792
4936
|
// src/schemas/industry.ts
|
|
4793
|
-
import { z as
|
|
4794
|
-
var IndustryJobSchema =
|
|
4795
|
-
job_id:
|
|
4796
|
-
installer_id:
|
|
4797
|
-
facility_id:
|
|
4798
|
-
station_id:
|
|
4799
|
-
activity_id:
|
|
4800
|
-
blueprint_id:
|
|
4801
|
-
blueprint_type_id:
|
|
4802
|
-
blueprint_location_id:
|
|
4803
|
-
output_location_id:
|
|
4804
|
-
runs:
|
|
4805
|
-
cost:
|
|
4806
|
-
licensed_runs:
|
|
4807
|
-
probability:
|
|
4808
|
-
product_type_id:
|
|
4809
|
-
status:
|
|
4937
|
+
import { z as z31 } from "zod";
|
|
4938
|
+
var IndustryJobSchema = z31.looseObject({
|
|
4939
|
+
job_id: z31.number(),
|
|
4940
|
+
installer_id: z31.number(),
|
|
4941
|
+
facility_id: z31.number(),
|
|
4942
|
+
station_id: z31.number(),
|
|
4943
|
+
activity_id: z31.number(),
|
|
4944
|
+
blueprint_id: z31.number(),
|
|
4945
|
+
blueprint_type_id: z31.number(),
|
|
4946
|
+
blueprint_location_id: z31.number(),
|
|
4947
|
+
output_location_id: z31.number(),
|
|
4948
|
+
runs: z31.number(),
|
|
4949
|
+
cost: z31.number().optional(),
|
|
4950
|
+
licensed_runs: z31.number().optional(),
|
|
4951
|
+
probability: z31.number().optional(),
|
|
4952
|
+
product_type_id: z31.number().optional(),
|
|
4953
|
+
status: esiEnum([
|
|
4810
4954
|
"active",
|
|
4811
4955
|
"cancelled",
|
|
4812
4956
|
"delivered",
|
|
@@ -4814,55 +4958,55 @@ var IndustryJobSchema = z28.looseObject({
|
|
|
4814
4958
|
"ready",
|
|
4815
4959
|
"reverted"
|
|
4816
4960
|
]),
|
|
4817
|
-
duration:
|
|
4818
|
-
start_date:
|
|
4819
|
-
end_date:
|
|
4820
|
-
pause_date:
|
|
4821
|
-
completed_date:
|
|
4822
|
-
completed_character_id:
|
|
4823
|
-
successful_runs:
|
|
4824
|
-
});
|
|
4825
|
-
var MiningLedgerEntrySchema =
|
|
4826
|
-
date:
|
|
4827
|
-
solar_system_id:
|
|
4828
|
-
type_id:
|
|
4829
|
-
quantity:
|
|
4830
|
-
});
|
|
4831
|
-
var IndustryFacilitySchema =
|
|
4832
|
-
facility_id:
|
|
4833
|
-
owner_id:
|
|
4834
|
-
region_id:
|
|
4835
|
-
solar_system_id:
|
|
4836
|
-
tax:
|
|
4837
|
-
type_id:
|
|
4838
|
-
});
|
|
4839
|
-
var IndustrySystemSchema =
|
|
4840
|
-
solar_system_id:
|
|
4841
|
-
cost_indices:
|
|
4842
|
-
|
|
4843
|
-
activity:
|
|
4844
|
-
cost_index:
|
|
4961
|
+
duration: z31.number(),
|
|
4962
|
+
start_date: z31.string(),
|
|
4963
|
+
end_date: z31.string(),
|
|
4964
|
+
pause_date: z31.string().optional(),
|
|
4965
|
+
completed_date: z31.string().optional(),
|
|
4966
|
+
completed_character_id: z31.number().optional(),
|
|
4967
|
+
successful_runs: z31.number().optional()
|
|
4968
|
+
});
|
|
4969
|
+
var MiningLedgerEntrySchema = z31.looseObject({
|
|
4970
|
+
date: z31.string(),
|
|
4971
|
+
solar_system_id: z31.number(),
|
|
4972
|
+
type_id: z31.number(),
|
|
4973
|
+
quantity: z31.number()
|
|
4974
|
+
});
|
|
4975
|
+
var IndustryFacilitySchema = z31.looseObject({
|
|
4976
|
+
facility_id: z31.number(),
|
|
4977
|
+
owner_id: z31.number(),
|
|
4978
|
+
region_id: z31.number(),
|
|
4979
|
+
solar_system_id: z31.number(),
|
|
4980
|
+
tax: z31.number().optional(),
|
|
4981
|
+
type_id: z31.number()
|
|
4982
|
+
});
|
|
4983
|
+
var IndustrySystemSchema = z31.looseObject({
|
|
4984
|
+
solar_system_id: z31.number(),
|
|
4985
|
+
cost_indices: z31.array(
|
|
4986
|
+
z31.looseObject({
|
|
4987
|
+
activity: z31.string(),
|
|
4988
|
+
cost_index: z31.number()
|
|
4845
4989
|
})
|
|
4846
4990
|
)
|
|
4847
4991
|
});
|
|
4848
|
-
var MoonExtractionTimerSchema =
|
|
4849
|
-
structure_id:
|
|
4850
|
-
moon_id:
|
|
4851
|
-
extraction_start_time:
|
|
4852
|
-
chunk_arrival_time:
|
|
4853
|
-
natural_decay_time:
|
|
4992
|
+
var MoonExtractionTimerSchema = z31.looseObject({
|
|
4993
|
+
structure_id: z31.number(),
|
|
4994
|
+
moon_id: z31.number(),
|
|
4995
|
+
extraction_start_time: z31.string(),
|
|
4996
|
+
chunk_arrival_time: z31.string(),
|
|
4997
|
+
natural_decay_time: z31.string()
|
|
4854
4998
|
});
|
|
4855
|
-
var MiningObserverSchema =
|
|
4856
|
-
observer_id:
|
|
4857
|
-
observer_type:
|
|
4858
|
-
last_updated:
|
|
4999
|
+
var MiningObserverSchema = z31.looseObject({
|
|
5000
|
+
observer_id: z31.number(),
|
|
5001
|
+
observer_type: z31.string(),
|
|
5002
|
+
last_updated: z31.string()
|
|
4859
5003
|
});
|
|
4860
|
-
var MiningObserverEntrySchema =
|
|
4861
|
-
character_id:
|
|
4862
|
-
recorded_corporation_id:
|
|
4863
|
-
type_id:
|
|
4864
|
-
quantity:
|
|
4865
|
-
last_updated:
|
|
5004
|
+
var MiningObserverEntrySchema = z31.looseObject({
|
|
5005
|
+
character_id: z31.number(),
|
|
5006
|
+
recorded_corporation_id: z31.number(),
|
|
5007
|
+
type_id: z31.number(),
|
|
5008
|
+
quantity: z31.number(),
|
|
5009
|
+
last_updated: z31.string()
|
|
4866
5010
|
});
|
|
4867
5011
|
|
|
4868
5012
|
// src/core/endpoints/industryEndpoints.ts
|
|
@@ -4872,54 +5016,54 @@ var industryEndpoints = {
|
|
|
4872
5016
|
method: "GET",
|
|
4873
5017
|
requiresAuth: true,
|
|
4874
5018
|
pathParams: ["characterId"],
|
|
4875
|
-
responseSchema:
|
|
5019
|
+
responseSchema: z32.array(IndustryJobSchema)
|
|
4876
5020
|
},
|
|
4877
5021
|
getCharacterMiningLedger: {
|
|
4878
5022
|
path: "characters/{characterId}/mining",
|
|
4879
5023
|
method: "GET",
|
|
4880
5024
|
requiresAuth: true,
|
|
4881
5025
|
pathParams: ["characterId"],
|
|
4882
|
-
responseSchema:
|
|
5026
|
+
responseSchema: z32.array(MiningLedgerEntrySchema)
|
|
4883
5027
|
},
|
|
4884
5028
|
getCorporationIndustryJobs: {
|
|
4885
5029
|
path: "corporations/{corporationId}/industry/jobs",
|
|
4886
5030
|
method: "GET",
|
|
4887
5031
|
requiresAuth: true,
|
|
4888
5032
|
pathParams: ["corporationId"],
|
|
4889
|
-
responseSchema:
|
|
5033
|
+
responseSchema: z32.array(IndustryJobSchema)
|
|
4890
5034
|
},
|
|
4891
5035
|
getMoonExtractionTimers: {
|
|
4892
|
-
path: "
|
|
5036
|
+
path: "corporation/{corporationId}/mining/extractions",
|
|
4893
5037
|
method: "GET",
|
|
4894
5038
|
requiresAuth: true,
|
|
4895
5039
|
pathParams: ["corporationId"],
|
|
4896
|
-
responseSchema:
|
|
5040
|
+
responseSchema: z32.array(MoonExtractionTimerSchema)
|
|
4897
5041
|
},
|
|
4898
5042
|
getCorporationMiningObservers: {
|
|
4899
|
-
path: "
|
|
5043
|
+
path: "corporation/{corporationId}/mining/observers",
|
|
4900
5044
|
method: "GET",
|
|
4901
5045
|
requiresAuth: true,
|
|
4902
5046
|
pathParams: ["corporationId"],
|
|
4903
|
-
responseSchema:
|
|
5047
|
+
responseSchema: z32.array(MiningObserverSchema)
|
|
4904
5048
|
},
|
|
4905
5049
|
getCorporationMiningObserver: {
|
|
4906
|
-
path: "
|
|
5050
|
+
path: "corporation/{corporationId}/mining/observers/{observerId}",
|
|
4907
5051
|
method: "GET",
|
|
4908
5052
|
requiresAuth: true,
|
|
4909
5053
|
pathParams: ["corporationId", "observerId"],
|
|
4910
|
-
responseSchema:
|
|
5054
|
+
responseSchema: z32.array(MiningObserverEntrySchema)
|
|
4911
5055
|
},
|
|
4912
5056
|
getIndustryFacilities: {
|
|
4913
5057
|
path: "industry/facilities",
|
|
4914
5058
|
method: "GET",
|
|
4915
5059
|
requiresAuth: false,
|
|
4916
|
-
responseSchema:
|
|
5060
|
+
responseSchema: z32.array(IndustryFacilitySchema)
|
|
4917
5061
|
},
|
|
4918
5062
|
getIndustrySystems: {
|
|
4919
5063
|
path: "industry/systems",
|
|
4920
5064
|
method: "GET",
|
|
4921
5065
|
requiresAuth: false,
|
|
4922
|
-
responseSchema:
|
|
5066
|
+
responseSchema: z32.array(IndustrySystemSchema)
|
|
4923
5067
|
}
|
|
4924
5068
|
};
|
|
4925
5069
|
|
|
@@ -5051,17 +5195,17 @@ var IndustryClient = class extends BaseEsiClient {
|
|
|
5051
5195
|
};
|
|
5052
5196
|
|
|
5053
5197
|
// src/core/endpoints/insuranceEndpoints.ts
|
|
5054
|
-
import { z as
|
|
5198
|
+
import { z as z34 } from "zod";
|
|
5055
5199
|
|
|
5056
5200
|
// src/schemas/insurance.ts
|
|
5057
|
-
import { z as
|
|
5058
|
-
var InsurancePriceSchema =
|
|
5059
|
-
type_id:
|
|
5060
|
-
levels:
|
|
5061
|
-
|
|
5062
|
-
cost:
|
|
5063
|
-
payout:
|
|
5064
|
-
name:
|
|
5201
|
+
import { z as z33 } from "zod";
|
|
5202
|
+
var InsurancePriceSchema = z33.looseObject({
|
|
5203
|
+
type_id: z33.number(),
|
|
5204
|
+
levels: z33.array(
|
|
5205
|
+
z33.looseObject({
|
|
5206
|
+
cost: z33.number(),
|
|
5207
|
+
payout: z33.number(),
|
|
5208
|
+
name: z33.string()
|
|
5065
5209
|
})
|
|
5066
5210
|
)
|
|
5067
5211
|
});
|
|
@@ -5072,7 +5216,7 @@ var insuranceEndpoints = {
|
|
|
5072
5216
|
path: "insurance/prices",
|
|
5073
5217
|
method: "GET",
|
|
5074
5218
|
requiresAuth: false,
|
|
5075
|
-
responseSchema:
|
|
5219
|
+
responseSchema: z34.array(InsurancePriceSchema)
|
|
5076
5220
|
}
|
|
5077
5221
|
};
|
|
5078
5222
|
|
|
@@ -5092,45 +5236,45 @@ var InsuranceClient = class extends BaseEsiClient {
|
|
|
5092
5236
|
};
|
|
5093
5237
|
|
|
5094
5238
|
// src/core/endpoints/killmailEndpoints.ts
|
|
5095
|
-
import { z as
|
|
5239
|
+
import { z as z36 } from "zod";
|
|
5096
5240
|
|
|
5097
5241
|
// src/schemas/killmails.ts
|
|
5098
|
-
import { z as
|
|
5099
|
-
var KillmailSummarySchema =
|
|
5100
|
-
killmail_id:
|
|
5101
|
-
killmail_hash:
|
|
5102
|
-
});
|
|
5103
|
-
var KillmailSchema =
|
|
5104
|
-
killmail_id:
|
|
5105
|
-
killmail_time:
|
|
5106
|
-
solar_system_id:
|
|
5107
|
-
moon_id:
|
|
5108
|
-
war_id:
|
|
5109
|
-
victim:
|
|
5110
|
-
character_id:
|
|
5111
|
-
corporation_id:
|
|
5112
|
-
alliance_id:
|
|
5113
|
-
faction_id:
|
|
5114
|
-
ship_type_id:
|
|
5115
|
-
damage_taken:
|
|
5116
|
-
position:
|
|
5117
|
-
x:
|
|
5118
|
-
y:
|
|
5119
|
-
z:
|
|
5242
|
+
import { z as z35 } from "zod";
|
|
5243
|
+
var KillmailSummarySchema = z35.looseObject({
|
|
5244
|
+
killmail_id: z35.number(),
|
|
5245
|
+
killmail_hash: z35.string()
|
|
5246
|
+
});
|
|
5247
|
+
var KillmailSchema = z35.looseObject({
|
|
5248
|
+
killmail_id: z35.number(),
|
|
5249
|
+
killmail_time: z35.string(),
|
|
5250
|
+
solar_system_id: z35.number(),
|
|
5251
|
+
moon_id: z35.number().optional(),
|
|
5252
|
+
war_id: z35.number().optional(),
|
|
5253
|
+
victim: z35.looseObject({
|
|
5254
|
+
character_id: z35.number().optional(),
|
|
5255
|
+
corporation_id: z35.number().optional(),
|
|
5256
|
+
alliance_id: z35.number().optional(),
|
|
5257
|
+
faction_id: z35.number().optional(),
|
|
5258
|
+
ship_type_id: z35.number(),
|
|
5259
|
+
damage_taken: z35.number(),
|
|
5260
|
+
position: z35.looseObject({
|
|
5261
|
+
x: z35.number(),
|
|
5262
|
+
y: z35.number(),
|
|
5263
|
+
z: z35.number()
|
|
5120
5264
|
}).optional(),
|
|
5121
|
-
items:
|
|
5265
|
+
items: z35.array(z35.unknown()).optional()
|
|
5122
5266
|
}),
|
|
5123
|
-
attackers:
|
|
5124
|
-
|
|
5125
|
-
character_id:
|
|
5126
|
-
corporation_id:
|
|
5127
|
-
alliance_id:
|
|
5128
|
-
faction_id:
|
|
5129
|
-
ship_type_id:
|
|
5130
|
-
weapon_type_id:
|
|
5131
|
-
damage_done:
|
|
5132
|
-
final_blow:
|
|
5133
|
-
security_status:
|
|
5267
|
+
attackers: z35.array(
|
|
5268
|
+
z35.looseObject({
|
|
5269
|
+
character_id: z35.number().optional(),
|
|
5270
|
+
corporation_id: z35.number().optional(),
|
|
5271
|
+
alliance_id: z35.number().optional(),
|
|
5272
|
+
faction_id: z35.number().optional(),
|
|
5273
|
+
ship_type_id: z35.number().optional(),
|
|
5274
|
+
weapon_type_id: z35.number().optional(),
|
|
5275
|
+
damage_done: z35.number(),
|
|
5276
|
+
final_blow: z35.boolean(),
|
|
5277
|
+
security_status: z35.number()
|
|
5134
5278
|
})
|
|
5135
5279
|
)
|
|
5136
5280
|
});
|
|
@@ -5142,14 +5286,14 @@ var killmailEndpoints = {
|
|
|
5142
5286
|
method: "GET",
|
|
5143
5287
|
requiresAuth: true,
|
|
5144
5288
|
pathParams: ["characterId"],
|
|
5145
|
-
responseSchema:
|
|
5289
|
+
responseSchema: z36.array(KillmailSummarySchema)
|
|
5146
5290
|
},
|
|
5147
5291
|
getCorporationRecentKillmails: {
|
|
5148
5292
|
path: "corporations/{corporationId}/killmails/recent",
|
|
5149
5293
|
method: "GET",
|
|
5150
5294
|
requiresAuth: true,
|
|
5151
5295
|
pathParams: ["corporationId"],
|
|
5152
|
-
responseSchema:
|
|
5296
|
+
responseSchema: z36.array(KillmailSummarySchema)
|
|
5153
5297
|
},
|
|
5154
5298
|
getKillmail: {
|
|
5155
5299
|
path: "killmails/{killmailId}/{killmailHash}",
|
|
@@ -5210,22 +5354,22 @@ var KillmailsClient = class extends BaseEsiClient {
|
|
|
5210
5354
|
};
|
|
5211
5355
|
|
|
5212
5356
|
// src/schemas/location.ts
|
|
5213
|
-
import { z as
|
|
5214
|
-
var CharacterLocationSchema =
|
|
5215
|
-
solar_system_id:
|
|
5216
|
-
station_id:
|
|
5217
|
-
structure_id:
|
|
5357
|
+
import { z as z37 } from "zod";
|
|
5358
|
+
var CharacterLocationSchema = z37.looseObject({
|
|
5359
|
+
solar_system_id: z37.number(),
|
|
5360
|
+
station_id: z37.number().optional(),
|
|
5361
|
+
structure_id: z37.number().optional()
|
|
5218
5362
|
});
|
|
5219
|
-
var CharacterOnlineSchema =
|
|
5220
|
-
online:
|
|
5221
|
-
last_login:
|
|
5222
|
-
last_logout:
|
|
5223
|
-
logins:
|
|
5363
|
+
var CharacterOnlineSchema = z37.looseObject({
|
|
5364
|
+
online: z37.boolean(),
|
|
5365
|
+
last_login: z37.string().optional(),
|
|
5366
|
+
last_logout: z37.string().optional(),
|
|
5367
|
+
logins: z37.number().optional()
|
|
5224
5368
|
});
|
|
5225
|
-
var CharacterShipSchema =
|
|
5226
|
-
ship_item_id:
|
|
5227
|
-
ship_name:
|
|
5228
|
-
ship_type_id:
|
|
5369
|
+
var CharacterShipSchema = z37.looseObject({
|
|
5370
|
+
ship_item_id: z37.number(),
|
|
5371
|
+
ship_name: z37.string(),
|
|
5372
|
+
ship_type_id: z37.number()
|
|
5229
5373
|
});
|
|
5230
5374
|
|
|
5231
5375
|
// src/core/endpoints/locationEndpoints.ts
|
|
@@ -5293,25 +5437,25 @@ var LocationClient = class extends BaseEsiClient {
|
|
|
5293
5437
|
};
|
|
5294
5438
|
|
|
5295
5439
|
// src/core/endpoints/loyaltyEndpoints.ts
|
|
5296
|
-
import { z as
|
|
5440
|
+
import { z as z39 } from "zod";
|
|
5297
5441
|
|
|
5298
5442
|
// src/schemas/loyalty.ts
|
|
5299
|
-
import { z as
|
|
5300
|
-
var LoyaltyPointsSchema =
|
|
5301
|
-
corporation_id:
|
|
5302
|
-
loyalty_points:
|
|
5303
|
-
});
|
|
5304
|
-
var LoyaltyStoreOfferSchema =
|
|
5305
|
-
offer_id:
|
|
5306
|
-
type_id:
|
|
5307
|
-
quantity:
|
|
5308
|
-
lp_cost:
|
|
5309
|
-
isk_cost:
|
|
5310
|
-
ak_cost:
|
|
5311
|
-
required_items:
|
|
5312
|
-
|
|
5313
|
-
type_id:
|
|
5314
|
-
quantity:
|
|
5443
|
+
import { z as z38 } from "zod";
|
|
5444
|
+
var LoyaltyPointsSchema = z38.looseObject({
|
|
5445
|
+
corporation_id: z38.number(),
|
|
5446
|
+
loyalty_points: z38.number()
|
|
5447
|
+
});
|
|
5448
|
+
var LoyaltyStoreOfferSchema = z38.looseObject({
|
|
5449
|
+
offer_id: z38.number(),
|
|
5450
|
+
type_id: z38.number(),
|
|
5451
|
+
quantity: z38.number(),
|
|
5452
|
+
lp_cost: z38.number(),
|
|
5453
|
+
isk_cost: z38.number(),
|
|
5454
|
+
ak_cost: z38.number().optional(),
|
|
5455
|
+
required_items: z38.array(
|
|
5456
|
+
z38.looseObject({
|
|
5457
|
+
type_id: z38.number(),
|
|
5458
|
+
quantity: z38.number()
|
|
5315
5459
|
})
|
|
5316
5460
|
)
|
|
5317
5461
|
});
|
|
@@ -5323,14 +5467,14 @@ var loyaltyEndpoints = {
|
|
|
5323
5467
|
method: "GET",
|
|
5324
5468
|
requiresAuth: true,
|
|
5325
5469
|
pathParams: ["characterId"],
|
|
5326
|
-
responseSchema:
|
|
5470
|
+
responseSchema: z39.array(LoyaltyPointsSchema)
|
|
5327
5471
|
},
|
|
5328
5472
|
getLoyaltyStoreOffers: {
|
|
5329
5473
|
path: "loyalty/stores/{corporationId}/offers",
|
|
5330
5474
|
method: "GET",
|
|
5331
5475
|
requiresAuth: false,
|
|
5332
5476
|
pathParams: ["corporationId"],
|
|
5333
|
-
responseSchema:
|
|
5477
|
+
responseSchema: z39.array(LoyaltyStoreOfferSchema)
|
|
5334
5478
|
}
|
|
5335
5479
|
};
|
|
5336
5480
|
|
|
@@ -5370,22 +5514,22 @@ var LoyaltyClient = class extends BaseEsiClient {
|
|
|
5370
5514
|
};
|
|
5371
5515
|
|
|
5372
5516
|
// src/core/endpoints/mailEndpoints.ts
|
|
5373
|
-
import { z as
|
|
5517
|
+
import { z as z41 } from "zod";
|
|
5374
5518
|
|
|
5375
5519
|
// src/schemas/mail.ts
|
|
5376
|
-
import { z as
|
|
5377
|
-
var MailMessageSchema =
|
|
5378
|
-
mail_id:
|
|
5379
|
-
subject:
|
|
5380
|
-
from:
|
|
5381
|
-
timestamp:
|
|
5382
|
-
labels:
|
|
5383
|
-
is_read:
|
|
5384
|
-
body:
|
|
5385
|
-
recipients:
|
|
5386
|
-
|
|
5387
|
-
recipient_id:
|
|
5388
|
-
recipient_type:
|
|
5520
|
+
import { z as z40 } from "zod";
|
|
5521
|
+
var MailMessageSchema = z40.looseObject({
|
|
5522
|
+
mail_id: z40.number().optional(),
|
|
5523
|
+
subject: z40.string().optional(),
|
|
5524
|
+
from: z40.number().optional(),
|
|
5525
|
+
timestamp: z40.string().optional(),
|
|
5526
|
+
labels: z40.array(z40.number()).optional(),
|
|
5527
|
+
is_read: z40.boolean().optional(),
|
|
5528
|
+
body: z40.string().optional(),
|
|
5529
|
+
recipients: z40.array(
|
|
5530
|
+
z40.looseObject({
|
|
5531
|
+
recipient_id: z40.number(),
|
|
5532
|
+
recipient_type: esiEnum([
|
|
5389
5533
|
"alliance",
|
|
5390
5534
|
"character",
|
|
5391
5535
|
"corporation",
|
|
@@ -5394,19 +5538,19 @@ var MailMessageSchema = z37.looseObject({
|
|
|
5394
5538
|
})
|
|
5395
5539
|
).optional()
|
|
5396
5540
|
});
|
|
5397
|
-
var MailLabelSchema =
|
|
5398
|
-
label_id:
|
|
5399
|
-
name:
|
|
5400
|
-
color:
|
|
5401
|
-
unread_count:
|
|
5541
|
+
var MailLabelSchema = z40.looseObject({
|
|
5542
|
+
label_id: z40.number(),
|
|
5543
|
+
name: z40.string(),
|
|
5544
|
+
color: z40.string().optional(),
|
|
5545
|
+
unread_count: z40.number().optional()
|
|
5402
5546
|
});
|
|
5403
|
-
var MailLabelsResponseSchema =
|
|
5404
|
-
labels:
|
|
5405
|
-
total_unread_count:
|
|
5547
|
+
var MailLabelsResponseSchema = z40.looseObject({
|
|
5548
|
+
labels: z40.array(MailLabelSchema).optional(),
|
|
5549
|
+
total_unread_count: z40.number().optional()
|
|
5406
5550
|
});
|
|
5407
|
-
var MailingListSchema =
|
|
5408
|
-
mailing_list_id:
|
|
5409
|
-
name:
|
|
5551
|
+
var MailingListSchema = z40.looseObject({
|
|
5552
|
+
mailing_list_id: z40.number(),
|
|
5553
|
+
name: z40.string()
|
|
5410
5554
|
});
|
|
5411
5555
|
|
|
5412
5556
|
// src/core/endpoints/mailEndpoints.ts
|
|
@@ -5416,7 +5560,7 @@ var mailEndpoints = {
|
|
|
5416
5560
|
method: "GET",
|
|
5417
5561
|
requiresAuth: true,
|
|
5418
5562
|
pathParams: ["characterId"],
|
|
5419
|
-
responseSchema:
|
|
5563
|
+
responseSchema: z41.array(MailMessageSchema)
|
|
5420
5564
|
},
|
|
5421
5565
|
sendMail: {
|
|
5422
5566
|
path: "characters/{characterId}/mail/",
|
|
@@ -5424,11 +5568,11 @@ var mailEndpoints = {
|
|
|
5424
5568
|
requiresAuth: true,
|
|
5425
5569
|
pathParams: ["characterId"],
|
|
5426
5570
|
hasBody: true,
|
|
5427
|
-
requestSchema:
|
|
5428
|
-
recipients:
|
|
5429
|
-
|
|
5430
|
-
recipient_id:
|
|
5431
|
-
recipient_type:
|
|
5571
|
+
requestSchema: z41.looseObject({
|
|
5572
|
+
recipients: z41.array(
|
|
5573
|
+
z41.looseObject({
|
|
5574
|
+
recipient_id: z41.number().int(),
|
|
5575
|
+
recipient_type: z41.enum([
|
|
5432
5576
|
"alliance",
|
|
5433
5577
|
"character",
|
|
5434
5578
|
"corporation",
|
|
@@ -5436,8 +5580,8 @@ var mailEndpoints = {
|
|
|
5436
5580
|
])
|
|
5437
5581
|
})
|
|
5438
5582
|
),
|
|
5439
|
-
subject:
|
|
5440
|
-
body:
|
|
5583
|
+
subject: z41.string().min(1),
|
|
5584
|
+
body: z41.string().min(1)
|
|
5441
5585
|
})
|
|
5442
5586
|
},
|
|
5443
5587
|
getMail: {
|
|
@@ -5485,7 +5629,7 @@ var mailEndpoints = {
|
|
|
5485
5629
|
method: "GET",
|
|
5486
5630
|
requiresAuth: true,
|
|
5487
5631
|
pathParams: ["characterId"],
|
|
5488
|
-
responseSchema:
|
|
5632
|
+
responseSchema: z41.array(MailingListSchema)
|
|
5489
5633
|
}
|
|
5490
5634
|
};
|
|
5491
5635
|
|
|
@@ -5610,124 +5754,124 @@ var MailClient = class extends BaseEsiClient {
|
|
|
5610
5754
|
};
|
|
5611
5755
|
|
|
5612
5756
|
// src/core/endpoints/marketEndpoints.ts
|
|
5613
|
-
import { z as
|
|
5757
|
+
import { z as z43 } from "zod";
|
|
5614
5758
|
|
|
5615
5759
|
// src/schemas/market.ts
|
|
5616
|
-
import { z as
|
|
5617
|
-
var MarketOrderSchema =
|
|
5618
|
-
order_id:
|
|
5619
|
-
type_id:
|
|
5620
|
-
location_id:
|
|
5621
|
-
volume_total:
|
|
5622
|
-
volume_remain:
|
|
5623
|
-
min_volume:
|
|
5624
|
-
price:
|
|
5625
|
-
is_buy_order:
|
|
5626
|
-
system_id:
|
|
5627
|
-
duration:
|
|
5628
|
-
issued:
|
|
5629
|
-
range:
|
|
5630
|
-
});
|
|
5631
|
-
var CharacterMarketOrderSchema =
|
|
5632
|
-
order_id:
|
|
5633
|
-
type_id:
|
|
5634
|
-
location_id:
|
|
5635
|
-
volume_total:
|
|
5636
|
-
volume_remain:
|
|
5637
|
-
min_volume:
|
|
5638
|
-
price:
|
|
5639
|
-
is_buy_order:
|
|
5640
|
-
is_corporation:
|
|
5641
|
-
region_id:
|
|
5642
|
-
duration:
|
|
5643
|
-
issued:
|
|
5644
|
-
range:
|
|
5645
|
-
escrow:
|
|
5646
|
-
});
|
|
5647
|
-
var CharacterMarketOrderHistorySchema =
|
|
5648
|
-
order_id:
|
|
5649
|
-
type_id:
|
|
5650
|
-
location_id:
|
|
5651
|
-
volume_total:
|
|
5652
|
-
volume_remain:
|
|
5653
|
-
min_volume:
|
|
5654
|
-
price:
|
|
5655
|
-
is_buy_order:
|
|
5656
|
-
is_corporation:
|
|
5657
|
-
region_id:
|
|
5658
|
-
duration:
|
|
5659
|
-
issued:
|
|
5660
|
-
range:
|
|
5661
|
-
state:
|
|
5662
|
-
escrow:
|
|
5663
|
-
});
|
|
5664
|
-
var CorporationMarketOrderSchema =
|
|
5665
|
-
order_id:
|
|
5666
|
-
type_id:
|
|
5667
|
-
location_id:
|
|
5668
|
-
volume_total:
|
|
5669
|
-
volume_remain:
|
|
5670
|
-
min_volume:
|
|
5671
|
-
price:
|
|
5672
|
-
is_buy_order:
|
|
5673
|
-
issued_by:
|
|
5674
|
-
region_id:
|
|
5675
|
-
wallet_division:
|
|
5676
|
-
duration:
|
|
5677
|
-
issued:
|
|
5678
|
-
range:
|
|
5679
|
-
escrow:
|
|
5680
|
-
});
|
|
5681
|
-
var CorporationMarketOrderHistorySchema =
|
|
5682
|
-
order_id:
|
|
5683
|
-
type_id:
|
|
5684
|
-
location_id:
|
|
5685
|
-
volume_total:
|
|
5686
|
-
volume_remain:
|
|
5687
|
-
min_volume:
|
|
5688
|
-
price:
|
|
5689
|
-
is_buy_order:
|
|
5690
|
-
issued_by:
|
|
5691
|
-
region_id:
|
|
5692
|
-
wallet_division:
|
|
5693
|
-
duration:
|
|
5694
|
-
issued:
|
|
5695
|
-
range:
|
|
5696
|
-
state:
|
|
5697
|
-
escrow:
|
|
5698
|
-
});
|
|
5699
|
-
var StructureMarketOrderSchema =
|
|
5700
|
-
order_id:
|
|
5701
|
-
type_id:
|
|
5702
|
-
location_id:
|
|
5703
|
-
volume_total:
|
|
5704
|
-
volume_remain:
|
|
5705
|
-
min_volume:
|
|
5706
|
-
price:
|
|
5707
|
-
is_buy_order:
|
|
5708
|
-
duration:
|
|
5709
|
-
issued:
|
|
5710
|
-
range:
|
|
5711
|
-
});
|
|
5712
|
-
var MarketHistorySchema =
|
|
5713
|
-
date:
|
|
5714
|
-
order_count:
|
|
5715
|
-
volume:
|
|
5716
|
-
highest:
|
|
5717
|
-
average:
|
|
5718
|
-
lowest:
|
|
5719
|
-
});
|
|
5720
|
-
var MarketGroupSchema =
|
|
5721
|
-
market_group_id:
|
|
5722
|
-
name:
|
|
5723
|
-
description:
|
|
5724
|
-
types:
|
|
5725
|
-
parent_group_id:
|
|
5726
|
-
});
|
|
5727
|
-
var MarketPriceSchema =
|
|
5728
|
-
type_id:
|
|
5729
|
-
average_price:
|
|
5730
|
-
adjusted_price:
|
|
5760
|
+
import { z as z42 } from "zod";
|
|
5761
|
+
var MarketOrderSchema = z42.looseObject({
|
|
5762
|
+
order_id: z42.number(),
|
|
5763
|
+
type_id: z42.number(),
|
|
5764
|
+
location_id: z42.number(),
|
|
5765
|
+
volume_total: z42.number(),
|
|
5766
|
+
volume_remain: z42.number(),
|
|
5767
|
+
min_volume: z42.number(),
|
|
5768
|
+
price: z42.number(),
|
|
5769
|
+
is_buy_order: z42.boolean(),
|
|
5770
|
+
system_id: z42.number(),
|
|
5771
|
+
duration: z42.number(),
|
|
5772
|
+
issued: z42.string(),
|
|
5773
|
+
range: z42.string()
|
|
5774
|
+
});
|
|
5775
|
+
var CharacterMarketOrderSchema = z42.looseObject({
|
|
5776
|
+
order_id: z42.number(),
|
|
5777
|
+
type_id: z42.number(),
|
|
5778
|
+
location_id: z42.number(),
|
|
5779
|
+
volume_total: z42.number(),
|
|
5780
|
+
volume_remain: z42.number(),
|
|
5781
|
+
min_volume: z42.number().optional(),
|
|
5782
|
+
price: z42.number(),
|
|
5783
|
+
is_buy_order: z42.boolean().optional(),
|
|
5784
|
+
is_corporation: z42.boolean(),
|
|
5785
|
+
region_id: z42.number(),
|
|
5786
|
+
duration: z42.number(),
|
|
5787
|
+
issued: z42.string(),
|
|
5788
|
+
range: z42.string(),
|
|
5789
|
+
escrow: z42.number().optional()
|
|
5790
|
+
});
|
|
5791
|
+
var CharacterMarketOrderHistorySchema = z42.looseObject({
|
|
5792
|
+
order_id: z42.number(),
|
|
5793
|
+
type_id: z42.number(),
|
|
5794
|
+
location_id: z42.number(),
|
|
5795
|
+
volume_total: z42.number(),
|
|
5796
|
+
volume_remain: z42.number(),
|
|
5797
|
+
min_volume: z42.number().optional(),
|
|
5798
|
+
price: z42.number(),
|
|
5799
|
+
is_buy_order: z42.boolean().optional(),
|
|
5800
|
+
is_corporation: z42.boolean(),
|
|
5801
|
+
region_id: z42.number(),
|
|
5802
|
+
duration: z42.number(),
|
|
5803
|
+
issued: z42.string(),
|
|
5804
|
+
range: z42.string(),
|
|
5805
|
+
state: esiEnum(["cancelled", "expired"]),
|
|
5806
|
+
escrow: z42.number().optional()
|
|
5807
|
+
});
|
|
5808
|
+
var CorporationMarketOrderSchema = z42.looseObject({
|
|
5809
|
+
order_id: z42.number(),
|
|
5810
|
+
type_id: z42.number(),
|
|
5811
|
+
location_id: z42.number(),
|
|
5812
|
+
volume_total: z42.number(),
|
|
5813
|
+
volume_remain: z42.number(),
|
|
5814
|
+
min_volume: z42.number().optional(),
|
|
5815
|
+
price: z42.number(),
|
|
5816
|
+
is_buy_order: z42.boolean().optional(),
|
|
5817
|
+
issued_by: z42.number(),
|
|
5818
|
+
region_id: z42.number(),
|
|
5819
|
+
wallet_division: z42.number(),
|
|
5820
|
+
duration: z42.number(),
|
|
5821
|
+
issued: z42.string(),
|
|
5822
|
+
range: z42.string(),
|
|
5823
|
+
escrow: z42.number().optional()
|
|
5824
|
+
});
|
|
5825
|
+
var CorporationMarketOrderHistorySchema = z42.looseObject({
|
|
5826
|
+
order_id: z42.number(),
|
|
5827
|
+
type_id: z42.number(),
|
|
5828
|
+
location_id: z42.number(),
|
|
5829
|
+
volume_total: z42.number(),
|
|
5830
|
+
volume_remain: z42.number(),
|
|
5831
|
+
min_volume: z42.number().optional(),
|
|
5832
|
+
price: z42.number(),
|
|
5833
|
+
is_buy_order: z42.boolean().optional(),
|
|
5834
|
+
issued_by: z42.number().optional(),
|
|
5835
|
+
region_id: z42.number(),
|
|
5836
|
+
wallet_division: z42.number(),
|
|
5837
|
+
duration: z42.number(),
|
|
5838
|
+
issued: z42.string(),
|
|
5839
|
+
range: z42.string(),
|
|
5840
|
+
state: esiEnum(["cancelled", "expired"]),
|
|
5841
|
+
escrow: z42.number().optional()
|
|
5842
|
+
});
|
|
5843
|
+
var StructureMarketOrderSchema = z42.looseObject({
|
|
5844
|
+
order_id: z42.number(),
|
|
5845
|
+
type_id: z42.number(),
|
|
5846
|
+
location_id: z42.number(),
|
|
5847
|
+
volume_total: z42.number(),
|
|
5848
|
+
volume_remain: z42.number(),
|
|
5849
|
+
min_volume: z42.number(),
|
|
5850
|
+
price: z42.number(),
|
|
5851
|
+
is_buy_order: z42.boolean(),
|
|
5852
|
+
duration: z42.number(),
|
|
5853
|
+
issued: z42.string(),
|
|
5854
|
+
range: z42.string()
|
|
5855
|
+
});
|
|
5856
|
+
var MarketHistorySchema = z42.looseObject({
|
|
5857
|
+
date: z42.string(),
|
|
5858
|
+
order_count: z42.number(),
|
|
5859
|
+
volume: z42.number(),
|
|
5860
|
+
highest: z42.number(),
|
|
5861
|
+
average: z42.number(),
|
|
5862
|
+
lowest: z42.number()
|
|
5863
|
+
});
|
|
5864
|
+
var MarketGroupSchema = z42.looseObject({
|
|
5865
|
+
market_group_id: z42.number(),
|
|
5866
|
+
name: z42.string(),
|
|
5867
|
+
description: z42.string(),
|
|
5868
|
+
types: z42.array(z42.number()),
|
|
5869
|
+
parent_group_id: z42.number().optional()
|
|
5870
|
+
});
|
|
5871
|
+
var MarketPriceSchema = z42.looseObject({
|
|
5872
|
+
type_id: z42.number(),
|
|
5873
|
+
average_price: z42.number().optional(),
|
|
5874
|
+
adjusted_price: z42.number().optional()
|
|
5731
5875
|
});
|
|
5732
5876
|
|
|
5733
5877
|
// src/core/endpoints/marketEndpoints.ts
|
|
@@ -5737,34 +5881,34 @@ var marketEndpoints = {
|
|
|
5737
5881
|
method: "GET",
|
|
5738
5882
|
requiresAuth: true,
|
|
5739
5883
|
pathParams: ["characterId"],
|
|
5740
|
-
responseSchema:
|
|
5884
|
+
responseSchema: z43.array(CharacterMarketOrderSchema)
|
|
5741
5885
|
},
|
|
5742
5886
|
getCharacterOrderHistory: {
|
|
5743
5887
|
path: "characters/{characterId}/orders/history/",
|
|
5744
5888
|
method: "GET",
|
|
5745
5889
|
requiresAuth: true,
|
|
5746
5890
|
pathParams: ["characterId"],
|
|
5747
|
-
responseSchema:
|
|
5891
|
+
responseSchema: z43.array(CharacterMarketOrderHistorySchema)
|
|
5748
5892
|
},
|
|
5749
5893
|
getCorporationOrders: {
|
|
5750
5894
|
path: "corporations/{corporationId}/orders/",
|
|
5751
5895
|
method: "GET",
|
|
5752
5896
|
requiresAuth: true,
|
|
5753
5897
|
pathParams: ["corporationId"],
|
|
5754
|
-
responseSchema:
|
|
5898
|
+
responseSchema: z43.array(CorporationMarketOrderSchema)
|
|
5755
5899
|
},
|
|
5756
5900
|
getCorporationOrderHistory: {
|
|
5757
5901
|
path: "corporations/{corporationId}/orders/history/",
|
|
5758
5902
|
method: "GET",
|
|
5759
5903
|
requiresAuth: true,
|
|
5760
5904
|
pathParams: ["corporationId"],
|
|
5761
|
-
responseSchema:
|
|
5905
|
+
responseSchema: z43.array(CorporationMarketOrderHistorySchema)
|
|
5762
5906
|
},
|
|
5763
5907
|
getMarketGroups: {
|
|
5764
5908
|
path: "markets/groups/",
|
|
5765
5909
|
method: "GET",
|
|
5766
5910
|
requiresAuth: false,
|
|
5767
|
-
responseSchema:
|
|
5911
|
+
responseSchema: z43.array(z43.number())
|
|
5768
5912
|
},
|
|
5769
5913
|
getMarketGroupInformation: {
|
|
5770
5914
|
path: "markets/groups/{marketGroupId}/",
|
|
@@ -5777,14 +5921,14 @@ var marketEndpoints = {
|
|
|
5777
5921
|
path: "markets/prices/",
|
|
5778
5922
|
method: "GET",
|
|
5779
5923
|
requiresAuth: false,
|
|
5780
|
-
responseSchema:
|
|
5924
|
+
responseSchema: z43.array(MarketPriceSchema)
|
|
5781
5925
|
},
|
|
5782
5926
|
getMarketOrdersInStructure: {
|
|
5783
5927
|
path: "markets/structures/{structureId}/",
|
|
5784
5928
|
method: "GET",
|
|
5785
5929
|
requiresAuth: true,
|
|
5786
5930
|
pathParams: ["structureId"],
|
|
5787
|
-
responseSchema:
|
|
5931
|
+
responseSchema: z43.array(StructureMarketOrderSchema)
|
|
5788
5932
|
},
|
|
5789
5933
|
getMarketHistory: {
|
|
5790
5934
|
path: "markets/{regionId}/history/",
|
|
@@ -5792,7 +5936,7 @@ var marketEndpoints = {
|
|
|
5792
5936
|
requiresAuth: false,
|
|
5793
5937
|
pathParams: ["regionId"],
|
|
5794
5938
|
queryParams: { typeId: "type_id" },
|
|
5795
|
-
responseSchema:
|
|
5939
|
+
responseSchema: z43.array(MarketHistorySchema)
|
|
5796
5940
|
},
|
|
5797
5941
|
getMarketOrders: {
|
|
5798
5942
|
path: "markets/{regionId}/orders/",
|
|
@@ -5800,14 +5944,14 @@ var marketEndpoints = {
|
|
|
5800
5944
|
requiresAuth: false,
|
|
5801
5945
|
pathParams: ["regionId"],
|
|
5802
5946
|
queryParams: { orderType: "order_type" },
|
|
5803
|
-
responseSchema:
|
|
5947
|
+
responseSchema: z43.array(MarketOrderSchema)
|
|
5804
5948
|
},
|
|
5805
5949
|
getMarketTypes: {
|
|
5806
5950
|
path: "markets/{regionId}/types/",
|
|
5807
5951
|
method: "GET",
|
|
5808
5952
|
requiresAuth: false,
|
|
5809
5953
|
pathParams: ["regionId"],
|
|
5810
|
-
responseSchema:
|
|
5954
|
+
responseSchema: z43.array(z43.number())
|
|
5811
5955
|
}
|
|
5812
5956
|
};
|
|
5813
5957
|
|
|
@@ -5952,14 +6096,14 @@ var MarketClient = class extends BaseEsiClient {
|
|
|
5952
6096
|
};
|
|
5953
6097
|
|
|
5954
6098
|
// src/core/endpoints/piEndpoints.ts
|
|
5955
|
-
import { z as
|
|
6099
|
+
import { z as z46 } from "zod";
|
|
5956
6100
|
|
|
5957
6101
|
// src/schemas/pi.ts
|
|
5958
|
-
import { z as
|
|
5959
|
-
var PlanetaryColonySchema =
|
|
5960
|
-
solar_system_id:
|
|
5961
|
-
planet_id:
|
|
5962
|
-
planet_type:
|
|
6102
|
+
import { z as z44 } from "zod";
|
|
6103
|
+
var PlanetaryColonySchema = z44.looseObject({
|
|
6104
|
+
solar_system_id: z44.number(),
|
|
6105
|
+
planet_id: z44.number(),
|
|
6106
|
+
planet_type: esiEnum([
|
|
5963
6107
|
"temperate",
|
|
5964
6108
|
"barren",
|
|
5965
6109
|
"oceanic",
|
|
@@ -5969,302 +6113,302 @@ var PlanetaryColonySchema = z41.looseObject({
|
|
|
5969
6113
|
"storm",
|
|
5970
6114
|
"plasma"
|
|
5971
6115
|
]),
|
|
5972
|
-
owner_id:
|
|
5973
|
-
last_update:
|
|
5974
|
-
upgrade_level:
|
|
5975
|
-
num_pins:
|
|
5976
|
-
});
|
|
5977
|
-
var CustomsOfficeSchema =
|
|
5978
|
-
office_id:
|
|
5979
|
-
system_id:
|
|
5980
|
-
reinforce_exit_start:
|
|
5981
|
-
reinforce_exit_end:
|
|
5982
|
-
allow_access_with_standings:
|
|
5983
|
-
allow_alliance_access:
|
|
5984
|
-
alliance_tax_rate:
|
|
5985
|
-
corporation_tax_rate:
|
|
5986
|
-
standing_level:
|
|
5987
|
-
terrible_standing_tax_rate:
|
|
5988
|
-
bad_standing_tax_rate:
|
|
5989
|
-
neutral_standing_tax_rate:
|
|
5990
|
-
good_standing_tax_rate:
|
|
5991
|
-
excellent_standing_tax_rate:
|
|
5992
|
-
type_id:
|
|
5993
|
-
});
|
|
5994
|
-
var ColonyLayoutSchema =
|
|
5995
|
-
links:
|
|
5996
|
-
|
|
5997
|
-
source_pin_id:
|
|
5998
|
-
destination_pin_id:
|
|
5999
|
-
link_level:
|
|
6116
|
+
owner_id: z44.number(),
|
|
6117
|
+
last_update: z44.string(),
|
|
6118
|
+
upgrade_level: z44.number(),
|
|
6119
|
+
num_pins: z44.number()
|
|
6120
|
+
});
|
|
6121
|
+
var CustomsOfficeSchema = z44.looseObject({
|
|
6122
|
+
office_id: z44.number(),
|
|
6123
|
+
system_id: z44.number(),
|
|
6124
|
+
reinforce_exit_start: z44.number(),
|
|
6125
|
+
reinforce_exit_end: z44.number(),
|
|
6126
|
+
allow_access_with_standings: z44.boolean().optional(),
|
|
6127
|
+
allow_alliance_access: z44.boolean().optional(),
|
|
6128
|
+
alliance_tax_rate: z44.number().optional(),
|
|
6129
|
+
corporation_tax_rate: z44.number().optional(),
|
|
6130
|
+
standing_level: z44.string().optional(),
|
|
6131
|
+
terrible_standing_tax_rate: z44.number().optional(),
|
|
6132
|
+
bad_standing_tax_rate: z44.number().optional(),
|
|
6133
|
+
neutral_standing_tax_rate: z44.number().optional(),
|
|
6134
|
+
good_standing_tax_rate: z44.number().optional(),
|
|
6135
|
+
excellent_standing_tax_rate: z44.number().optional(),
|
|
6136
|
+
type_id: z44.number().optional()
|
|
6137
|
+
});
|
|
6138
|
+
var ColonyLayoutSchema = z44.looseObject({
|
|
6139
|
+
links: z44.array(
|
|
6140
|
+
z44.looseObject({
|
|
6141
|
+
source_pin_id: z44.number(),
|
|
6142
|
+
destination_pin_id: z44.number(),
|
|
6143
|
+
link_level: z44.number()
|
|
6000
6144
|
})
|
|
6001
6145
|
),
|
|
6002
|
-
pins:
|
|
6003
|
-
|
|
6004
|
-
pin_id:
|
|
6005
|
-
type_id:
|
|
6006
|
-
latitude:
|
|
6007
|
-
longitude:
|
|
6008
|
-
schematic_id:
|
|
6009
|
-
extractor_details:
|
|
6010
|
-
heads:
|
|
6011
|
-
|
|
6012
|
-
head_id:
|
|
6013
|
-
latitude:
|
|
6014
|
-
longitude:
|
|
6146
|
+
pins: z44.array(
|
|
6147
|
+
z44.looseObject({
|
|
6148
|
+
pin_id: z44.number(),
|
|
6149
|
+
type_id: z44.number(),
|
|
6150
|
+
latitude: z44.number(),
|
|
6151
|
+
longitude: z44.number(),
|
|
6152
|
+
schematic_id: z44.number().optional(),
|
|
6153
|
+
extractor_details: z44.looseObject({
|
|
6154
|
+
heads: z44.array(
|
|
6155
|
+
z44.looseObject({
|
|
6156
|
+
head_id: z44.number(),
|
|
6157
|
+
latitude: z44.number(),
|
|
6158
|
+
longitude: z44.number()
|
|
6015
6159
|
})
|
|
6016
6160
|
),
|
|
6017
|
-
product_type_id:
|
|
6018
|
-
cycle_time:
|
|
6019
|
-
head_radius:
|
|
6020
|
-
qty_per_cycle:
|
|
6161
|
+
product_type_id: z44.number().optional(),
|
|
6162
|
+
cycle_time: z44.number().optional(),
|
|
6163
|
+
head_radius: z44.number().optional(),
|
|
6164
|
+
qty_per_cycle: z44.number().optional()
|
|
6021
6165
|
}).optional(),
|
|
6022
|
-
factory_details:
|
|
6023
|
-
schematic_id:
|
|
6166
|
+
factory_details: z44.looseObject({
|
|
6167
|
+
schematic_id: z44.number()
|
|
6024
6168
|
}).optional(),
|
|
6025
|
-
contents:
|
|
6026
|
-
|
|
6027
|
-
type_id:
|
|
6028
|
-
amount:
|
|
6169
|
+
contents: z44.array(
|
|
6170
|
+
z44.looseObject({
|
|
6171
|
+
type_id: z44.number(),
|
|
6172
|
+
amount: z44.number()
|
|
6029
6173
|
})
|
|
6030
6174
|
).optional(),
|
|
6031
|
-
install_time:
|
|
6032
|
-
expiry_time:
|
|
6033
|
-
last_cycle_start:
|
|
6175
|
+
install_time: z44.string().optional(),
|
|
6176
|
+
expiry_time: z44.string().optional(),
|
|
6177
|
+
last_cycle_start: z44.string().optional()
|
|
6034
6178
|
})
|
|
6035
6179
|
),
|
|
6036
|
-
routes:
|
|
6037
|
-
|
|
6038
|
-
route_id:
|
|
6039
|
-
source_pin_id:
|
|
6040
|
-
destination_pin_id:
|
|
6041
|
-
content_type_id:
|
|
6042
|
-
quantity:
|
|
6043
|
-
waypoints:
|
|
6180
|
+
routes: z44.array(
|
|
6181
|
+
z44.looseObject({
|
|
6182
|
+
route_id: z44.number(),
|
|
6183
|
+
source_pin_id: z44.number(),
|
|
6184
|
+
destination_pin_id: z44.number(),
|
|
6185
|
+
content_type_id: z44.number(),
|
|
6186
|
+
quantity: z44.number(),
|
|
6187
|
+
waypoints: z44.array(z44.number()).optional()
|
|
6044
6188
|
})
|
|
6045
6189
|
)
|
|
6046
6190
|
});
|
|
6047
6191
|
|
|
6048
6192
|
// src/schemas/universe.ts
|
|
6049
|
-
import { z as
|
|
6050
|
-
var PositionSchema =
|
|
6051
|
-
x:
|
|
6052
|
-
y:
|
|
6053
|
-
z:
|
|
6054
|
-
});
|
|
6055
|
-
var SolarSystemInfoSchema =
|
|
6056
|
-
system_id:
|
|
6057
|
-
name:
|
|
6058
|
-
constellation_id:
|
|
6193
|
+
import { z as z45 } from "zod";
|
|
6194
|
+
var PositionSchema = z45.looseObject({
|
|
6195
|
+
x: z45.number(),
|
|
6196
|
+
y: z45.number(),
|
|
6197
|
+
z: z45.number()
|
|
6198
|
+
});
|
|
6199
|
+
var SolarSystemInfoSchema = z45.looseObject({
|
|
6200
|
+
system_id: z45.number(),
|
|
6201
|
+
name: z45.string(),
|
|
6202
|
+
constellation_id: z45.number(),
|
|
6059
6203
|
position: PositionSchema.optional(),
|
|
6060
|
-
security_class:
|
|
6061
|
-
security_status:
|
|
6062
|
-
star_id:
|
|
6063
|
-
stargates:
|
|
6064
|
-
stations:
|
|
6065
|
-
planets:
|
|
6066
|
-
|
|
6067
|
-
asteroid_belts:
|
|
6068
|
-
moons:
|
|
6069
|
-
planet_id:
|
|
6204
|
+
security_class: z45.string().optional(),
|
|
6205
|
+
security_status: z45.number(),
|
|
6206
|
+
star_id: z45.number().optional(),
|
|
6207
|
+
stargates: z45.array(z45.number()).optional(),
|
|
6208
|
+
stations: z45.array(z45.number()).optional(),
|
|
6209
|
+
planets: z45.array(
|
|
6210
|
+
z45.looseObject({
|
|
6211
|
+
asteroid_belts: z45.array(z45.number()).optional(),
|
|
6212
|
+
moons: z45.array(z45.number()).optional(),
|
|
6213
|
+
planet_id: z45.number()
|
|
6070
6214
|
})
|
|
6071
6215
|
).optional()
|
|
6072
6216
|
});
|
|
6073
|
-
var ConstellationInfoSchema =
|
|
6074
|
-
constellation_id:
|
|
6075
|
-
name:
|
|
6076
|
-
region_id:
|
|
6077
|
-
systems:
|
|
6217
|
+
var ConstellationInfoSchema = z45.looseObject({
|
|
6218
|
+
constellation_id: z45.number(),
|
|
6219
|
+
name: z45.string(),
|
|
6220
|
+
region_id: z45.number(),
|
|
6221
|
+
systems: z45.array(z45.number()),
|
|
6078
6222
|
position: PositionSchema
|
|
6079
6223
|
});
|
|
6080
|
-
var RegionInfoSchema =
|
|
6081
|
-
region_id:
|
|
6082
|
-
name:
|
|
6083
|
-
description:
|
|
6084
|
-
constellations:
|
|
6085
|
-
});
|
|
6086
|
-
var AncestrySchema =
|
|
6087
|
-
id:
|
|
6088
|
-
name:
|
|
6089
|
-
bloodline_id:
|
|
6090
|
-
description:
|
|
6091
|
-
short_description:
|
|
6092
|
-
icon_id:
|
|
6093
|
-
});
|
|
6094
|
-
var BloodlineSchema =
|
|
6095
|
-
bloodline_id:
|
|
6096
|
-
name:
|
|
6097
|
-
description:
|
|
6098
|
-
race_id:
|
|
6099
|
-
corporation_id:
|
|
6100
|
-
ship_type_id:
|
|
6101
|
-
charisma:
|
|
6102
|
-
intelligence:
|
|
6103
|
-
memory:
|
|
6104
|
-
perception:
|
|
6105
|
-
willpower:
|
|
6106
|
-
});
|
|
6107
|
-
var FactionSchema =
|
|
6108
|
-
faction_id:
|
|
6109
|
-
name:
|
|
6110
|
-
description:
|
|
6111
|
-
size_factor:
|
|
6112
|
-
station_count:
|
|
6113
|
-
station_system_count:
|
|
6114
|
-
is_unique:
|
|
6115
|
-
solar_system_id:
|
|
6116
|
-
corporation_id:
|
|
6117
|
-
militia_corporation_id:
|
|
6118
|
-
});
|
|
6119
|
-
var RaceSchema =
|
|
6120
|
-
race_id:
|
|
6121
|
-
name:
|
|
6122
|
-
description:
|
|
6123
|
-
alliance_id:
|
|
6124
|
-
});
|
|
6125
|
-
var StationInfoSchema =
|
|
6126
|
-
station_id:
|
|
6127
|
-
name:
|
|
6128
|
-
owner:
|
|
6129
|
-
system_id:
|
|
6130
|
-
type_id:
|
|
6131
|
-
race_id:
|
|
6132
|
-
reprocessing_efficiency:
|
|
6133
|
-
reprocessing_stations_take:
|
|
6134
|
-
max_dockable_ship_volume:
|
|
6135
|
-
office_rental_cost:
|
|
6136
|
-
services:
|
|
6224
|
+
var RegionInfoSchema = z45.looseObject({
|
|
6225
|
+
region_id: z45.number(),
|
|
6226
|
+
name: z45.string(),
|
|
6227
|
+
description: z45.string().optional(),
|
|
6228
|
+
constellations: z45.array(z45.number())
|
|
6229
|
+
});
|
|
6230
|
+
var AncestrySchema = z45.looseObject({
|
|
6231
|
+
id: z45.number(),
|
|
6232
|
+
name: z45.string(),
|
|
6233
|
+
bloodline_id: z45.number(),
|
|
6234
|
+
description: z45.string(),
|
|
6235
|
+
short_description: z45.string().optional(),
|
|
6236
|
+
icon_id: z45.number().optional()
|
|
6237
|
+
});
|
|
6238
|
+
var BloodlineSchema = z45.looseObject({
|
|
6239
|
+
bloodline_id: z45.number(),
|
|
6240
|
+
name: z45.string(),
|
|
6241
|
+
description: z45.string(),
|
|
6242
|
+
race_id: z45.number(),
|
|
6243
|
+
corporation_id: z45.number(),
|
|
6244
|
+
ship_type_id: z45.number().nullable(),
|
|
6245
|
+
charisma: z45.number(),
|
|
6246
|
+
intelligence: z45.number(),
|
|
6247
|
+
memory: z45.number(),
|
|
6248
|
+
perception: z45.number(),
|
|
6249
|
+
willpower: z45.number()
|
|
6250
|
+
});
|
|
6251
|
+
var FactionSchema = z45.looseObject({
|
|
6252
|
+
faction_id: z45.number(),
|
|
6253
|
+
name: z45.string(),
|
|
6254
|
+
description: z45.string(),
|
|
6255
|
+
size_factor: z45.number(),
|
|
6256
|
+
station_count: z45.number(),
|
|
6257
|
+
station_system_count: z45.number(),
|
|
6258
|
+
is_unique: z45.boolean(),
|
|
6259
|
+
solar_system_id: z45.number().optional(),
|
|
6260
|
+
corporation_id: z45.number().optional(),
|
|
6261
|
+
militia_corporation_id: z45.number().optional()
|
|
6262
|
+
});
|
|
6263
|
+
var RaceSchema = z45.looseObject({
|
|
6264
|
+
race_id: z45.number(),
|
|
6265
|
+
name: z45.string(),
|
|
6266
|
+
description: z45.string(),
|
|
6267
|
+
alliance_id: z45.number()
|
|
6268
|
+
});
|
|
6269
|
+
var StationInfoSchema = z45.looseObject({
|
|
6270
|
+
station_id: z45.number(),
|
|
6271
|
+
name: z45.string(),
|
|
6272
|
+
owner: z45.number().optional(),
|
|
6273
|
+
system_id: z45.number(),
|
|
6274
|
+
type_id: z45.number(),
|
|
6275
|
+
race_id: z45.number().optional(),
|
|
6276
|
+
reprocessing_efficiency: z45.number(),
|
|
6277
|
+
reprocessing_stations_take: z45.number(),
|
|
6278
|
+
max_dockable_ship_volume: z45.number(),
|
|
6279
|
+
office_rental_cost: z45.number(),
|
|
6280
|
+
services: z45.array(z45.string()),
|
|
6137
6281
|
position: PositionSchema
|
|
6138
6282
|
});
|
|
6139
|
-
var TypeInfoSchema =
|
|
6140
|
-
type_id:
|
|
6141
|
-
name:
|
|
6142
|
-
description:
|
|
6143
|
-
published:
|
|
6144
|
-
group_id:
|
|
6145
|
-
market_group_id:
|
|
6146
|
-
radius:
|
|
6147
|
-
volume:
|
|
6148
|
-
packaged_volume:
|
|
6149
|
-
capacity:
|
|
6150
|
-
portion_size:
|
|
6151
|
-
mass:
|
|
6152
|
-
icon_id:
|
|
6153
|
-
graphic_id:
|
|
6154
|
-
dogma_attributes:
|
|
6155
|
-
|
|
6156
|
-
attribute_id:
|
|
6157
|
-
value:
|
|
6283
|
+
var TypeInfoSchema = z45.looseObject({
|
|
6284
|
+
type_id: z45.number(),
|
|
6285
|
+
name: z45.string(),
|
|
6286
|
+
description: z45.string(),
|
|
6287
|
+
published: z45.boolean(),
|
|
6288
|
+
group_id: z45.number(),
|
|
6289
|
+
market_group_id: z45.number().optional(),
|
|
6290
|
+
radius: z45.number().optional(),
|
|
6291
|
+
volume: z45.number().optional(),
|
|
6292
|
+
packaged_volume: z45.number().optional(),
|
|
6293
|
+
capacity: z45.number().optional(),
|
|
6294
|
+
portion_size: z45.number().optional(),
|
|
6295
|
+
mass: z45.number().optional(),
|
|
6296
|
+
icon_id: z45.number().optional(),
|
|
6297
|
+
graphic_id: z45.number().optional(),
|
|
6298
|
+
dogma_attributes: z45.array(
|
|
6299
|
+
z45.looseObject({
|
|
6300
|
+
attribute_id: z45.number(),
|
|
6301
|
+
value: z45.number()
|
|
6158
6302
|
})
|
|
6159
6303
|
).optional(),
|
|
6160
|
-
dogma_effects:
|
|
6161
|
-
|
|
6162
|
-
effect_id:
|
|
6163
|
-
is_default:
|
|
6304
|
+
dogma_effects: z45.array(
|
|
6305
|
+
z45.looseObject({
|
|
6306
|
+
effect_id: z45.number(),
|
|
6307
|
+
is_default: z45.boolean()
|
|
6164
6308
|
})
|
|
6165
6309
|
).optional()
|
|
6166
6310
|
});
|
|
6167
|
-
var AsteroidBeltInfoSchema =
|
|
6168
|
-
name:
|
|
6311
|
+
var AsteroidBeltInfoSchema = z45.looseObject({
|
|
6312
|
+
name: z45.string(),
|
|
6169
6313
|
position: PositionSchema,
|
|
6170
|
-
system_id:
|
|
6171
|
-
});
|
|
6172
|
-
var GraphicInfoSchema =
|
|
6173
|
-
graphic_id:
|
|
6174
|
-
collision_file:
|
|
6175
|
-
graphic_file:
|
|
6176
|
-
icon_folder:
|
|
6177
|
-
sof_dna:
|
|
6178
|
-
sof_fation_name:
|
|
6179
|
-
sof_hull_name:
|
|
6180
|
-
sof_race_name:
|
|
6181
|
-
});
|
|
6182
|
-
var ItemCategorySchema =
|
|
6183
|
-
category_id:
|
|
6184
|
-
name:
|
|
6185
|
-
groups:
|
|
6186
|
-
published:
|
|
6187
|
-
});
|
|
6188
|
-
var ItemGroupSchema =
|
|
6189
|
-
group_id:
|
|
6190
|
-
name:
|
|
6191
|
-
category_id:
|
|
6192
|
-
types:
|
|
6193
|
-
published:
|
|
6194
|
-
});
|
|
6195
|
-
var MoonInfoSchema =
|
|
6196
|
-
moon_id:
|
|
6197
|
-
name:
|
|
6198
|
-
system_id:
|
|
6314
|
+
system_id: z45.number()
|
|
6315
|
+
});
|
|
6316
|
+
var GraphicInfoSchema = z45.looseObject({
|
|
6317
|
+
graphic_id: z45.number(),
|
|
6318
|
+
collision_file: z45.string().optional(),
|
|
6319
|
+
graphic_file: z45.string().optional(),
|
|
6320
|
+
icon_folder: z45.string().optional(),
|
|
6321
|
+
sof_dna: z45.string().optional(),
|
|
6322
|
+
sof_fation_name: z45.string().optional(),
|
|
6323
|
+
sof_hull_name: z45.string().optional(),
|
|
6324
|
+
sof_race_name: z45.string().optional()
|
|
6325
|
+
});
|
|
6326
|
+
var ItemCategorySchema = z45.looseObject({
|
|
6327
|
+
category_id: z45.number(),
|
|
6328
|
+
name: z45.string(),
|
|
6329
|
+
groups: z45.array(z45.number()),
|
|
6330
|
+
published: z45.boolean()
|
|
6331
|
+
});
|
|
6332
|
+
var ItemGroupSchema = z45.looseObject({
|
|
6333
|
+
group_id: z45.number(),
|
|
6334
|
+
name: z45.string(),
|
|
6335
|
+
category_id: z45.number(),
|
|
6336
|
+
types: z45.array(z45.number()),
|
|
6337
|
+
published: z45.boolean()
|
|
6338
|
+
});
|
|
6339
|
+
var MoonInfoSchema = z45.looseObject({
|
|
6340
|
+
moon_id: z45.number(),
|
|
6341
|
+
name: z45.string(),
|
|
6342
|
+
system_id: z45.number(),
|
|
6199
6343
|
position: PositionSchema
|
|
6200
6344
|
});
|
|
6201
|
-
var PlanetInfoSchema =
|
|
6202
|
-
planet_id:
|
|
6203
|
-
name:
|
|
6204
|
-
system_id:
|
|
6205
|
-
type_id:
|
|
6345
|
+
var PlanetInfoSchema = z45.looseObject({
|
|
6346
|
+
planet_id: z45.number(),
|
|
6347
|
+
name: z45.string(),
|
|
6348
|
+
system_id: z45.number(),
|
|
6349
|
+
type_id: z45.number(),
|
|
6206
6350
|
position: PositionSchema
|
|
6207
6351
|
});
|
|
6208
|
-
var StarInfoSchema =
|
|
6209
|
-
star_id:
|
|
6210
|
-
solar_system_id:
|
|
6211
|
-
name:
|
|
6212
|
-
type_id:
|
|
6213
|
-
age:
|
|
6214
|
-
luminosity:
|
|
6215
|
-
radius:
|
|
6216
|
-
spectral_class:
|
|
6217
|
-
temperature:
|
|
6218
|
-
});
|
|
6219
|
-
var StargateInfoSchema =
|
|
6220
|
-
stargate_id:
|
|
6221
|
-
name:
|
|
6222
|
-
system_id:
|
|
6223
|
-
type_id:
|
|
6352
|
+
var StarInfoSchema = z45.looseObject({
|
|
6353
|
+
star_id: z45.number().optional(),
|
|
6354
|
+
solar_system_id: z45.number(),
|
|
6355
|
+
name: z45.string(),
|
|
6356
|
+
type_id: z45.number(),
|
|
6357
|
+
age: z45.number(),
|
|
6358
|
+
luminosity: z45.number(),
|
|
6359
|
+
radius: z45.number(),
|
|
6360
|
+
spectral_class: z45.string(),
|
|
6361
|
+
temperature: z45.number()
|
|
6362
|
+
});
|
|
6363
|
+
var StargateInfoSchema = z45.looseObject({
|
|
6364
|
+
stargate_id: z45.number(),
|
|
6365
|
+
name: z45.string(),
|
|
6366
|
+
system_id: z45.number(),
|
|
6367
|
+
type_id: z45.number(),
|
|
6224
6368
|
position: PositionSchema,
|
|
6225
|
-
destination:
|
|
6226
|
-
system_id:
|
|
6227
|
-
stargate_id:
|
|
6369
|
+
destination: z45.looseObject({
|
|
6370
|
+
system_id: z45.number(),
|
|
6371
|
+
stargate_id: z45.number()
|
|
6228
6372
|
})
|
|
6229
6373
|
});
|
|
6230
|
-
var StructureInfoSchema =
|
|
6231
|
-
structure_id:
|
|
6232
|
-
name:
|
|
6233
|
-
owner_id:
|
|
6234
|
-
solar_system_id:
|
|
6235
|
-
type_id:
|
|
6374
|
+
var StructureInfoSchema = z45.looseObject({
|
|
6375
|
+
structure_id: z45.number().optional(),
|
|
6376
|
+
name: z45.string(),
|
|
6377
|
+
owner_id: z45.number(),
|
|
6378
|
+
solar_system_id: z45.number(),
|
|
6379
|
+
type_id: z45.number().optional(),
|
|
6236
6380
|
position: PositionSchema.optional()
|
|
6237
6381
|
});
|
|
6238
|
-
var SystemJumpSchema =
|
|
6239
|
-
system_id:
|
|
6240
|
-
ship_jumps:
|
|
6241
|
-
});
|
|
6242
|
-
var SystemKillSchema =
|
|
6243
|
-
system_id:
|
|
6244
|
-
npc_kills:
|
|
6245
|
-
pod_kills:
|
|
6246
|
-
ship_kills:
|
|
6247
|
-
});
|
|
6248
|
-
var IdNameSchema =
|
|
6249
|
-
id:
|
|
6250
|
-
name:
|
|
6251
|
-
});
|
|
6252
|
-
var BulkIdResultSchema =
|
|
6253
|
-
agents:
|
|
6254
|
-
alliances:
|
|
6255
|
-
characters:
|
|
6256
|
-
constellations:
|
|
6257
|
-
corporations:
|
|
6258
|
-
factions:
|
|
6259
|
-
inventory_types:
|
|
6260
|
-
regions:
|
|
6261
|
-
systems:
|
|
6262
|
-
stations:
|
|
6263
|
-
});
|
|
6264
|
-
var NameAndCategorySchema =
|
|
6265
|
-
id:
|
|
6266
|
-
name:
|
|
6267
|
-
category:
|
|
6382
|
+
var SystemJumpSchema = z45.looseObject({
|
|
6383
|
+
system_id: z45.number(),
|
|
6384
|
+
ship_jumps: z45.number()
|
|
6385
|
+
});
|
|
6386
|
+
var SystemKillSchema = z45.looseObject({
|
|
6387
|
+
system_id: z45.number(),
|
|
6388
|
+
npc_kills: z45.number(),
|
|
6389
|
+
pod_kills: z45.number(),
|
|
6390
|
+
ship_kills: z45.number()
|
|
6391
|
+
});
|
|
6392
|
+
var IdNameSchema = z45.looseObject({
|
|
6393
|
+
id: z45.number(),
|
|
6394
|
+
name: z45.string()
|
|
6395
|
+
});
|
|
6396
|
+
var BulkIdResultSchema = z45.looseObject({
|
|
6397
|
+
agents: z45.array(IdNameSchema).optional(),
|
|
6398
|
+
alliances: z45.array(IdNameSchema).optional(),
|
|
6399
|
+
characters: z45.array(IdNameSchema).optional(),
|
|
6400
|
+
constellations: z45.array(IdNameSchema).optional(),
|
|
6401
|
+
corporations: z45.array(IdNameSchema).optional(),
|
|
6402
|
+
factions: z45.array(IdNameSchema).optional(),
|
|
6403
|
+
inventory_types: z45.array(IdNameSchema).optional(),
|
|
6404
|
+
regions: z45.array(IdNameSchema).optional(),
|
|
6405
|
+
systems: z45.array(IdNameSchema).optional(),
|
|
6406
|
+
stations: z45.array(IdNameSchema).optional()
|
|
6407
|
+
});
|
|
6408
|
+
var NameAndCategorySchema = z45.looseObject({
|
|
6409
|
+
id: z45.number(),
|
|
6410
|
+
name: z45.string(),
|
|
6411
|
+
category: esiEnum([
|
|
6268
6412
|
"alliance",
|
|
6269
6413
|
"character",
|
|
6270
6414
|
"constellation",
|
|
@@ -6276,22 +6420,22 @@ var NameAndCategorySchema = z42.looseObject({
|
|
|
6276
6420
|
"faction"
|
|
6277
6421
|
])
|
|
6278
6422
|
});
|
|
6279
|
-
var SchematicInfoSchema =
|
|
6280
|
-
schematic_name:
|
|
6281
|
-
cycle_time:
|
|
6423
|
+
var SchematicInfoSchema = z45.looseObject({
|
|
6424
|
+
schematic_name: z45.string(),
|
|
6425
|
+
cycle_time: z45.number()
|
|
6282
6426
|
});
|
|
6283
|
-
var SearchResultSchema =
|
|
6284
|
-
agent:
|
|
6285
|
-
alliance:
|
|
6286
|
-
character:
|
|
6287
|
-
constellation:
|
|
6288
|
-
corporation:
|
|
6289
|
-
faction:
|
|
6290
|
-
inventory_type:
|
|
6291
|
-
region:
|
|
6292
|
-
solar_system:
|
|
6293
|
-
station:
|
|
6294
|
-
structure:
|
|
6427
|
+
var SearchResultSchema = z45.looseObject({
|
|
6428
|
+
agent: z45.array(z45.number()).optional(),
|
|
6429
|
+
alliance: z45.array(z45.number()).optional(),
|
|
6430
|
+
character: z45.array(z45.number()).optional(),
|
|
6431
|
+
constellation: z45.array(z45.number()).optional(),
|
|
6432
|
+
corporation: z45.array(z45.number()).optional(),
|
|
6433
|
+
faction: z45.array(z45.number()).optional(),
|
|
6434
|
+
inventory_type: z45.array(z45.number()).optional(),
|
|
6435
|
+
region: z45.array(z45.number()).optional(),
|
|
6436
|
+
solar_system: z45.array(z45.number()).optional(),
|
|
6437
|
+
station: z45.array(z45.number()).optional(),
|
|
6438
|
+
structure: z45.array(z45.number()).optional()
|
|
6295
6439
|
});
|
|
6296
6440
|
|
|
6297
6441
|
// src/core/endpoints/piEndpoints.ts
|
|
@@ -6301,7 +6445,7 @@ var piEndpoints = {
|
|
|
6301
6445
|
method: "GET",
|
|
6302
6446
|
requiresAuth: true,
|
|
6303
6447
|
pathParams: ["characterId"],
|
|
6304
|
-
responseSchema:
|
|
6448
|
+
responseSchema: z46.array(PlanetaryColonySchema)
|
|
6305
6449
|
},
|
|
6306
6450
|
getColonyLayout: {
|
|
6307
6451
|
path: "characters/{characterId}/planets/{planetId}",
|
|
@@ -6315,7 +6459,7 @@ var piEndpoints = {
|
|
|
6315
6459
|
method: "GET",
|
|
6316
6460
|
requiresAuth: true,
|
|
6317
6461
|
pathParams: ["corporationId"],
|
|
6318
|
-
responseSchema:
|
|
6462
|
+
responseSchema: z46.array(CustomsOfficeSchema)
|
|
6319
6463
|
},
|
|
6320
6464
|
getSchematicInformation: {
|
|
6321
6465
|
path: "universe/schematics/{schematicId}",
|
|
@@ -6383,7 +6527,7 @@ var PiClient = class extends BaseEsiClient {
|
|
|
6383
6527
|
};
|
|
6384
6528
|
|
|
6385
6529
|
// src/core/endpoints/routeEndpoints.ts
|
|
6386
|
-
import { z as
|
|
6530
|
+
import { z as z47 } from "zod";
|
|
6387
6531
|
var routeEndpoints = {
|
|
6388
6532
|
getRoute: {
|
|
6389
6533
|
path: "route/{origin}/{destination}",
|
|
@@ -6391,7 +6535,7 @@ var routeEndpoints = {
|
|
|
6391
6535
|
requiresAuth: false,
|
|
6392
6536
|
pathParams: ["origin", "destination"],
|
|
6393
6537
|
hasBody: true,
|
|
6394
|
-
responseSchema:
|
|
6538
|
+
responseSchema: z47.looseObject({ route: z47.array(z47.number()) })
|
|
6395
6539
|
}
|
|
6396
6540
|
};
|
|
6397
6541
|
|
|
@@ -6450,37 +6594,37 @@ var SearchClient = class extends BaseEsiClient {
|
|
|
6450
6594
|
};
|
|
6451
6595
|
|
|
6452
6596
|
// src/core/endpoints/skillEndpoints.ts
|
|
6453
|
-
import { z as
|
|
6597
|
+
import { z as z49 } from "zod";
|
|
6454
6598
|
|
|
6455
6599
|
// src/schemas/skills.ts
|
|
6456
|
-
import { z as
|
|
6457
|
-
var CharacterSkillSchema =
|
|
6458
|
-
skill_id:
|
|
6459
|
-
skillpoints_in_skill:
|
|
6460
|
-
trained_skill_level:
|
|
6461
|
-
active_skill_level:
|
|
6462
|
-
});
|
|
6463
|
-
var CharacterSkillsResponseSchema =
|
|
6464
|
-
skills:
|
|
6465
|
-
|
|
6466
|
-
skill_id:
|
|
6467
|
-
skillpoints_in_skill:
|
|
6468
|
-
trained_skill_level:
|
|
6469
|
-
active_skill_level:
|
|
6600
|
+
import { z as z48 } from "zod";
|
|
6601
|
+
var CharacterSkillSchema = z48.looseObject({
|
|
6602
|
+
skill_id: z48.number(),
|
|
6603
|
+
skillpoints_in_skill: z48.number(),
|
|
6604
|
+
trained_skill_level: z48.number(),
|
|
6605
|
+
active_skill_level: z48.number()
|
|
6606
|
+
});
|
|
6607
|
+
var CharacterSkillsResponseSchema = z48.looseObject({
|
|
6608
|
+
skills: z48.array(
|
|
6609
|
+
z48.looseObject({
|
|
6610
|
+
skill_id: z48.number(),
|
|
6611
|
+
skillpoints_in_skill: z48.number(),
|
|
6612
|
+
trained_skill_level: z48.number(),
|
|
6613
|
+
active_skill_level: z48.number()
|
|
6470
6614
|
})
|
|
6471
6615
|
),
|
|
6472
|
-
total_sp:
|
|
6473
|
-
unallocated_sp:
|
|
6616
|
+
total_sp: z48.number(),
|
|
6617
|
+
unallocated_sp: z48.number().optional()
|
|
6474
6618
|
});
|
|
6475
|
-
var SkillQueueSchema =
|
|
6476
|
-
skill_id:
|
|
6477
|
-
finished_level:
|
|
6478
|
-
queue_position:
|
|
6479
|
-
level_end_sp:
|
|
6480
|
-
level_start_sp:
|
|
6481
|
-
training_start_sp:
|
|
6482
|
-
start_date:
|
|
6483
|
-
finish_date:
|
|
6619
|
+
var SkillQueueSchema = z48.looseObject({
|
|
6620
|
+
skill_id: z48.number(),
|
|
6621
|
+
finished_level: z48.number(),
|
|
6622
|
+
queue_position: z48.number(),
|
|
6623
|
+
level_end_sp: z48.number().optional(),
|
|
6624
|
+
level_start_sp: z48.number().optional(),
|
|
6625
|
+
training_start_sp: z48.number().optional(),
|
|
6626
|
+
start_date: z48.string().optional(),
|
|
6627
|
+
finish_date: z48.string().optional()
|
|
6484
6628
|
});
|
|
6485
6629
|
|
|
6486
6630
|
// src/core/endpoints/skillEndpoints.ts
|
|
@@ -6497,7 +6641,7 @@ var skillEndpoints = {
|
|
|
6497
6641
|
method: "GET",
|
|
6498
6642
|
requiresAuth: true,
|
|
6499
6643
|
pathParams: ["characterId"],
|
|
6500
|
-
responseSchema:
|
|
6644
|
+
responseSchema: z49.array(SkillQueueSchema)
|
|
6501
6645
|
},
|
|
6502
6646
|
getCharacterSkills: {
|
|
6503
6647
|
path: "characters/{characterId}/skills",
|
|
@@ -6552,77 +6696,77 @@ var CharacterSkillsClient = class extends BaseEsiClient {
|
|
|
6552
6696
|
};
|
|
6553
6697
|
|
|
6554
6698
|
// src/core/endpoints/sovereigntyEndpoints.ts
|
|
6555
|
-
import { z as
|
|
6699
|
+
import { z as z51 } from "zod";
|
|
6556
6700
|
|
|
6557
6701
|
// src/schemas/sovereignty.ts
|
|
6558
|
-
import { z as
|
|
6559
|
-
var SovereigntyCampaignSchema =
|
|
6560
|
-
campaign_id:
|
|
6561
|
-
structure_id:
|
|
6562
|
-
solar_system_id:
|
|
6563
|
-
constellation_id:
|
|
6564
|
-
event_type:
|
|
6702
|
+
import { z as z50 } from "zod";
|
|
6703
|
+
var SovereigntyCampaignSchema = z50.looseObject({
|
|
6704
|
+
campaign_id: z50.number(),
|
|
6705
|
+
structure_id: z50.number(),
|
|
6706
|
+
solar_system_id: z50.number(),
|
|
6707
|
+
constellation_id: z50.number(),
|
|
6708
|
+
event_type: esiEnum([
|
|
6565
6709
|
"tcu_defense",
|
|
6566
6710
|
"ihub_defense",
|
|
6567
6711
|
"station_defense",
|
|
6568
6712
|
"station_freeport"
|
|
6569
6713
|
]),
|
|
6570
|
-
start_time:
|
|
6571
|
-
defender_id:
|
|
6572
|
-
defender_score:
|
|
6573
|
-
attackers_score:
|
|
6574
|
-
participants:
|
|
6575
|
-
|
|
6576
|
-
alliance_id:
|
|
6577
|
-
score:
|
|
6714
|
+
start_time: z50.string(),
|
|
6715
|
+
defender_id: z50.number().optional(),
|
|
6716
|
+
defender_score: z50.number().optional(),
|
|
6717
|
+
attackers_score: z50.number().optional(),
|
|
6718
|
+
participants: z50.array(
|
|
6719
|
+
z50.looseObject({
|
|
6720
|
+
alliance_id: z50.number(),
|
|
6721
|
+
score: z50.number()
|
|
6578
6722
|
})
|
|
6579
6723
|
).optional()
|
|
6580
6724
|
});
|
|
6581
|
-
var SovereigntySystemStructureSchema =
|
|
6582
|
-
alliance_id:
|
|
6583
|
-
solar_system_id:
|
|
6584
|
-
structure_id:
|
|
6585
|
-
structure_type_id:
|
|
6586
|
-
vulnerability_occupancy_level:
|
|
6587
|
-
vulnerable_start_time:
|
|
6588
|
-
vulnerable_end_time:
|
|
6589
|
-
});
|
|
6590
|
-
var SovereigntyVulnerabilityWindowSchema =
|
|
6591
|
-
start:
|
|
6592
|
-
end:
|
|
6593
|
-
});
|
|
6594
|
-
var SovereigntyHubSchema =
|
|
6595
|
-
id:
|
|
6725
|
+
var SovereigntySystemStructureSchema = z50.looseObject({
|
|
6726
|
+
alliance_id: z50.number().optional(),
|
|
6727
|
+
solar_system_id: z50.number().optional(),
|
|
6728
|
+
structure_id: z50.number(),
|
|
6729
|
+
structure_type_id: z50.number(),
|
|
6730
|
+
vulnerability_occupancy_level: z50.number().optional(),
|
|
6731
|
+
vulnerable_start_time: z50.string().optional(),
|
|
6732
|
+
vulnerable_end_time: z50.string().optional()
|
|
6733
|
+
});
|
|
6734
|
+
var SovereigntyVulnerabilityWindowSchema = z50.looseObject({
|
|
6735
|
+
start: z50.string(),
|
|
6736
|
+
end: z50.string()
|
|
6737
|
+
});
|
|
6738
|
+
var SovereigntyHubSchema = z50.looseObject({
|
|
6739
|
+
id: z50.number(),
|
|
6596
6740
|
vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
|
|
6597
6741
|
});
|
|
6598
|
-
var SovereigntyDevelopmentSchema =
|
|
6599
|
-
activity_defense_multiplier:
|
|
6600
|
-
military_level:
|
|
6601
|
-
industrial_level:
|
|
6602
|
-
strategic_level:
|
|
6742
|
+
var SovereigntyDevelopmentSchema = z50.looseObject({
|
|
6743
|
+
activity_defense_multiplier: z50.number().optional(),
|
|
6744
|
+
military_level: z50.number().optional(),
|
|
6745
|
+
industrial_level: z50.number().optional(),
|
|
6746
|
+
strategic_level: z50.number().optional()
|
|
6603
6747
|
});
|
|
6604
|
-
var SovereigntyAllianceClaimSchema =
|
|
6605
|
-
alliance_id:
|
|
6606
|
-
corporation_id:
|
|
6607
|
-
claimed_since:
|
|
6748
|
+
var SovereigntyAllianceClaimSchema = z50.looseObject({
|
|
6749
|
+
alliance_id: z50.number(),
|
|
6750
|
+
corporation_id: z50.number().optional(),
|
|
6751
|
+
claimed_since: z50.string().optional(),
|
|
6608
6752
|
sovereignty_hub: SovereigntyHubSchema.optional(),
|
|
6609
|
-
is_capital_system:
|
|
6753
|
+
is_capital_system: z50.boolean().optional(),
|
|
6610
6754
|
development: SovereigntyDevelopmentSchema.optional()
|
|
6611
6755
|
});
|
|
6612
|
-
var SovereigntyFactionClaimSchema =
|
|
6613
|
-
faction_id:
|
|
6756
|
+
var SovereigntyFactionClaimSchema = z50.looseObject({
|
|
6757
|
+
faction_id: z50.number()
|
|
6614
6758
|
});
|
|
6615
|
-
var SovereigntyClaimSchema =
|
|
6759
|
+
var SovereigntyClaimSchema = z50.looseObject({
|
|
6616
6760
|
alliance: SovereigntyAllianceClaimSchema.optional(),
|
|
6617
6761
|
faction: SovereigntyFactionClaimSchema.optional(),
|
|
6618
|
-
unclaimed:
|
|
6762
|
+
unclaimed: z50.boolean().optional()
|
|
6619
6763
|
});
|
|
6620
|
-
var SovereigntySystemEntrySchema =
|
|
6621
|
-
solar_system_id:
|
|
6764
|
+
var SovereigntySystemEntrySchema = z50.looseObject({
|
|
6765
|
+
solar_system_id: z50.number(),
|
|
6622
6766
|
claim: SovereigntyClaimSchema
|
|
6623
6767
|
});
|
|
6624
|
-
var SovereigntySystemSchema =
|
|
6625
|
-
solar_systems:
|
|
6768
|
+
var SovereigntySystemSchema = z50.looseObject({
|
|
6769
|
+
solar_systems: z50.array(SovereigntySystemEntrySchema)
|
|
6626
6770
|
});
|
|
6627
6771
|
|
|
6628
6772
|
// src/core/endpoints/sovereigntyEndpoints.ts
|
|
@@ -6631,7 +6775,7 @@ var sovereigntyEndpoints = {
|
|
|
6631
6775
|
path: "sovereignty/campaigns",
|
|
6632
6776
|
method: "GET",
|
|
6633
6777
|
requiresAuth: false,
|
|
6634
|
-
responseSchema:
|
|
6778
|
+
responseSchema: z51.array(SovereigntyCampaignSchema)
|
|
6635
6779
|
},
|
|
6636
6780
|
getSovereigntySystems: {
|
|
6637
6781
|
path: "sovereignty/systems",
|
|
@@ -6665,12 +6809,12 @@ var SovereigntyClient = class extends BaseEsiClient {
|
|
|
6665
6809
|
};
|
|
6666
6810
|
|
|
6667
6811
|
// src/schemas/status.ts
|
|
6668
|
-
import { z as
|
|
6669
|
-
var ServerStatusSchema =
|
|
6670
|
-
players:
|
|
6671
|
-
server_version:
|
|
6672
|
-
start_time:
|
|
6673
|
-
vip:
|
|
6812
|
+
import { z as z52 } from "zod";
|
|
6813
|
+
var ServerStatusSchema = z52.looseObject({
|
|
6814
|
+
players: z52.number(),
|
|
6815
|
+
server_version: z52.string(),
|
|
6816
|
+
start_time: z52.string(),
|
|
6817
|
+
vip: z52.boolean().optional()
|
|
6674
6818
|
});
|
|
6675
6819
|
|
|
6676
6820
|
// src/core/endpoints/statusEndpoints.ts
|
|
@@ -6795,13 +6939,13 @@ var UiClient = class extends BaseEsiClient {
|
|
|
6795
6939
|
};
|
|
6796
6940
|
|
|
6797
6941
|
// src/core/endpoints/universeEndpoints.ts
|
|
6798
|
-
import { z as
|
|
6942
|
+
import { z as z53 } from "zod";
|
|
6799
6943
|
var universeEndpoints = {
|
|
6800
6944
|
getAncestries: {
|
|
6801
6945
|
path: "universe/ancestries",
|
|
6802
6946
|
method: "GET",
|
|
6803
6947
|
requiresAuth: false,
|
|
6804
|
-
responseSchema:
|
|
6948
|
+
responseSchema: z53.array(AncestrySchema)
|
|
6805
6949
|
},
|
|
6806
6950
|
getAsteroidBeltInfo: {
|
|
6807
6951
|
path: "universe/asteroid_belts/{asteroidBeltId}",
|
|
@@ -6814,13 +6958,13 @@ var universeEndpoints = {
|
|
|
6814
6958
|
path: "universe/bloodlines",
|
|
6815
6959
|
method: "GET",
|
|
6816
6960
|
requiresAuth: false,
|
|
6817
|
-
responseSchema:
|
|
6961
|
+
responseSchema: z53.array(BloodlineSchema)
|
|
6818
6962
|
},
|
|
6819
6963
|
getCategories: {
|
|
6820
6964
|
path: "universe/categories",
|
|
6821
6965
|
method: "GET",
|
|
6822
6966
|
requiresAuth: false,
|
|
6823
|
-
responseSchema:
|
|
6967
|
+
responseSchema: z53.array(z53.number())
|
|
6824
6968
|
},
|
|
6825
6969
|
getCategoryById: {
|
|
6826
6970
|
path: "universe/categories/{categoryId}",
|
|
@@ -6833,7 +6977,7 @@ var universeEndpoints = {
|
|
|
6833
6977
|
path: "universe/constellations",
|
|
6834
6978
|
method: "GET",
|
|
6835
6979
|
requiresAuth: false,
|
|
6836
|
-
responseSchema:
|
|
6980
|
+
responseSchema: z53.array(z53.number())
|
|
6837
6981
|
},
|
|
6838
6982
|
getConstellationById: {
|
|
6839
6983
|
path: "universe/constellations/{constellationId}",
|
|
@@ -6846,13 +6990,13 @@ var universeEndpoints = {
|
|
|
6846
6990
|
path: "universe/factions",
|
|
6847
6991
|
method: "GET",
|
|
6848
6992
|
requiresAuth: false,
|
|
6849
|
-
responseSchema:
|
|
6993
|
+
responseSchema: z53.array(FactionSchema)
|
|
6850
6994
|
},
|
|
6851
6995
|
getGraphics: {
|
|
6852
6996
|
path: "universe/graphics",
|
|
6853
6997
|
method: "GET",
|
|
6854
6998
|
requiresAuth: false,
|
|
6855
|
-
responseSchema:
|
|
6999
|
+
responseSchema: z53.array(z53.number())
|
|
6856
7000
|
},
|
|
6857
7001
|
getGraphicById: {
|
|
6858
7002
|
path: "universe/graphics/{graphicId}",
|
|
@@ -6865,7 +7009,7 @@ var universeEndpoints = {
|
|
|
6865
7009
|
path: "universe/groups",
|
|
6866
7010
|
method: "GET",
|
|
6867
7011
|
requiresAuth: false,
|
|
6868
|
-
responseSchema:
|
|
7012
|
+
responseSchema: z53.array(z53.number())
|
|
6869
7013
|
},
|
|
6870
7014
|
getItemGroupById: {
|
|
6871
7015
|
path: "universe/groups/{groupId}",
|
|
@@ -6880,7 +7024,7 @@ var universeEndpoints = {
|
|
|
6880
7024
|
requiresAuth: false,
|
|
6881
7025
|
bodyBuilder: (names) => names,
|
|
6882
7026
|
responseSchema: BulkIdResultSchema,
|
|
6883
|
-
requestSchema:
|
|
7027
|
+
requestSchema: z53.array(z53.string().min(1))
|
|
6884
7028
|
},
|
|
6885
7029
|
getMoonById: {
|
|
6886
7030
|
path: "universe/moons/{moonId}",
|
|
@@ -6894,8 +7038,8 @@ var universeEndpoints = {
|
|
|
6894
7038
|
method: "POST",
|
|
6895
7039
|
requiresAuth: false,
|
|
6896
7040
|
bodyBuilder: (ids) => ids,
|
|
6897
|
-
responseSchema:
|
|
6898
|
-
requestSchema:
|
|
7041
|
+
responseSchema: z53.array(NameAndCategorySchema),
|
|
7042
|
+
requestSchema: z53.array(z53.number().int())
|
|
6899
7043
|
},
|
|
6900
7044
|
getPlanetById: {
|
|
6901
7045
|
path: "universe/planets/{planetId}",
|
|
@@ -6908,13 +7052,13 @@ var universeEndpoints = {
|
|
|
6908
7052
|
path: "universe/races",
|
|
6909
7053
|
method: "GET",
|
|
6910
7054
|
requiresAuth: false,
|
|
6911
|
-
responseSchema:
|
|
7055
|
+
responseSchema: z53.array(RaceSchema)
|
|
6912
7056
|
},
|
|
6913
7057
|
getRegions: {
|
|
6914
7058
|
path: "universe/regions",
|
|
6915
7059
|
method: "GET",
|
|
6916
7060
|
requiresAuth: false,
|
|
6917
|
-
responseSchema:
|
|
7061
|
+
responseSchema: z53.array(z53.number())
|
|
6918
7062
|
},
|
|
6919
7063
|
getRegionById: {
|
|
6920
7064
|
path: "universe/regions/{regionId}",
|
|
@@ -6955,7 +7099,7 @@ var universeEndpoints = {
|
|
|
6955
7099
|
path: "universe/structures",
|
|
6956
7100
|
method: "GET",
|
|
6957
7101
|
requiresAuth: false,
|
|
6958
|
-
responseSchema:
|
|
7102
|
+
responseSchema: z53.array(z53.number())
|
|
6959
7103
|
},
|
|
6960
7104
|
getStructureById: {
|
|
6961
7105
|
path: "universe/structures/{structureId}",
|
|
@@ -6968,19 +7112,19 @@ var universeEndpoints = {
|
|
|
6968
7112
|
path: "universe/system_jumps",
|
|
6969
7113
|
method: "GET",
|
|
6970
7114
|
requiresAuth: false,
|
|
6971
|
-
responseSchema:
|
|
7115
|
+
responseSchema: z53.array(SystemJumpSchema)
|
|
6972
7116
|
},
|
|
6973
7117
|
getSystemKills: {
|
|
6974
7118
|
path: "universe/system_kills",
|
|
6975
7119
|
method: "GET",
|
|
6976
7120
|
requiresAuth: false,
|
|
6977
|
-
responseSchema:
|
|
7121
|
+
responseSchema: z53.array(SystemKillSchema)
|
|
6978
7122
|
},
|
|
6979
7123
|
getSystems: {
|
|
6980
7124
|
path: "universe/systems",
|
|
6981
7125
|
method: "GET",
|
|
6982
7126
|
requiresAuth: false,
|
|
6983
|
-
responseSchema:
|
|
7127
|
+
responseSchema: z53.array(z53.number())
|
|
6984
7128
|
},
|
|
6985
7129
|
getSystemById: {
|
|
6986
7130
|
path: "universe/systems/{systemId}",
|
|
@@ -6993,7 +7137,7 @@ var universeEndpoints = {
|
|
|
6993
7137
|
path: "universe/types",
|
|
6994
7138
|
method: "GET",
|
|
6995
7139
|
requiresAuth: false,
|
|
6996
|
-
responseSchema:
|
|
7140
|
+
responseSchema: z53.array(z53.number())
|
|
6997
7141
|
},
|
|
6998
7142
|
getTypeById: {
|
|
6999
7143
|
path: "universe/types/{typeId}",
|
|
@@ -7282,36 +7426,36 @@ var UniverseClient = class extends BaseEsiClient {
|
|
|
7282
7426
|
};
|
|
7283
7427
|
|
|
7284
7428
|
// src/core/endpoints/walletEndpoints.ts
|
|
7285
|
-
import { z as
|
|
7429
|
+
import { z as z55 } from "zod";
|
|
7286
7430
|
|
|
7287
7431
|
// src/schemas/wallet.ts
|
|
7288
|
-
import { z as
|
|
7289
|
-
var WalletTransactionSchema =
|
|
7290
|
-
transaction_id:
|
|
7291
|
-
date:
|
|
7292
|
-
type_id:
|
|
7293
|
-
location_id:
|
|
7294
|
-
unit_price:
|
|
7295
|
-
quantity:
|
|
7296
|
-
client_id:
|
|
7297
|
-
is_buy:
|
|
7298
|
-
is_personal:
|
|
7299
|
-
journal_ref_id:
|
|
7300
|
-
});
|
|
7301
|
-
var WalletJournalSchema =
|
|
7302
|
-
id:
|
|
7303
|
-
date:
|
|
7304
|
-
ref_type:
|
|
7305
|
-
first_party_id:
|
|
7306
|
-
second_party_id:
|
|
7307
|
-
amount:
|
|
7308
|
-
balance:
|
|
7309
|
-
reason:
|
|
7310
|
-
description:
|
|
7311
|
-
context_id:
|
|
7312
|
-
context_id_type:
|
|
7313
|
-
tax:
|
|
7314
|
-
tax_receiver_id:
|
|
7432
|
+
import { z as z54 } from "zod";
|
|
7433
|
+
var WalletTransactionSchema = z54.looseObject({
|
|
7434
|
+
transaction_id: z54.number(),
|
|
7435
|
+
date: z54.string(),
|
|
7436
|
+
type_id: z54.number(),
|
|
7437
|
+
location_id: z54.number(),
|
|
7438
|
+
unit_price: z54.number(),
|
|
7439
|
+
quantity: z54.number(),
|
|
7440
|
+
client_id: z54.number(),
|
|
7441
|
+
is_buy: z54.boolean(),
|
|
7442
|
+
is_personal: z54.boolean(),
|
|
7443
|
+
journal_ref_id: z54.number()
|
|
7444
|
+
});
|
|
7445
|
+
var WalletJournalSchema = z54.looseObject({
|
|
7446
|
+
id: z54.number(),
|
|
7447
|
+
date: z54.string(),
|
|
7448
|
+
ref_type: z54.string(),
|
|
7449
|
+
first_party_id: z54.number().optional(),
|
|
7450
|
+
second_party_id: z54.number().optional(),
|
|
7451
|
+
amount: z54.number().optional(),
|
|
7452
|
+
balance: z54.number().optional(),
|
|
7453
|
+
reason: z54.string().optional(),
|
|
7454
|
+
description: z54.string(),
|
|
7455
|
+
context_id: z54.number().optional(),
|
|
7456
|
+
context_id_type: z54.string().optional(),
|
|
7457
|
+
tax: z54.number().optional(),
|
|
7458
|
+
tax_receiver_id: z54.number().optional()
|
|
7315
7459
|
});
|
|
7316
7460
|
|
|
7317
7461
|
// src/core/endpoints/walletEndpoints.ts
|
|
@@ -7321,42 +7465,42 @@ var walletEndpoints = {
|
|
|
7321
7465
|
method: "GET",
|
|
7322
7466
|
requiresAuth: true,
|
|
7323
7467
|
pathParams: ["characterId"],
|
|
7324
|
-
responseSchema:
|
|
7468
|
+
responseSchema: z55.number()
|
|
7325
7469
|
},
|
|
7326
7470
|
getCharacterWalletJournal: {
|
|
7327
7471
|
path: "characters/{characterId}/wallet/journal",
|
|
7328
7472
|
method: "GET",
|
|
7329
7473
|
requiresAuth: true,
|
|
7330
7474
|
pathParams: ["characterId"],
|
|
7331
|
-
responseSchema:
|
|
7475
|
+
responseSchema: z55.array(WalletJournalSchema)
|
|
7332
7476
|
},
|
|
7333
7477
|
getCharacterWalletTransactions: {
|
|
7334
7478
|
path: "characters/{characterId}/wallet/transactions",
|
|
7335
7479
|
method: "GET",
|
|
7336
7480
|
requiresAuth: true,
|
|
7337
7481
|
pathParams: ["characterId"],
|
|
7338
|
-
responseSchema:
|
|
7482
|
+
responseSchema: z55.array(WalletTransactionSchema)
|
|
7339
7483
|
},
|
|
7340
7484
|
getCorporationWallets: {
|
|
7341
7485
|
path: "corporations/{corporationId}/wallets",
|
|
7342
7486
|
method: "GET",
|
|
7343
7487
|
requiresAuth: true,
|
|
7344
7488
|
pathParams: ["corporationId"],
|
|
7345
|
-
responseSchema:
|
|
7489
|
+
responseSchema: z55.array(CorporationWalletDivisionSchema)
|
|
7346
7490
|
},
|
|
7347
7491
|
getCorporationWalletJournal: {
|
|
7348
7492
|
path: "corporations/{corporationId}/wallets/{division}/journal",
|
|
7349
7493
|
method: "GET",
|
|
7350
7494
|
requiresAuth: true,
|
|
7351
7495
|
pathParams: ["corporationId", "division"],
|
|
7352
|
-
responseSchema:
|
|
7496
|
+
responseSchema: z55.array(WalletJournalSchema)
|
|
7353
7497
|
},
|
|
7354
7498
|
getCorporationWalletTransactions: {
|
|
7355
7499
|
path: "corporations/{corporationId}/wallets/{division}/transactions",
|
|
7356
7500
|
method: "GET",
|
|
7357
7501
|
requiresAuth: true,
|
|
7358
7502
|
pathParams: ["corporationId", "division"],
|
|
7359
|
-
responseSchema:
|
|
7503
|
+
responseSchema: z55.array(WalletTransactionSchema)
|
|
7360
7504
|
}
|
|
7361
7505
|
};
|
|
7362
7506
|
|
|
@@ -7456,34 +7600,34 @@ var WalletClient = class extends BaseEsiClient {
|
|
|
7456
7600
|
};
|
|
7457
7601
|
|
|
7458
7602
|
// src/core/endpoints/warEndpoints.ts
|
|
7459
|
-
import { z as
|
|
7603
|
+
import { z as z57 } from "zod";
|
|
7460
7604
|
|
|
7461
7605
|
// src/schemas/wars.ts
|
|
7462
|
-
import { z as
|
|
7463
|
-
var WarSchema =
|
|
7464
|
-
id:
|
|
7465
|
-
declared:
|
|
7466
|
-
started:
|
|
7467
|
-
finished:
|
|
7468
|
-
retracted:
|
|
7469
|
-
mutual:
|
|
7470
|
-
open_for_allies:
|
|
7471
|
-
aggressor:
|
|
7472
|
-
corporation_id:
|
|
7473
|
-
alliance_id:
|
|
7474
|
-
isk_destroyed:
|
|
7475
|
-
ships_killed:
|
|
7606
|
+
import { z as z56 } from "zod";
|
|
7607
|
+
var WarSchema = z56.looseObject({
|
|
7608
|
+
id: z56.number(),
|
|
7609
|
+
declared: z56.string(),
|
|
7610
|
+
started: z56.string().optional(),
|
|
7611
|
+
finished: z56.string().optional(),
|
|
7612
|
+
retracted: z56.string().optional(),
|
|
7613
|
+
mutual: z56.boolean(),
|
|
7614
|
+
open_for_allies: z56.boolean(),
|
|
7615
|
+
aggressor: z56.looseObject({
|
|
7616
|
+
corporation_id: z56.number().optional(),
|
|
7617
|
+
alliance_id: z56.number().optional(),
|
|
7618
|
+
isk_destroyed: z56.number(),
|
|
7619
|
+
ships_killed: z56.number()
|
|
7476
7620
|
}),
|
|
7477
|
-
defender:
|
|
7478
|
-
corporation_id:
|
|
7479
|
-
alliance_id:
|
|
7480
|
-
isk_destroyed:
|
|
7481
|
-
ships_killed:
|
|
7621
|
+
defender: z56.looseObject({
|
|
7622
|
+
corporation_id: z56.number().optional(),
|
|
7623
|
+
alliance_id: z56.number().optional(),
|
|
7624
|
+
isk_destroyed: z56.number(),
|
|
7625
|
+
ships_killed: z56.number()
|
|
7482
7626
|
}),
|
|
7483
|
-
allies:
|
|
7484
|
-
|
|
7485
|
-
corporation_id:
|
|
7486
|
-
alliance_id:
|
|
7627
|
+
allies: z56.array(
|
|
7628
|
+
z56.looseObject({
|
|
7629
|
+
corporation_id: z56.number().optional(),
|
|
7630
|
+
alliance_id: z56.number().optional()
|
|
7487
7631
|
})
|
|
7488
7632
|
).optional()
|
|
7489
7633
|
});
|
|
@@ -7494,7 +7638,7 @@ var warEndpoints = {
|
|
|
7494
7638
|
path: "wars",
|
|
7495
7639
|
method: "GET",
|
|
7496
7640
|
requiresAuth: false,
|
|
7497
|
-
responseSchema:
|
|
7641
|
+
responseSchema: z57.array(z57.number())
|
|
7498
7642
|
},
|
|
7499
7643
|
getWarById: {
|
|
7500
7644
|
path: "wars/{warId}",
|
|
@@ -7508,7 +7652,7 @@ var warEndpoints = {
|
|
|
7508
7652
|
method: "GET",
|
|
7509
7653
|
requiresAuth: false,
|
|
7510
7654
|
pathParams: ["warId"],
|
|
7511
|
-
responseSchema:
|
|
7655
|
+
responseSchema: z57.array(KillmailSummarySchema)
|
|
7512
7656
|
}
|
|
7513
7657
|
};
|
|
7514
7658
|
|
|
@@ -7552,13 +7696,62 @@ var WarsClient = class extends BaseEsiClient {
|
|
|
7552
7696
|
};
|
|
7553
7697
|
|
|
7554
7698
|
// src/core/endpoints/metaEndpoints.ts
|
|
7555
|
-
import { z as
|
|
7699
|
+
import { z as z59 } from "zod";
|
|
7700
|
+
|
|
7701
|
+
// src/schemas/meta.ts
|
|
7702
|
+
import { z as z58 } from "zod";
|
|
7703
|
+
var MetaChangelogEntrySchema = z58.looseObject({
|
|
7704
|
+
method: z58.string(),
|
|
7705
|
+
path: z58.string(),
|
|
7706
|
+
compatibility_date: z58.string(),
|
|
7707
|
+
is_breaking: z58.boolean(),
|
|
7708
|
+
description: z58.string()
|
|
7709
|
+
});
|
|
7710
|
+
var MetaChangelogSchema = z58.record(
|
|
7711
|
+
z58.string(),
|
|
7712
|
+
z58.array(MetaChangelogEntrySchema)
|
|
7713
|
+
);
|
|
7714
|
+
var MetaCompatibilityDatesSchema = z58.looseObject({
|
|
7715
|
+
compatibility_dates: z58.array(z58.string())
|
|
7716
|
+
});
|
|
7717
|
+
var MetaNameSchema = z58.looseObject({
|
|
7718
|
+
name: z58.string()
|
|
7719
|
+
});
|
|
7720
|
+
var MetaStatusSchema = z58.looseObject({
|
|
7721
|
+
status: z58.string()
|
|
7722
|
+
});
|
|
7723
|
+
|
|
7724
|
+
// src/core/endpoints/metaEndpoints.ts
|
|
7556
7725
|
var metaEndpoints = {
|
|
7557
7726
|
getOpenApiJson: {
|
|
7558
7727
|
path: "meta/openapi.json",
|
|
7559
7728
|
method: "GET",
|
|
7560
7729
|
requiresAuth: false,
|
|
7561
|
-
responseSchema:
|
|
7730
|
+
responseSchema: z59.record(z59.string(), z59.unknown())
|
|
7731
|
+
},
|
|
7732
|
+
getChangelog: {
|
|
7733
|
+
path: "meta/changelog",
|
|
7734
|
+
method: "GET",
|
|
7735
|
+
requiresAuth: false,
|
|
7736
|
+
responseSchema: MetaChangelogSchema
|
|
7737
|
+
},
|
|
7738
|
+
getCompatibilityDates: {
|
|
7739
|
+
path: "meta/compatibility-dates",
|
|
7740
|
+
method: "GET",
|
|
7741
|
+
requiresAuth: false,
|
|
7742
|
+
responseSchema: MetaCompatibilityDatesSchema
|
|
7743
|
+
},
|
|
7744
|
+
getName: {
|
|
7745
|
+
path: "meta/name",
|
|
7746
|
+
method: "GET",
|
|
7747
|
+
requiresAuth: false,
|
|
7748
|
+
responseSchema: MetaNameSchema
|
|
7749
|
+
},
|
|
7750
|
+
getStatus: {
|
|
7751
|
+
path: "meta/status",
|
|
7752
|
+
method: "GET",
|
|
7753
|
+
requiresAuth: false,
|
|
7754
|
+
responseSchema: MetaStatusSchema
|
|
7562
7755
|
}
|
|
7563
7756
|
};
|
|
7564
7757
|
|
|
@@ -7608,105 +7801,137 @@ var MetaClient = class extends BaseEsiClient {
|
|
|
7608
7801
|
}
|
|
7609
7802
|
}
|
|
7610
7803
|
}
|
|
7804
|
+
/**
|
|
7805
|
+
* Retrieves the ESI changelog data.
|
|
7806
|
+
*
|
|
7807
|
+
* @returns The changelog keyed by compatibility date
|
|
7808
|
+
*/
|
|
7809
|
+
getChangelog() {
|
|
7810
|
+
return this.api.getChangelog();
|
|
7811
|
+
}
|
|
7812
|
+
/**
|
|
7813
|
+
* Retrieves the list of ESI compatibility dates.
|
|
7814
|
+
*
|
|
7815
|
+
* @returns An object containing the list of compatibility dates
|
|
7816
|
+
*/
|
|
7817
|
+
getCompatibilityDates() {
|
|
7818
|
+
return this.api.getCompatibilityDates();
|
|
7819
|
+
}
|
|
7820
|
+
/**
|
|
7821
|
+
* Retrieves the ESI name.
|
|
7822
|
+
*
|
|
7823
|
+
* @returns An object containing the ESI name
|
|
7824
|
+
*/
|
|
7825
|
+
getName() {
|
|
7826
|
+
return this.api.getName();
|
|
7827
|
+
}
|
|
7828
|
+
/**
|
|
7829
|
+
* Retrieves the ESI status.
|
|
7830
|
+
*
|
|
7831
|
+
* @returns An object containing the ESI status
|
|
7832
|
+
*/
|
|
7833
|
+
getStatus() {
|
|
7834
|
+
return this.api.getStatus();
|
|
7835
|
+
}
|
|
7611
7836
|
};
|
|
7612
7837
|
|
|
7613
7838
|
// src/core/endpoints/freelanceJobsEndpoints.ts
|
|
7614
|
-
import { z as
|
|
7839
|
+
import { z as z61 } from "zod";
|
|
7615
7840
|
|
|
7616
7841
|
// src/schemas/freelance-jobs.ts
|
|
7617
|
-
import { z as
|
|
7618
|
-
var EsiCursorSchema =
|
|
7619
|
-
before:
|
|
7620
|
-
after:
|
|
7621
|
-
});
|
|
7622
|
-
var FreelanceJobSummarySchema =
|
|
7623
|
-
id:
|
|
7624
|
-
name:
|
|
7625
|
-
state:
|
|
7626
|
-
last_modified:
|
|
7627
|
-
progress:
|
|
7628
|
-
current:
|
|
7629
|
-
desired:
|
|
7842
|
+
import { z as z60 } from "zod";
|
|
7843
|
+
var EsiCursorSchema = z60.looseObject({
|
|
7844
|
+
before: z60.string().nullable(),
|
|
7845
|
+
after: z60.string().nullable()
|
|
7846
|
+
});
|
|
7847
|
+
var FreelanceJobSummarySchema = z60.looseObject({
|
|
7848
|
+
id: z60.string(),
|
|
7849
|
+
name: z60.string(),
|
|
7850
|
+
state: z60.string(),
|
|
7851
|
+
last_modified: z60.string(),
|
|
7852
|
+
progress: z60.looseObject({
|
|
7853
|
+
current: z60.number(),
|
|
7854
|
+
desired: z60.number()
|
|
7630
7855
|
}),
|
|
7631
|
-
reward:
|
|
7632
|
-
initial:
|
|
7633
|
-
remaining:
|
|
7856
|
+
reward: z60.looseObject({
|
|
7857
|
+
initial: z60.number(),
|
|
7858
|
+
remaining: z60.number()
|
|
7634
7859
|
}).optional()
|
|
7635
7860
|
});
|
|
7636
|
-
var FreelanceJobsListingSchema =
|
|
7861
|
+
var FreelanceJobsListingSchema = z60.looseObject({
|
|
7637
7862
|
cursor: EsiCursorSchema.optional(),
|
|
7638
|
-
freelance_jobs:
|
|
7639
|
-
});
|
|
7640
|
-
var FreelanceJobDetailSchema =
|
|
7641
|
-
id:
|
|
7642
|
-
name:
|
|
7643
|
-
state:
|
|
7644
|
-
last_modified:
|
|
7645
|
-
progress:
|
|
7646
|
-
current:
|
|
7647
|
-
desired:
|
|
7863
|
+
freelance_jobs: z60.array(FreelanceJobSummarySchema)
|
|
7864
|
+
});
|
|
7865
|
+
var FreelanceJobDetailSchema = z60.looseObject({
|
|
7866
|
+
id: z60.string(),
|
|
7867
|
+
name: z60.string(),
|
|
7868
|
+
state: z60.string(),
|
|
7869
|
+
last_modified: z60.string(),
|
|
7870
|
+
progress: z60.looseObject({
|
|
7871
|
+
current: z60.number(),
|
|
7872
|
+
desired: z60.number()
|
|
7648
7873
|
}),
|
|
7649
|
-
reward:
|
|
7650
|
-
initial:
|
|
7651
|
-
remaining:
|
|
7874
|
+
reward: z60.looseObject({
|
|
7875
|
+
initial: z60.number(),
|
|
7876
|
+
remaining: z60.number()
|
|
7652
7877
|
}).optional(),
|
|
7653
|
-
details:
|
|
7654
|
-
description:
|
|
7655
|
-
career:
|
|
7656
|
-
created:
|
|
7657
|
-
expires:
|
|
7658
|
-
creator:
|
|
7659
|
-
character:
|
|
7660
|
-
id:
|
|
7661
|
-
name:
|
|
7878
|
+
details: z60.looseObject({
|
|
7879
|
+
description: z60.string(),
|
|
7880
|
+
career: z60.string(),
|
|
7881
|
+
created: z60.string(),
|
|
7882
|
+
expires: z60.string(),
|
|
7883
|
+
creator: z60.looseObject({
|
|
7884
|
+
character: z60.looseObject({
|
|
7885
|
+
id: z60.number(),
|
|
7886
|
+
name: z60.string()
|
|
7662
7887
|
}),
|
|
7663
|
-
corporation:
|
|
7664
|
-
id:
|
|
7665
|
-
name:
|
|
7888
|
+
corporation: z60.looseObject({
|
|
7889
|
+
id: z60.number(),
|
|
7890
|
+
name: z60.string()
|
|
7666
7891
|
})
|
|
7667
7892
|
})
|
|
7668
7893
|
}),
|
|
7669
|
-
configuration:
|
|
7670
|
-
version:
|
|
7671
|
-
parameters:
|
|
7672
|
-
method:
|
|
7894
|
+
configuration: z60.looseObject({
|
|
7895
|
+
version: z60.number(),
|
|
7896
|
+
parameters: z60.record(z60.string(), z60.unknown()),
|
|
7897
|
+
method: z60.string()
|
|
7673
7898
|
}),
|
|
7674
|
-
contribution:
|
|
7675
|
-
max_committed_participants:
|
|
7676
|
-
reward_per_contribution:
|
|
7677
|
-
submission_multiplier:
|
|
7899
|
+
contribution: z60.looseObject({
|
|
7900
|
+
max_committed_participants: z60.number(),
|
|
7901
|
+
reward_per_contribution: z60.number().optional(),
|
|
7902
|
+
submission_multiplier: z60.number().optional()
|
|
7678
7903
|
}),
|
|
7679
|
-
access_and_visibility:
|
|
7680
|
-
acl_protected:
|
|
7681
|
-
broadcast_locations:
|
|
7682
|
-
|
|
7683
|
-
id:
|
|
7684
|
-
name:
|
|
7904
|
+
access_and_visibility: z60.looseObject({
|
|
7905
|
+
acl_protected: z60.boolean(),
|
|
7906
|
+
broadcast_locations: z60.array(
|
|
7907
|
+
z60.looseObject({
|
|
7908
|
+
id: z60.number(),
|
|
7909
|
+
name: z60.string()
|
|
7685
7910
|
})
|
|
7686
7911
|
)
|
|
7687
7912
|
})
|
|
7688
7913
|
});
|
|
7689
|
-
var CharacterFreelanceJobsListingSchema =
|
|
7914
|
+
var CharacterFreelanceJobsListingSchema = z60.looseObject({
|
|
7690
7915
|
cursor: EsiCursorSchema.optional(),
|
|
7691
|
-
freelance_jobs:
|
|
7916
|
+
freelance_jobs: z60.array(FreelanceJobSummarySchema)
|
|
7692
7917
|
});
|
|
7693
|
-
var FreelanceJobParticipationSchema =
|
|
7694
|
-
job_id:
|
|
7695
|
-
character_id:
|
|
7696
|
-
status:
|
|
7697
|
-
contributions:
|
|
7698
|
-
last_contribution:
|
|
7918
|
+
var FreelanceJobParticipationSchema = z60.looseObject({
|
|
7919
|
+
job_id: z60.string(),
|
|
7920
|
+
character_id: z60.number(),
|
|
7921
|
+
status: z60.string(),
|
|
7922
|
+
contributions: z60.number(),
|
|
7923
|
+
last_contribution: z60.string().optional()
|
|
7699
7924
|
});
|
|
7700
|
-
var CorporationFreelanceJobsListingSchema =
|
|
7925
|
+
var CorporationFreelanceJobsListingSchema = z60.looseObject({
|
|
7701
7926
|
cursor: EsiCursorSchema.optional(),
|
|
7702
|
-
freelance_jobs:
|
|
7927
|
+
freelance_jobs: z60.array(FreelanceJobSummarySchema)
|
|
7703
7928
|
});
|
|
7704
|
-
var FreelanceJobParticipantSchema =
|
|
7705
|
-
character_id:
|
|
7706
|
-
corporation_id:
|
|
7707
|
-
status:
|
|
7708
|
-
contributions:
|
|
7709
|
-
last_contribution:
|
|
7929
|
+
var FreelanceJobParticipantSchema = z60.looseObject({
|
|
7930
|
+
character_id: z60.number(),
|
|
7931
|
+
corporation_id: z60.number(),
|
|
7932
|
+
status: z60.string(),
|
|
7933
|
+
contributions: z60.number(),
|
|
7934
|
+
last_contribution: z60.string().optional()
|
|
7710
7935
|
});
|
|
7711
7936
|
|
|
7712
7937
|
// src/core/endpoints/freelanceJobsEndpoints.ts
|
|
@@ -7753,7 +7978,7 @@ var freelanceJobsEndpoints = {
|
|
|
7753
7978
|
method: "GET",
|
|
7754
7979
|
requiresAuth: true,
|
|
7755
7980
|
pathParams: ["corporationId", "jobId"],
|
|
7756
|
-
responseSchema:
|
|
7981
|
+
responseSchema: z61.array(FreelanceJobParticipantSchema)
|
|
7757
7982
|
}
|
|
7758
7983
|
};
|
|
7759
7984
|
|
|
@@ -7847,56 +8072,58 @@ var FreelanceJobsClient = class extends BaseEsiClient {
|
|
|
7847
8072
|
};
|
|
7848
8073
|
|
|
7849
8074
|
// src/core/endpoints/skyhookEndpoints.ts
|
|
7850
|
-
import { z as
|
|
8075
|
+
import { z as z63 } from "zod";
|
|
7851
8076
|
|
|
7852
8077
|
// src/schemas/skyhooks.ts
|
|
7853
|
-
import { z as
|
|
7854
|
-
var SovereigntyHubSchema2 =
|
|
7855
|
-
structure_id:
|
|
7856
|
-
system_id:
|
|
7857
|
-
corporation_id:
|
|
7858
|
-
alliance_id:
|
|
7859
|
-
online:
|
|
7860
|
-
remaining_reagents:
|
|
7861
|
-
installed_upgrades:
|
|
7862
|
-
});
|
|
7863
|
-
var OrbitalSkyhookSchema =
|
|
7864
|
-
structure_id:
|
|
7865
|
-
system_id:
|
|
7866
|
-
corporation_id:
|
|
7867
|
-
alliance_id:
|
|
7868
|
-
online:
|
|
7869
|
-
reagent_silo_capacity:
|
|
7870
|
-
reagent_silo_level:
|
|
7871
|
-
});
|
|
7872
|
-
var RaidableSkyhookSchema =
|
|
7873
|
-
structure_id:
|
|
7874
|
-
system_id:
|
|
7875
|
-
corporation_id:
|
|
7876
|
-
alliance_id:
|
|
7877
|
-
raidable_at:
|
|
7878
|
-
is_raidable:
|
|
8078
|
+
import { z as z62 } from "zod";
|
|
8079
|
+
var SovereigntyHubSchema2 = z62.looseObject({
|
|
8080
|
+
structure_id: z62.number(),
|
|
8081
|
+
system_id: z62.number(),
|
|
8082
|
+
corporation_id: z62.number(),
|
|
8083
|
+
alliance_id: z62.number().optional(),
|
|
8084
|
+
online: z62.boolean(),
|
|
8085
|
+
remaining_reagents: z62.number().optional(),
|
|
8086
|
+
installed_upgrades: z62.array(z62.number()).optional()
|
|
8087
|
+
});
|
|
8088
|
+
var OrbitalSkyhookSchema = z62.looseObject({
|
|
8089
|
+
structure_id: z62.number(),
|
|
8090
|
+
system_id: z62.number(),
|
|
8091
|
+
corporation_id: z62.number(),
|
|
8092
|
+
alliance_id: z62.number().optional(),
|
|
8093
|
+
online: z62.boolean(),
|
|
8094
|
+
reagent_silo_capacity: z62.number().optional(),
|
|
8095
|
+
reagent_silo_level: z62.number().optional()
|
|
8096
|
+
});
|
|
8097
|
+
var RaidableSkyhookSchema = z62.looseObject({
|
|
8098
|
+
structure_id: z62.number(),
|
|
8099
|
+
system_id: z62.number(),
|
|
8100
|
+
corporation_id: z62.number(),
|
|
8101
|
+
alliance_id: z62.number().optional(),
|
|
8102
|
+
raidable_at: z62.string().optional(),
|
|
8103
|
+
is_raidable: z62.boolean()
|
|
7879
8104
|
});
|
|
7880
8105
|
|
|
7881
8106
|
// src/core/endpoints/skyhookEndpoints.ts
|
|
7882
8107
|
var skyhookEndpoints = {
|
|
7883
8108
|
getSovereigntyHubs: {
|
|
7884
|
-
path: "sovereignty
|
|
8109
|
+
path: "corporations/{corporationId}/structures/sovereignty-hubs",
|
|
7885
8110
|
method: "GET",
|
|
7886
|
-
requiresAuth:
|
|
7887
|
-
|
|
8111
|
+
requiresAuth: true,
|
|
8112
|
+
pathParams: ["corporationId"],
|
|
8113
|
+
responseSchema: z63.array(SovereigntyHubSchema2)
|
|
7888
8114
|
},
|
|
7889
8115
|
getOrbitalSkyhooks: {
|
|
7890
|
-
path: "
|
|
8116
|
+
path: "corporations/{corporationId}/structures/skyhooks",
|
|
7891
8117
|
method: "GET",
|
|
7892
|
-
requiresAuth:
|
|
7893
|
-
|
|
8118
|
+
requiresAuth: true,
|
|
8119
|
+
pathParams: ["corporationId"],
|
|
8120
|
+
responseSchema: z63.array(OrbitalSkyhookSchema)
|
|
7894
8121
|
},
|
|
7895
8122
|
getRaidableSkyhooks: {
|
|
7896
|
-
path: "
|
|
8123
|
+
path: "skyhooks/raidable",
|
|
7897
8124
|
method: "GET",
|
|
7898
8125
|
requiresAuth: false,
|
|
7899
|
-
responseSchema:
|
|
8126
|
+
responseSchema: z63.array(RaidableSkyhookSchema)
|
|
7900
8127
|
}
|
|
7901
8128
|
};
|
|
7902
8129
|
|
|
@@ -7908,18 +8135,22 @@ var SkyhooksClient = class extends BaseEsiClient {
|
|
|
7908
8135
|
/**
|
|
7909
8136
|
* Retrieves all sovereignty hubs exposed as Upwell structures, including online status and installed upgrades.
|
|
7910
8137
|
*
|
|
8138
|
+
* @param corporationId - The ID of the corporation to query sovereignty hubs for
|
|
7911
8139
|
* @returns A list of sovereignty hubs
|
|
8140
|
+
* @requires Authentication
|
|
7912
8141
|
*/
|
|
7913
|
-
getSovereigntyHubs() {
|
|
7914
|
-
return this.api.getSovereigntyHubs();
|
|
8142
|
+
getSovereigntyHubs(corporationId) {
|
|
8143
|
+
return this.api.getSovereigntyHubs(corporationId);
|
|
7915
8144
|
}
|
|
7916
8145
|
/**
|
|
7917
8146
|
* Retrieves all orbital skyhooks with their silo capacity and levels.
|
|
7918
8147
|
*
|
|
8148
|
+
* @param corporationId - The ID of the corporation to query skyhooks for
|
|
7919
8149
|
* @returns A list of orbital skyhooks
|
|
8150
|
+
* @requires Authentication
|
|
7920
8151
|
*/
|
|
7921
|
-
getOrbitalSkyhooks() {
|
|
7922
|
-
return this.api.getOrbitalSkyhooks();
|
|
8152
|
+
getOrbitalSkyhooks(corporationId) {
|
|
8153
|
+
return this.api.getOrbitalSkyhooks(corporationId);
|
|
7923
8154
|
}
|
|
7924
8155
|
/**
|
|
7925
8156
|
* Retrieves the rolling list of skyhooks that are currently or becoming raidable across New Eden.
|
|
@@ -7932,42 +8163,44 @@ var SkyhooksClient = class extends BaseEsiClient {
|
|
|
7932
8163
|
};
|
|
7933
8164
|
|
|
7934
8165
|
// src/core/endpoints/mercenaryEndpoints.ts
|
|
7935
|
-
import { z as
|
|
8166
|
+
import { z as z65 } from "zod";
|
|
7936
8167
|
|
|
7937
8168
|
// src/schemas/mercenary.ts
|
|
7938
|
-
import { z as
|
|
7939
|
-
var MercenaryDenSchema =
|
|
7940
|
-
den_id:
|
|
7941
|
-
system_id:
|
|
7942
|
-
constellation_id:
|
|
7943
|
-
region_id:
|
|
7944
|
-
development_level:
|
|
7945
|
-
anarchy_level:
|
|
7946
|
-
active_operations:
|
|
7947
|
-
});
|
|
7948
|
-
var MercenaryTacticalOperationSchema =
|
|
7949
|
-
operation_id:
|
|
7950
|
-
den_id:
|
|
7951
|
-
system_id:
|
|
7952
|
-
site_type:
|
|
7953
|
-
status:
|
|
7954
|
-
started_at:
|
|
7955
|
-
expires_at:
|
|
8169
|
+
import { z as z64 } from "zod";
|
|
8170
|
+
var MercenaryDenSchema = z64.looseObject({
|
|
8171
|
+
den_id: z64.number(),
|
|
8172
|
+
system_id: z64.number(),
|
|
8173
|
+
constellation_id: z64.number(),
|
|
8174
|
+
region_id: z64.number(),
|
|
8175
|
+
development_level: z64.number().optional(),
|
|
8176
|
+
anarchy_level: z64.number().optional(),
|
|
8177
|
+
active_operations: z64.number().optional()
|
|
8178
|
+
});
|
|
8179
|
+
var MercenaryTacticalOperationSchema = z64.looseObject({
|
|
8180
|
+
operation_id: z64.number(),
|
|
8181
|
+
den_id: z64.number(),
|
|
8182
|
+
system_id: z64.number(),
|
|
8183
|
+
site_type: z64.string(),
|
|
8184
|
+
status: esiEnum(["spawning", "active", "completed", "expired"]),
|
|
8185
|
+
started_at: z64.string().optional(),
|
|
8186
|
+
expires_at: z64.string().optional()
|
|
7956
8187
|
});
|
|
7957
8188
|
|
|
7958
8189
|
// src/core/endpoints/mercenaryEndpoints.ts
|
|
7959
8190
|
var mercenaryEndpoints = {
|
|
7960
8191
|
getMercenaryDens: {
|
|
7961
|
-
path: "mercenary
|
|
8192
|
+
path: "characters/{characterId}/structures/mercenary-dens",
|
|
7962
8193
|
method: "GET",
|
|
7963
|
-
requiresAuth:
|
|
7964
|
-
|
|
8194
|
+
requiresAuth: true,
|
|
8195
|
+
pathParams: ["characterId"],
|
|
8196
|
+
responseSchema: z65.array(MercenaryDenSchema)
|
|
7965
8197
|
},
|
|
7966
8198
|
getMercenaryTacticalOperations: {
|
|
7967
|
-
path: "mercenary
|
|
8199
|
+
path: "characters/{characterId}/mercenary-tactical-operations",
|
|
7968
8200
|
method: "GET",
|
|
7969
|
-
requiresAuth:
|
|
7970
|
-
|
|
8201
|
+
requiresAuth: true,
|
|
8202
|
+
pathParams: ["characterId"],
|
|
8203
|
+
responseSchema: z65.array(MercenaryTacticalOperationSchema)
|
|
7971
8204
|
}
|
|
7972
8205
|
};
|
|
7973
8206
|
|
|
@@ -7979,42 +8212,56 @@ var MercenaryClient = class extends BaseEsiClient {
|
|
|
7979
8212
|
/**
|
|
7980
8213
|
* Retrieves all mercenary dens with their development and anarchy parameters.
|
|
7981
8214
|
*
|
|
8215
|
+
* @param characterId - The ID of the character to query mercenary dens for
|
|
7982
8216
|
* @returns A list of mercenary dens
|
|
8217
|
+
* @requires Authentication
|
|
7983
8218
|
*/
|
|
7984
|
-
getMercenaryDens() {
|
|
7985
|
-
return this.api.getMercenaryDens();
|
|
8219
|
+
getMercenaryDens(characterId) {
|
|
8220
|
+
return this.api.getMercenaryDens(characterId);
|
|
7986
8221
|
}
|
|
7987
8222
|
/**
|
|
7988
8223
|
* Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.
|
|
7989
8224
|
*
|
|
8225
|
+
* @param characterId - The ID of the character to query tactical operations for
|
|
7990
8226
|
* @returns A list of mercenary tactical operations
|
|
8227
|
+
* @requires Authentication
|
|
7991
8228
|
*/
|
|
7992
|
-
getMercenaryTacticalOperations() {
|
|
7993
|
-
return this.api.getMercenaryTacticalOperations();
|
|
8229
|
+
getMercenaryTacticalOperations(characterId) {
|
|
8230
|
+
return this.api.getMercenaryTacticalOperations(characterId);
|
|
7994
8231
|
}
|
|
7995
8232
|
};
|
|
7996
8233
|
|
|
8234
|
+
// src/core/endpoints/accessListEndpoints.ts
|
|
8235
|
+
import { z as z67 } from "zod";
|
|
8236
|
+
|
|
7997
8237
|
// src/schemas/access-lists.ts
|
|
7998
|
-
import { z as
|
|
7999
|
-
var AccessListEntrySchema =
|
|
8000
|
-
entity_id:
|
|
8001
|
-
entity_type:
|
|
8002
|
-
access_type:
|
|
8238
|
+
import { z as z66 } from "zod";
|
|
8239
|
+
var AccessListEntrySchema = z66.looseObject({
|
|
8240
|
+
entity_id: z66.number(),
|
|
8241
|
+
entity_type: esiEnum(["character", "corporation", "alliance"]),
|
|
8242
|
+
access_type: esiEnum(["allowed", "blocked"])
|
|
8003
8243
|
});
|
|
8004
|
-
var AccessListSchema =
|
|
8005
|
-
access_list_id:
|
|
8006
|
-
name:
|
|
8007
|
-
entries:
|
|
8244
|
+
var AccessListSchema = z66.looseObject({
|
|
8245
|
+
access_list_id: z66.number(),
|
|
8246
|
+
name: z66.string(),
|
|
8247
|
+
entries: z66.array(AccessListEntrySchema)
|
|
8008
8248
|
});
|
|
8009
8249
|
|
|
8010
8250
|
// src/core/endpoints/accessListEndpoints.ts
|
|
8011
8251
|
var accessListEndpoints = {
|
|
8012
8252
|
getAccessList: {
|
|
8013
|
-
path: "access-lists/{accessListId}",
|
|
8253
|
+
path: "characters/{characterId}/access-lists/{accessListId}",
|
|
8014
8254
|
method: "GET",
|
|
8015
8255
|
requiresAuth: true,
|
|
8016
|
-
pathParams: ["accessListId"],
|
|
8256
|
+
pathParams: ["characterId", "accessListId"],
|
|
8017
8257
|
responseSchema: AccessListSchema
|
|
8258
|
+
},
|
|
8259
|
+
getCharacterAccessLists: {
|
|
8260
|
+
path: "characters/{characterId}/access-lists",
|
|
8261
|
+
method: "GET",
|
|
8262
|
+
requiresAuth: true,
|
|
8263
|
+
pathParams: ["characterId"],
|
|
8264
|
+
responseSchema: z67.array(AccessListSchema)
|
|
8018
8265
|
}
|
|
8019
8266
|
};
|
|
8020
8267
|
|
|
@@ -8026,11 +8273,165 @@ var AccessListsClient = class extends BaseEsiClient {
|
|
|
8026
8273
|
/**
|
|
8027
8274
|
* Retrieves the contents of an access list (ACL) including all character, corporation, and alliance entries.
|
|
8028
8275
|
*
|
|
8276
|
+
* @param characterId - The ID of the character who owns the access list
|
|
8029
8277
|
* @param accessListId - The ID of the access list to retrieve
|
|
8030
8278
|
* @returns The access list with its entries
|
|
8279
|
+
* @requires Authentication
|
|
8280
|
+
*/
|
|
8281
|
+
getAccessList(characterId, accessListId) {
|
|
8282
|
+
return this.api.getAccessList(characterId, accessListId);
|
|
8283
|
+
}
|
|
8284
|
+
/**
|
|
8285
|
+
* Retrieves all access lists for a character.
|
|
8286
|
+
*
|
|
8287
|
+
* @param characterId - The ID of the character
|
|
8288
|
+
* @returns An array of the character's access lists
|
|
8289
|
+
* @requires Authentication
|
|
8290
|
+
*/
|
|
8291
|
+
getCharacterAccessLists(characterId) {
|
|
8292
|
+
return this.api.getCharacterAccessLists(characterId);
|
|
8293
|
+
}
|
|
8294
|
+
};
|
|
8295
|
+
|
|
8296
|
+
// src/core/endpoints/militaryCampaignEndpoints.ts
|
|
8297
|
+
import { z as z69 } from "zod";
|
|
8298
|
+
|
|
8299
|
+
// src/schemas/military-campaigns.ts
|
|
8300
|
+
import { z as z68 } from "zod";
|
|
8301
|
+
var MilitaryCampaignSchema = z68.looseObject({
|
|
8302
|
+
campaign_id: z68.string(),
|
|
8303
|
+
state: z68.string(),
|
|
8304
|
+
progress: z68.number(),
|
|
8305
|
+
start_time: z68.string(),
|
|
8306
|
+
finish_time: z68.string().optional()
|
|
8307
|
+
});
|
|
8308
|
+
var MilitaryCampaignObjectiveSchema = z68.looseObject({
|
|
8309
|
+
objective_id: z68.string(),
|
|
8310
|
+
campaign_id: z68.string(),
|
|
8311
|
+
state: z68.string(),
|
|
8312
|
+
progress: z68.number(),
|
|
8313
|
+
participants: z68.looseObject({
|
|
8314
|
+
total: z68.number(),
|
|
8315
|
+
committed: z68.number(),
|
|
8316
|
+
contributors: z68.number()
|
|
8317
|
+
})
|
|
8318
|
+
});
|
|
8319
|
+
var CharacterMilitaryCampaignObjectiveSchema = z68.looseObject({
|
|
8320
|
+
objective_id: z68.string(),
|
|
8321
|
+
campaign_id: z68.string(),
|
|
8322
|
+
committed: z68.boolean(),
|
|
8323
|
+
contribution: z68.number()
|
|
8324
|
+
});
|
|
8325
|
+
|
|
8326
|
+
// src/core/endpoints/militaryCampaignEndpoints.ts
|
|
8327
|
+
var militaryCampaignEndpoints = {
|
|
8328
|
+
getMilitaryCampaigns: {
|
|
8329
|
+
path: "military-campaigns",
|
|
8330
|
+
method: "GET",
|
|
8331
|
+
requiresAuth: false,
|
|
8332
|
+
responseSchema: z69.array(MilitaryCampaignSchema)
|
|
8333
|
+
},
|
|
8334
|
+
getMilitaryCampaign: {
|
|
8335
|
+
path: "military-campaigns/{campaignId}",
|
|
8336
|
+
method: "GET",
|
|
8337
|
+
requiresAuth: false,
|
|
8338
|
+
pathParams: ["campaignId"],
|
|
8339
|
+
responseSchema: MilitaryCampaignSchema
|
|
8340
|
+
},
|
|
8341
|
+
getMilitaryCampaignObjectives: {
|
|
8342
|
+
path: "military-campaigns/{campaignId}/objectives",
|
|
8343
|
+
method: "GET",
|
|
8344
|
+
requiresAuth: false,
|
|
8345
|
+
pathParams: ["campaignId"],
|
|
8346
|
+
responseSchema: z69.array(MilitaryCampaignObjectiveSchema)
|
|
8347
|
+
},
|
|
8348
|
+
getMilitaryCampaignObjective: {
|
|
8349
|
+
path: "military-campaigns/{campaignId}/objectives/{objectiveId}",
|
|
8350
|
+
method: "GET",
|
|
8351
|
+
requiresAuth: false,
|
|
8352
|
+
pathParams: ["campaignId", "objectiveId"],
|
|
8353
|
+
responseSchema: MilitaryCampaignObjectiveSchema
|
|
8354
|
+
},
|
|
8355
|
+
getCharacterMilitaryCampaignObjectives: {
|
|
8356
|
+
path: "characters/{characterId}/military-campaigns/objectives",
|
|
8357
|
+
method: "GET",
|
|
8358
|
+
requiresAuth: true,
|
|
8359
|
+
pathParams: ["characterId"],
|
|
8360
|
+
responseSchema: z69.array(CharacterMilitaryCampaignObjectiveSchema)
|
|
8361
|
+
},
|
|
8362
|
+
getCharacterMilitaryCampaignObjective: {
|
|
8363
|
+
path: "characters/{characterId}/military-campaigns/objectives/{objectiveId}",
|
|
8364
|
+
method: "GET",
|
|
8365
|
+
requiresAuth: true,
|
|
8366
|
+
pathParams: ["characterId", "objectiveId"],
|
|
8367
|
+
responseSchema: CharacterMilitaryCampaignObjectiveSchema
|
|
8368
|
+
}
|
|
8369
|
+
};
|
|
8370
|
+
|
|
8371
|
+
// src/clients/MilitaryCampaignsClient.ts
|
|
8372
|
+
var MilitaryCampaignsClient = class extends BaseEsiClient {
|
|
8373
|
+
constructor(client) {
|
|
8374
|
+
super(client, militaryCampaignEndpoints);
|
|
8375
|
+
}
|
|
8376
|
+
/**
|
|
8377
|
+
* Retrieves a list of all active, completed, and expired military campaigns.
|
|
8378
|
+
*
|
|
8379
|
+
* @returns An array of military campaigns
|
|
8380
|
+
*/
|
|
8381
|
+
getMilitaryCampaigns() {
|
|
8382
|
+
return this.api.getMilitaryCampaigns();
|
|
8383
|
+
}
|
|
8384
|
+
/**
|
|
8385
|
+
* Retrieves detailed information about a specific military campaign.
|
|
8386
|
+
*
|
|
8387
|
+
* @param campaignId - The UUID of the military campaign
|
|
8388
|
+
* @returns Detailed information about the campaign
|
|
8031
8389
|
*/
|
|
8032
|
-
|
|
8033
|
-
return this.api.
|
|
8390
|
+
getMilitaryCampaign(campaignId) {
|
|
8391
|
+
return this.api.getMilitaryCampaign(campaignId);
|
|
8392
|
+
}
|
|
8393
|
+
/**
|
|
8394
|
+
* Retrieves all objectives for a specific military campaign.
|
|
8395
|
+
*
|
|
8396
|
+
* @param campaignId - The UUID of the military campaign
|
|
8397
|
+
* @returns An array of objectives for the campaign
|
|
8398
|
+
*/
|
|
8399
|
+
getMilitaryCampaignObjectives(campaignId) {
|
|
8400
|
+
return this.api.getMilitaryCampaignObjectives(campaignId);
|
|
8401
|
+
}
|
|
8402
|
+
/**
|
|
8403
|
+
* Retrieves detailed information about a specific objective in a military campaign.
|
|
8404
|
+
*
|
|
8405
|
+
* @param campaignId - The UUID of the military campaign
|
|
8406
|
+
* @param objectiveId - The UUID of the objective
|
|
8407
|
+
* @returns Detailed information about the objective
|
|
8408
|
+
*/
|
|
8409
|
+
getMilitaryCampaignObjective(campaignId, objectiveId) {
|
|
8410
|
+
return this.api.getMilitaryCampaignObjective(campaignId, objectiveId);
|
|
8411
|
+
}
|
|
8412
|
+
/**
|
|
8413
|
+
* Retrieves a character's participated objectives across military campaigns.
|
|
8414
|
+
*
|
|
8415
|
+
* @param characterId - The ID of the character
|
|
8416
|
+
* @returns An array of the character's campaign objective participations
|
|
8417
|
+
* @requires Authentication with scope esi.activity.char:read
|
|
8418
|
+
*/
|
|
8419
|
+
getCharacterMilitaryCampaignObjectives(characterId) {
|
|
8420
|
+
return this.api.getCharacterMilitaryCampaignObjectives(characterId);
|
|
8421
|
+
}
|
|
8422
|
+
/**
|
|
8423
|
+
* Retrieves a character's participation details for a specific campaign objective.
|
|
8424
|
+
*
|
|
8425
|
+
* @param characterId - The ID of the character
|
|
8426
|
+
* @param objectiveId - The UUID of the objective
|
|
8427
|
+
* @returns The character's participation details for the objective
|
|
8428
|
+
* @requires Authentication with scope esi.activity.char:read
|
|
8429
|
+
*/
|
|
8430
|
+
getCharacterMilitaryCampaignObjective(characterId, objectiveId) {
|
|
8431
|
+
return this.api.getCharacterMilitaryCampaignObjective(
|
|
8432
|
+
characterId,
|
|
8433
|
+
objectiveId
|
|
8434
|
+
);
|
|
8034
8435
|
}
|
|
8035
8436
|
};
|
|
8036
8437
|
|
|
@@ -8044,6 +8445,7 @@ var clientFactories = {
|
|
|
8044
8445
|
contacts: ContactsClient,
|
|
8045
8446
|
contracts: ContractsClient,
|
|
8046
8447
|
corporations: CorporationsClient,
|
|
8448
|
+
corporationProjects: CorporationProjectsClient,
|
|
8047
8449
|
dogma: DogmaClient,
|
|
8048
8450
|
factions: FactionClient,
|
|
8049
8451
|
fittings: FittingsClient,
|
|
@@ -8070,6 +8472,7 @@ var clientFactories = {
|
|
|
8070
8472
|
freelanceJobs: FreelanceJobsClient,
|
|
8071
8473
|
skyhooks: SkyhooksClient,
|
|
8072
8474
|
mercenary: MercenaryClient,
|
|
8475
|
+
militaryCampaigns: MilitaryCampaignsClient,
|
|
8073
8476
|
accessLists: AccessListsClient
|
|
8074
8477
|
};
|
|
8075
8478
|
function createClientInstance(name, apiClient) {
|
|
@@ -8945,6 +9348,9 @@ var EsiClient = class {
|
|
|
8945
9348
|
if (config?.language) {
|
|
8946
9349
|
this.apiClient.setLanguage(config.language);
|
|
8947
9350
|
}
|
|
9351
|
+
if (config?.compatibilityDate) {
|
|
9352
|
+
this.apiClient.setCompatibilityDate(config.compatibilityDate);
|
|
9353
|
+
}
|
|
8948
9354
|
if (config?.onTokenRefresh) {
|
|
8949
9355
|
this.apiClient.setTokenProvider(config.onTokenRefresh);
|
|
8950
9356
|
}
|
|
@@ -8984,6 +9390,9 @@ var EsiClient = class {
|
|
|
8984
9390
|
get corporations() {
|
|
8985
9391
|
return this.getClient("corporations");
|
|
8986
9392
|
}
|
|
9393
|
+
get corporationProjects() {
|
|
9394
|
+
return this.getClient("corporationProjects");
|
|
9395
|
+
}
|
|
8987
9396
|
get dogma() {
|
|
8988
9397
|
return this.getClient("dogma");
|
|
8989
9398
|
}
|
|
@@ -9062,6 +9471,9 @@ var EsiClient = class {
|
|
|
9062
9471
|
get mercenary() {
|
|
9063
9472
|
return this.getClient("mercenary");
|
|
9064
9473
|
}
|
|
9474
|
+
get militaryCampaigns() {
|
|
9475
|
+
return this.getClient("militaryCampaigns");
|
|
9476
|
+
}
|
|
9065
9477
|
get accessLists() {
|
|
9066
9478
|
return this.getClient("accessLists");
|
|
9067
9479
|
}
|
|
@@ -9156,6 +9568,9 @@ var CustomEsiClient = class {
|
|
|
9156
9568
|
if (config.language) {
|
|
9157
9569
|
this.apiClient.setLanguage(config.language);
|
|
9158
9570
|
}
|
|
9571
|
+
if (config.compatibilityDate) {
|
|
9572
|
+
this.apiClient.setCompatibilityDate(config.compatibilityDate);
|
|
9573
|
+
}
|
|
9159
9574
|
if (config.onTokenRefresh) {
|
|
9160
9575
|
this.apiClient.setTokenProvider(config.onTokenRefresh);
|
|
9161
9576
|
}
|
|
@@ -9632,6 +10047,7 @@ __export(schemas_exports, {
|
|
|
9632
10047
|
CharacterLocationSchema: () => CharacterLocationSchema,
|
|
9633
10048
|
CharacterMarketOrderHistorySchema: () => CharacterMarketOrderHistorySchema,
|
|
9634
10049
|
CharacterMarketOrderSchema: () => CharacterMarketOrderSchema,
|
|
10050
|
+
CharacterMilitaryCampaignObjectiveSchema: () => CharacterMilitaryCampaignObjectiveSchema,
|
|
9635
10051
|
CharacterOnlineSchema: () => CharacterOnlineSchema,
|
|
9636
10052
|
CharacterPortraitSchema: () => CharacterPortraitSchema,
|
|
9637
10053
|
CharacterRoleSchema: () => CharacterRoleSchema,
|
|
@@ -9663,6 +10079,9 @@ __export(schemas_exports, {
|
|
|
9663
10079
|
CorporationMemberRoleSchema: () => CorporationMemberRoleSchema,
|
|
9664
10080
|
CorporationMemberTitleSchema: () => CorporationMemberTitleSchema,
|
|
9665
10081
|
CorporationMemberTrackingSchema: () => CorporationMemberTrackingSchema,
|
|
10082
|
+
CorporationProjectContributionSchema: () => CorporationProjectContributionSchema,
|
|
10083
|
+
CorporationProjectContributorSchema: () => CorporationProjectContributorSchema,
|
|
10084
|
+
CorporationProjectSchema: () => CorporationProjectSchema,
|
|
9666
10085
|
CorporationRoleHistorySchema: () => CorporationRoleHistorySchema,
|
|
9667
10086
|
CorporationShareholderSchema: () => CorporationShareholderSchema,
|
|
9668
10087
|
CorporationStandingSchema: () => StandingSchema,
|
|
@@ -9717,6 +10136,13 @@ __export(schemas_exports, {
|
|
|
9717
10136
|
MedalSchema: () => MedalSchema,
|
|
9718
10137
|
MercenaryDenSchema: () => MercenaryDenSchema,
|
|
9719
10138
|
MercenaryTacticalOperationSchema: () => MercenaryTacticalOperationSchema,
|
|
10139
|
+
MetaChangelogEntrySchema: () => MetaChangelogEntrySchema,
|
|
10140
|
+
MetaChangelogSchema: () => MetaChangelogSchema,
|
|
10141
|
+
MetaCompatibilityDatesSchema: () => MetaCompatibilityDatesSchema,
|
|
10142
|
+
MetaNameSchema: () => MetaNameSchema,
|
|
10143
|
+
MetaStatusSchema: () => MetaStatusSchema,
|
|
10144
|
+
MilitaryCampaignObjectiveSchema: () => MilitaryCampaignObjectiveSchema,
|
|
10145
|
+
MilitaryCampaignSchema: () => MilitaryCampaignSchema,
|
|
9720
10146
|
MiningLedgerEntrySchema: () => MiningLedgerEntrySchema,
|
|
9721
10147
|
MiningObserverEntrySchema: () => MiningObserverEntrySchema,
|
|
9722
10148
|
MiningObserverSchema: () => MiningObserverSchema,
|
|
@@ -9752,6 +10178,7 @@ __export(schemas_exports, {
|
|
|
9752
10178
|
WalletJournalSchema: () => WalletJournalSchema,
|
|
9753
10179
|
WalletTransactionSchema: () => WalletTransactionSchema,
|
|
9754
10180
|
WarSchema: () => WarSchema,
|
|
10181
|
+
esiEnum: () => esiEnum,
|
|
9755
10182
|
esiResponse: () => esiResponse
|
|
9756
10183
|
});
|
|
9757
10184
|
export {
|
|
@@ -9769,6 +10196,7 @@ export {
|
|
|
9769
10196
|
ClonesClient,
|
|
9770
10197
|
ContactsClient,
|
|
9771
10198
|
ContractsClient,
|
|
10199
|
+
CorporationProjectsClient,
|
|
9772
10200
|
CorporationsClient,
|
|
9773
10201
|
CustomEsiClient,
|
|
9774
10202
|
DogmaClient,
|
|
@@ -9794,6 +10222,7 @@ export {
|
|
|
9794
10222
|
MarketClient,
|
|
9795
10223
|
MercenaryClient,
|
|
9796
10224
|
MetaClient,
|
|
10225
|
+
MilitaryCampaignsClient,
|
|
9797
10226
|
PiClient,
|
|
9798
10227
|
RateLimiter,
|
|
9799
10228
|
RequestDeduplicator,
|