@lgriffin/esi.ts 9.7.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +370 -0
- package/README.md +168 -231
- package/dist/EsiClient.d.ts +4 -0
- package/dist/EsiClient.d.ts.map +1 -1
- package/dist/EsiClientBuilder.d.ts.map +1 -1
- package/dist/auth/EsiTokenManager.d.ts +200 -0
- package/dist/auth/EsiTokenManager.d.ts.map +1 -0
- package/dist/auth/EveSsoClient.d.ts +88 -0
- package/dist/auth/EveSsoClient.d.ts.map +1 -0
- package/dist/auth/errors.d.ts +42 -0
- package/dist/auth/errors.d.ts.map +1 -0
- package/dist/auth/index.d.ts +14 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/jwt.d.ts +43 -0
- package/dist/auth/jwt.d.ts.map +1 -0
- package/dist/auth/pkce.d.ts +21 -0
- package/dist/auth/pkce.d.ts.map +1 -0
- package/dist/auth/storage/FileTokenStorage.d.ts +44 -0
- package/dist/auth/storage/FileTokenStorage.d.ts.map +1 -0
- package/dist/auth/storage/MemoryTokenStorage.d.ts +18 -0
- package/dist/auth/storage/MemoryTokenStorage.d.ts.map +1 -0
- package/dist/auth/types.d.ts +42 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/chunk-3ZI5A37L.mjs +1065 -0
- package/dist/chunk-3ZI5A37L.mjs.map +1 -0
- package/dist/chunk-7A72QFDF.mjs +416 -0
- package/dist/chunk-7A72QFDF.mjs.map +1 -0
- package/dist/chunk-BBSHKVPI.js +71 -0
- package/dist/chunk-BBSHKVPI.js.map +1 -0
- package/dist/chunk-HPSACXX3.js +416 -0
- package/dist/chunk-HPSACXX3.js.map +1 -0
- package/dist/chunk-JIW4BXLP.mjs +17 -0
- package/dist/chunk-JIW4BXLP.mjs.map +1 -0
- package/dist/chunk-MSJHIJXA.js +1065 -0
- package/dist/chunk-MSJHIJXA.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-R7D7M2LQ.mjs +71 -0
- package/dist/chunk-R7D7M2LQ.mjs.map +1 -0
- package/dist/chunk-SAQBXXTM.js +2614 -0
- package/dist/chunk-SAQBXXTM.js.map +1 -0
- package/dist/chunk-VZS32UQ3.mjs +2614 -0
- package/dist/chunk-VZS32UQ3.mjs.map +1 -0
- package/dist/clients/AllianceClient.d.ts.map +1 -1
- package/dist/clients/ContractsClient.d.ts +12 -9
- package/dist/clients/ContractsClient.d.ts.map +1 -1
- package/dist/clients/CorporationProjectsClient.d.ts +22 -12
- package/dist/clients/CorporationProjectsClient.d.ts.map +1 -1
- package/dist/clients/FactionClient.d.ts +4 -4
- package/dist/clients/FactionClient.d.ts.map +1 -1
- package/dist/clients/FreelanceJobsClient.d.ts +3 -3
- package/dist/clients/FreelanceJobsClient.d.ts.map +1 -1
- package/dist/clients/IndustryClient.d.ts +4 -4
- package/dist/clients/IndustryClient.d.ts.map +1 -1
- package/dist/clients/MailClient.d.ts +4 -4
- package/dist/clients/MailClient.d.ts.map +1 -1
- package/dist/clients/MetaClient.d.ts +3 -2
- package/dist/clients/MetaClient.d.ts.map +1 -1
- package/dist/clients/WalletClient.d.ts +4 -4
- package/dist/clients/WalletClient.d.ts.map +1 -1
- package/dist/core/ApiClient.d.ts +4 -0
- package/dist/core/ApiClient.d.ts.map +1 -1
- package/dist/core/ApiRequestHandler.d.ts.map +1 -1
- package/dist/core/BatchRequestHandler.d.ts.map +1 -1
- package/dist/core/RequestDeduplicator.d.ts +2 -0
- package/dist/core/RequestDeduplicator.d.ts.map +1 -1
- package/dist/core/RetryStrategy.d.ts +2 -0
- package/dist/core/RetryStrategy.d.ts.map +1 -1
- package/dist/core/cache/ETagCacheManager.d.ts +4 -0
- package/dist/core/cache/ETagCacheManager.d.ts.map +1 -1
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts +3 -0
- package/dist/core/circuitBreaker/CircuitBreaker.d.ts.map +1 -1
- package/dist/core/configureApiClient.d.ts.map +1 -1
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/endpoints/calendarEndpoints.d.ts +7 -7
- package/dist/core/endpoints/characterEndpoints.d.ts +2 -2
- package/dist/core/endpoints/cloneEndpoints.d.ts +2 -2
- package/dist/core/endpoints/contractEndpoints.d.ts +15 -22
- package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationEndpoints.d.ts +19 -22
- package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts +75 -23
- package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/createClient.d.ts.map +1 -1
- package/dist/core/endpoints/dogmaEndpoints.d.ts +2 -2
- package/dist/core/endpoints/factionEndpoints.d.ts +36 -36
- package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/fleetEndpoints.d.ts +1 -1
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +131 -122
- package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/industryEndpoints.d.ts +6 -6
- package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mailEndpoints.d.ts +3 -5
- package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/mercenaryEndpoints.d.ts +1 -1
- package/dist/core/endpoints/metaEndpoints.d.ts +5 -1
- package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/piEndpoints.d.ts +2 -2
- package/dist/core/endpoints/statusEndpoints.d.ts +1 -1
- package/dist/core/endpoints/universeEndpoints.d.ts +22 -22
- package/dist/core/endpoints/walletEndpoints.d.ts +2 -3
- package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
- package/dist/core/logger/DefaultLogger.d.ts +31 -0
- package/dist/core/logger/DefaultLogger.d.ts.map +1 -0
- package/dist/core/logger/ILogger.d.ts +14 -4
- package/dist/core/logger/ILogger.d.ts.map +1 -1
- package/dist/core/logger/NoopLogger.d.ts +4 -0
- package/dist/core/logger/NoopLogger.d.ts.map +1 -1
- package/dist/core/logger/clientLog.d.ts +11 -0
- package/dist/core/logger/clientLog.d.ts.map +1 -0
- package/dist/core/logger/logger.d.ts +11 -3
- package/dist/core/logger/logger.d.ts.map +1 -1
- package/dist/core/logger/loggerUtil.d.ts +8 -6
- package/dist/core/logger/loggerUtil.d.ts.map +1 -1
- package/dist/core/logger/resolveLogger.d.ts +10 -0
- package/dist/core/logger/resolveLogger.d.ts.map +1 -0
- package/dist/core/pagination/AsyncPaginationIterator.d.ts.map +1 -1
- package/dist/core/pagination/CursorPaginationHandler.d.ts.map +1 -1
- package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
- package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
- package/dist/core/requestPipeline/cachePolicy.d.ts +14 -0
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts +1 -1
- package/dist/core/requestPipeline/fetchExecution.d.ts.map +1 -1
- package/dist/core/requestPipeline/headers.d.ts.map +1 -1
- package/dist/core/requestPipeline/index.d.ts +2 -2
- package/dist/core/requestPipeline/index.d.ts.map +1 -1
- package/dist/core/requestPipeline/paginationOrchestration.d.ts.map +1 -1
- package/dist/core/requestPipeline/statusHandling.d.ts +8 -2
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
- package/dist/core/util/concurrency.d.ts +29 -0
- package/dist/core/util/concurrency.d.ts.map +1 -0
- package/dist/errors.d.ts +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +53 -195
- package/dist/errors.js.map +1 -1
- package/dist/errors.mjs +37 -129
- package/dist/errors.mjs.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1972 -3472
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1606 -2995
- package/dist/index.mjs.map +1 -1
- package/dist/schemas/calendar.d.ts +9 -7
- package/dist/schemas/calendar.d.ts.map +1 -1
- package/dist/schemas/character.d.ts +2 -2
- package/dist/schemas/clones.d.ts +2 -2
- package/dist/schemas/contracts.d.ts +69 -6
- package/dist/schemas/contracts.d.ts.map +1 -1
- package/dist/schemas/corporation-projects.d.ts +96 -9
- package/dist/schemas/corporation-projects.d.ts.map +1 -1
- package/dist/schemas/corporation.d.ts +34 -22
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/dogma.d.ts +2 -2
- package/dist/schemas/faction-warfare.d.ts +125 -12
- package/dist/schemas/faction-warfare.d.ts.map +1 -1
- package/dist/schemas/fleet.d.ts +1 -1
- package/dist/schemas/freelance-jobs.d.ts +52 -22
- package/dist/schemas/freelance-jobs.d.ts.map +1 -1
- package/dist/schemas/index.js +420 -2479
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/index.mjs +225 -2065
- package/dist/schemas/index.mjs.map +1 -1
- package/dist/schemas/industry.d.ts +33 -0
- package/dist/schemas/industry.d.ts.map +1 -1
- package/dist/schemas/mail.d.ts +24 -5
- package/dist/schemas/mail.d.ts.map +1 -1
- package/dist/schemas/mercenary.d.ts +1 -1
- package/dist/schemas/meta.d.ts +12 -1
- package/dist/schemas/meta.d.ts.map +1 -1
- package/dist/schemas/pi.d.ts +2 -2
- package/dist/schemas/status.d.ts +1 -1
- package/dist/schemas/universe.d.ts +22 -22
- package/dist/schemas/universe.d.ts.map +1 -1
- package/dist/schemas/wallet.d.ts +16 -0
- package/dist/schemas/wallet.d.ts.map +1 -1
- package/dist/sde/SdeDataProvider.d.ts.map +1 -1
- package/dist/sde/index.js +95 -1162
- package/dist/sde/index.js.map +1 -1
- package/dist/sde/index.mjs +73 -1091
- package/dist/sde/index.mjs.map +1 -1
- package/dist/sde/ingestion/SdeExtractor.d.ts.map +1 -1
- package/dist/sde/ingestion/metadata.d.ts +13 -0
- package/dist/sde/ingestion/metadata.d.ts.map +1 -0
- package/dist/sde/memory.js +21 -1095
- package/dist/sde/memory.js.map +1 -1
- package/dist/sde/memory.mjs +13 -1051
- package/dist/sde/memory.mjs.map +1 -1
- package/dist/sde/optionalPeers.d.ts +25 -0
- package/dist/sde/optionalPeers.d.ts.map +1 -0
- package/dist/testing/TestDataFactory.d.ts +28 -1
- package/dist/testing/TestDataFactory.d.ts.map +1 -1
- package/dist/testing/index.js +116 -125
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/index.mjs +110 -82
- package/dist/testing/index.mjs.map +1 -1
- package/dist/types/contracts.d.ts +4 -1
- package/dist/types/contracts.d.ts.map +1 -1
- package/dist/types/corporation-projects.d.ts +5 -1
- package/dist/types/corporation-projects.d.ts.map +1 -1
- package/dist/types/faction-warfare.d.ts +9 -1
- package/dist/types/faction-warfare.d.ts.map +1 -1
- package/dist/types/freelance-jobs.d.ts +2 -1
- package/dist/types/freelance-jobs.d.ts.map +1 -1
- package/dist/types/generated/spec-alignment.check.d.ts +2 -2
- package/dist/types/industry.d.ts +2 -1
- package/dist/types/industry.d.ts.map +1 -1
- package/dist/types/mail.d.ts +2 -1
- package/dist/types/mail.d.ts.map +1 -1
- package/dist/types/meta.d.ts +2 -1
- package/dist/types/meta.d.ts.map +1 -1
- package/dist/types/wallet.d.ts +2 -1
- package/dist/types/wallet.d.ts.map +1 -1
- package/package.json +46 -23
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/** A calendar entry; ESI marks every field optional. */
|
|
2
3
|
export declare const CalendarEventSchema: z.ZodObject<{
|
|
3
|
-
event_id: z.ZodNumber
|
|
4
|
-
event_date: z.ZodString
|
|
5
|
-
title: z.ZodString
|
|
6
|
-
importance: z.ZodNumber
|
|
7
|
-
event_response: z.ZodType<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown, z.core.$ZodTypeInternals<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown
|
|
4
|
+
event_id: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
event_date: z.ZodOptional<z.ZodString>;
|
|
6
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7
|
+
importance: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
event_response: z.ZodOptional<z.ZodType<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown, z.core.$ZodTypeInternals<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown>>>;
|
|
8
9
|
}, z.core.$loose>;
|
|
9
10
|
export declare const CalendarEventDetailSchema: z.ZodObject<{
|
|
10
11
|
event_id: z.ZodNumber;
|
|
@@ -18,8 +19,9 @@ export declare const CalendarEventDetailSchema: z.ZodObject<{
|
|
|
18
19
|
importance: z.ZodNumber;
|
|
19
20
|
response: z.ZodString;
|
|
20
21
|
}, z.core.$loose>;
|
|
22
|
+
/** An event attendee; ESI marks both fields optional. */
|
|
21
23
|
export declare const CalendarEventAttendeeSchema: z.ZodObject<{
|
|
22
|
-
character_id: z.ZodNumber
|
|
23
|
-
event_response: z.ZodType<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown, z.core.$ZodTypeInternals<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown
|
|
24
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
event_response: z.ZodOptional<z.ZodType<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown, z.core.$ZodTypeInternals<(string & {}) | "declined" | "not_responded" | "accepted" | "tentative", unknown>>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
27
|
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/schemas/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;iBAW9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBAiBpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;iBAQtC,CAAC"}
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/schemas/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,wDAAwD;AACxD,eAAO,MAAM,mBAAmB;;;;;;iBAW9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;iBAiBpC,CAAC;AAEH,yDAAyD;AACzD,eAAO,MAAM,2BAA2B;;;iBAQtC,CAAC"}
|
|
@@ -84,8 +84,8 @@ export declare const NotificationSchema: z.ZodObject<{
|
|
|
84
84
|
is_read: z.ZodOptional<z.ZodBoolean>;
|
|
85
85
|
}, z.core.$loose>;
|
|
86
86
|
export declare const CharacterTitleSchema: z.ZodObject<{
|
|
87
|
-
title_id: z.ZodNumber
|
|
88
|
-
name: z.ZodString
|
|
87
|
+
title_id: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
name: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, z.core.$loose>;
|
|
90
90
|
export declare const CharacterAffiliationSchema: z.ZodObject<{
|
|
91
91
|
character_id: z.ZodNumber;
|
package/dist/schemas/clones.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CloneInfoSchema: z.ZodObject<{
|
|
3
3
|
home_location: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
location_id: z.ZodNumber
|
|
5
|
-
location_type: z.ZodType<(string & {}) | "station" | "structure", unknown, z.core.$ZodTypeInternals<(string & {}) | "station" | "structure", unknown
|
|
4
|
+
location_id: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
location_type: z.ZodOptional<z.ZodType<(string & {}) | "station" | "structure", unknown, z.core.$ZodTypeInternals<(string & {}) | "station" | "structure", unknown>>>;
|
|
6
6
|
}, z.core.$loose>>;
|
|
7
7
|
jump_clones: z.ZodArray<z.ZodObject<{
|
|
8
8
|
jump_clone_id: z.ZodNumber;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* A contract a character or corporation is party to, from
|
|
4
|
+
* `GET /characters/{character_id}/contracts` and
|
|
5
|
+
* `GET /corporations/{corporation_id}/contracts`.
|
|
6
|
+
*/
|
|
2
7
|
export declare const ContractSchema: z.ZodObject<{
|
|
3
8
|
contract_id: z.ZodNumber;
|
|
4
9
|
issuer_id: z.ZodNumber;
|
|
5
10
|
issuer_corporation_id: z.ZodNumber;
|
|
6
|
-
assignee_id: z.
|
|
7
|
-
acceptor_id: z.
|
|
11
|
+
assignee_id: z.ZodNumber;
|
|
12
|
+
acceptor_id: z.ZodNumber;
|
|
8
13
|
start_location_id: z.ZodOptional<z.ZodNumber>;
|
|
9
14
|
end_location_id: z.ZodOptional<z.ZodNumber>;
|
|
10
15
|
type: z.ZodType<(string & {}) | "unknown" | "item_exchange" | "auction" | "courier" | "loan", unknown, z.core.$ZodTypeInternals<(string & {}) | "unknown" | "item_exchange" | "auction" | "courier" | "loan", unknown>>;
|
|
11
|
-
status: z.
|
|
16
|
+
status: z.ZodType<(string & {}) | "cancelled" | "outstanding" | "in_progress" | "finished_issuer" | "finished_contractor" | "finished" | "rejected" | "failed" | "deleted" | "reversed", unknown, z.core.$ZodTypeInternals<(string & {}) | "cancelled" | "outstanding" | "in_progress" | "finished_issuer" | "finished_contractor" | "finished" | "rejected" | "failed" | "deleted" | "reversed", unknown>>;
|
|
12
17
|
title: z.ZodOptional<z.ZodString>;
|
|
13
|
-
for_corporation: z.
|
|
14
|
-
availability: z.
|
|
18
|
+
for_corporation: z.ZodBoolean;
|
|
19
|
+
availability: z.ZodType<(string & {}) | "corporation" | "alliance" | "public" | "personal", unknown, z.core.$ZodTypeInternals<(string & {}) | "corporation" | "alliance" | "public" | "personal", unknown>>;
|
|
15
20
|
date_issued: z.ZodString;
|
|
16
21
|
date_expired: z.ZodString;
|
|
17
22
|
date_accepted: z.ZodOptional<z.ZodString>;
|
|
@@ -23,19 +28,77 @@ export declare const ContractSchema: z.ZodObject<{
|
|
|
23
28
|
buyout: z.ZodOptional<z.ZodNumber>;
|
|
24
29
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
25
30
|
}, z.core.$loose>;
|
|
31
|
+
/**
|
|
32
|
+
* A public contract from `GET /contracts/public/{region_id}`. ESI sends no
|
|
33
|
+
* status, availability, assignee or acceptor here: every listed contract is
|
|
34
|
+
* public and outstanding.
|
|
35
|
+
*/
|
|
36
|
+
export declare const PublicContractSchema: z.ZodObject<{
|
|
37
|
+
contract_id: z.ZodNumber;
|
|
38
|
+
issuer_id: z.ZodNumber;
|
|
39
|
+
issuer_corporation_id: z.ZodNumber;
|
|
40
|
+
start_location_id: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
end_location_id: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
type: z.ZodType<(string & {}) | "unknown" | "item_exchange" | "auction" | "courier" | "loan", unknown, z.core.$ZodTypeInternals<(string & {}) | "unknown" | "item_exchange" | "auction" | "courier" | "loan", unknown>>;
|
|
43
|
+
title: z.ZodOptional<z.ZodString>;
|
|
44
|
+
for_corporation: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
date_issued: z.ZodString;
|
|
46
|
+
date_expired: z.ZodString;
|
|
47
|
+
days_to_complete: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
reward: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
collateral: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
buyout: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
volume: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
/**
|
|
55
|
+
* An item line on a character or corporation contract, from
|
|
56
|
+
* `GET /characters/{character_id}/contracts/{contract_id}/items` and
|
|
57
|
+
* `GET /corporations/{corporation_id}/contracts/{contract_id}/items`.
|
|
58
|
+
*/
|
|
26
59
|
export declare const ContractItemSchema: z.ZodObject<{
|
|
27
60
|
record_id: z.ZodNumber;
|
|
28
61
|
type_id: z.ZodNumber;
|
|
29
62
|
quantity: z.ZodNumber;
|
|
30
63
|
raw_quantity: z.ZodOptional<z.ZodNumber>;
|
|
31
64
|
is_singleton: z.ZodBoolean;
|
|
32
|
-
is_blueprint_copy: z.ZodOptional<z.ZodBoolean>;
|
|
33
65
|
is_included: z.ZodBoolean;
|
|
34
66
|
}, z.core.$loose>;
|
|
67
|
+
/**
|
|
68
|
+
* An item line on a public contract, from
|
|
69
|
+
* `GET /contracts/public/items/{contract_id}`. ESI sends no is_singleton or
|
|
70
|
+
* raw_quantity here; a blueprint line carries its item ID, copy flag,
|
|
71
|
+
* efficiencies and runs.
|
|
72
|
+
*/
|
|
73
|
+
export declare const PublicContractItemSchema: z.ZodObject<{
|
|
74
|
+
record_id: z.ZodNumber;
|
|
75
|
+
type_id: z.ZodNumber;
|
|
76
|
+
quantity: z.ZodNumber;
|
|
77
|
+
is_included: z.ZodBoolean;
|
|
78
|
+
item_id: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
is_blueprint_copy: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
material_efficiency: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
time_efficiency: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
runs: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
}, z.core.$loose>;
|
|
84
|
+
/**
|
|
85
|
+
* A bid on a character or corporation auction contract, from
|
|
86
|
+
* `GET /characters/{character_id}/contracts/{contract_id}/bids` and
|
|
87
|
+
* `GET /corporations/{corporation_id}/contracts/{contract_id}/bids`.
|
|
88
|
+
*/
|
|
35
89
|
export declare const ContractBidSchema: z.ZodObject<{
|
|
36
90
|
bid_id: z.ZodNumber;
|
|
37
91
|
bidder_id: z.ZodNumber;
|
|
38
92
|
date_bid: z.ZodString;
|
|
39
93
|
amount: z.ZodNumber;
|
|
40
94
|
}, z.core.$loose>;
|
|
95
|
+
/**
|
|
96
|
+
* A bid on a public auction contract, from
|
|
97
|
+
* `GET /contracts/public/bids/{contract_id}`. ESI does not name the bidder.
|
|
98
|
+
*/
|
|
99
|
+
export declare const PublicContractBidSchema: z.ZodObject<{
|
|
100
|
+
bid_id: z.ZodNumber;
|
|
101
|
+
date_bid: z.ZodString;
|
|
102
|
+
amount: z.ZodNumber;
|
|
103
|
+
}, z.core.$loose>;
|
|
41
104
|
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/schemas/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/schemas/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;iBAkCzB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;iBAiB/B,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;iBAO7B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;iBAUnC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;iBAIlC,CAAC"}
|
|
@@ -1,17 +1,104 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Opaque cursor tokens on a corporation project page. ESI marks both optional
|
|
4
|
+
* and omits the object on some pages.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CorporationProjectCursorSchema: z.ZodObject<{
|
|
7
|
+
before: z.ZodOptional<z.ZodString>;
|
|
8
|
+
after: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
/** One entry of a corporation project list page. */
|
|
11
|
+
export declare const CorporationProjectSummarySchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
state: z.ZodType<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown>>;
|
|
15
|
+
last_modified: z.ZodString;
|
|
16
|
+
progress: z.ZodObject<{
|
|
17
|
+
current: z.ZodNumber;
|
|
18
|
+
desired: z.ZodNumber;
|
|
19
|
+
}, z.core.$loose>;
|
|
20
|
+
reward: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
initial: z.ZodNumber;
|
|
22
|
+
remaining: z.ZodNumber;
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
/** A page of `GET /corporations/{corporation_id}/projects`. */
|
|
26
|
+
export declare const CorporationProjectsListingSchema: z.ZodObject<{
|
|
27
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
before: z.ZodOptional<z.ZodString>;
|
|
29
|
+
after: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
state: z.ZodType<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown>>;
|
|
35
|
+
last_modified: z.ZodString;
|
|
36
|
+
progress: z.ZodObject<{
|
|
37
|
+
current: z.ZodNumber;
|
|
38
|
+
desired: z.ZodNumber;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
reward: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
initial: z.ZodNumber;
|
|
42
|
+
remaining: z.ZodNumber;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
/** `GET /corporations/{corporation_id}/projects/{project_id}`. */
|
|
2
47
|
export declare const CorporationProjectSchema: z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
48
|
+
id: z.ZodString;
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
state: z.ZodType<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Active" | "Closed" | "Completed" | "Expired" | "Deleted", unknown>>;
|
|
51
|
+
last_modified: z.ZodString;
|
|
52
|
+
progress: z.ZodObject<{
|
|
53
|
+
current: z.ZodNumber;
|
|
54
|
+
desired: z.ZodNumber;
|
|
55
|
+
}, z.core.$loose>;
|
|
56
|
+
reward: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
initial: z.ZodNumber;
|
|
58
|
+
remaining: z.ZodNumber;
|
|
59
|
+
}, z.core.$loose>>;
|
|
60
|
+
creator: z.ZodObject<{
|
|
61
|
+
id: z.ZodNumber;
|
|
62
|
+
name: z.ZodString;
|
|
63
|
+
}, z.core.$loose>;
|
|
64
|
+
details: z.ZodObject<{
|
|
65
|
+
career: z.ZodType<(string & {}) | "Unspecified" | "Explorer" | "Industrialist" | "Enforcer" | "Soldier of Fortune", unknown, z.core.$ZodTypeInternals<(string & {}) | "Unspecified" | "Explorer" | "Industrialist" | "Enforcer" | "Soldier of Fortune", unknown>>;
|
|
66
|
+
created: z.ZodString;
|
|
67
|
+
description: z.ZodString;
|
|
68
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
69
|
+
finished: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$loose>;
|
|
71
|
+
configuration: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
72
|
+
contribution: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
participation_limit: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
reward_per_contribution: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
submission_limit: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
submission_multiplier: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, z.core.$loose>>;
|
|
8
78
|
}, z.core.$loose>;
|
|
79
|
+
/**
|
|
80
|
+
* `GET /corporations/{corporation_id}/projects/{project_id}/contribution/{character_id}`.
|
|
81
|
+
*/
|
|
9
82
|
export declare const CorporationProjectContributionSchema: z.ZodObject<{
|
|
10
|
-
|
|
11
|
-
|
|
83
|
+
contributed: z.ZodNumber;
|
|
84
|
+
last_modified: z.ZodOptional<z.ZodString>;
|
|
12
85
|
}, z.core.$loose>;
|
|
86
|
+
/** One entry of a project contributor page. */
|
|
13
87
|
export declare const CorporationProjectContributorSchema: z.ZodObject<{
|
|
14
|
-
|
|
15
|
-
|
|
88
|
+
id: z.ZodNumber;
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
contributed: z.ZodNumber;
|
|
91
|
+
}, z.core.$loose>;
|
|
92
|
+
/** A page of `GET /corporations/{corporation_id}/projects/{project_id}/contributors`. */
|
|
93
|
+
export declare const CorporationProjectContributorsListingSchema: z.ZodObject<{
|
|
94
|
+
contributors: z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodNumber;
|
|
96
|
+
name: z.ZodString;
|
|
97
|
+
contributed: z.ZodNumber;
|
|
98
|
+
}, z.core.$loose>>;
|
|
99
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
before: z.ZodOptional<z.ZodString>;
|
|
101
|
+
after: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$loose>>;
|
|
16
103
|
}, z.core.$loose>;
|
|
17
104
|
//# sourceMappingURL=corporation-projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corporation-projects.d.ts","sourceRoot":"","sources":["../../src/schemas/corporation-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"corporation-projects.d.ts","sourceRoot":"","sources":["../../src/schemas/corporation-projects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAqBH,oDAAoD;AACpD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;iBAO1C,CAAC;AAEH,+DAA+D;AAC/D,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;iBAG3C,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsCnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAC;AAEH,+CAA+C;AAC/C,eAAO,MAAM,mCAAmC;;;;iBAI9C,CAAC;AAEH,yFAAyF;AACzF,eAAO,MAAM,2CAA2C;;;;;;;;;;iBAGtD,CAAC"}
|
|
@@ -22,18 +22,19 @@ export declare const CorporationAllianceHistorySchema: z.ZodObject<{
|
|
|
22
22
|
record_id: z.ZodNumber;
|
|
23
23
|
start_date: z.ZodString;
|
|
24
24
|
}, z.core.$loose>;
|
|
25
|
+
/** A medal design, from `GET /corporations/{corporation_id}/medals`. */
|
|
25
26
|
export declare const CorporationMedalSchema: z.ZodObject<{
|
|
26
27
|
medal_id: z.ZodNumber;
|
|
27
28
|
title: z.ZodString;
|
|
28
29
|
description: z.ZodString;
|
|
29
30
|
creator_id: z.ZodNumber;
|
|
30
|
-
|
|
31
|
+
created_at: z.ZodString;
|
|
31
32
|
}, z.core.$loose>;
|
|
32
33
|
export declare const CorporationStarbaseSchema: z.ZodObject<{
|
|
33
34
|
starbase_id: z.ZodNumber;
|
|
34
35
|
type_id: z.ZodNumber;
|
|
35
36
|
system_id: z.ZodNumber;
|
|
36
|
-
state: z.ZodType<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown, z.core.$ZodTypeInternals<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown
|
|
37
|
+
state: z.ZodOptional<z.ZodType<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown, z.core.$ZodTypeInternals<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown>>>;
|
|
37
38
|
moon_id: z.ZodOptional<z.ZodNumber>;
|
|
38
39
|
onlined_since: z.ZodOptional<z.ZodString>;
|
|
39
40
|
reinforced_until: z.ZodOptional<z.ZodString>;
|
|
@@ -41,11 +42,11 @@ export declare const CorporationStarbaseSchema: z.ZodObject<{
|
|
|
41
42
|
}, z.core.$loose>;
|
|
42
43
|
export declare const CorporationDivisionsSchema: z.ZodObject<{
|
|
43
44
|
hangar: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
-
division: z.ZodNumber
|
|
45
|
+
division: z.ZodOptional<z.ZodNumber>;
|
|
45
46
|
name: z.ZodOptional<z.ZodString>;
|
|
46
47
|
}, z.core.$loose>>>;
|
|
47
48
|
wallet: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
|
-
division: z.ZodNumber
|
|
49
|
+
division: z.ZodOptional<z.ZodNumber>;
|
|
49
50
|
name: z.ZodOptional<z.ZodString>;
|
|
50
51
|
}, z.core.$loose>>>;
|
|
51
52
|
}, z.core.$loose>;
|
|
@@ -54,10 +55,13 @@ export declare const CorporationFacilitySchema: z.ZodObject<{
|
|
|
54
55
|
type_id: z.ZodNumber;
|
|
55
56
|
system_id: z.ZodNumber;
|
|
56
57
|
}, z.core.$loose>;
|
|
58
|
+
/**
|
|
59
|
+
* A medal awarded to a member, from
|
|
60
|
+
* `GET /corporations/{corporation_id}/medals/issued`. ESI sends no title or
|
|
61
|
+
* description: join on medal_id to the medal list for those.
|
|
62
|
+
*/
|
|
57
63
|
export declare const CorporationIssuedMedalSchema: z.ZodObject<{
|
|
58
64
|
medal_id: z.ZodNumber;
|
|
59
|
-
title: z.ZodString;
|
|
60
|
-
description: z.ZodString;
|
|
61
65
|
character_id: z.ZodNumber;
|
|
62
66
|
issued_at: z.ZodString;
|
|
63
67
|
issuer_id: z.ZodNumber;
|
|
@@ -70,7 +74,7 @@ export declare const CorporationMemberTitleSchema: z.ZodObject<{
|
|
|
70
74
|
}, z.core.$loose>;
|
|
71
75
|
export declare const CorporationMemberTrackingSchema: z.ZodObject<{
|
|
72
76
|
character_id: z.ZodNumber;
|
|
73
|
-
start_date: z.ZodString
|
|
77
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
74
78
|
base_id: z.ZodOptional<z.ZodNumber>;
|
|
75
79
|
location_id: z.ZodOptional<z.ZodNumber>;
|
|
76
80
|
logoff_date: z.ZodOptional<z.ZodString>;
|
|
@@ -89,38 +93,46 @@ export declare const CorporationMemberRoleSchema: z.ZodObject<{
|
|
|
89
93
|
roles_at_other: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
94
|
grantable_roles_at_other: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
95
|
}, z.core.$loose>;
|
|
96
|
+
/**
|
|
97
|
+
* One role change, from `GET /corporations/{corporation_id}/roles/history`:
|
|
98
|
+
* the member's full role set of `role_type` before and after the change.
|
|
99
|
+
*/
|
|
92
100
|
export declare const CorporationRoleHistorySchema: z.ZodObject<{
|
|
93
101
|
character_id: z.ZodNumber;
|
|
94
102
|
changed_at: z.ZodString;
|
|
95
103
|
issuer_id: z.ZodNumber;
|
|
96
104
|
role_type: z.ZodString;
|
|
97
|
-
|
|
98
|
-
|
|
105
|
+
old_roles: z.ZodArray<z.ZodString>;
|
|
106
|
+
new_roles: z.ZodArray<z.ZodString>;
|
|
99
107
|
}, z.core.$loose>;
|
|
100
108
|
export declare const CorporationShareholderSchema: z.ZodObject<{
|
|
101
109
|
shareholder_id: z.ZodNumber;
|
|
102
110
|
shareholder_type: z.ZodType<(string & {}) | "character" | "corporation", unknown, z.core.$ZodTypeInternals<(string & {}) | "character" | "corporation", unknown>>;
|
|
103
111
|
share_count: z.ZodNumber;
|
|
104
112
|
}, z.core.$loose>;
|
|
113
|
+
/**
|
|
114
|
+
* A control tower's configuration, from
|
|
115
|
+
* `GET /corporations/{corporation_id}/starbases/{starbase_id}`. ESI sends no
|
|
116
|
+
* state here; it is on the starbase list.
|
|
117
|
+
*/
|
|
105
118
|
export declare const CorporationStarbaseDetailSchema: z.ZodObject<{
|
|
106
|
-
state: z.ZodType<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown, z.core.$ZodTypeInternals<(string & {}) | "offline" | "online" | "onlining" | "reinforced" | "unanchoring", unknown>>;
|
|
107
119
|
fuels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108
120
|
type_id: z.ZodNumber;
|
|
109
121
|
quantity: z.ZodNumber;
|
|
110
122
|
}, z.core.$loose>>>;
|
|
111
|
-
allow_alliance_members: z.
|
|
112
|
-
allow_corporation_members: z.
|
|
113
|
-
anchor: z.
|
|
114
|
-
attack_if_at_war: z.
|
|
115
|
-
attack_if_other_security_status_dropping: z.
|
|
123
|
+
allow_alliance_members: z.ZodBoolean;
|
|
124
|
+
allow_corporation_members: z.ZodBoolean;
|
|
125
|
+
anchor: z.ZodString;
|
|
126
|
+
attack_if_at_war: z.ZodBoolean;
|
|
127
|
+
attack_if_other_security_status_dropping: z.ZodBoolean;
|
|
116
128
|
attack_security_status_threshold: z.ZodOptional<z.ZodNumber>;
|
|
117
129
|
attack_standing_threshold: z.ZodOptional<z.ZodNumber>;
|
|
118
|
-
fuel_bay_take: z.
|
|
119
|
-
fuel_bay_view: z.
|
|
120
|
-
offline: z.
|
|
121
|
-
online: z.
|
|
122
|
-
unanchor: z.
|
|
123
|
-
use_alliance_standings: z.
|
|
130
|
+
fuel_bay_take: z.ZodString;
|
|
131
|
+
fuel_bay_view: z.ZodString;
|
|
132
|
+
offline: z.ZodString;
|
|
133
|
+
online: z.ZodString;
|
|
134
|
+
unanchor: z.ZodString;
|
|
135
|
+
use_alliance_standings: z.ZodBoolean;
|
|
124
136
|
}, z.core.$loose>;
|
|
125
137
|
export declare const CorporationStructureSchema: z.ZodObject<{
|
|
126
138
|
structure_id: z.ZodNumber;
|
|
@@ -143,7 +155,7 @@ export declare const CorporationStructureSchema: z.ZodObject<{
|
|
|
143
155
|
next_reinforce_apply: z.ZodOptional<z.ZodString>;
|
|
144
156
|
}, z.core.$loose>;
|
|
145
157
|
export declare const CorporationTitleSchema: z.ZodObject<{
|
|
146
|
-
title_id: z.ZodNumber
|
|
158
|
+
title_id: z.ZodOptional<z.ZodNumber>;
|
|
147
159
|
name: z.ZodOptional<z.ZodString>;
|
|
148
160
|
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
149
161
|
grantable_roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corporation.d.ts","sourceRoot":"","sources":["../../src/schemas/corporation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAgBhC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;iBAepC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;iBAiBrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"corporation.d.ts","sourceRoot":"","sources":["../../src/schemas/corporation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAgBhC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;iBAK3C,CAAC;AAEH,wEAAwE;AACxE,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;iBAepC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;iBAiBrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;;;;;iBAOvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;iBAS1C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;iBAUtC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;iBAOvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;iBAIvC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;iBAsB1C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;iBAuBrC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;iBAWjC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH,OAAO,EAAE,cAAc,IAAI,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAEvE,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;iBAa7B,CAAC"}
|
package/dist/schemas/dogma.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const DogmaAttributeSchema: z.ZodObject<{
|
|
3
3
|
attribute_id: z.ZodNumber;
|
|
4
|
-
name: z.ZodString
|
|
4
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5
5
|
description: z.ZodOptional<z.ZodString>;
|
|
6
6
|
icon_id: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
default_value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13,7 +13,7 @@ export declare const DogmaAttributeSchema: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$loose>;
|
|
14
14
|
export declare const DogmaEffectSchema: z.ZodObject<{
|
|
15
15
|
effect_id: z.ZodNumber;
|
|
16
|
-
name: z.ZodString
|
|
16
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17
17
|
description: z.ZodOptional<z.ZodString>;
|
|
18
18
|
icon_id: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -42,33 +42,146 @@ export declare const FactionWarfareWarSchema: z.ZodObject<{
|
|
|
42
42
|
faction_id: z.ZodNumber;
|
|
43
43
|
against_id: z.ZodNumber;
|
|
44
44
|
}, z.core.$loose>;
|
|
45
|
+
/** `GET /fw/leaderboards`: the top factions. */
|
|
46
|
+
export declare const FactionWarfareFactionLeaderboardSchema: z.ZodObject<{
|
|
47
|
+
kills: z.ZodObject<{
|
|
48
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
49
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
53
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
54
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
57
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
}, z.core.$loose>>;
|
|
60
|
+
}, z.core.$loose>;
|
|
61
|
+
victory_points: z.ZodObject<{
|
|
62
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
63
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
}, z.core.$loose>>;
|
|
66
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
67
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
}, z.core.$loose>>;
|
|
70
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
71
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
}, z.core.$loose>>;
|
|
74
|
+
}, z.core.$loose>;
|
|
75
|
+
}, z.core.$loose>;
|
|
76
|
+
/** `GET /fw/leaderboards/characters`: the top pilots. */
|
|
77
|
+
export declare const FactionWarfareCharacterLeaderboardSchema: z.ZodObject<{
|
|
78
|
+
kills: z.ZodObject<{
|
|
79
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
80
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
}, z.core.$loose>>;
|
|
83
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
84
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
}, z.core.$loose>>;
|
|
87
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
88
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
}, z.core.$loose>>;
|
|
91
|
+
}, z.core.$loose>;
|
|
92
|
+
victory_points: z.ZodObject<{
|
|
93
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
94
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
}, z.core.$loose>>;
|
|
97
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
98
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
}, z.core.$loose>>;
|
|
101
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
102
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
}, z.core.$loose>>;
|
|
105
|
+
}, z.core.$loose>;
|
|
106
|
+
}, z.core.$loose>;
|
|
107
|
+
/** `GET /fw/leaderboards/corporations`: the top corporations. */
|
|
108
|
+
export declare const FactionWarfareCorporationLeaderboardSchema: z.ZodObject<{
|
|
109
|
+
kills: z.ZodObject<{
|
|
110
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
111
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
}, z.core.$loose>>;
|
|
114
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
115
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$loose>>;
|
|
118
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
119
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
}, z.core.$loose>>;
|
|
122
|
+
}, z.core.$loose>;
|
|
123
|
+
victory_points: z.ZodObject<{
|
|
124
|
+
yesterday: z.ZodArray<z.ZodObject<{
|
|
125
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
}, z.core.$loose>>;
|
|
128
|
+
last_week: z.ZodArray<z.ZodObject<{
|
|
129
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
}, z.core.$loose>>;
|
|
132
|
+
active_total: z.ZodArray<z.ZodObject<{
|
|
133
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
}, z.core.$loose>>;
|
|
136
|
+
}, z.core.$loose>;
|
|
137
|
+
}, z.core.$loose>;
|
|
138
|
+
/**
|
|
139
|
+
* An entry of any of the three leaderboards.
|
|
140
|
+
*
|
|
141
|
+
* @deprecated Use FactionWarfareFactionLeaderboardSchema,
|
|
142
|
+
* FactionWarfareCharacterLeaderboardSchema or
|
|
143
|
+
* FactionWarfareCorporationLeaderboardSchema, which name the one identity key
|
|
144
|
+
* each board carries. No endpoint validates against this schema.
|
|
145
|
+
*/
|
|
45
146
|
export declare const FactionWarfareLeaderboardSchema: z.ZodObject<{
|
|
46
147
|
kills: z.ZodObject<{
|
|
47
148
|
yesterday: z.ZodArray<z.ZodObject<{
|
|
48
|
-
amount: z.ZodNumber
|
|
49
|
-
|
|
149
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
50
153
|
}, z.core.$loose>>;
|
|
51
154
|
last_week: z.ZodArray<z.ZodObject<{
|
|
52
|
-
amount: z.ZodNumber
|
|
53
|
-
|
|
155
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
54
159
|
}, z.core.$loose>>;
|
|
55
160
|
active_total: z.ZodArray<z.ZodObject<{
|
|
56
|
-
amount: z.ZodNumber
|
|
57
|
-
|
|
161
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
163
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
58
165
|
}, z.core.$loose>>;
|
|
59
166
|
}, z.core.$loose>;
|
|
60
167
|
victory_points: z.ZodObject<{
|
|
61
168
|
yesterday: z.ZodArray<z.ZodObject<{
|
|
62
|
-
amount: z.ZodNumber
|
|
63
|
-
|
|
169
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
64
173
|
}, z.core.$loose>>;
|
|
65
174
|
last_week: z.ZodArray<z.ZodObject<{
|
|
66
|
-
amount: z.ZodNumber
|
|
67
|
-
|
|
175
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
178
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
68
179
|
}, z.core.$loose>>;
|
|
69
180
|
active_total: z.ZodArray<z.ZodObject<{
|
|
70
|
-
amount: z.ZodNumber
|
|
71
|
-
|
|
181
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
faction_id: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
character_id: z.ZodOptional<z.ZodNumber>;
|
|
184
|
+
corporation_id: z.ZodOptional<z.ZodNumber>;
|
|
72
185
|
}, z.core.$loose>>;
|
|
73
186
|
}, z.core.$loose>;
|
|
74
187
|
}, z.core.$loose>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"faction-warfare.d.ts","sourceRoot":"","sources":["../../src/schemas/faction-warfare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAcpC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;iBAe7C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;iBAOrC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;
|
|
1
|
+
{"version":3,"file":"faction-warfare.d.ts","sourceRoot":"","sources":["../../src/schemas/faction-warfare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;iBAcpC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;iBAe7C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;iBAOrC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAeH,gDAAgD;AAChD,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKlD,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKpD,CAAC;AAEF,iEAAiE;AACjE,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKtD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO3C,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;iBAc/C,CAAC"}
|
package/dist/schemas/fleet.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export declare const FleetWingSchema: z.ZodObject<{
|
|
|
29
29
|
}, z.core.$loose>;
|
|
30
30
|
export declare const CharacterFleetInfoSchema: z.ZodObject<{
|
|
31
31
|
fleet_id: z.ZodNumber;
|
|
32
|
-
fleet_boss_id: z.
|
|
32
|
+
fleet_boss_id: z.ZodNumber;
|
|
33
33
|
role: z.ZodType<(string & {}) | "fleet_commander" | "wing_commander" | "squad_commander" | "squad_member", unknown, z.core.$ZodTypeInternals<(string & {}) | "fleet_commander" | "wing_commander" | "squad_commander" | "squad_member", unknown>>;
|
|
34
34
|
squad_id: z.ZodNumber;
|
|
35
35
|
wing_id: z.ZodNumber;
|