@lgriffin/esi.ts 9.1.0 → 9.6.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 +388 -388
- package/LICENSE +26 -26
- package/README.md +1030 -988
- 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/CosmeticsClient.d.ts +11 -0
- package/dist/clients/CosmeticsClient.d.ts.map +1 -0
- package/dist/clients/MercenaryClient.d.ts +19 -1
- package/dist/clients/MercenaryClient.d.ts.map +1 -1
- package/dist/clients/ParagonHubClient.d.ts +13 -0
- package/dist/clients/ParagonHubClient.d.ts.map +1 -0
- package/dist/clients/SkyhooksClient.d.ts +19 -1
- 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/ApiRequestHandler.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/cache/cacheKey.d.ts +3 -0
- package/dist/core/cache/cacheKey.d.ts.map +1 -0
- package/dist/core/constants.d.ts +2 -2
- package/dist/core/endpoints/accessListEndpoints.d.ts +4 -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/cosmeticsEndpoints.d.ts +52 -0
- package/dist/core/endpoints/cosmeticsEndpoints.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 +2 -16
- 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 +46 -6
- package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
- package/dist/core/endpoints/paragonHubEndpoints.d.ts +163 -0
- package/dist/core/endpoints/paragonHubEndpoints.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 +64 -0
- 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/core/requestPipeline/cachePolicy.d.ts +3 -3
- package/dist/core/requestPipeline/cachePolicy.d.ts.map +1 -1
- package/dist/core/requestPipeline/headers.d.ts.map +1 -1
- package/dist/core/requestPipeline/statusHandling.d.ts +2 -2
- package/dist/core/requestPipeline/statusHandling.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/errors.mjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2167 -1676
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2165 -1676
- 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.d.ts +6 -31
- package/dist/schemas/corporation.d.ts.map +1 -1
- package/dist/schemas/cosmetics.d.ts +58 -0
- package/dist/schemas/cosmetics.d.ts.map +1 -0
- 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 +3 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1784 -1486
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/index.mjs +1749 -1486
- 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 +55 -6
- package/dist/schemas/mercenary.d.ts.map +1 -1
- package/dist/schemas/paragon-hub.d.ts +96 -0
- package/dist/schemas/paragon-hub.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/skyhooks.d.ts +101 -0
- package/dist/schemas/skyhooks.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 +2591 -0
- package/dist/sde/index.js.map +1 -0
- package/dist/sde/index.mjs +2544 -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/memory.d.ts +8 -0
- package/dist/sde/memory.d.ts.map +1 -0
- package/dist/sde/memory.js +1100 -0
- package/dist/sde/memory.js.map +1 -0
- package/dist/sde/memory.mjs +1064 -0
- package/dist/sde/memory.mjs.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/testing/index.js.map +1 -1
- package/dist/testing/index.mjs.map +1 -1
- package/dist/types/api-responses.d.ts +2 -0
- package/dist/types/api-responses.d.ts.map +1 -1
- package/dist/types/cosmetics.d.ts +8 -0
- package/dist/types/cosmetics.d.ts.map +1 -0
- package/dist/types/mercenary.d.ts +3 -1
- package/dist/types/mercenary.d.ts.map +1 -1
- package/dist/types/paragon-hub.d.ts +8 -0
- package/dist/types/paragon-hub.d.ts.map +1 -0
- package/dist/types/skyhooks.d.ts +3 -1
- package/dist/types/skyhooks.d.ts.map +1 -1
- package/package.json +289 -257
package/dist/schemas/index.mjs
CHANGED
|
@@ -1,138 +1,147 @@
|
|
|
1
|
-
// src/schemas/
|
|
1
|
+
// src/schemas/esiEnum.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
function esiEnum(values) {
|
|
4
|
+
return z.union([
|
|
5
|
+
z.enum(values),
|
|
6
|
+
z.string()
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// src/schemas/common.ts
|
|
11
|
+
import { z as z2 } from "zod";
|
|
12
|
+
var StandingSchema = z2.looseObject({
|
|
13
|
+
from_id: z2.number(),
|
|
14
|
+
from_type: esiEnum(["agent", "npc_corp", "faction"]),
|
|
15
|
+
standing: z2.number()
|
|
16
|
+
});
|
|
17
|
+
var RateLimitMetaSchema = z2.object({
|
|
18
|
+
remaining: z2.number(),
|
|
19
|
+
limit: z2.number(),
|
|
20
|
+
used: z2.number(),
|
|
21
|
+
group: z2.string().nullable()
|
|
22
|
+
});
|
|
23
|
+
var EsiResponseMetaSchema = z2.looseObject({
|
|
24
|
+
headers: z2.record(z2.string(), z2.string()),
|
|
25
|
+
fromCache: z2.boolean(),
|
|
26
|
+
stale: z2.boolean(),
|
|
27
|
+
cacheHitType: z2.enum(["spec-ttl", "etag-304", "stale-on-error"]).optional(),
|
|
28
|
+
warning: z2.object({
|
|
29
|
+
code: z2.number(),
|
|
30
|
+
message: z2.string()
|
|
22
31
|
}).optional(),
|
|
23
|
-
requestId:
|
|
24
|
-
date:
|
|
25
|
-
contentLanguage:
|
|
32
|
+
requestId: z2.string().optional(),
|
|
33
|
+
date: z2.string().optional(),
|
|
34
|
+
contentLanguage: z2.string().optional(),
|
|
26
35
|
rateLimit: RateLimitMetaSchema.optional(),
|
|
27
|
-
responseTimeMs:
|
|
36
|
+
responseTimeMs: z2.number().optional()
|
|
28
37
|
});
|
|
29
38
|
function esiResponse(dataSchema) {
|
|
30
|
-
return
|
|
39
|
+
return z2.object({
|
|
31
40
|
data: dataSchema,
|
|
32
41
|
meta: EsiResponseMetaSchema
|
|
33
42
|
});
|
|
34
43
|
}
|
|
35
44
|
|
|
36
45
|
// src/schemas/access-lists.ts
|
|
37
|
-
import { z as
|
|
38
|
-
var AccessListEntrySchema =
|
|
39
|
-
entity_id:
|
|
40
|
-
entity_type:
|
|
41
|
-
access_type:
|
|
46
|
+
import { z as z3 } from "zod";
|
|
47
|
+
var AccessListEntrySchema = z3.looseObject({
|
|
48
|
+
entity_id: z3.number(),
|
|
49
|
+
entity_type: esiEnum(["character", "corporation", "alliance"]),
|
|
50
|
+
access_type: esiEnum(["allowed", "blocked"])
|
|
42
51
|
});
|
|
43
|
-
var AccessListSchema =
|
|
44
|
-
access_list_id:
|
|
45
|
-
name:
|
|
46
|
-
entries:
|
|
52
|
+
var AccessListSchema = z3.looseObject({
|
|
53
|
+
access_list_id: z3.number(),
|
|
54
|
+
name: z3.string(),
|
|
55
|
+
entries: z3.array(AccessListEntrySchema)
|
|
47
56
|
});
|
|
48
57
|
|
|
49
58
|
// src/schemas/alliance.ts
|
|
50
|
-
import { z as
|
|
51
|
-
var AllianceInfoSchema =
|
|
52
|
-
alliance_id:
|
|
53
|
-
name:
|
|
54
|
-
ticker:
|
|
55
|
-
creator_id:
|
|
56
|
-
creator_corporation_id:
|
|
57
|
-
executor_corporation_id:
|
|
58
|
-
date_founded:
|
|
59
|
-
faction_id:
|
|
60
|
-
});
|
|
61
|
-
var AllianceContactSchema =
|
|
62
|
-
contact_id:
|
|
63
|
-
contact_type:
|
|
64
|
-
standing:
|
|
65
|
-
label_ids:
|
|
66
|
-
});
|
|
67
|
-
var AllianceContactLabelSchema =
|
|
68
|
-
label_id:
|
|
69
|
-
label_name:
|
|
70
|
-
});
|
|
71
|
-
var AllianceIconSchema =
|
|
72
|
-
px64x64:
|
|
73
|
-
px128x128:
|
|
59
|
+
import { z as z4 } from "zod";
|
|
60
|
+
var AllianceInfoSchema = z4.looseObject({
|
|
61
|
+
alliance_id: z4.number().optional(),
|
|
62
|
+
name: z4.string(),
|
|
63
|
+
ticker: z4.string(),
|
|
64
|
+
creator_id: z4.number(),
|
|
65
|
+
creator_corporation_id: z4.number(),
|
|
66
|
+
executor_corporation_id: z4.number().optional(),
|
|
67
|
+
date_founded: z4.string(),
|
|
68
|
+
faction_id: z4.number().optional()
|
|
69
|
+
});
|
|
70
|
+
var AllianceContactSchema = z4.looseObject({
|
|
71
|
+
contact_id: z4.number(),
|
|
72
|
+
contact_type: esiEnum(["character", "corporation", "alliance"]),
|
|
73
|
+
standing: z4.number(),
|
|
74
|
+
label_ids: z4.array(z4.number()).optional()
|
|
75
|
+
});
|
|
76
|
+
var AllianceContactLabelSchema = z4.looseObject({
|
|
77
|
+
label_id: z4.number(),
|
|
78
|
+
label_name: z4.string()
|
|
79
|
+
});
|
|
80
|
+
var AllianceIconSchema = z4.looseObject({
|
|
81
|
+
px64x64: z4.string().optional(),
|
|
82
|
+
px128x128: z4.string().optional()
|
|
74
83
|
});
|
|
75
84
|
|
|
76
85
|
// src/schemas/assets.ts
|
|
77
|
-
import { z as
|
|
78
|
-
var CharacterAssetSchema =
|
|
79
|
-
item_id:
|
|
80
|
-
type_id:
|
|
81
|
-
quantity:
|
|
82
|
-
location_id:
|
|
83
|
-
location_type:
|
|
84
|
-
location_flag:
|
|
85
|
-
is_singleton:
|
|
86
|
-
is_blueprint_copy:
|
|
87
|
-
});
|
|
88
|
-
var AssetLocationSchema =
|
|
89
|
-
item_id:
|
|
90
|
-
position:
|
|
91
|
-
x:
|
|
92
|
-
y:
|
|
93
|
-
z:
|
|
86
|
+
import { z as z5 } from "zod";
|
|
87
|
+
var CharacterAssetSchema = z5.looseObject({
|
|
88
|
+
item_id: z5.number(),
|
|
89
|
+
type_id: z5.number(),
|
|
90
|
+
quantity: z5.number(),
|
|
91
|
+
location_id: z5.number(),
|
|
92
|
+
location_type: esiEnum(["station", "solar_system", "item", "other"]),
|
|
93
|
+
location_flag: z5.string(),
|
|
94
|
+
is_singleton: z5.boolean(),
|
|
95
|
+
is_blueprint_copy: z5.boolean().optional()
|
|
96
|
+
});
|
|
97
|
+
var AssetLocationSchema = z5.looseObject({
|
|
98
|
+
item_id: z5.number(),
|
|
99
|
+
position: z5.looseObject({
|
|
100
|
+
x: z5.number(),
|
|
101
|
+
y: z5.number(),
|
|
102
|
+
z: z5.number()
|
|
94
103
|
})
|
|
95
104
|
});
|
|
96
|
-
var AssetNameSchema =
|
|
97
|
-
item_id:
|
|
98
|
-
name:
|
|
105
|
+
var AssetNameSchema = z5.looseObject({
|
|
106
|
+
item_id: z5.number(),
|
|
107
|
+
name: z5.string()
|
|
99
108
|
});
|
|
100
109
|
|
|
101
110
|
// src/schemas/calendar.ts
|
|
102
|
-
import { z as
|
|
103
|
-
var CalendarEventSchema =
|
|
104
|
-
event_id:
|
|
105
|
-
event_date:
|
|
106
|
-
title:
|
|
107
|
-
importance:
|
|
108
|
-
event_response:
|
|
111
|
+
import { z as z6 } from "zod";
|
|
112
|
+
var CalendarEventSchema = z6.looseObject({
|
|
113
|
+
event_id: z6.number(),
|
|
114
|
+
event_date: z6.string(),
|
|
115
|
+
title: z6.string(),
|
|
116
|
+
importance: z6.number(),
|
|
117
|
+
event_response: esiEnum([
|
|
109
118
|
"declined",
|
|
110
119
|
"not_responded",
|
|
111
120
|
"accepted",
|
|
112
121
|
"tentative"
|
|
113
122
|
])
|
|
114
123
|
});
|
|
115
|
-
var CalendarEventDetailSchema =
|
|
116
|
-
event_id:
|
|
117
|
-
date:
|
|
118
|
-
title:
|
|
119
|
-
text:
|
|
120
|
-
owner_id:
|
|
121
|
-
owner_name:
|
|
122
|
-
owner_type:
|
|
124
|
+
var CalendarEventDetailSchema = z6.looseObject({
|
|
125
|
+
event_id: z6.number(),
|
|
126
|
+
date: z6.string(),
|
|
127
|
+
title: z6.string(),
|
|
128
|
+
text: z6.string(),
|
|
129
|
+
owner_id: z6.number(),
|
|
130
|
+
owner_name: z6.string(),
|
|
131
|
+
owner_type: esiEnum([
|
|
123
132
|
"eve_server",
|
|
124
133
|
"corporation",
|
|
125
134
|
"faction",
|
|
126
135
|
"character",
|
|
127
136
|
"alliance"
|
|
128
137
|
]),
|
|
129
|
-
duration:
|
|
130
|
-
importance:
|
|
131
|
-
response:
|
|
138
|
+
duration: z6.number(),
|
|
139
|
+
importance: z6.number(),
|
|
140
|
+
response: z6.string()
|
|
132
141
|
});
|
|
133
|
-
var CalendarEventAttendeeSchema =
|
|
134
|
-
character_id:
|
|
135
|
-
event_response:
|
|
142
|
+
var CalendarEventAttendeeSchema = z6.looseObject({
|
|
143
|
+
character_id: z6.number(),
|
|
144
|
+
event_response: esiEnum([
|
|
136
145
|
"declined",
|
|
137
146
|
"not_responded",
|
|
138
147
|
"accepted",
|
|
@@ -141,170 +150,170 @@ var CalendarEventAttendeeSchema = z5.looseObject({
|
|
|
141
150
|
});
|
|
142
151
|
|
|
143
152
|
// src/schemas/character.ts
|
|
144
|
-
import { z as
|
|
145
|
-
var CharacterInfoSchema =
|
|
146
|
-
character_id:
|
|
147
|
-
name:
|
|
148
|
-
description:
|
|
149
|
-
corporation_id:
|
|
150
|
-
alliance_id:
|
|
151
|
-
faction_id:
|
|
152
|
-
ancestry_id:
|
|
153
|
-
bloodline_id:
|
|
154
|
-
race_id:
|
|
155
|
-
gender:
|
|
156
|
-
security_status:
|
|
157
|
-
title:
|
|
158
|
-
birthday:
|
|
159
|
-
});
|
|
160
|
-
var CharacterPortraitSchema =
|
|
161
|
-
px64x64:
|
|
162
|
-
px128x128:
|
|
163
|
-
px256x256:
|
|
164
|
-
px512x512:
|
|
165
|
-
});
|
|
166
|
-
var CharacterAttributesSchema =
|
|
167
|
-
charisma:
|
|
168
|
-
intelligence:
|
|
169
|
-
memory:
|
|
170
|
-
perception:
|
|
171
|
-
willpower:
|
|
172
|
-
bonus_remaps:
|
|
173
|
-
last_remap_date:
|
|
174
|
-
accrued_remap_cooldown_date:
|
|
175
|
-
});
|
|
176
|
-
var AgentResearchSchema =
|
|
177
|
-
agent_id:
|
|
178
|
-
skill_type_id:
|
|
179
|
-
started_at:
|
|
180
|
-
points_per_day:
|
|
181
|
-
remainder_points:
|
|
182
|
-
});
|
|
183
|
-
var BlueprintSchema =
|
|
184
|
-
item_id:
|
|
185
|
-
type_id:
|
|
186
|
-
location_id:
|
|
187
|
-
location_flag:
|
|
188
|
-
quantity:
|
|
189
|
-
time_efficiency:
|
|
190
|
-
material_efficiency:
|
|
191
|
-
runs:
|
|
192
|
-
});
|
|
193
|
-
var CorporationHistorySchema =
|
|
194
|
-
corporation_id:
|
|
195
|
-
record_id:
|
|
196
|
-
start_date:
|
|
197
|
-
is_deleted:
|
|
198
|
-
});
|
|
199
|
-
var JumpFatigueSchema =
|
|
200
|
-
jump_fatigue_expire_date:
|
|
201
|
-
last_jump_date:
|
|
202
|
-
last_update_date:
|
|
203
|
-
});
|
|
204
|
-
var MedalSchema =
|
|
205
|
-
medal_id:
|
|
206
|
-
title:
|
|
207
|
-
description:
|
|
208
|
-
date:
|
|
209
|
-
issuer_id:
|
|
210
|
-
corporation_id:
|
|
211
|
-
reason:
|
|
212
|
-
status:
|
|
213
|
-
graphics:
|
|
214
|
-
|
|
215
|
-
part:
|
|
216
|
-
layer:
|
|
217
|
-
graphic:
|
|
218
|
-
color:
|
|
153
|
+
import { z as z7 } from "zod";
|
|
154
|
+
var CharacterInfoSchema = z7.looseObject({
|
|
155
|
+
character_id: z7.number().optional(),
|
|
156
|
+
name: z7.string(),
|
|
157
|
+
description: z7.string().optional(),
|
|
158
|
+
corporation_id: z7.number(),
|
|
159
|
+
alliance_id: z7.number().optional(),
|
|
160
|
+
faction_id: z7.number().optional(),
|
|
161
|
+
ancestry_id: z7.number().optional(),
|
|
162
|
+
bloodline_id: z7.number(),
|
|
163
|
+
race_id: z7.number(),
|
|
164
|
+
gender: esiEnum(["male", "female"]),
|
|
165
|
+
security_status: z7.number().optional(),
|
|
166
|
+
title: z7.string().optional(),
|
|
167
|
+
birthday: z7.string()
|
|
168
|
+
});
|
|
169
|
+
var CharacterPortraitSchema = z7.looseObject({
|
|
170
|
+
px64x64: z7.string().optional(),
|
|
171
|
+
px128x128: z7.string().optional(),
|
|
172
|
+
px256x256: z7.string().optional(),
|
|
173
|
+
px512x512: z7.string().optional()
|
|
174
|
+
});
|
|
175
|
+
var CharacterAttributesSchema = z7.looseObject({
|
|
176
|
+
charisma: z7.number(),
|
|
177
|
+
intelligence: z7.number(),
|
|
178
|
+
memory: z7.number(),
|
|
179
|
+
perception: z7.number(),
|
|
180
|
+
willpower: z7.number(),
|
|
181
|
+
bonus_remaps: z7.number().optional(),
|
|
182
|
+
last_remap_date: z7.string().optional(),
|
|
183
|
+
accrued_remap_cooldown_date: z7.string().optional()
|
|
184
|
+
});
|
|
185
|
+
var AgentResearchSchema = z7.looseObject({
|
|
186
|
+
agent_id: z7.number(),
|
|
187
|
+
skill_type_id: z7.number(),
|
|
188
|
+
started_at: z7.string(),
|
|
189
|
+
points_per_day: z7.number(),
|
|
190
|
+
remainder_points: z7.number()
|
|
191
|
+
});
|
|
192
|
+
var BlueprintSchema = z7.looseObject({
|
|
193
|
+
item_id: z7.number(),
|
|
194
|
+
type_id: z7.number(),
|
|
195
|
+
location_id: z7.number(),
|
|
196
|
+
location_flag: z7.string(),
|
|
197
|
+
quantity: z7.number(),
|
|
198
|
+
time_efficiency: z7.number(),
|
|
199
|
+
material_efficiency: z7.number(),
|
|
200
|
+
runs: z7.number()
|
|
201
|
+
});
|
|
202
|
+
var CorporationHistorySchema = z7.looseObject({
|
|
203
|
+
corporation_id: z7.number(),
|
|
204
|
+
record_id: z7.number(),
|
|
205
|
+
start_date: z7.string(),
|
|
206
|
+
is_deleted: z7.boolean().optional()
|
|
207
|
+
});
|
|
208
|
+
var JumpFatigueSchema = z7.looseObject({
|
|
209
|
+
jump_fatigue_expire_date: z7.string().optional(),
|
|
210
|
+
last_jump_date: z7.string().optional(),
|
|
211
|
+
last_update_date: z7.string().optional()
|
|
212
|
+
});
|
|
213
|
+
var MedalSchema = z7.looseObject({
|
|
214
|
+
medal_id: z7.number(),
|
|
215
|
+
title: z7.string(),
|
|
216
|
+
description: z7.string(),
|
|
217
|
+
date: z7.string(),
|
|
218
|
+
issuer_id: z7.number(),
|
|
219
|
+
corporation_id: z7.number(),
|
|
220
|
+
reason: z7.string(),
|
|
221
|
+
status: esiEnum(["private", "public"]),
|
|
222
|
+
graphics: z7.array(
|
|
223
|
+
z7.looseObject({
|
|
224
|
+
part: z7.number(),
|
|
225
|
+
layer: z7.number(),
|
|
226
|
+
graphic: z7.string(),
|
|
227
|
+
color: z7.number().optional()
|
|
219
228
|
})
|
|
220
229
|
)
|
|
221
230
|
});
|
|
222
|
-
var NotificationSchema =
|
|
223
|
-
notification_id:
|
|
224
|
-
type:
|
|
225
|
-
sender_id:
|
|
226
|
-
sender_type:
|
|
231
|
+
var NotificationSchema = z7.looseObject({
|
|
232
|
+
notification_id: z7.number(),
|
|
233
|
+
type: z7.string(),
|
|
234
|
+
sender_id: z7.number(),
|
|
235
|
+
sender_type: esiEnum([
|
|
227
236
|
"character",
|
|
228
237
|
"corporation",
|
|
229
238
|
"alliance",
|
|
230
239
|
"faction",
|
|
231
240
|
"other"
|
|
232
241
|
]),
|
|
233
|
-
timestamp:
|
|
234
|
-
text:
|
|
235
|
-
is_read:
|
|
236
|
-
});
|
|
237
|
-
var CharacterTitleSchema =
|
|
238
|
-
title_id:
|
|
239
|
-
name:
|
|
240
|
-
});
|
|
241
|
-
var CharacterAffiliationSchema =
|
|
242
|
-
character_id:
|
|
243
|
-
corporation_id:
|
|
244
|
-
alliance_id:
|
|
245
|
-
faction_id:
|
|
246
|
-
});
|
|
247
|
-
var ContactNotificationSchema =
|
|
248
|
-
notification_id:
|
|
249
|
-
sender_character_id:
|
|
250
|
-
message:
|
|
251
|
-
send_date:
|
|
252
|
-
standing_level:
|
|
253
|
-
});
|
|
254
|
-
var CharacterRoleSchema =
|
|
255
|
-
roles:
|
|
256
|
-
roles_at_hq:
|
|
257
|
-
roles_at_base:
|
|
258
|
-
roles_at_other:
|
|
242
|
+
timestamp: z7.string(),
|
|
243
|
+
text: z7.string().optional(),
|
|
244
|
+
is_read: z7.boolean().optional()
|
|
245
|
+
});
|
|
246
|
+
var CharacterTitleSchema = z7.looseObject({
|
|
247
|
+
title_id: z7.number(),
|
|
248
|
+
name: z7.string()
|
|
249
|
+
});
|
|
250
|
+
var CharacterAffiliationSchema = z7.looseObject({
|
|
251
|
+
character_id: z7.number(),
|
|
252
|
+
corporation_id: z7.number(),
|
|
253
|
+
alliance_id: z7.number().optional(),
|
|
254
|
+
faction_id: z7.number().optional()
|
|
255
|
+
});
|
|
256
|
+
var ContactNotificationSchema = z7.looseObject({
|
|
257
|
+
notification_id: z7.number(),
|
|
258
|
+
sender_character_id: z7.number(),
|
|
259
|
+
message: z7.string(),
|
|
260
|
+
send_date: z7.string(),
|
|
261
|
+
standing_level: z7.number()
|
|
262
|
+
});
|
|
263
|
+
var CharacterRoleSchema = z7.looseObject({
|
|
264
|
+
roles: z7.array(z7.string()).optional(),
|
|
265
|
+
roles_at_hq: z7.array(z7.string()).optional(),
|
|
266
|
+
roles_at_base: z7.array(z7.string()).optional(),
|
|
267
|
+
roles_at_other: z7.array(z7.string()).optional()
|
|
259
268
|
});
|
|
260
269
|
|
|
261
270
|
// src/schemas/clones.ts
|
|
262
|
-
import { z as
|
|
263
|
-
var CloneInfoSchema =
|
|
264
|
-
home_location:
|
|
265
|
-
location_id:
|
|
266
|
-
location_type:
|
|
271
|
+
import { z as z8 } from "zod";
|
|
272
|
+
var CloneInfoSchema = z8.looseObject({
|
|
273
|
+
home_location: z8.looseObject({
|
|
274
|
+
location_id: z8.number(),
|
|
275
|
+
location_type: esiEnum(["station", "structure"])
|
|
267
276
|
}).optional(),
|
|
268
|
-
jump_clones:
|
|
269
|
-
|
|
270
|
-
jump_clone_id:
|
|
271
|
-
location_id:
|
|
272
|
-
location_type:
|
|
273
|
-
implants:
|
|
274
|
-
name:
|
|
277
|
+
jump_clones: z8.array(
|
|
278
|
+
z8.looseObject({
|
|
279
|
+
jump_clone_id: z8.number(),
|
|
280
|
+
location_id: z8.number(),
|
|
281
|
+
location_type: esiEnum(["station", "structure"]),
|
|
282
|
+
implants: z8.array(z8.number()),
|
|
283
|
+
name: z8.string().optional()
|
|
275
284
|
})
|
|
276
285
|
),
|
|
277
|
-
last_clone_jump_date:
|
|
278
|
-
last_station_change_date:
|
|
286
|
+
last_clone_jump_date: z8.string().optional(),
|
|
287
|
+
last_station_change_date: z8.string().optional()
|
|
279
288
|
});
|
|
280
289
|
|
|
281
290
|
// src/schemas/contacts.ts
|
|
282
|
-
import { z as
|
|
283
|
-
var ContactSchema =
|
|
284
|
-
contact_id:
|
|
285
|
-
contact_type:
|
|
286
|
-
standing:
|
|
287
|
-
label_ids:
|
|
288
|
-
is_blocked:
|
|
289
|
-
is_watched:
|
|
290
|
-
});
|
|
291
|
-
var ContactLabelSchema =
|
|
292
|
-
label_id:
|
|
293
|
-
label_name:
|
|
291
|
+
import { z as z9 } from "zod";
|
|
292
|
+
var ContactSchema = z9.looseObject({
|
|
293
|
+
contact_id: z9.number(),
|
|
294
|
+
contact_type: esiEnum(["character", "corporation", "alliance", "faction"]),
|
|
295
|
+
standing: z9.number(),
|
|
296
|
+
label_ids: z9.array(z9.number()).optional(),
|
|
297
|
+
is_blocked: z9.boolean().optional(),
|
|
298
|
+
is_watched: z9.boolean().optional()
|
|
299
|
+
});
|
|
300
|
+
var ContactLabelSchema = z9.looseObject({
|
|
301
|
+
label_id: z9.number(),
|
|
302
|
+
label_name: z9.string()
|
|
294
303
|
});
|
|
295
304
|
|
|
296
305
|
// src/schemas/contracts.ts
|
|
297
|
-
import { z as
|
|
298
|
-
var ContractSchema =
|
|
299
|
-
contract_id:
|
|
300
|
-
issuer_id:
|
|
301
|
-
issuer_corporation_id:
|
|
302
|
-
assignee_id:
|
|
303
|
-
acceptor_id:
|
|
304
|
-
start_location_id:
|
|
305
|
-
end_location_id:
|
|
306
|
-
type:
|
|
307
|
-
status:
|
|
306
|
+
import { z as z10 } from "zod";
|
|
307
|
+
var ContractSchema = z10.looseObject({
|
|
308
|
+
contract_id: z10.number(),
|
|
309
|
+
issuer_id: z10.number(),
|
|
310
|
+
issuer_corporation_id: z10.number(),
|
|
311
|
+
assignee_id: z10.number().optional(),
|
|
312
|
+
acceptor_id: z10.number().optional(),
|
|
313
|
+
start_location_id: z10.number().optional(),
|
|
314
|
+
end_location_id: z10.number().optional(),
|
|
315
|
+
type: esiEnum(["unknown", "item_exchange", "auction", "courier", "loan"]),
|
|
316
|
+
status: esiEnum([
|
|
308
317
|
"outstanding",
|
|
309
318
|
"in_progress",
|
|
310
319
|
"finished_issuer",
|
|
@@ -316,603 +325,666 @@ var ContractSchema = z9.looseObject({
|
|
|
316
325
|
"deleted",
|
|
317
326
|
"reversed"
|
|
318
327
|
]).optional(),
|
|
319
|
-
title:
|
|
320
|
-
for_corporation:
|
|
321
|
-
availability:
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
328
|
+
title: z10.string().optional(),
|
|
329
|
+
for_corporation: z10.boolean().optional(),
|
|
330
|
+
availability: esiEnum([
|
|
331
|
+
"public",
|
|
332
|
+
"personal",
|
|
333
|
+
"corporation",
|
|
334
|
+
"alliance"
|
|
335
|
+
]).optional(),
|
|
336
|
+
date_issued: z10.string(),
|
|
337
|
+
date_expired: z10.string(),
|
|
338
|
+
date_accepted: z10.string().optional(),
|
|
339
|
+
date_completed: z10.string().optional(),
|
|
340
|
+
days_to_complete: z10.number().optional(),
|
|
341
|
+
price: z10.number().optional(),
|
|
342
|
+
reward: z10.number().optional(),
|
|
343
|
+
collateral: z10.number().optional(),
|
|
344
|
+
buyout: z10.number().optional(),
|
|
345
|
+
volume: z10.number().optional()
|
|
346
|
+
});
|
|
347
|
+
var ContractItemSchema = z10.looseObject({
|
|
348
|
+
record_id: z10.number(),
|
|
349
|
+
type_id: z10.number(),
|
|
350
|
+
quantity: z10.number(),
|
|
351
|
+
raw_quantity: z10.number().optional(),
|
|
352
|
+
is_singleton: z10.boolean(),
|
|
353
|
+
is_blueprint_copy: z10.boolean().optional(),
|
|
354
|
+
is_included: z10.boolean()
|
|
355
|
+
});
|
|
356
|
+
var ContractBidSchema = z10.looseObject({
|
|
357
|
+
bid_id: z10.number(),
|
|
358
|
+
bidder_id: z10.number(),
|
|
359
|
+
date_bid: z10.string(),
|
|
360
|
+
amount: z10.number()
|
|
347
361
|
});
|
|
348
362
|
|
|
349
|
-
// src/schemas/
|
|
350
|
-
import { z as
|
|
351
|
-
var
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
});
|
|
368
|
-
var
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
363
|
+
// src/schemas/cosmetics.ts
|
|
364
|
+
import { z as z11 } from "zod";
|
|
365
|
+
var SkinrLicenseSchema = z11.looseObject({
|
|
366
|
+
skinr_id: z11.string(),
|
|
367
|
+
activated: z11.boolean(),
|
|
368
|
+
unactivated: z11.number()
|
|
369
|
+
});
|
|
370
|
+
var CharacterSkinrSchema = z11.looseObject({
|
|
371
|
+
licenses: z11.array(SkinrLicenseSchema)
|
|
372
|
+
});
|
|
373
|
+
var SkinrComponentRunsSchema = z11.looseObject({
|
|
374
|
+
remaining: z11.number().optional(),
|
|
375
|
+
unlimited: z11.boolean().optional()
|
|
376
|
+
});
|
|
377
|
+
var SkinrComponentLicenseSchema = z11.looseObject({
|
|
378
|
+
component_id: z11.number(),
|
|
379
|
+
type: esiEnum(["nanocoating", "pattern"]),
|
|
380
|
+
runs: SkinrComponentRunsSchema
|
|
381
|
+
});
|
|
382
|
+
var CharacterSkinrComponentsSchema = z11.looseObject({
|
|
383
|
+
licenses: z11.array(SkinrComponentLicenseSchema)
|
|
384
|
+
});
|
|
385
|
+
var SkinrTierSchema = z11.looseObject({
|
|
386
|
+
level: z11.number()
|
|
387
|
+
});
|
|
388
|
+
var SkinrLayoutSlotSchema = z11.looseObject({});
|
|
389
|
+
var SkinrLayoutSchema = z11.looseObject({
|
|
390
|
+
slots: z11.array(SkinrLayoutSlotSchema),
|
|
391
|
+
pattern_blend_mode: esiEnum([
|
|
392
|
+
"normal",
|
|
393
|
+
"subtract",
|
|
394
|
+
"exclusion",
|
|
395
|
+
"nested",
|
|
396
|
+
"nested_inverted"
|
|
397
|
+
])
|
|
373
398
|
});
|
|
374
|
-
var
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
399
|
+
var SkinrSchema = z11.looseObject({
|
|
400
|
+
id: z11.string(),
|
|
401
|
+
name: z11.string(),
|
|
402
|
+
creator_id: z11.number(),
|
|
403
|
+
ship_type_id: z11.number(),
|
|
404
|
+
line: z11.string().optional(),
|
|
405
|
+
tier: SkinrTierSchema,
|
|
406
|
+
layout: SkinrLayoutSchema
|
|
380
407
|
});
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
408
|
+
|
|
409
|
+
// src/schemas/corporation.ts
|
|
410
|
+
import { z as z12 } from "zod";
|
|
411
|
+
var CorporationInfoSchema = z12.looseObject({
|
|
412
|
+
corporation_id: z12.number().optional(),
|
|
413
|
+
name: z12.string(),
|
|
414
|
+
ticker: z12.string(),
|
|
415
|
+
description: z12.string().optional(),
|
|
416
|
+
url: z12.string().optional(),
|
|
417
|
+
alliance_id: z12.number().optional(),
|
|
418
|
+
ceo_id: z12.number(),
|
|
419
|
+
creator_id: z12.number(),
|
|
420
|
+
date_founded: z12.string().optional(),
|
|
421
|
+
faction_id: z12.number().optional(),
|
|
422
|
+
home_station_id: z12.number().optional(),
|
|
423
|
+
member_count: z12.number(),
|
|
424
|
+
shares: z12.number().optional(),
|
|
425
|
+
tax_rate: z12.number(),
|
|
426
|
+
war_eligible: z12.boolean().optional()
|
|
427
|
+
});
|
|
428
|
+
var CorporationAllianceHistorySchema = z12.looseObject({
|
|
429
|
+
alliance_id: z12.number().optional(),
|
|
430
|
+
is_deleted: z12.boolean().optional(),
|
|
431
|
+
record_id: z12.number(),
|
|
432
|
+
start_date: z12.string()
|
|
433
|
+
});
|
|
434
|
+
var CorporationMedalSchema = z12.looseObject({
|
|
435
|
+
medal_id: z12.number(),
|
|
436
|
+
title: z12.string(),
|
|
437
|
+
description: z12.string(),
|
|
438
|
+
creator_id: z12.number(),
|
|
439
|
+
date: z12.string()
|
|
440
|
+
});
|
|
441
|
+
var CorporationStarbaseSchema = z12.looseObject({
|
|
442
|
+
starbase_id: z12.number(),
|
|
443
|
+
type_id: z12.number(),
|
|
444
|
+
system_id: z12.number(),
|
|
445
|
+
state: esiEnum([
|
|
446
|
+
"offline",
|
|
447
|
+
"online",
|
|
448
|
+
"onlining",
|
|
449
|
+
"reinforced",
|
|
450
|
+
"unanchoring"
|
|
451
|
+
]),
|
|
452
|
+
moon_id: z12.number().optional(),
|
|
453
|
+
onlined_since: z12.string().optional(),
|
|
454
|
+
reinforced_until: z12.string().optional(),
|
|
455
|
+
unanchor_at: z12.string().optional()
|
|
456
|
+
});
|
|
457
|
+
var CorporationDivisionsSchema = z12.looseObject({
|
|
458
|
+
hangar: z12.array(
|
|
459
|
+
z12.looseObject({
|
|
460
|
+
division: z12.number(),
|
|
461
|
+
name: z12.string().optional()
|
|
396
462
|
})
|
|
397
463
|
).optional(),
|
|
398
|
-
wallet:
|
|
399
|
-
|
|
400
|
-
division:
|
|
401
|
-
name:
|
|
464
|
+
wallet: z12.array(
|
|
465
|
+
z12.looseObject({
|
|
466
|
+
division: z12.number(),
|
|
467
|
+
name: z12.string().optional()
|
|
402
468
|
})
|
|
403
469
|
).optional()
|
|
404
470
|
});
|
|
405
|
-
var CorporationFacilitySchema =
|
|
406
|
-
facility_id:
|
|
407
|
-
type_id:
|
|
408
|
-
system_id:
|
|
409
|
-
});
|
|
410
|
-
var CorporationIssuedMedalSchema =
|
|
411
|
-
medal_id:
|
|
412
|
-
title:
|
|
413
|
-
description:
|
|
414
|
-
character_id:
|
|
415
|
-
issued_at:
|
|
416
|
-
issuer_id:
|
|
417
|
-
reason:
|
|
418
|
-
status:
|
|
419
|
-
});
|
|
420
|
-
var CorporationMemberTitleSchema =
|
|
421
|
-
character_id:
|
|
422
|
-
titles:
|
|
423
|
-
});
|
|
424
|
-
var CorporationMemberTrackingSchema =
|
|
425
|
-
character_id:
|
|
426
|
-
start_date:
|
|
427
|
-
base_id:
|
|
428
|
-
location_id:
|
|
429
|
-
logoff_date:
|
|
430
|
-
logon_date:
|
|
431
|
-
online:
|
|
432
|
-
ship_type_id:
|
|
433
|
-
});
|
|
434
|
-
var CorporationMemberRoleSchema =
|
|
435
|
-
character_id:
|
|
436
|
-
roles:
|
|
437
|
-
grantable_roles:
|
|
438
|
-
roles_at_hq:
|
|
439
|
-
grantable_roles_at_hq:
|
|
440
|
-
roles_at_base:
|
|
441
|
-
grantable_roles_at_base:
|
|
442
|
-
roles_at_other:
|
|
443
|
-
grantable_roles_at_other:
|
|
444
|
-
});
|
|
445
|
-
var CorporationRoleHistorySchema =
|
|
446
|
-
character_id:
|
|
447
|
-
changed_at:
|
|
448
|
-
issuer_id:
|
|
449
|
-
role_type:
|
|
450
|
-
before:
|
|
451
|
-
after:
|
|
452
|
-
});
|
|
453
|
-
var CorporationShareholderSchema =
|
|
454
|
-
shareholder_id:
|
|
455
|
-
shareholder_type:
|
|
456
|
-
share_count:
|
|
457
|
-
});
|
|
458
|
-
var CorporationStarbaseDetailSchema =
|
|
459
|
-
state:
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
471
|
+
var CorporationFacilitySchema = z12.looseObject({
|
|
472
|
+
facility_id: z12.number(),
|
|
473
|
+
type_id: z12.number(),
|
|
474
|
+
system_id: z12.number()
|
|
475
|
+
});
|
|
476
|
+
var CorporationIssuedMedalSchema = z12.looseObject({
|
|
477
|
+
medal_id: z12.number(),
|
|
478
|
+
title: z12.string(),
|
|
479
|
+
description: z12.string(),
|
|
480
|
+
character_id: z12.number(),
|
|
481
|
+
issued_at: z12.string(),
|
|
482
|
+
issuer_id: z12.number(),
|
|
483
|
+
reason: z12.string(),
|
|
484
|
+
status: esiEnum(["private", "public"])
|
|
485
|
+
});
|
|
486
|
+
var CorporationMemberTitleSchema = z12.looseObject({
|
|
487
|
+
character_id: z12.number(),
|
|
488
|
+
titles: z12.array(z12.number())
|
|
489
|
+
});
|
|
490
|
+
var CorporationMemberTrackingSchema = z12.looseObject({
|
|
491
|
+
character_id: z12.number(),
|
|
492
|
+
start_date: z12.string(),
|
|
493
|
+
base_id: z12.number().optional(),
|
|
494
|
+
location_id: z12.number().optional(),
|
|
495
|
+
logoff_date: z12.string().optional(),
|
|
496
|
+
logon_date: z12.string().optional(),
|
|
497
|
+
online: z12.boolean().optional(),
|
|
498
|
+
ship_type_id: z12.number().optional()
|
|
499
|
+
});
|
|
500
|
+
var CorporationMemberRoleSchema = z12.looseObject({
|
|
501
|
+
character_id: z12.number(),
|
|
502
|
+
roles: z12.array(z12.string()).optional(),
|
|
503
|
+
grantable_roles: z12.array(z12.string()).optional(),
|
|
504
|
+
roles_at_hq: z12.array(z12.string()).optional(),
|
|
505
|
+
grantable_roles_at_hq: z12.array(z12.string()).optional(),
|
|
506
|
+
roles_at_base: z12.array(z12.string()).optional(),
|
|
507
|
+
grantable_roles_at_base: z12.array(z12.string()).optional(),
|
|
508
|
+
roles_at_other: z12.array(z12.string()).optional(),
|
|
509
|
+
grantable_roles_at_other: z12.array(z12.string()).optional()
|
|
510
|
+
});
|
|
511
|
+
var CorporationRoleHistorySchema = z12.looseObject({
|
|
512
|
+
character_id: z12.number(),
|
|
513
|
+
changed_at: z12.string(),
|
|
514
|
+
issuer_id: z12.number(),
|
|
515
|
+
role_type: z12.string(),
|
|
516
|
+
before: z12.array(z12.string()),
|
|
517
|
+
after: z12.array(z12.string())
|
|
518
|
+
});
|
|
519
|
+
var CorporationShareholderSchema = z12.looseObject({
|
|
520
|
+
shareholder_id: z12.number(),
|
|
521
|
+
shareholder_type: esiEnum(["character", "corporation"]),
|
|
522
|
+
share_count: z12.number()
|
|
523
|
+
});
|
|
524
|
+
var CorporationStarbaseDetailSchema = z12.looseObject({
|
|
525
|
+
state: esiEnum([
|
|
526
|
+
"offline",
|
|
527
|
+
"online",
|
|
528
|
+
"onlining",
|
|
529
|
+
"reinforced",
|
|
530
|
+
"unanchoring"
|
|
531
|
+
]),
|
|
532
|
+
fuels: z12.array(
|
|
533
|
+
z12.looseObject({
|
|
534
|
+
type_id: z12.number(),
|
|
535
|
+
quantity: z12.number()
|
|
464
536
|
})
|
|
465
537
|
).optional(),
|
|
466
|
-
allow_alliance_members:
|
|
467
|
-
allow_corporation_members:
|
|
468
|
-
anchor:
|
|
469
|
-
attack_if_at_war:
|
|
470
|
-
attack_if_other_security_status_dropping:
|
|
471
|
-
attack_security_status_threshold:
|
|
472
|
-
attack_standing_threshold:
|
|
473
|
-
fuel_bay_take:
|
|
474
|
-
fuel_bay_view:
|
|
475
|
-
offline:
|
|
476
|
-
online:
|
|
477
|
-
unanchor:
|
|
478
|
-
use_alliance_standings:
|
|
479
|
-
});
|
|
480
|
-
var CorporationStructureSchema =
|
|
481
|
-
structure_id:
|
|
482
|
-
corporation_id:
|
|
483
|
-
type_id:
|
|
484
|
-
system_id:
|
|
485
|
-
profile_id:
|
|
486
|
-
services:
|
|
487
|
-
|
|
488
|
-
name:
|
|
489
|
-
state:
|
|
538
|
+
allow_alliance_members: z12.boolean().optional(),
|
|
539
|
+
allow_corporation_members: z12.boolean().optional(),
|
|
540
|
+
anchor: z12.string().optional(),
|
|
541
|
+
attack_if_at_war: z12.boolean().optional(),
|
|
542
|
+
attack_if_other_security_status_dropping: z12.boolean().optional(),
|
|
543
|
+
attack_security_status_threshold: z12.number().optional(),
|
|
544
|
+
attack_standing_threshold: z12.number().optional(),
|
|
545
|
+
fuel_bay_take: z12.string().optional(),
|
|
546
|
+
fuel_bay_view: z12.string().optional(),
|
|
547
|
+
offline: z12.string().optional(),
|
|
548
|
+
online: z12.string().optional(),
|
|
549
|
+
unanchor: z12.string().optional(),
|
|
550
|
+
use_alliance_standings: z12.boolean().optional()
|
|
551
|
+
});
|
|
552
|
+
var CorporationStructureSchema = z12.looseObject({
|
|
553
|
+
structure_id: z12.number(),
|
|
554
|
+
corporation_id: z12.number(),
|
|
555
|
+
type_id: z12.number(),
|
|
556
|
+
system_id: z12.number(),
|
|
557
|
+
profile_id: z12.number(),
|
|
558
|
+
services: z12.array(
|
|
559
|
+
z12.looseObject({
|
|
560
|
+
name: z12.string(),
|
|
561
|
+
state: esiEnum(["online", "offline", "cleanup"])
|
|
490
562
|
})
|
|
491
563
|
).optional(),
|
|
492
|
-
fuel_expires:
|
|
493
|
-
name:
|
|
494
|
-
state:
|
|
495
|
-
state_timer_start:
|
|
496
|
-
state_timer_end:
|
|
497
|
-
unanchors_at:
|
|
498
|
-
reinforce_hour:
|
|
499
|
-
next_reinforce_hour:
|
|
500
|
-
next_reinforce_apply:
|
|
501
|
-
});
|
|
502
|
-
var CorporationTitleSchema =
|
|
503
|
-
title_id:
|
|
504
|
-
name:
|
|
505
|
-
roles:
|
|
506
|
-
grantable_roles:
|
|
507
|
-
roles_at_hq:
|
|
508
|
-
grantable_roles_at_hq:
|
|
509
|
-
roles_at_base:
|
|
510
|
-
grantable_roles_at_base:
|
|
511
|
-
roles_at_other:
|
|
512
|
-
grantable_roles_at_other:
|
|
513
|
-
});
|
|
514
|
-
var CorporationIconSchema =
|
|
515
|
-
px64x64:
|
|
516
|
-
px128x128:
|
|
517
|
-
px256x256:
|
|
518
|
-
});
|
|
519
|
-
var CorporationWalletDivisionSchema =
|
|
520
|
-
division:
|
|
521
|
-
balance:
|
|
522
|
-
});
|
|
523
|
-
var ContainerLogSchema =
|
|
524
|
-
logged_at:
|
|
525
|
-
container_id:
|
|
526
|
-
container_type_id:
|
|
527
|
-
character_id:
|
|
528
|
-
location_id:
|
|
529
|
-
location_flag:
|
|
530
|
-
action:
|
|
531
|
-
password_type:
|
|
532
|
-
type_id:
|
|
533
|
-
quantity:
|
|
534
|
-
old_config_bitmask:
|
|
535
|
-
new_config_bitmask:
|
|
564
|
+
fuel_expires: z12.string().optional(),
|
|
565
|
+
name: z12.string().optional(),
|
|
566
|
+
state: z12.string(),
|
|
567
|
+
state_timer_start: z12.string().optional(),
|
|
568
|
+
state_timer_end: z12.string().optional(),
|
|
569
|
+
unanchors_at: z12.string().optional(),
|
|
570
|
+
reinforce_hour: z12.number().optional(),
|
|
571
|
+
next_reinforce_hour: z12.number().optional(),
|
|
572
|
+
next_reinforce_apply: z12.string().optional()
|
|
573
|
+
});
|
|
574
|
+
var CorporationTitleSchema = z12.looseObject({
|
|
575
|
+
title_id: z12.number(),
|
|
576
|
+
name: z12.string().optional(),
|
|
577
|
+
roles: z12.array(z12.string()).optional(),
|
|
578
|
+
grantable_roles: z12.array(z12.string()).optional(),
|
|
579
|
+
roles_at_hq: z12.array(z12.string()).optional(),
|
|
580
|
+
grantable_roles_at_hq: z12.array(z12.string()).optional(),
|
|
581
|
+
roles_at_base: z12.array(z12.string()).optional(),
|
|
582
|
+
grantable_roles_at_base: z12.array(z12.string()).optional(),
|
|
583
|
+
roles_at_other: z12.array(z12.string()).optional(),
|
|
584
|
+
grantable_roles_at_other: z12.array(z12.string()).optional()
|
|
585
|
+
});
|
|
586
|
+
var CorporationIconSchema = z12.looseObject({
|
|
587
|
+
px64x64: z12.string().optional(),
|
|
588
|
+
px128x128: z12.string().optional(),
|
|
589
|
+
px256x256: z12.string().optional()
|
|
590
|
+
});
|
|
591
|
+
var CorporationWalletDivisionSchema = z12.looseObject({
|
|
592
|
+
division: z12.number(),
|
|
593
|
+
balance: z12.number()
|
|
594
|
+
});
|
|
595
|
+
var ContainerLogSchema = z12.looseObject({
|
|
596
|
+
logged_at: z12.string(),
|
|
597
|
+
container_id: z12.number(),
|
|
598
|
+
container_type_id: z12.number(),
|
|
599
|
+
character_id: z12.number(),
|
|
600
|
+
location_id: z12.number(),
|
|
601
|
+
location_flag: z12.string(),
|
|
602
|
+
action: z12.string(),
|
|
603
|
+
password_type: esiEnum(["config", "general"]).optional(),
|
|
604
|
+
type_id: z12.number().optional(),
|
|
605
|
+
quantity: z12.number().optional(),
|
|
606
|
+
old_config_bitmask: z12.number().optional(),
|
|
607
|
+
new_config_bitmask: z12.number().optional()
|
|
536
608
|
});
|
|
537
609
|
|
|
538
610
|
// src/schemas/corporation-projects.ts
|
|
539
|
-
import { z as
|
|
540
|
-
var CorporationProjectSchema =
|
|
541
|
-
project_id:
|
|
542
|
-
state:
|
|
543
|
-
progress:
|
|
544
|
-
start_time:
|
|
545
|
-
finish_time:
|
|
611
|
+
import { z as z13 } from "zod";
|
|
612
|
+
var CorporationProjectSchema = z13.looseObject({
|
|
613
|
+
project_id: z13.number(),
|
|
614
|
+
state: z13.string(),
|
|
615
|
+
progress: z13.number(),
|
|
616
|
+
start_time: z13.string(),
|
|
617
|
+
finish_time: z13.string().optional()
|
|
546
618
|
});
|
|
547
|
-
var CorporationProjectContributionSchema =
|
|
548
|
-
character_id:
|
|
549
|
-
contribution:
|
|
619
|
+
var CorporationProjectContributionSchema = z13.looseObject({
|
|
620
|
+
character_id: z13.number(),
|
|
621
|
+
contribution: z13.number()
|
|
550
622
|
});
|
|
551
|
-
var CorporationProjectContributorSchema =
|
|
552
|
-
character_id:
|
|
553
|
-
contribution:
|
|
623
|
+
var CorporationProjectContributorSchema = z13.looseObject({
|
|
624
|
+
character_id: z13.number(),
|
|
625
|
+
contribution: z13.number()
|
|
554
626
|
});
|
|
555
627
|
|
|
556
628
|
// src/schemas/dogma.ts
|
|
557
|
-
import { z as
|
|
558
|
-
var DogmaAttributeSchema =
|
|
559
|
-
attribute_id:
|
|
560
|
-
name:
|
|
561
|
-
description:
|
|
562
|
-
icon_id:
|
|
563
|
-
default_value:
|
|
564
|
-
published:
|
|
565
|
-
display_name:
|
|
566
|
-
unit_id:
|
|
567
|
-
stackable:
|
|
568
|
-
high_is_good:
|
|
569
|
-
});
|
|
570
|
-
var DogmaEffectSchema =
|
|
571
|
-
effect_id:
|
|
572
|
-
name:
|
|
573
|
-
description:
|
|
574
|
-
icon_id:
|
|
575
|
-
display_name:
|
|
576
|
-
published:
|
|
577
|
-
effect_category:
|
|
578
|
-
is_assistance:
|
|
579
|
-
is_offensive:
|
|
580
|
-
is_warp_safe:
|
|
581
|
-
disallow_auto_repeat:
|
|
582
|
-
discharge_attribute_id:
|
|
583
|
-
duration_attribute_id:
|
|
584
|
-
electronic_chance:
|
|
585
|
-
falloff_attribute_id:
|
|
586
|
-
modifiers:
|
|
587
|
-
|
|
588
|
-
domain:
|
|
589
|
-
effect_id:
|
|
590
|
-
func:
|
|
591
|
-
modified_attribute_id:
|
|
592
|
-
modifying_attribute_id:
|
|
593
|
-
operator:
|
|
629
|
+
import { z as z14 } from "zod";
|
|
630
|
+
var DogmaAttributeSchema = z14.looseObject({
|
|
631
|
+
attribute_id: z14.number(),
|
|
632
|
+
name: z14.string(),
|
|
633
|
+
description: z14.string().optional(),
|
|
634
|
+
icon_id: z14.number().optional(),
|
|
635
|
+
default_value: z14.number().optional(),
|
|
636
|
+
published: z14.boolean().optional(),
|
|
637
|
+
display_name: z14.string().optional(),
|
|
638
|
+
unit_id: z14.number().optional(),
|
|
639
|
+
stackable: z14.boolean().optional(),
|
|
640
|
+
high_is_good: z14.boolean().optional()
|
|
641
|
+
});
|
|
642
|
+
var DogmaEffectSchema = z14.looseObject({
|
|
643
|
+
effect_id: z14.number(),
|
|
644
|
+
name: z14.string(),
|
|
645
|
+
description: z14.string().optional(),
|
|
646
|
+
icon_id: z14.number().optional(),
|
|
647
|
+
display_name: z14.string().optional(),
|
|
648
|
+
published: z14.boolean().optional(),
|
|
649
|
+
effect_category: z14.number().optional(),
|
|
650
|
+
is_assistance: z14.boolean().optional(),
|
|
651
|
+
is_offensive: z14.boolean().optional(),
|
|
652
|
+
is_warp_safe: z14.boolean().optional(),
|
|
653
|
+
disallow_auto_repeat: z14.boolean().optional(),
|
|
654
|
+
discharge_attribute_id: z14.number().optional(),
|
|
655
|
+
duration_attribute_id: z14.number().optional(),
|
|
656
|
+
electronic_chance: z14.boolean().optional(),
|
|
657
|
+
falloff_attribute_id: z14.number().optional(),
|
|
658
|
+
modifiers: z14.array(
|
|
659
|
+
z14.looseObject({
|
|
660
|
+
domain: z14.string().optional(),
|
|
661
|
+
effect_id: z14.number().optional(),
|
|
662
|
+
func: z14.string(),
|
|
663
|
+
modified_attribute_id: z14.number().optional(),
|
|
664
|
+
modifying_attribute_id: z14.number().optional(),
|
|
665
|
+
operator: z14.number().optional()
|
|
594
666
|
})
|
|
595
667
|
).optional(),
|
|
596
|
-
post_expression:
|
|
597
|
-
pre_expression:
|
|
598
|
-
range_attribute_id:
|
|
599
|
-
range_chance:
|
|
600
|
-
tracking_speed_attribute_id:
|
|
601
|
-
});
|
|
602
|
-
var DogmaDynamicItemSchema =
|
|
603
|
-
created_by:
|
|
604
|
-
dogma_attributes:
|
|
605
|
-
|
|
606
|
-
attribute_id:
|
|
607
|
-
value:
|
|
668
|
+
post_expression: z14.number().optional(),
|
|
669
|
+
pre_expression: z14.number().optional(),
|
|
670
|
+
range_attribute_id: z14.number().optional(),
|
|
671
|
+
range_chance: z14.boolean().optional(),
|
|
672
|
+
tracking_speed_attribute_id: z14.number().optional()
|
|
673
|
+
});
|
|
674
|
+
var DogmaDynamicItemSchema = z14.looseObject({
|
|
675
|
+
created_by: z14.number(),
|
|
676
|
+
dogma_attributes: z14.array(
|
|
677
|
+
z14.looseObject({
|
|
678
|
+
attribute_id: z14.number(),
|
|
679
|
+
value: z14.number()
|
|
608
680
|
})
|
|
609
681
|
),
|
|
610
|
-
dogma_effects:
|
|
611
|
-
|
|
612
|
-
effect_id:
|
|
613
|
-
is_default:
|
|
682
|
+
dogma_effects: z14.array(
|
|
683
|
+
z14.looseObject({
|
|
684
|
+
effect_id: z14.number(),
|
|
685
|
+
is_default: z14.boolean()
|
|
614
686
|
})
|
|
615
687
|
),
|
|
616
|
-
mutator_type_id:
|
|
617
|
-
source_type_id:
|
|
688
|
+
mutator_type_id: z14.number(),
|
|
689
|
+
source_type_id: z14.number()
|
|
618
690
|
});
|
|
619
691
|
|
|
620
692
|
// src/schemas/faction-warfare.ts
|
|
621
|
-
import { z as
|
|
622
|
-
var FactionWarfareStatsSchema =
|
|
623
|
-
faction_id:
|
|
624
|
-
pilots:
|
|
625
|
-
systems_controlled:
|
|
626
|
-
kills:
|
|
627
|
-
yesterday:
|
|
628
|
-
last_week:
|
|
629
|
-
total:
|
|
693
|
+
import { z as z15 } from "zod";
|
|
694
|
+
var FactionWarfareStatsSchema = z15.looseObject({
|
|
695
|
+
faction_id: z15.number(),
|
|
696
|
+
pilots: z15.number(),
|
|
697
|
+
systems_controlled: z15.number(),
|
|
698
|
+
kills: z15.looseObject({
|
|
699
|
+
yesterday: z15.number(),
|
|
700
|
+
last_week: z15.number(),
|
|
701
|
+
total: z15.number()
|
|
630
702
|
}),
|
|
631
|
-
victory_points:
|
|
632
|
-
yesterday:
|
|
633
|
-
last_week:
|
|
634
|
-
total:
|
|
703
|
+
victory_points: z15.looseObject({
|
|
704
|
+
yesterday: z15.number(),
|
|
705
|
+
last_week: z15.number(),
|
|
706
|
+
total: z15.number()
|
|
635
707
|
})
|
|
636
708
|
});
|
|
637
|
-
var FactionWarfareCharacterStatsSchema =
|
|
638
|
-
faction_id:
|
|
639
|
-
enlisted_on:
|
|
640
|
-
current_rank:
|
|
641
|
-
highest_rank:
|
|
642
|
-
kills:
|
|
643
|
-
yesterday:
|
|
644
|
-
last_week:
|
|
645
|
-
total:
|
|
709
|
+
var FactionWarfareCharacterStatsSchema = z15.looseObject({
|
|
710
|
+
faction_id: z15.number().optional(),
|
|
711
|
+
enlisted_on: z15.string().optional(),
|
|
712
|
+
current_rank: z15.number().optional(),
|
|
713
|
+
highest_rank: z15.number().optional(),
|
|
714
|
+
kills: z15.looseObject({
|
|
715
|
+
yesterday: z15.number(),
|
|
716
|
+
last_week: z15.number(),
|
|
717
|
+
total: z15.number()
|
|
646
718
|
}),
|
|
647
|
-
victory_points:
|
|
648
|
-
yesterday:
|
|
649
|
-
last_week:
|
|
650
|
-
total:
|
|
719
|
+
victory_points: z15.looseObject({
|
|
720
|
+
yesterday: z15.number(),
|
|
721
|
+
last_week: z15.number(),
|
|
722
|
+
total: z15.number()
|
|
651
723
|
})
|
|
652
724
|
});
|
|
653
|
-
var FactionWarfareSystemSchema =
|
|
654
|
-
solar_system_id:
|
|
655
|
-
owner_faction_id:
|
|
656
|
-
occupier_faction_id:
|
|
657
|
-
contested:
|
|
658
|
-
victory_points:
|
|
659
|
-
victory_points_threshold:
|
|
660
|
-
});
|
|
661
|
-
var FactionWarfareWarSchema =
|
|
662
|
-
faction_id:
|
|
663
|
-
against_id:
|
|
664
|
-
});
|
|
665
|
-
var FactionWarfareLeaderboardSchema =
|
|
666
|
-
kills:
|
|
667
|
-
yesterday:
|
|
668
|
-
|
|
669
|
-
amount:
|
|
670
|
-
id:
|
|
725
|
+
var FactionWarfareSystemSchema = z15.looseObject({
|
|
726
|
+
solar_system_id: z15.number(),
|
|
727
|
+
owner_faction_id: z15.number(),
|
|
728
|
+
occupier_faction_id: z15.number(),
|
|
729
|
+
contested: esiEnum(["captured", "contested", "uncontested", "vulnerable"]),
|
|
730
|
+
victory_points: z15.number(),
|
|
731
|
+
victory_points_threshold: z15.number()
|
|
732
|
+
});
|
|
733
|
+
var FactionWarfareWarSchema = z15.looseObject({
|
|
734
|
+
faction_id: z15.number(),
|
|
735
|
+
against_id: z15.number()
|
|
736
|
+
});
|
|
737
|
+
var FactionWarfareLeaderboardSchema = z15.looseObject({
|
|
738
|
+
kills: z15.looseObject({
|
|
739
|
+
yesterday: z15.array(
|
|
740
|
+
z15.looseObject({
|
|
741
|
+
amount: z15.number(),
|
|
742
|
+
id: z15.number().optional()
|
|
671
743
|
})
|
|
672
744
|
),
|
|
673
|
-
last_week:
|
|
674
|
-
|
|
675
|
-
amount:
|
|
676
|
-
id:
|
|
745
|
+
last_week: z15.array(
|
|
746
|
+
z15.looseObject({
|
|
747
|
+
amount: z15.number(),
|
|
748
|
+
id: z15.number().optional()
|
|
677
749
|
})
|
|
678
750
|
),
|
|
679
|
-
active_total:
|
|
680
|
-
|
|
681
|
-
amount:
|
|
682
|
-
id:
|
|
751
|
+
active_total: z15.array(
|
|
752
|
+
z15.looseObject({
|
|
753
|
+
amount: z15.number(),
|
|
754
|
+
id: z15.number().optional()
|
|
683
755
|
})
|
|
684
756
|
)
|
|
685
757
|
}),
|
|
686
|
-
victory_points:
|
|
687
|
-
yesterday:
|
|
688
|
-
|
|
689
|
-
amount:
|
|
690
|
-
id:
|
|
758
|
+
victory_points: z15.looseObject({
|
|
759
|
+
yesterday: z15.array(
|
|
760
|
+
z15.looseObject({
|
|
761
|
+
amount: z15.number(),
|
|
762
|
+
id: z15.number().optional()
|
|
691
763
|
})
|
|
692
764
|
),
|
|
693
|
-
last_week:
|
|
694
|
-
|
|
695
|
-
amount:
|
|
696
|
-
id:
|
|
765
|
+
last_week: z15.array(
|
|
766
|
+
z15.looseObject({
|
|
767
|
+
amount: z15.number(),
|
|
768
|
+
id: z15.number().optional()
|
|
697
769
|
})
|
|
698
770
|
),
|
|
699
|
-
active_total:
|
|
700
|
-
|
|
701
|
-
amount:
|
|
702
|
-
id:
|
|
771
|
+
active_total: z15.array(
|
|
772
|
+
z15.looseObject({
|
|
773
|
+
amount: z15.number(),
|
|
774
|
+
id: z15.number().optional()
|
|
703
775
|
})
|
|
704
776
|
)
|
|
705
777
|
})
|
|
706
778
|
});
|
|
707
|
-
var FactionWarfareCorporationStatsSchema =
|
|
708
|
-
faction_id:
|
|
709
|
-
enlisted_on:
|
|
710
|
-
pilots:
|
|
711
|
-
kills:
|
|
712
|
-
yesterday:
|
|
713
|
-
last_week:
|
|
714
|
-
total:
|
|
779
|
+
var FactionWarfareCorporationStatsSchema = z15.looseObject({
|
|
780
|
+
faction_id: z15.number().optional(),
|
|
781
|
+
enlisted_on: z15.string().optional(),
|
|
782
|
+
pilots: z15.number().optional(),
|
|
783
|
+
kills: z15.looseObject({
|
|
784
|
+
yesterday: z15.number(),
|
|
785
|
+
last_week: z15.number(),
|
|
786
|
+
total: z15.number()
|
|
715
787
|
}),
|
|
716
|
-
victory_points:
|
|
717
|
-
yesterday:
|
|
718
|
-
last_week:
|
|
719
|
-
total:
|
|
788
|
+
victory_points: z15.looseObject({
|
|
789
|
+
yesterday: z15.number(),
|
|
790
|
+
last_week: z15.number(),
|
|
791
|
+
total: z15.number()
|
|
720
792
|
})
|
|
721
793
|
});
|
|
722
794
|
|
|
723
795
|
// src/schemas/fittings.ts
|
|
724
|
-
import { z as
|
|
725
|
-
var FittingSchema =
|
|
726
|
-
fitting_id:
|
|
727
|
-
name:
|
|
728
|
-
description:
|
|
729
|
-
ship_type_id:
|
|
730
|
-
items:
|
|
731
|
-
|
|
732
|
-
type_id:
|
|
733
|
-
flag:
|
|
734
|
-
quantity:
|
|
796
|
+
import { z as z16 } from "zod";
|
|
797
|
+
var FittingSchema = z16.looseObject({
|
|
798
|
+
fitting_id: z16.number(),
|
|
799
|
+
name: z16.string(),
|
|
800
|
+
description: z16.string(),
|
|
801
|
+
ship_type_id: z16.number(),
|
|
802
|
+
items: z16.array(
|
|
803
|
+
z16.looseObject({
|
|
804
|
+
type_id: z16.number(),
|
|
805
|
+
flag: z16.union([z16.number(), z16.string()]),
|
|
806
|
+
quantity: z16.number()
|
|
735
807
|
})
|
|
736
808
|
)
|
|
737
809
|
});
|
|
738
810
|
|
|
739
811
|
// src/schemas/fleet.ts
|
|
740
|
-
import { z as
|
|
741
|
-
var FleetInfoSchema =
|
|
742
|
-
fleet_id:
|
|
743
|
-
fleet_boss_id:
|
|
744
|
-
is_free_move:
|
|
745
|
-
is_registered:
|
|
746
|
-
is_voice_enabled:
|
|
747
|
-
motd:
|
|
748
|
-
});
|
|
749
|
-
var FleetMemberSchema =
|
|
750
|
-
character_id:
|
|
751
|
-
ship_type_id:
|
|
752
|
-
wing_id:
|
|
753
|
-
squad_id:
|
|
754
|
-
role:
|
|
812
|
+
import { z as z17 } from "zod";
|
|
813
|
+
var FleetInfoSchema = z17.looseObject({
|
|
814
|
+
fleet_id: z17.number().optional(),
|
|
815
|
+
fleet_boss_id: z17.number().optional(),
|
|
816
|
+
is_free_move: z17.boolean(),
|
|
817
|
+
is_registered: z17.boolean(),
|
|
818
|
+
is_voice_enabled: z17.boolean(),
|
|
819
|
+
motd: z17.string()
|
|
820
|
+
});
|
|
821
|
+
var FleetMemberSchema = z17.looseObject({
|
|
822
|
+
character_id: z17.number(),
|
|
823
|
+
ship_type_id: z17.number(),
|
|
824
|
+
wing_id: z17.number(),
|
|
825
|
+
squad_id: z17.number(),
|
|
826
|
+
role: esiEnum([
|
|
755
827
|
"fleet_commander",
|
|
756
828
|
"wing_commander",
|
|
757
829
|
"squad_commander",
|
|
758
830
|
"squad_member"
|
|
759
831
|
]),
|
|
760
|
-
role_name:
|
|
761
|
-
join_time:
|
|
762
|
-
takes_fleet_warp:
|
|
763
|
-
solar_system_id:
|
|
764
|
-
station_id:
|
|
765
|
-
});
|
|
766
|
-
var FleetWingSchema =
|
|
767
|
-
id:
|
|
768
|
-
name:
|
|
769
|
-
squads:
|
|
770
|
-
|
|
771
|
-
id:
|
|
772
|
-
name:
|
|
832
|
+
role_name: z17.string(),
|
|
833
|
+
join_time: z17.string(),
|
|
834
|
+
takes_fleet_warp: z17.boolean(),
|
|
835
|
+
solar_system_id: z17.number(),
|
|
836
|
+
station_id: z17.number().optional()
|
|
837
|
+
});
|
|
838
|
+
var FleetWingSchema = z17.looseObject({
|
|
839
|
+
id: z17.number(),
|
|
840
|
+
name: z17.string(),
|
|
841
|
+
squads: z17.array(
|
|
842
|
+
z17.looseObject({
|
|
843
|
+
id: z17.number(),
|
|
844
|
+
name: z17.string()
|
|
773
845
|
})
|
|
774
846
|
)
|
|
775
847
|
});
|
|
776
|
-
var CharacterFleetInfoSchema =
|
|
777
|
-
fleet_id:
|
|
778
|
-
fleet_boss_id:
|
|
779
|
-
role:
|
|
848
|
+
var CharacterFleetInfoSchema = z17.looseObject({
|
|
849
|
+
fleet_id: z17.number(),
|
|
850
|
+
fleet_boss_id: z17.number().optional(),
|
|
851
|
+
role: esiEnum([
|
|
780
852
|
"fleet_commander",
|
|
781
853
|
"wing_commander",
|
|
782
854
|
"squad_commander",
|
|
783
855
|
"squad_member"
|
|
784
856
|
]),
|
|
785
|
-
squad_id:
|
|
786
|
-
wing_id:
|
|
857
|
+
squad_id: z17.number(),
|
|
858
|
+
wing_id: z17.number()
|
|
787
859
|
});
|
|
788
860
|
|
|
789
861
|
// src/schemas/freelance-jobs.ts
|
|
790
|
-
import { z as
|
|
791
|
-
var EsiCursorSchema =
|
|
792
|
-
before:
|
|
793
|
-
after:
|
|
794
|
-
});
|
|
795
|
-
var FreelanceJobSummarySchema =
|
|
796
|
-
id:
|
|
797
|
-
name:
|
|
798
|
-
state:
|
|
799
|
-
last_modified:
|
|
800
|
-
progress:
|
|
801
|
-
current:
|
|
802
|
-
desired:
|
|
862
|
+
import { z as z18 } from "zod";
|
|
863
|
+
var EsiCursorSchema = z18.looseObject({
|
|
864
|
+
before: z18.string().nullable(),
|
|
865
|
+
after: z18.string().nullable()
|
|
866
|
+
});
|
|
867
|
+
var FreelanceJobSummarySchema = z18.looseObject({
|
|
868
|
+
id: z18.string(),
|
|
869
|
+
name: z18.string(),
|
|
870
|
+
state: z18.string(),
|
|
871
|
+
last_modified: z18.string(),
|
|
872
|
+
progress: z18.looseObject({
|
|
873
|
+
current: z18.number(),
|
|
874
|
+
desired: z18.number()
|
|
803
875
|
}),
|
|
804
|
-
reward:
|
|
805
|
-
initial:
|
|
806
|
-
remaining:
|
|
876
|
+
reward: z18.looseObject({
|
|
877
|
+
initial: z18.number(),
|
|
878
|
+
remaining: z18.number()
|
|
807
879
|
}).optional()
|
|
808
880
|
});
|
|
809
|
-
var FreelanceJobsListingSchema =
|
|
881
|
+
var FreelanceJobsListingSchema = z18.looseObject({
|
|
810
882
|
cursor: EsiCursorSchema.optional(),
|
|
811
|
-
freelance_jobs:
|
|
812
|
-
});
|
|
813
|
-
var FreelanceJobDetailSchema =
|
|
814
|
-
id:
|
|
815
|
-
name:
|
|
816
|
-
state:
|
|
817
|
-
last_modified:
|
|
818
|
-
progress:
|
|
819
|
-
current:
|
|
820
|
-
desired:
|
|
883
|
+
freelance_jobs: z18.array(FreelanceJobSummarySchema)
|
|
884
|
+
});
|
|
885
|
+
var FreelanceJobDetailSchema = z18.looseObject({
|
|
886
|
+
id: z18.string(),
|
|
887
|
+
name: z18.string(),
|
|
888
|
+
state: z18.string(),
|
|
889
|
+
last_modified: z18.string(),
|
|
890
|
+
progress: z18.looseObject({
|
|
891
|
+
current: z18.number(),
|
|
892
|
+
desired: z18.number()
|
|
821
893
|
}),
|
|
822
|
-
reward:
|
|
823
|
-
initial:
|
|
824
|
-
remaining:
|
|
894
|
+
reward: z18.looseObject({
|
|
895
|
+
initial: z18.number(),
|
|
896
|
+
remaining: z18.number()
|
|
825
897
|
}).optional(),
|
|
826
|
-
details:
|
|
827
|
-
description:
|
|
828
|
-
career:
|
|
829
|
-
created:
|
|
830
|
-
expires:
|
|
831
|
-
creator:
|
|
832
|
-
character:
|
|
833
|
-
id:
|
|
834
|
-
name:
|
|
898
|
+
details: z18.looseObject({
|
|
899
|
+
description: z18.string(),
|
|
900
|
+
career: z18.string(),
|
|
901
|
+
created: z18.string(),
|
|
902
|
+
expires: z18.string(),
|
|
903
|
+
creator: z18.looseObject({
|
|
904
|
+
character: z18.looseObject({
|
|
905
|
+
id: z18.number(),
|
|
906
|
+
name: z18.string()
|
|
835
907
|
}),
|
|
836
|
-
corporation:
|
|
837
|
-
id:
|
|
838
|
-
name:
|
|
908
|
+
corporation: z18.looseObject({
|
|
909
|
+
id: z18.number(),
|
|
910
|
+
name: z18.string()
|
|
839
911
|
})
|
|
840
912
|
})
|
|
841
913
|
}),
|
|
842
|
-
configuration:
|
|
843
|
-
version:
|
|
844
|
-
parameters:
|
|
845
|
-
method:
|
|
914
|
+
configuration: z18.looseObject({
|
|
915
|
+
version: z18.number(),
|
|
916
|
+
parameters: z18.record(z18.string(), z18.unknown()),
|
|
917
|
+
method: z18.string()
|
|
846
918
|
}),
|
|
847
|
-
contribution:
|
|
848
|
-
max_committed_participants:
|
|
849
|
-
reward_per_contribution:
|
|
850
|
-
submission_multiplier:
|
|
919
|
+
contribution: z18.looseObject({
|
|
920
|
+
max_committed_participants: z18.number(),
|
|
921
|
+
reward_per_contribution: z18.number().optional(),
|
|
922
|
+
submission_multiplier: z18.number().optional()
|
|
851
923
|
}),
|
|
852
|
-
access_and_visibility:
|
|
853
|
-
acl_protected:
|
|
854
|
-
broadcast_locations:
|
|
855
|
-
|
|
856
|
-
id:
|
|
857
|
-
name:
|
|
924
|
+
access_and_visibility: z18.looseObject({
|
|
925
|
+
acl_protected: z18.boolean(),
|
|
926
|
+
broadcast_locations: z18.array(
|
|
927
|
+
z18.looseObject({
|
|
928
|
+
id: z18.number(),
|
|
929
|
+
name: z18.string()
|
|
858
930
|
})
|
|
859
931
|
)
|
|
860
932
|
})
|
|
861
933
|
});
|
|
862
|
-
var CharacterFreelanceJobsListingSchema =
|
|
934
|
+
var CharacterFreelanceJobsListingSchema = z18.looseObject({
|
|
863
935
|
cursor: EsiCursorSchema.optional(),
|
|
864
|
-
freelance_jobs:
|
|
936
|
+
freelance_jobs: z18.array(FreelanceJobSummarySchema)
|
|
865
937
|
});
|
|
866
|
-
var FreelanceJobParticipationSchema =
|
|
867
|
-
job_id:
|
|
868
|
-
character_id:
|
|
869
|
-
status:
|
|
870
|
-
contributions:
|
|
871
|
-
last_contribution:
|
|
938
|
+
var FreelanceJobParticipationSchema = z18.looseObject({
|
|
939
|
+
job_id: z18.string(),
|
|
940
|
+
character_id: z18.number(),
|
|
941
|
+
status: z18.string(),
|
|
942
|
+
contributions: z18.number(),
|
|
943
|
+
last_contribution: z18.string().optional()
|
|
872
944
|
});
|
|
873
|
-
var CorporationFreelanceJobsListingSchema =
|
|
945
|
+
var CorporationFreelanceJobsListingSchema = z18.looseObject({
|
|
874
946
|
cursor: EsiCursorSchema.optional(),
|
|
875
|
-
freelance_jobs:
|
|
947
|
+
freelance_jobs: z18.array(FreelanceJobSummarySchema)
|
|
876
948
|
});
|
|
877
|
-
var FreelanceJobParticipantSchema =
|
|
878
|
-
character_id:
|
|
879
|
-
corporation_id:
|
|
880
|
-
status:
|
|
881
|
-
contributions:
|
|
882
|
-
last_contribution:
|
|
949
|
+
var FreelanceJobParticipantSchema = z18.looseObject({
|
|
950
|
+
character_id: z18.number(),
|
|
951
|
+
corporation_id: z18.number(),
|
|
952
|
+
status: z18.string(),
|
|
953
|
+
contributions: z18.number(),
|
|
954
|
+
last_contribution: z18.string().optional()
|
|
883
955
|
});
|
|
884
956
|
|
|
885
957
|
// src/schemas/incursions.ts
|
|
886
|
-
import { z as
|
|
887
|
-
var IncursionSchema =
|
|
888
|
-
type:
|
|
889
|
-
state:
|
|
890
|
-
staging_solar_system_id:
|
|
891
|
-
constellation_id:
|
|
892
|
-
infested_solar_systems:
|
|
893
|
-
has_boss:
|
|
894
|
-
faction_id:
|
|
895
|
-
influence:
|
|
958
|
+
import { z as z19 } from "zod";
|
|
959
|
+
var IncursionSchema = z19.looseObject({
|
|
960
|
+
type: z19.string(),
|
|
961
|
+
state: esiEnum(["withdrawing", "mobilizing", "established"]),
|
|
962
|
+
staging_solar_system_id: z19.number(),
|
|
963
|
+
constellation_id: z19.number(),
|
|
964
|
+
infested_solar_systems: z19.array(z19.number()),
|
|
965
|
+
has_boss: z19.boolean(),
|
|
966
|
+
faction_id: z19.number(),
|
|
967
|
+
influence: z19.number()
|
|
896
968
|
});
|
|
897
969
|
|
|
898
970
|
// src/schemas/industry.ts
|
|
899
|
-
import { z as
|
|
900
|
-
var IndustryJobSchema =
|
|
901
|
-
job_id:
|
|
902
|
-
installer_id:
|
|
903
|
-
facility_id:
|
|
904
|
-
station_id:
|
|
905
|
-
activity_id:
|
|
906
|
-
blueprint_id:
|
|
907
|
-
blueprint_type_id:
|
|
908
|
-
blueprint_location_id:
|
|
909
|
-
output_location_id:
|
|
910
|
-
runs:
|
|
911
|
-
cost:
|
|
912
|
-
licensed_runs:
|
|
913
|
-
probability:
|
|
914
|
-
product_type_id:
|
|
915
|
-
status:
|
|
971
|
+
import { z as z20 } from "zod";
|
|
972
|
+
var IndustryJobSchema = z20.looseObject({
|
|
973
|
+
job_id: z20.number(),
|
|
974
|
+
installer_id: z20.number(),
|
|
975
|
+
facility_id: z20.number(),
|
|
976
|
+
station_id: z20.number(),
|
|
977
|
+
activity_id: z20.number(),
|
|
978
|
+
blueprint_id: z20.number(),
|
|
979
|
+
blueprint_type_id: z20.number(),
|
|
980
|
+
blueprint_location_id: z20.number(),
|
|
981
|
+
output_location_id: z20.number(),
|
|
982
|
+
runs: z20.number(),
|
|
983
|
+
cost: z20.number().optional(),
|
|
984
|
+
licensed_runs: z20.number().optional(),
|
|
985
|
+
probability: z20.number().optional(),
|
|
986
|
+
product_type_id: z20.number().optional(),
|
|
987
|
+
status: esiEnum([
|
|
916
988
|
"active",
|
|
917
989
|
"cancelled",
|
|
918
990
|
"delivered",
|
|
@@ -920,165 +992,165 @@ var IndustryJobSchema = z18.looseObject({
|
|
|
920
992
|
"ready",
|
|
921
993
|
"reverted"
|
|
922
994
|
]),
|
|
923
|
-
duration:
|
|
924
|
-
start_date:
|
|
925
|
-
end_date:
|
|
926
|
-
pause_date:
|
|
927
|
-
completed_date:
|
|
928
|
-
completed_character_id:
|
|
929
|
-
successful_runs:
|
|
930
|
-
});
|
|
931
|
-
var MiningLedgerEntrySchema =
|
|
932
|
-
date:
|
|
933
|
-
solar_system_id:
|
|
934
|
-
type_id:
|
|
935
|
-
quantity:
|
|
936
|
-
});
|
|
937
|
-
var IndustryFacilitySchema = z18.looseObject({
|
|
938
|
-
facility_id: z18.number(),
|
|
939
|
-
owner_id: z18.number(),
|
|
940
|
-
region_id: z18.number(),
|
|
941
|
-
solar_system_id: z18.number(),
|
|
942
|
-
tax: z18.number().optional(),
|
|
943
|
-
type_id: z18.number()
|
|
944
|
-
});
|
|
945
|
-
var IndustrySystemSchema = z18.looseObject({
|
|
946
|
-
solar_system_id: z18.number(),
|
|
947
|
-
cost_indices: z18.array(
|
|
948
|
-
z18.looseObject({
|
|
949
|
-
activity: z18.string(),
|
|
950
|
-
cost_index: z18.number()
|
|
951
|
-
})
|
|
952
|
-
)
|
|
995
|
+
duration: z20.number(),
|
|
996
|
+
start_date: z20.string(),
|
|
997
|
+
end_date: z20.string(),
|
|
998
|
+
pause_date: z20.string().optional(),
|
|
999
|
+
completed_date: z20.string().optional(),
|
|
1000
|
+
completed_character_id: z20.number().optional(),
|
|
1001
|
+
successful_runs: z20.number().optional()
|
|
1002
|
+
});
|
|
1003
|
+
var MiningLedgerEntrySchema = z20.looseObject({
|
|
1004
|
+
date: z20.string(),
|
|
1005
|
+
solar_system_id: z20.number(),
|
|
1006
|
+
type_id: z20.number(),
|
|
1007
|
+
quantity: z20.number()
|
|
953
1008
|
});
|
|
954
|
-
var
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1009
|
+
var IndustryFacilitySchema = z20.looseObject({
|
|
1010
|
+
facility_id: z20.number(),
|
|
1011
|
+
owner_id: z20.number(),
|
|
1012
|
+
region_id: z20.number(),
|
|
1013
|
+
solar_system_id: z20.number(),
|
|
1014
|
+
tax: z20.number().optional(),
|
|
1015
|
+
type_id: z20.number()
|
|
960
1016
|
});
|
|
961
|
-
var
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1017
|
+
var IndustrySystemSchema = z20.looseObject({
|
|
1018
|
+
solar_system_id: z20.number(),
|
|
1019
|
+
cost_indices: z20.array(
|
|
1020
|
+
z20.looseObject({
|
|
1021
|
+
activity: z20.string(),
|
|
1022
|
+
cost_index: z20.number()
|
|
1023
|
+
})
|
|
1024
|
+
)
|
|
965
1025
|
});
|
|
966
|
-
var
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
1026
|
+
var MoonExtractionTimerSchema = z20.looseObject({
|
|
1027
|
+
structure_id: z20.number(),
|
|
1028
|
+
moon_id: z20.number(),
|
|
1029
|
+
extraction_start_time: z20.string(),
|
|
1030
|
+
chunk_arrival_time: z20.string(),
|
|
1031
|
+
natural_decay_time: z20.string()
|
|
1032
|
+
});
|
|
1033
|
+
var MiningObserverSchema = z20.looseObject({
|
|
1034
|
+
observer_id: z20.number(),
|
|
1035
|
+
observer_type: z20.string(),
|
|
1036
|
+
last_updated: z20.string()
|
|
1037
|
+
});
|
|
1038
|
+
var MiningObserverEntrySchema = z20.looseObject({
|
|
1039
|
+
character_id: z20.number(),
|
|
1040
|
+
recorded_corporation_id: z20.number(),
|
|
1041
|
+
type_id: z20.number(),
|
|
1042
|
+
quantity: z20.number(),
|
|
1043
|
+
last_updated: z20.string()
|
|
972
1044
|
});
|
|
973
1045
|
|
|
974
1046
|
// src/schemas/insurance.ts
|
|
975
|
-
import { z as
|
|
976
|
-
var InsurancePriceSchema =
|
|
977
|
-
type_id:
|
|
978
|
-
levels:
|
|
979
|
-
|
|
980
|
-
cost:
|
|
981
|
-
payout:
|
|
982
|
-
name:
|
|
1047
|
+
import { z as z21 } from "zod";
|
|
1048
|
+
var InsurancePriceSchema = z21.looseObject({
|
|
1049
|
+
type_id: z21.number(),
|
|
1050
|
+
levels: z21.array(
|
|
1051
|
+
z21.looseObject({
|
|
1052
|
+
cost: z21.number(),
|
|
1053
|
+
payout: z21.number(),
|
|
1054
|
+
name: z21.string()
|
|
983
1055
|
})
|
|
984
1056
|
)
|
|
985
1057
|
});
|
|
986
1058
|
|
|
987
1059
|
// src/schemas/killmails.ts
|
|
988
|
-
import { z as
|
|
989
|
-
var KillmailSummarySchema =
|
|
990
|
-
killmail_id:
|
|
991
|
-
killmail_hash:
|
|
992
|
-
});
|
|
993
|
-
var KillmailSchema =
|
|
994
|
-
killmail_id:
|
|
995
|
-
killmail_time:
|
|
996
|
-
solar_system_id:
|
|
997
|
-
moon_id:
|
|
998
|
-
war_id:
|
|
999
|
-
victim:
|
|
1000
|
-
character_id:
|
|
1001
|
-
corporation_id:
|
|
1002
|
-
alliance_id:
|
|
1003
|
-
faction_id:
|
|
1004
|
-
ship_type_id:
|
|
1005
|
-
damage_taken:
|
|
1006
|
-
position:
|
|
1007
|
-
x:
|
|
1008
|
-
y:
|
|
1009
|
-
z:
|
|
1060
|
+
import { z as z22 } from "zod";
|
|
1061
|
+
var KillmailSummarySchema = z22.looseObject({
|
|
1062
|
+
killmail_id: z22.number(),
|
|
1063
|
+
killmail_hash: z22.string()
|
|
1064
|
+
});
|
|
1065
|
+
var KillmailSchema = z22.looseObject({
|
|
1066
|
+
killmail_id: z22.number(),
|
|
1067
|
+
killmail_time: z22.string(),
|
|
1068
|
+
solar_system_id: z22.number(),
|
|
1069
|
+
moon_id: z22.number().optional(),
|
|
1070
|
+
war_id: z22.number().optional(),
|
|
1071
|
+
victim: z22.looseObject({
|
|
1072
|
+
character_id: z22.number().optional(),
|
|
1073
|
+
corporation_id: z22.number().optional(),
|
|
1074
|
+
alliance_id: z22.number().optional(),
|
|
1075
|
+
faction_id: z22.number().optional(),
|
|
1076
|
+
ship_type_id: z22.number(),
|
|
1077
|
+
damage_taken: z22.number(),
|
|
1078
|
+
position: z22.looseObject({
|
|
1079
|
+
x: z22.number(),
|
|
1080
|
+
y: z22.number(),
|
|
1081
|
+
z: z22.number()
|
|
1010
1082
|
}).optional(),
|
|
1011
|
-
items:
|
|
1083
|
+
items: z22.array(z22.unknown()).optional()
|
|
1012
1084
|
}),
|
|
1013
|
-
attackers:
|
|
1014
|
-
|
|
1015
|
-
character_id:
|
|
1016
|
-
corporation_id:
|
|
1017
|
-
alliance_id:
|
|
1018
|
-
faction_id:
|
|
1019
|
-
ship_type_id:
|
|
1020
|
-
weapon_type_id:
|
|
1021
|
-
damage_done:
|
|
1022
|
-
final_blow:
|
|
1023
|
-
security_status:
|
|
1085
|
+
attackers: z22.array(
|
|
1086
|
+
z22.looseObject({
|
|
1087
|
+
character_id: z22.number().optional(),
|
|
1088
|
+
corporation_id: z22.number().optional(),
|
|
1089
|
+
alliance_id: z22.number().optional(),
|
|
1090
|
+
faction_id: z22.number().optional(),
|
|
1091
|
+
ship_type_id: z22.number().optional(),
|
|
1092
|
+
weapon_type_id: z22.number().optional(),
|
|
1093
|
+
damage_done: z22.number(),
|
|
1094
|
+
final_blow: z22.boolean(),
|
|
1095
|
+
security_status: z22.number()
|
|
1024
1096
|
})
|
|
1025
1097
|
)
|
|
1026
1098
|
});
|
|
1027
1099
|
|
|
1028
1100
|
// src/schemas/location.ts
|
|
1029
|
-
import { z as
|
|
1030
|
-
var CharacterLocationSchema =
|
|
1031
|
-
solar_system_id:
|
|
1032
|
-
station_id:
|
|
1033
|
-
structure_id:
|
|
1034
|
-
});
|
|
1035
|
-
var CharacterOnlineSchema =
|
|
1036
|
-
online:
|
|
1037
|
-
last_login:
|
|
1038
|
-
last_logout:
|
|
1039
|
-
logins:
|
|
1040
|
-
});
|
|
1041
|
-
var CharacterShipSchema =
|
|
1042
|
-
ship_item_id:
|
|
1043
|
-
ship_name:
|
|
1044
|
-
ship_type_id:
|
|
1101
|
+
import { z as z23 } from "zod";
|
|
1102
|
+
var CharacterLocationSchema = z23.looseObject({
|
|
1103
|
+
solar_system_id: z23.number(),
|
|
1104
|
+
station_id: z23.number().optional(),
|
|
1105
|
+
structure_id: z23.number().optional()
|
|
1106
|
+
});
|
|
1107
|
+
var CharacterOnlineSchema = z23.looseObject({
|
|
1108
|
+
online: z23.boolean(),
|
|
1109
|
+
last_login: z23.string().optional(),
|
|
1110
|
+
last_logout: z23.string().optional(),
|
|
1111
|
+
logins: z23.number().optional()
|
|
1112
|
+
});
|
|
1113
|
+
var CharacterShipSchema = z23.looseObject({
|
|
1114
|
+
ship_item_id: z23.number(),
|
|
1115
|
+
ship_name: z23.string(),
|
|
1116
|
+
ship_type_id: z23.number()
|
|
1045
1117
|
});
|
|
1046
1118
|
|
|
1047
1119
|
// src/schemas/loyalty.ts
|
|
1048
|
-
import { z as
|
|
1049
|
-
var LoyaltyPointsSchema =
|
|
1050
|
-
corporation_id:
|
|
1051
|
-
loyalty_points:
|
|
1052
|
-
});
|
|
1053
|
-
var LoyaltyStoreOfferSchema =
|
|
1054
|
-
offer_id:
|
|
1055
|
-
type_id:
|
|
1056
|
-
quantity:
|
|
1057
|
-
lp_cost:
|
|
1058
|
-
isk_cost:
|
|
1059
|
-
ak_cost:
|
|
1060
|
-
required_items:
|
|
1061
|
-
|
|
1062
|
-
type_id:
|
|
1063
|
-
quantity:
|
|
1120
|
+
import { z as z24 } from "zod";
|
|
1121
|
+
var LoyaltyPointsSchema = z24.looseObject({
|
|
1122
|
+
corporation_id: z24.number(),
|
|
1123
|
+
loyalty_points: z24.number()
|
|
1124
|
+
});
|
|
1125
|
+
var LoyaltyStoreOfferSchema = z24.looseObject({
|
|
1126
|
+
offer_id: z24.number(),
|
|
1127
|
+
type_id: z24.number(),
|
|
1128
|
+
quantity: z24.number(),
|
|
1129
|
+
lp_cost: z24.number(),
|
|
1130
|
+
isk_cost: z24.number(),
|
|
1131
|
+
ak_cost: z24.number().optional(),
|
|
1132
|
+
required_items: z24.array(
|
|
1133
|
+
z24.looseObject({
|
|
1134
|
+
type_id: z24.number(),
|
|
1135
|
+
quantity: z24.number()
|
|
1064
1136
|
})
|
|
1065
1137
|
)
|
|
1066
1138
|
});
|
|
1067
1139
|
|
|
1068
1140
|
// src/schemas/mail.ts
|
|
1069
|
-
import { z as
|
|
1070
|
-
var MailMessageSchema =
|
|
1071
|
-
mail_id:
|
|
1072
|
-
subject:
|
|
1073
|
-
from:
|
|
1074
|
-
timestamp:
|
|
1075
|
-
labels:
|
|
1076
|
-
is_read:
|
|
1077
|
-
body:
|
|
1078
|
-
recipients:
|
|
1079
|
-
|
|
1080
|
-
recipient_id:
|
|
1081
|
-
recipient_type:
|
|
1141
|
+
import { z as z25 } from "zod";
|
|
1142
|
+
var MailMessageSchema = z25.looseObject({
|
|
1143
|
+
mail_id: z25.number().optional(),
|
|
1144
|
+
subject: z25.string().optional(),
|
|
1145
|
+
from: z25.number().optional(),
|
|
1146
|
+
timestamp: z25.string().optional(),
|
|
1147
|
+
labels: z25.array(z25.number()).optional(),
|
|
1148
|
+
is_read: z25.boolean().optional(),
|
|
1149
|
+
body: z25.string().optional(),
|
|
1150
|
+
recipients: z25.array(
|
|
1151
|
+
z25.looseObject({
|
|
1152
|
+
recipient_id: z25.number(),
|
|
1153
|
+
recipient_type: esiEnum([
|
|
1082
1154
|
"alliance",
|
|
1083
1155
|
"character",
|
|
1084
1156
|
"corporation",
|
|
@@ -1087,216 +1159,306 @@ var MailMessageSchema = z23.looseObject({
|
|
|
1087
1159
|
})
|
|
1088
1160
|
).optional()
|
|
1089
1161
|
});
|
|
1090
|
-
var MailLabelSchema =
|
|
1091
|
-
label_id:
|
|
1092
|
-
name:
|
|
1093
|
-
color:
|
|
1094
|
-
unread_count:
|
|
1162
|
+
var MailLabelSchema = z25.looseObject({
|
|
1163
|
+
label_id: z25.number(),
|
|
1164
|
+
name: z25.string(),
|
|
1165
|
+
color: z25.string().optional(),
|
|
1166
|
+
unread_count: z25.number().optional()
|
|
1095
1167
|
});
|
|
1096
|
-
var MailLabelsResponseSchema =
|
|
1097
|
-
labels:
|
|
1098
|
-
total_unread_count:
|
|
1168
|
+
var MailLabelsResponseSchema = z25.looseObject({
|
|
1169
|
+
labels: z25.array(MailLabelSchema).optional(),
|
|
1170
|
+
total_unread_count: z25.number().optional()
|
|
1099
1171
|
});
|
|
1100
|
-
var MailingListSchema =
|
|
1101
|
-
mailing_list_id:
|
|
1102
|
-
name:
|
|
1172
|
+
var MailingListSchema = z25.looseObject({
|
|
1173
|
+
mailing_list_id: z25.number(),
|
|
1174
|
+
name: z25.string()
|
|
1103
1175
|
});
|
|
1104
1176
|
|
|
1105
1177
|
// src/schemas/market.ts
|
|
1106
|
-
import { z as
|
|
1107
|
-
var MarketOrderSchema =
|
|
1108
|
-
order_id:
|
|
1109
|
-
type_id:
|
|
1110
|
-
location_id:
|
|
1111
|
-
volume_total:
|
|
1112
|
-
volume_remain:
|
|
1113
|
-
min_volume:
|
|
1114
|
-
price:
|
|
1115
|
-
is_buy_order:
|
|
1116
|
-
system_id:
|
|
1117
|
-
duration:
|
|
1118
|
-
issued:
|
|
1119
|
-
range:
|
|
1120
|
-
});
|
|
1121
|
-
var CharacterMarketOrderSchema =
|
|
1122
|
-
order_id:
|
|
1123
|
-
type_id:
|
|
1124
|
-
location_id:
|
|
1125
|
-
volume_total:
|
|
1126
|
-
volume_remain:
|
|
1127
|
-
min_volume:
|
|
1128
|
-
price:
|
|
1129
|
-
is_buy_order:
|
|
1130
|
-
is_corporation:
|
|
1131
|
-
region_id:
|
|
1132
|
-
duration:
|
|
1133
|
-
issued:
|
|
1134
|
-
range:
|
|
1135
|
-
escrow:
|
|
1136
|
-
});
|
|
1137
|
-
var CharacterMarketOrderHistorySchema =
|
|
1138
|
-
order_id:
|
|
1139
|
-
type_id:
|
|
1140
|
-
location_id:
|
|
1141
|
-
volume_total:
|
|
1142
|
-
volume_remain:
|
|
1143
|
-
min_volume:
|
|
1144
|
-
price:
|
|
1145
|
-
is_buy_order:
|
|
1146
|
-
is_corporation:
|
|
1147
|
-
region_id:
|
|
1148
|
-
duration:
|
|
1149
|
-
issued:
|
|
1150
|
-
range:
|
|
1151
|
-
state:
|
|
1152
|
-
escrow:
|
|
1153
|
-
});
|
|
1154
|
-
var CorporationMarketOrderSchema =
|
|
1155
|
-
order_id:
|
|
1156
|
-
type_id:
|
|
1157
|
-
location_id:
|
|
1158
|
-
volume_total:
|
|
1159
|
-
volume_remain:
|
|
1160
|
-
min_volume:
|
|
1161
|
-
price:
|
|
1162
|
-
is_buy_order:
|
|
1163
|
-
issued_by:
|
|
1164
|
-
region_id:
|
|
1165
|
-
wallet_division:
|
|
1166
|
-
duration:
|
|
1167
|
-
issued:
|
|
1168
|
-
range:
|
|
1169
|
-
escrow:
|
|
1170
|
-
});
|
|
1171
|
-
var CorporationMarketOrderHistorySchema =
|
|
1172
|
-
order_id:
|
|
1173
|
-
type_id:
|
|
1174
|
-
location_id:
|
|
1175
|
-
volume_total:
|
|
1176
|
-
volume_remain:
|
|
1177
|
-
min_volume:
|
|
1178
|
-
price:
|
|
1179
|
-
is_buy_order:
|
|
1180
|
-
issued_by:
|
|
1181
|
-
region_id:
|
|
1182
|
-
wallet_division:
|
|
1183
|
-
duration:
|
|
1184
|
-
issued:
|
|
1185
|
-
range:
|
|
1186
|
-
state:
|
|
1187
|
-
escrow:
|
|
1188
|
-
});
|
|
1189
|
-
var StructureMarketOrderSchema =
|
|
1190
|
-
order_id:
|
|
1191
|
-
type_id:
|
|
1192
|
-
location_id:
|
|
1193
|
-
volume_total:
|
|
1194
|
-
volume_remain:
|
|
1195
|
-
min_volume:
|
|
1196
|
-
price:
|
|
1197
|
-
is_buy_order:
|
|
1198
|
-
duration:
|
|
1199
|
-
issued:
|
|
1200
|
-
range:
|
|
1201
|
-
});
|
|
1202
|
-
var MarketHistorySchema =
|
|
1203
|
-
date:
|
|
1204
|
-
order_count:
|
|
1205
|
-
volume:
|
|
1206
|
-
highest:
|
|
1207
|
-
average:
|
|
1208
|
-
lowest:
|
|
1209
|
-
});
|
|
1210
|
-
var MarketGroupSchema =
|
|
1211
|
-
market_group_id:
|
|
1212
|
-
name:
|
|
1213
|
-
description:
|
|
1214
|
-
types:
|
|
1215
|
-
parent_group_id:
|
|
1216
|
-
});
|
|
1217
|
-
var MarketPriceSchema =
|
|
1218
|
-
type_id:
|
|
1219
|
-
average_price:
|
|
1220
|
-
adjusted_price:
|
|
1178
|
+
import { z as z26 } from "zod";
|
|
1179
|
+
var MarketOrderSchema = z26.looseObject({
|
|
1180
|
+
order_id: z26.number(),
|
|
1181
|
+
type_id: z26.number(),
|
|
1182
|
+
location_id: z26.number(),
|
|
1183
|
+
volume_total: z26.number(),
|
|
1184
|
+
volume_remain: z26.number(),
|
|
1185
|
+
min_volume: z26.number(),
|
|
1186
|
+
price: z26.number(),
|
|
1187
|
+
is_buy_order: z26.boolean(),
|
|
1188
|
+
system_id: z26.number(),
|
|
1189
|
+
duration: z26.number(),
|
|
1190
|
+
issued: z26.string(),
|
|
1191
|
+
range: z26.string()
|
|
1192
|
+
});
|
|
1193
|
+
var CharacterMarketOrderSchema = z26.looseObject({
|
|
1194
|
+
order_id: z26.number(),
|
|
1195
|
+
type_id: z26.number(),
|
|
1196
|
+
location_id: z26.number(),
|
|
1197
|
+
volume_total: z26.number(),
|
|
1198
|
+
volume_remain: z26.number(),
|
|
1199
|
+
min_volume: z26.number().optional(),
|
|
1200
|
+
price: z26.number(),
|
|
1201
|
+
is_buy_order: z26.boolean().optional(),
|
|
1202
|
+
is_corporation: z26.boolean(),
|
|
1203
|
+
region_id: z26.number(),
|
|
1204
|
+
duration: z26.number(),
|
|
1205
|
+
issued: z26.string(),
|
|
1206
|
+
range: z26.string(),
|
|
1207
|
+
escrow: z26.number().optional()
|
|
1208
|
+
});
|
|
1209
|
+
var CharacterMarketOrderHistorySchema = z26.looseObject({
|
|
1210
|
+
order_id: z26.number(),
|
|
1211
|
+
type_id: z26.number(),
|
|
1212
|
+
location_id: z26.number(),
|
|
1213
|
+
volume_total: z26.number(),
|
|
1214
|
+
volume_remain: z26.number(),
|
|
1215
|
+
min_volume: z26.number().optional(),
|
|
1216
|
+
price: z26.number(),
|
|
1217
|
+
is_buy_order: z26.boolean().optional(),
|
|
1218
|
+
is_corporation: z26.boolean(),
|
|
1219
|
+
region_id: z26.number(),
|
|
1220
|
+
duration: z26.number(),
|
|
1221
|
+
issued: z26.string(),
|
|
1222
|
+
range: z26.string(),
|
|
1223
|
+
state: esiEnum(["cancelled", "expired"]),
|
|
1224
|
+
escrow: z26.number().optional()
|
|
1225
|
+
});
|
|
1226
|
+
var CorporationMarketOrderSchema = z26.looseObject({
|
|
1227
|
+
order_id: z26.number(),
|
|
1228
|
+
type_id: z26.number(),
|
|
1229
|
+
location_id: z26.number(),
|
|
1230
|
+
volume_total: z26.number(),
|
|
1231
|
+
volume_remain: z26.number(),
|
|
1232
|
+
min_volume: z26.number().optional(),
|
|
1233
|
+
price: z26.number(),
|
|
1234
|
+
is_buy_order: z26.boolean().optional(),
|
|
1235
|
+
issued_by: z26.number(),
|
|
1236
|
+
region_id: z26.number(),
|
|
1237
|
+
wallet_division: z26.number(),
|
|
1238
|
+
duration: z26.number(),
|
|
1239
|
+
issued: z26.string(),
|
|
1240
|
+
range: z26.string(),
|
|
1241
|
+
escrow: z26.number().optional()
|
|
1242
|
+
});
|
|
1243
|
+
var CorporationMarketOrderHistorySchema = z26.looseObject({
|
|
1244
|
+
order_id: z26.number(),
|
|
1245
|
+
type_id: z26.number(),
|
|
1246
|
+
location_id: z26.number(),
|
|
1247
|
+
volume_total: z26.number(),
|
|
1248
|
+
volume_remain: z26.number(),
|
|
1249
|
+
min_volume: z26.number().optional(),
|
|
1250
|
+
price: z26.number(),
|
|
1251
|
+
is_buy_order: z26.boolean().optional(),
|
|
1252
|
+
issued_by: z26.number().optional(),
|
|
1253
|
+
region_id: z26.number(),
|
|
1254
|
+
wallet_division: z26.number(),
|
|
1255
|
+
duration: z26.number(),
|
|
1256
|
+
issued: z26.string(),
|
|
1257
|
+
range: z26.string(),
|
|
1258
|
+
state: esiEnum(["cancelled", "expired"]),
|
|
1259
|
+
escrow: z26.number().optional()
|
|
1260
|
+
});
|
|
1261
|
+
var StructureMarketOrderSchema = z26.looseObject({
|
|
1262
|
+
order_id: z26.number(),
|
|
1263
|
+
type_id: z26.number(),
|
|
1264
|
+
location_id: z26.number(),
|
|
1265
|
+
volume_total: z26.number(),
|
|
1266
|
+
volume_remain: z26.number(),
|
|
1267
|
+
min_volume: z26.number(),
|
|
1268
|
+
price: z26.number(),
|
|
1269
|
+
is_buy_order: z26.boolean(),
|
|
1270
|
+
duration: z26.number(),
|
|
1271
|
+
issued: z26.string(),
|
|
1272
|
+
range: z26.string()
|
|
1273
|
+
});
|
|
1274
|
+
var MarketHistorySchema = z26.looseObject({
|
|
1275
|
+
date: z26.string(),
|
|
1276
|
+
order_count: z26.number(),
|
|
1277
|
+
volume: z26.number(),
|
|
1278
|
+
highest: z26.number(),
|
|
1279
|
+
average: z26.number(),
|
|
1280
|
+
lowest: z26.number()
|
|
1281
|
+
});
|
|
1282
|
+
var MarketGroupSchema = z26.looseObject({
|
|
1283
|
+
market_group_id: z26.number(),
|
|
1284
|
+
name: z26.string(),
|
|
1285
|
+
description: z26.string(),
|
|
1286
|
+
types: z26.array(z26.number()),
|
|
1287
|
+
parent_group_id: z26.number().optional()
|
|
1288
|
+
});
|
|
1289
|
+
var MarketPriceSchema = z26.looseObject({
|
|
1290
|
+
type_id: z26.number(),
|
|
1291
|
+
average_price: z26.number().optional(),
|
|
1292
|
+
adjusted_price: z26.number().optional()
|
|
1221
1293
|
});
|
|
1222
1294
|
|
|
1223
1295
|
// src/schemas/mercenary.ts
|
|
1224
|
-
import { z as
|
|
1225
|
-
var MercenaryDenSchema =
|
|
1226
|
-
den_id:
|
|
1227
|
-
system_id:
|
|
1228
|
-
constellation_id:
|
|
1229
|
-
region_id:
|
|
1230
|
-
development_level:
|
|
1231
|
-
anarchy_level:
|
|
1232
|
-
active_operations:
|
|
1233
|
-
});
|
|
1234
|
-
var MercenaryTacticalOperationSchema =
|
|
1235
|
-
operation_id:
|
|
1236
|
-
den_id:
|
|
1237
|
-
system_id:
|
|
1238
|
-
site_type:
|
|
1239
|
-
status:
|
|
1240
|
-
started_at:
|
|
1241
|
-
expires_at:
|
|
1296
|
+
import { z as z27 } from "zod";
|
|
1297
|
+
var MercenaryDenSchema = z27.looseObject({
|
|
1298
|
+
den_id: z27.number(),
|
|
1299
|
+
system_id: z27.number(),
|
|
1300
|
+
constellation_id: z27.number(),
|
|
1301
|
+
region_id: z27.number(),
|
|
1302
|
+
development_level: z27.number().optional(),
|
|
1303
|
+
anarchy_level: z27.number().optional(),
|
|
1304
|
+
active_operations: z27.number().optional()
|
|
1305
|
+
});
|
|
1306
|
+
var MercenaryTacticalOperationSchema = z27.looseObject({
|
|
1307
|
+
operation_id: z27.number(),
|
|
1308
|
+
den_id: z27.number(),
|
|
1309
|
+
system_id: z27.number(),
|
|
1310
|
+
site_type: z27.string(),
|
|
1311
|
+
status: esiEnum(["spawning", "active", "completed", "expired"]),
|
|
1312
|
+
started_at: z27.string().optional(),
|
|
1313
|
+
expires_at: z27.string().optional()
|
|
1314
|
+
});
|
|
1315
|
+
var MercenaryDenDetailEvolutionLevelSchema = z27.looseObject({
|
|
1316
|
+
level: z27.number().optional(),
|
|
1317
|
+
progress: z27.number().optional()
|
|
1318
|
+
});
|
|
1319
|
+
var MercenaryDenDetailEvolutionSchema = z27.looseObject({
|
|
1320
|
+
development: MercenaryDenDetailEvolutionLevelSchema,
|
|
1321
|
+
anarchy: MercenaryDenDetailEvolutionLevelSchema
|
|
1322
|
+
});
|
|
1323
|
+
var MercenaryDenDetailInfomorphsSchema = z27.looseObject({
|
|
1324
|
+
amount: z27.number()
|
|
1325
|
+
});
|
|
1326
|
+
var MercenaryDenDetailReinforcementTimerSchema = z27.looseObject({
|
|
1327
|
+
end: z27.string()
|
|
1328
|
+
});
|
|
1329
|
+
var MercenaryDenDetailSkyhookSchema = z27.looseObject({
|
|
1330
|
+
id: z27.number(),
|
|
1331
|
+
planet_id: z27.number(),
|
|
1332
|
+
corporation_id: z27.number()
|
|
1333
|
+
});
|
|
1334
|
+
var MercenaryDenDetailSchema = z27.looseObject({
|
|
1335
|
+
id: z27.number(),
|
|
1336
|
+
type_id: z27.number(),
|
|
1337
|
+
state: esiEnum(["Unspecified", "Running", "Paused", "Disabled"]),
|
|
1338
|
+
skyhook: MercenaryDenDetailSkyhookSchema,
|
|
1339
|
+
infomorphs: MercenaryDenDetailInfomorphsSchema,
|
|
1340
|
+
evolution: MercenaryDenDetailEvolutionSchema,
|
|
1341
|
+
reinforcement_timer: MercenaryDenDetailReinforcementTimerSchema.optional()
|
|
1342
|
+
});
|
|
1343
|
+
var MercenaryTacticalOperationDetailSchema = z27.looseObject({
|
|
1344
|
+
id: z27.string(),
|
|
1345
|
+
mercenary_den_id: z27.number(),
|
|
1346
|
+
state: esiEnum([
|
|
1347
|
+
"Unspecified",
|
|
1348
|
+
"Available",
|
|
1349
|
+
"Started",
|
|
1350
|
+
"Completed",
|
|
1351
|
+
"Expired",
|
|
1352
|
+
"Removed"
|
|
1353
|
+
]),
|
|
1354
|
+
dungeon_type_id: z27.number(),
|
|
1355
|
+
expires: z27.string()
|
|
1242
1356
|
});
|
|
1243
1357
|
|
|
1244
1358
|
// src/schemas/meta.ts
|
|
1245
|
-
import { z as
|
|
1246
|
-
var MetaChangelogEntrySchema =
|
|
1247
|
-
method:
|
|
1248
|
-
path:
|
|
1249
|
-
compatibility_date:
|
|
1250
|
-
is_breaking:
|
|
1251
|
-
description:
|
|
1252
|
-
});
|
|
1253
|
-
var MetaChangelogSchema =
|
|
1254
|
-
|
|
1255
|
-
|
|
1359
|
+
import { z as z28 } from "zod";
|
|
1360
|
+
var MetaChangelogEntrySchema = z28.looseObject({
|
|
1361
|
+
method: z28.string(),
|
|
1362
|
+
path: z28.string(),
|
|
1363
|
+
compatibility_date: z28.string(),
|
|
1364
|
+
is_breaking: z28.boolean(),
|
|
1365
|
+
description: z28.string()
|
|
1366
|
+
});
|
|
1367
|
+
var MetaChangelogSchema = z28.record(
|
|
1368
|
+
z28.string(),
|
|
1369
|
+
z28.array(MetaChangelogEntrySchema)
|
|
1256
1370
|
);
|
|
1257
|
-
var MetaCompatibilityDatesSchema =
|
|
1258
|
-
compatibility_dates:
|
|
1371
|
+
var MetaCompatibilityDatesSchema = z28.looseObject({
|
|
1372
|
+
compatibility_dates: z28.array(z28.string())
|
|
1259
1373
|
});
|
|
1260
|
-
var MetaNameSchema =
|
|
1261
|
-
name:
|
|
1374
|
+
var MetaNameSchema = z28.looseObject({
|
|
1375
|
+
name: z28.string()
|
|
1262
1376
|
});
|
|
1263
|
-
var MetaStatusSchema =
|
|
1264
|
-
status:
|
|
1377
|
+
var MetaStatusSchema = z28.looseObject({
|
|
1378
|
+
status: z28.string()
|
|
1379
|
+
});
|
|
1380
|
+
|
|
1381
|
+
// src/schemas/paragon-hub.ts
|
|
1382
|
+
import { z as z29 } from "zod";
|
|
1383
|
+
var ParagonHubCursorSchema = z29.looseObject({
|
|
1384
|
+
after: z29.string().optional(),
|
|
1385
|
+
before: z29.string().optional()
|
|
1386
|
+
});
|
|
1387
|
+
var ParagonHubSkinrPriceSchema = z29.looseObject({
|
|
1388
|
+
isk: z29.number().optional(),
|
|
1389
|
+
plex: z29.number().optional()
|
|
1390
|
+
});
|
|
1391
|
+
var ParagonHubSkinrListingSchema = z29.looseObject({
|
|
1392
|
+
id: z29.string(),
|
|
1393
|
+
state: esiEnum(["listed", "sold_out", "expired", "removed"]),
|
|
1394
|
+
last_modified: z29.string(),
|
|
1395
|
+
seller_id: z29.number(),
|
|
1396
|
+
skinr_id: z29.string(),
|
|
1397
|
+
created: z29.string(),
|
|
1398
|
+
expires: z29.string(),
|
|
1399
|
+
quantity: z29.number(),
|
|
1400
|
+
price: ParagonHubSkinrPriceSchema
|
|
1401
|
+
});
|
|
1402
|
+
var ParagonHubSkinrTargetSchema = z29.looseObject({
|
|
1403
|
+
character_id: z29.number().optional(),
|
|
1404
|
+
corporation_id: z29.number().optional(),
|
|
1405
|
+
alliance_id: z29.number().optional(),
|
|
1406
|
+
public: z29.boolean().optional()
|
|
1407
|
+
});
|
|
1408
|
+
var ParagonHubCharacterListingSchema = z29.looseObject({
|
|
1409
|
+
id: z29.string(),
|
|
1410
|
+
state: esiEnum(["listed", "sold_out", "expired", "removed"]),
|
|
1411
|
+
last_modified: z29.string(),
|
|
1412
|
+
seller_id: z29.number(),
|
|
1413
|
+
skinr_id: z29.string(),
|
|
1414
|
+
created: z29.string(),
|
|
1415
|
+
expires: z29.string(),
|
|
1416
|
+
quantity: z29.number(),
|
|
1417
|
+
price: ParagonHubSkinrPriceSchema,
|
|
1418
|
+
target: ParagonHubSkinrTargetSchema
|
|
1419
|
+
});
|
|
1420
|
+
var ParagonHubSkinrResponseSchema = z29.looseObject({
|
|
1421
|
+
cursor: ParagonHubCursorSchema.optional(),
|
|
1422
|
+
listings: z29.array(ParagonHubSkinrListingSchema)
|
|
1423
|
+
});
|
|
1424
|
+
var ParagonHubCharacterSkinrResponseSchema = z29.looseObject({
|
|
1425
|
+
cursor: ParagonHubCursorSchema.optional(),
|
|
1426
|
+
listings: z29.array(ParagonHubCharacterListingSchema)
|
|
1265
1427
|
});
|
|
1266
1428
|
|
|
1267
1429
|
// src/schemas/military-campaigns.ts
|
|
1268
|
-
import { z as
|
|
1269
|
-
var MilitaryCampaignSchema =
|
|
1270
|
-
campaign_id:
|
|
1271
|
-
state:
|
|
1272
|
-
progress:
|
|
1273
|
-
start_time:
|
|
1274
|
-
finish_time:
|
|
1275
|
-
});
|
|
1276
|
-
var MilitaryCampaignObjectiveSchema =
|
|
1277
|
-
objective_id:
|
|
1278
|
-
campaign_id:
|
|
1279
|
-
state:
|
|
1280
|
-
progress:
|
|
1281
|
-
participants:
|
|
1282
|
-
total:
|
|
1283
|
-
committed:
|
|
1284
|
-
contributors:
|
|
1430
|
+
import { z as z30 } from "zod";
|
|
1431
|
+
var MilitaryCampaignSchema = z30.looseObject({
|
|
1432
|
+
campaign_id: z30.string(),
|
|
1433
|
+
state: z30.string(),
|
|
1434
|
+
progress: z30.number(),
|
|
1435
|
+
start_time: z30.string(),
|
|
1436
|
+
finish_time: z30.string().optional()
|
|
1437
|
+
});
|
|
1438
|
+
var MilitaryCampaignObjectiveSchema = z30.looseObject({
|
|
1439
|
+
objective_id: z30.string(),
|
|
1440
|
+
campaign_id: z30.string(),
|
|
1441
|
+
state: z30.string(),
|
|
1442
|
+
progress: z30.number(),
|
|
1443
|
+
participants: z30.looseObject({
|
|
1444
|
+
total: z30.number(),
|
|
1445
|
+
committed: z30.number(),
|
|
1446
|
+
contributors: z30.number()
|
|
1285
1447
|
})
|
|
1286
1448
|
});
|
|
1287
|
-
var CharacterMilitaryCampaignObjectiveSchema =
|
|
1288
|
-
objective_id:
|
|
1289
|
-
campaign_id:
|
|
1290
|
-
committed:
|
|
1291
|
-
contribution:
|
|
1449
|
+
var CharacterMilitaryCampaignObjectiveSchema = z30.looseObject({
|
|
1450
|
+
objective_id: z30.string(),
|
|
1451
|
+
campaign_id: z30.string(),
|
|
1452
|
+
committed: z30.boolean(),
|
|
1453
|
+
contribution: z30.number()
|
|
1292
1454
|
});
|
|
1293
1455
|
|
|
1294
1456
|
// src/schemas/pi.ts
|
|
1295
|
-
import { z as
|
|
1296
|
-
var PlanetaryColonySchema =
|
|
1297
|
-
solar_system_id:
|
|
1298
|
-
planet_id:
|
|
1299
|
-
planet_type:
|
|
1457
|
+
import { z as z31 } from "zod";
|
|
1458
|
+
var PlanetaryColonySchema = z31.looseObject({
|
|
1459
|
+
solar_system_id: z31.number(),
|
|
1460
|
+
planet_id: z31.number(),
|
|
1461
|
+
planet_type: esiEnum([
|
|
1300
1462
|
"temperate",
|
|
1301
1463
|
"barren",
|
|
1302
1464
|
"oceanic",
|
|
@@ -1306,442 +1468,508 @@ var PlanetaryColonySchema = z28.looseObject({
|
|
|
1306
1468
|
"storm",
|
|
1307
1469
|
"plasma"
|
|
1308
1470
|
]),
|
|
1309
|
-
owner_id:
|
|
1310
|
-
last_update:
|
|
1311
|
-
upgrade_level:
|
|
1312
|
-
num_pins:
|
|
1313
|
-
});
|
|
1314
|
-
var CustomsOfficeSchema =
|
|
1315
|
-
office_id:
|
|
1316
|
-
system_id:
|
|
1317
|
-
reinforce_exit_start:
|
|
1318
|
-
reinforce_exit_end:
|
|
1319
|
-
allow_access_with_standings:
|
|
1320
|
-
allow_alliance_access:
|
|
1321
|
-
alliance_tax_rate:
|
|
1322
|
-
corporation_tax_rate:
|
|
1323
|
-
standing_level:
|
|
1324
|
-
terrible_standing_tax_rate:
|
|
1325
|
-
bad_standing_tax_rate:
|
|
1326
|
-
neutral_standing_tax_rate:
|
|
1327
|
-
good_standing_tax_rate:
|
|
1328
|
-
excellent_standing_tax_rate:
|
|
1329
|
-
type_id:
|
|
1330
|
-
});
|
|
1331
|
-
var ColonyLayoutSchema =
|
|
1332
|
-
links:
|
|
1333
|
-
|
|
1334
|
-
source_pin_id:
|
|
1335
|
-
destination_pin_id:
|
|
1336
|
-
link_level:
|
|
1471
|
+
owner_id: z31.number(),
|
|
1472
|
+
last_update: z31.string(),
|
|
1473
|
+
upgrade_level: z31.number(),
|
|
1474
|
+
num_pins: z31.number()
|
|
1475
|
+
});
|
|
1476
|
+
var CustomsOfficeSchema = z31.looseObject({
|
|
1477
|
+
office_id: z31.number(),
|
|
1478
|
+
system_id: z31.number(),
|
|
1479
|
+
reinforce_exit_start: z31.number(),
|
|
1480
|
+
reinforce_exit_end: z31.number(),
|
|
1481
|
+
allow_access_with_standings: z31.boolean().optional(),
|
|
1482
|
+
allow_alliance_access: z31.boolean().optional(),
|
|
1483
|
+
alliance_tax_rate: z31.number().optional(),
|
|
1484
|
+
corporation_tax_rate: z31.number().optional(),
|
|
1485
|
+
standing_level: z31.string().optional(),
|
|
1486
|
+
terrible_standing_tax_rate: z31.number().optional(),
|
|
1487
|
+
bad_standing_tax_rate: z31.number().optional(),
|
|
1488
|
+
neutral_standing_tax_rate: z31.number().optional(),
|
|
1489
|
+
good_standing_tax_rate: z31.number().optional(),
|
|
1490
|
+
excellent_standing_tax_rate: z31.number().optional(),
|
|
1491
|
+
type_id: z31.number().optional()
|
|
1492
|
+
});
|
|
1493
|
+
var ColonyLayoutSchema = z31.looseObject({
|
|
1494
|
+
links: z31.array(
|
|
1495
|
+
z31.looseObject({
|
|
1496
|
+
source_pin_id: z31.number(),
|
|
1497
|
+
destination_pin_id: z31.number(),
|
|
1498
|
+
link_level: z31.number()
|
|
1337
1499
|
})
|
|
1338
1500
|
),
|
|
1339
|
-
pins:
|
|
1340
|
-
|
|
1341
|
-
pin_id:
|
|
1342
|
-
type_id:
|
|
1343
|
-
latitude:
|
|
1344
|
-
longitude:
|
|
1345
|
-
schematic_id:
|
|
1346
|
-
extractor_details:
|
|
1347
|
-
heads:
|
|
1348
|
-
|
|
1349
|
-
head_id:
|
|
1350
|
-
latitude:
|
|
1351
|
-
longitude:
|
|
1501
|
+
pins: z31.array(
|
|
1502
|
+
z31.looseObject({
|
|
1503
|
+
pin_id: z31.number(),
|
|
1504
|
+
type_id: z31.number(),
|
|
1505
|
+
latitude: z31.number(),
|
|
1506
|
+
longitude: z31.number(),
|
|
1507
|
+
schematic_id: z31.number().optional(),
|
|
1508
|
+
extractor_details: z31.looseObject({
|
|
1509
|
+
heads: z31.array(
|
|
1510
|
+
z31.looseObject({
|
|
1511
|
+
head_id: z31.number(),
|
|
1512
|
+
latitude: z31.number(),
|
|
1513
|
+
longitude: z31.number()
|
|
1352
1514
|
})
|
|
1353
1515
|
),
|
|
1354
|
-
product_type_id:
|
|
1355
|
-
cycle_time:
|
|
1356
|
-
head_radius:
|
|
1357
|
-
qty_per_cycle:
|
|
1516
|
+
product_type_id: z31.number().optional(),
|
|
1517
|
+
cycle_time: z31.number().optional(),
|
|
1518
|
+
head_radius: z31.number().optional(),
|
|
1519
|
+
qty_per_cycle: z31.number().optional()
|
|
1358
1520
|
}).optional(),
|
|
1359
|
-
factory_details:
|
|
1360
|
-
schematic_id:
|
|
1521
|
+
factory_details: z31.looseObject({
|
|
1522
|
+
schematic_id: z31.number()
|
|
1361
1523
|
}).optional(),
|
|
1362
|
-
contents:
|
|
1363
|
-
|
|
1364
|
-
type_id:
|
|
1365
|
-
amount:
|
|
1524
|
+
contents: z31.array(
|
|
1525
|
+
z31.looseObject({
|
|
1526
|
+
type_id: z31.number(),
|
|
1527
|
+
amount: z31.number()
|
|
1366
1528
|
})
|
|
1367
1529
|
).optional(),
|
|
1368
|
-
install_time:
|
|
1369
|
-
expiry_time:
|
|
1370
|
-
last_cycle_start:
|
|
1530
|
+
install_time: z31.string().optional(),
|
|
1531
|
+
expiry_time: z31.string().optional(),
|
|
1532
|
+
last_cycle_start: z31.string().optional()
|
|
1371
1533
|
})
|
|
1372
1534
|
),
|
|
1373
|
-
routes:
|
|
1374
|
-
|
|
1375
|
-
route_id:
|
|
1376
|
-
source_pin_id:
|
|
1377
|
-
destination_pin_id:
|
|
1378
|
-
content_type_id:
|
|
1379
|
-
quantity:
|
|
1380
|
-
waypoints:
|
|
1535
|
+
routes: z31.array(
|
|
1536
|
+
z31.looseObject({
|
|
1537
|
+
route_id: z31.number(),
|
|
1538
|
+
source_pin_id: z31.number(),
|
|
1539
|
+
destination_pin_id: z31.number(),
|
|
1540
|
+
content_type_id: z31.number(),
|
|
1541
|
+
quantity: z31.number(),
|
|
1542
|
+
waypoints: z31.array(z31.number()).optional()
|
|
1381
1543
|
})
|
|
1382
1544
|
)
|
|
1383
1545
|
});
|
|
1384
1546
|
|
|
1385
1547
|
// src/schemas/skills.ts
|
|
1386
|
-
import { z as
|
|
1387
|
-
var CharacterSkillSchema =
|
|
1388
|
-
skill_id:
|
|
1389
|
-
skillpoints_in_skill:
|
|
1390
|
-
trained_skill_level:
|
|
1391
|
-
active_skill_level:
|
|
1392
|
-
});
|
|
1393
|
-
var CharacterSkillsResponseSchema =
|
|
1394
|
-
skills:
|
|
1395
|
-
|
|
1396
|
-
skill_id:
|
|
1397
|
-
skillpoints_in_skill:
|
|
1398
|
-
trained_skill_level:
|
|
1399
|
-
active_skill_level:
|
|
1548
|
+
import { z as z32 } from "zod";
|
|
1549
|
+
var CharacterSkillSchema = z32.looseObject({
|
|
1550
|
+
skill_id: z32.number(),
|
|
1551
|
+
skillpoints_in_skill: z32.number(),
|
|
1552
|
+
trained_skill_level: z32.number(),
|
|
1553
|
+
active_skill_level: z32.number()
|
|
1554
|
+
});
|
|
1555
|
+
var CharacterSkillsResponseSchema = z32.looseObject({
|
|
1556
|
+
skills: z32.array(
|
|
1557
|
+
z32.looseObject({
|
|
1558
|
+
skill_id: z32.number(),
|
|
1559
|
+
skillpoints_in_skill: z32.number(),
|
|
1560
|
+
trained_skill_level: z32.number(),
|
|
1561
|
+
active_skill_level: z32.number()
|
|
1400
1562
|
})
|
|
1401
1563
|
),
|
|
1402
|
-
total_sp:
|
|
1403
|
-
unallocated_sp:
|
|
1404
|
-
});
|
|
1405
|
-
var SkillQueueSchema =
|
|
1406
|
-
skill_id:
|
|
1407
|
-
finished_level:
|
|
1408
|
-
queue_position:
|
|
1409
|
-
level_end_sp:
|
|
1410
|
-
level_start_sp:
|
|
1411
|
-
training_start_sp:
|
|
1412
|
-
start_date:
|
|
1413
|
-
finish_date:
|
|
1564
|
+
total_sp: z32.number(),
|
|
1565
|
+
unallocated_sp: z32.number().optional()
|
|
1566
|
+
});
|
|
1567
|
+
var SkillQueueSchema = z32.looseObject({
|
|
1568
|
+
skill_id: z32.number(),
|
|
1569
|
+
finished_level: z32.number(),
|
|
1570
|
+
queue_position: z32.number(),
|
|
1571
|
+
level_end_sp: z32.number().optional(),
|
|
1572
|
+
level_start_sp: z32.number().optional(),
|
|
1573
|
+
training_start_sp: z32.number().optional(),
|
|
1574
|
+
start_date: z32.string().optional(),
|
|
1575
|
+
finish_date: z32.string().optional()
|
|
1414
1576
|
});
|
|
1415
1577
|
|
|
1416
1578
|
// src/schemas/skyhooks.ts
|
|
1417
|
-
import { z as
|
|
1418
|
-
var SovereigntyHubSchema =
|
|
1419
|
-
structure_id:
|
|
1420
|
-
system_id:
|
|
1421
|
-
corporation_id:
|
|
1422
|
-
alliance_id:
|
|
1423
|
-
online:
|
|
1424
|
-
remaining_reagents:
|
|
1425
|
-
installed_upgrades:
|
|
1426
|
-
});
|
|
1427
|
-
var OrbitalSkyhookSchema =
|
|
1428
|
-
structure_id:
|
|
1429
|
-
system_id:
|
|
1430
|
-
corporation_id:
|
|
1431
|
-
alliance_id:
|
|
1432
|
-
online:
|
|
1433
|
-
reagent_silo_capacity:
|
|
1434
|
-
reagent_silo_level:
|
|
1435
|
-
});
|
|
1436
|
-
var RaidableSkyhookSchema =
|
|
1437
|
-
structure_id:
|
|
1438
|
-
system_id:
|
|
1439
|
-
corporation_id:
|
|
1440
|
-
alliance_id:
|
|
1441
|
-
raidable_at:
|
|
1442
|
-
is_raidable:
|
|
1579
|
+
import { z as z33 } from "zod";
|
|
1580
|
+
var SovereigntyHubSchema = z33.looseObject({
|
|
1581
|
+
structure_id: z33.number(),
|
|
1582
|
+
system_id: z33.number(),
|
|
1583
|
+
corporation_id: z33.number(),
|
|
1584
|
+
alliance_id: z33.number().optional(),
|
|
1585
|
+
online: z33.boolean(),
|
|
1586
|
+
remaining_reagents: z33.number().optional(),
|
|
1587
|
+
installed_upgrades: z33.array(z33.number()).optional()
|
|
1588
|
+
});
|
|
1589
|
+
var OrbitalSkyhookSchema = z33.looseObject({
|
|
1590
|
+
structure_id: z33.number(),
|
|
1591
|
+
system_id: z33.number(),
|
|
1592
|
+
corporation_id: z33.number(),
|
|
1593
|
+
alliance_id: z33.number().optional(),
|
|
1594
|
+
online: z33.boolean(),
|
|
1595
|
+
reagent_silo_capacity: z33.number().optional(),
|
|
1596
|
+
reagent_silo_level: z33.number().optional()
|
|
1597
|
+
});
|
|
1598
|
+
var RaidableSkyhookSchema = z33.looseObject({
|
|
1599
|
+
structure_id: z33.number(),
|
|
1600
|
+
system_id: z33.number(),
|
|
1601
|
+
corporation_id: z33.number(),
|
|
1602
|
+
alliance_id: z33.number().optional(),
|
|
1603
|
+
raidable_at: z33.string().optional(),
|
|
1604
|
+
is_raidable: z33.boolean()
|
|
1605
|
+
});
|
|
1606
|
+
var SkyhookDetailReagentSchema = z33.looseObject({
|
|
1607
|
+
type_id: z33.number(),
|
|
1608
|
+
secured_stock: z33.number(),
|
|
1609
|
+
unsecured_stock: z33.number(),
|
|
1610
|
+
last_cycle: z33.string()
|
|
1611
|
+
});
|
|
1612
|
+
var SkyhookDetailReinforcementTimerSchema = z33.looseObject({
|
|
1613
|
+
end: z33.string()
|
|
1614
|
+
});
|
|
1615
|
+
var SkyhookDetailTheftVulnerabilitySchema = z33.looseObject({
|
|
1616
|
+
start: z33.string(),
|
|
1617
|
+
end: z33.string()
|
|
1618
|
+
});
|
|
1619
|
+
var SkyhookDetailSchema = z33.looseObject({
|
|
1620
|
+
id: z33.number(),
|
|
1621
|
+
planet_id: z33.number(),
|
|
1622
|
+
state: esiEnum([
|
|
1623
|
+
"Unspecified",
|
|
1624
|
+
"ShieldVulnerable",
|
|
1625
|
+
"ArmorReinforced",
|
|
1626
|
+
"ArmorVulnerable",
|
|
1627
|
+
"HullReinforced",
|
|
1628
|
+
"HullVulnerable"
|
|
1629
|
+
]),
|
|
1630
|
+
is_active: z33.boolean(),
|
|
1631
|
+
effective_workforce: z33.number().optional(),
|
|
1632
|
+
reagents: z33.array(SkyhookDetailReagentSchema).optional(),
|
|
1633
|
+
reinforcement_timer: SkyhookDetailReinforcementTimerSchema.optional(),
|
|
1634
|
+
theft_vulnerability: SkyhookDetailTheftVulnerabilitySchema.optional()
|
|
1635
|
+
});
|
|
1636
|
+
var SovereigntyHubDetailReagentSchema = z33.looseObject({
|
|
1637
|
+
type_id: z33.number(),
|
|
1638
|
+
amount: z33.number(),
|
|
1639
|
+
burning_per_hour: z33.number().optional()
|
|
1640
|
+
});
|
|
1641
|
+
var SovereigntyHubDetailReagentBaySchema = z33.looseObject({
|
|
1642
|
+
last_updated: z33.string(),
|
|
1643
|
+
reagents: z33.array(SovereigntyHubDetailReagentSchema)
|
|
1644
|
+
});
|
|
1645
|
+
var SovereigntyHubDetailResourceSchema = z33.looseObject({
|
|
1646
|
+
available: z33.number().optional(),
|
|
1647
|
+
used: z33.number().optional()
|
|
1648
|
+
});
|
|
1649
|
+
var SovereigntyHubDetailResourcesSchema = z33.looseObject({
|
|
1650
|
+
power: SovereigntyHubDetailResourceSchema,
|
|
1651
|
+
workforce: SovereigntyHubDetailResourceSchema
|
|
1652
|
+
});
|
|
1653
|
+
var SovereigntyHubDetailUpgradeSchema = z33.looseObject({
|
|
1654
|
+
type_id: z33.number(),
|
|
1655
|
+
power_state: esiEnum(["Unspecified", "Online", "Offline", "Low", "Pending"])
|
|
1656
|
+
});
|
|
1657
|
+
var SovereigntyHubDetailVulnerabilityWindowSchema = z33.looseObject({
|
|
1658
|
+
start: z33.string(),
|
|
1659
|
+
end: z33.string()
|
|
1660
|
+
});
|
|
1661
|
+
var SovereigntyHubDetailTransportSchema = z33.looseObject({});
|
|
1662
|
+
var SovereigntyHubDetailSchema = z33.looseObject({
|
|
1663
|
+
id: z33.number(),
|
|
1664
|
+
solar_system_id: z33.number(),
|
|
1665
|
+
upgrades: z33.array(SovereigntyHubDetailUpgradeSchema),
|
|
1666
|
+
reagent_bay: SovereigntyHubDetailReagentBaySchema,
|
|
1667
|
+
resources: SovereigntyHubDetailResourcesSchema,
|
|
1668
|
+
workforce_transport: SovereigntyHubDetailTransportSchema,
|
|
1669
|
+
fuel_access_list_id: z33.number().optional(),
|
|
1670
|
+
vulnerability_window: SovereigntyHubDetailVulnerabilityWindowSchema.optional()
|
|
1443
1671
|
});
|
|
1444
1672
|
|
|
1445
1673
|
// src/schemas/sovereignty.ts
|
|
1446
|
-
import { z as
|
|
1447
|
-
var SovereigntyCampaignSchema =
|
|
1448
|
-
campaign_id:
|
|
1449
|
-
structure_id:
|
|
1450
|
-
solar_system_id:
|
|
1451
|
-
constellation_id:
|
|
1452
|
-
event_type:
|
|
1674
|
+
import { z as z34 } from "zod";
|
|
1675
|
+
var SovereigntyCampaignSchema = z34.looseObject({
|
|
1676
|
+
campaign_id: z34.number(),
|
|
1677
|
+
structure_id: z34.number(),
|
|
1678
|
+
solar_system_id: z34.number(),
|
|
1679
|
+
constellation_id: z34.number(),
|
|
1680
|
+
event_type: esiEnum([
|
|
1453
1681
|
"tcu_defense",
|
|
1454
1682
|
"ihub_defense",
|
|
1455
1683
|
"station_defense",
|
|
1456
1684
|
"station_freeport"
|
|
1457
1685
|
]),
|
|
1458
|
-
start_time:
|
|
1459
|
-
defender_id:
|
|
1460
|
-
defender_score:
|
|
1461
|
-
attackers_score:
|
|
1462
|
-
participants:
|
|
1463
|
-
|
|
1464
|
-
alliance_id:
|
|
1465
|
-
score:
|
|
1686
|
+
start_time: z34.string(),
|
|
1687
|
+
defender_id: z34.number().optional(),
|
|
1688
|
+
defender_score: z34.number().optional(),
|
|
1689
|
+
attackers_score: z34.number().optional(),
|
|
1690
|
+
participants: z34.array(
|
|
1691
|
+
z34.looseObject({
|
|
1692
|
+
alliance_id: z34.number(),
|
|
1693
|
+
score: z34.number()
|
|
1466
1694
|
})
|
|
1467
1695
|
).optional()
|
|
1468
1696
|
});
|
|
1469
|
-
var SovereigntySystemStructureSchema =
|
|
1470
|
-
alliance_id:
|
|
1471
|
-
solar_system_id:
|
|
1472
|
-
structure_id:
|
|
1473
|
-
structure_type_id:
|
|
1474
|
-
vulnerability_occupancy_level:
|
|
1475
|
-
vulnerable_start_time:
|
|
1476
|
-
vulnerable_end_time:
|
|
1477
|
-
});
|
|
1478
|
-
var SovereigntyVulnerabilityWindowSchema =
|
|
1479
|
-
start:
|
|
1480
|
-
end:
|
|
1481
|
-
});
|
|
1482
|
-
var SovereigntyHubSchema2 =
|
|
1483
|
-
id:
|
|
1697
|
+
var SovereigntySystemStructureSchema = z34.looseObject({
|
|
1698
|
+
alliance_id: z34.number().optional(),
|
|
1699
|
+
solar_system_id: z34.number().optional(),
|
|
1700
|
+
structure_id: z34.number(),
|
|
1701
|
+
structure_type_id: z34.number(),
|
|
1702
|
+
vulnerability_occupancy_level: z34.number().optional(),
|
|
1703
|
+
vulnerable_start_time: z34.string().optional(),
|
|
1704
|
+
vulnerable_end_time: z34.string().optional()
|
|
1705
|
+
});
|
|
1706
|
+
var SovereigntyVulnerabilityWindowSchema = z34.looseObject({
|
|
1707
|
+
start: z34.string(),
|
|
1708
|
+
end: z34.string()
|
|
1709
|
+
});
|
|
1710
|
+
var SovereigntyHubSchema2 = z34.looseObject({
|
|
1711
|
+
id: z34.number(),
|
|
1484
1712
|
vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
|
|
1485
1713
|
});
|
|
1486
|
-
var SovereigntyDevelopmentSchema =
|
|
1487
|
-
activity_defense_multiplier:
|
|
1488
|
-
military_level:
|
|
1489
|
-
industrial_level:
|
|
1490
|
-
strategic_level:
|
|
1714
|
+
var SovereigntyDevelopmentSchema = z34.looseObject({
|
|
1715
|
+
activity_defense_multiplier: z34.number().optional(),
|
|
1716
|
+
military_level: z34.number().optional(),
|
|
1717
|
+
industrial_level: z34.number().optional(),
|
|
1718
|
+
strategic_level: z34.number().optional()
|
|
1491
1719
|
});
|
|
1492
|
-
var SovereigntyAllianceClaimSchema =
|
|
1493
|
-
alliance_id:
|
|
1494
|
-
corporation_id:
|
|
1495
|
-
claimed_since:
|
|
1720
|
+
var SovereigntyAllianceClaimSchema = z34.looseObject({
|
|
1721
|
+
alliance_id: z34.number(),
|
|
1722
|
+
corporation_id: z34.number().optional(),
|
|
1723
|
+
claimed_since: z34.string().optional(),
|
|
1496
1724
|
sovereignty_hub: SovereigntyHubSchema2.optional(),
|
|
1497
|
-
is_capital_system:
|
|
1725
|
+
is_capital_system: z34.boolean().optional(),
|
|
1498
1726
|
development: SovereigntyDevelopmentSchema.optional()
|
|
1499
1727
|
});
|
|
1500
|
-
var SovereigntyFactionClaimSchema =
|
|
1501
|
-
faction_id:
|
|
1728
|
+
var SovereigntyFactionClaimSchema = z34.looseObject({
|
|
1729
|
+
faction_id: z34.number()
|
|
1502
1730
|
});
|
|
1503
|
-
var SovereigntyClaimSchema =
|
|
1731
|
+
var SovereigntyClaimSchema = z34.looseObject({
|
|
1504
1732
|
alliance: SovereigntyAllianceClaimSchema.optional(),
|
|
1505
1733
|
faction: SovereigntyFactionClaimSchema.optional(),
|
|
1506
|
-
unclaimed:
|
|
1734
|
+
unclaimed: z34.boolean().optional()
|
|
1507
1735
|
});
|
|
1508
|
-
var SovereigntySystemEntrySchema =
|
|
1509
|
-
solar_system_id:
|
|
1736
|
+
var SovereigntySystemEntrySchema = z34.looseObject({
|
|
1737
|
+
solar_system_id: z34.number(),
|
|
1510
1738
|
claim: SovereigntyClaimSchema
|
|
1511
1739
|
});
|
|
1512
|
-
var SovereigntySystemSchema =
|
|
1513
|
-
solar_systems:
|
|
1740
|
+
var SovereigntySystemSchema = z34.looseObject({
|
|
1741
|
+
solar_systems: z34.array(SovereigntySystemEntrySchema)
|
|
1514
1742
|
});
|
|
1515
1743
|
|
|
1516
1744
|
// src/schemas/status.ts
|
|
1517
|
-
import { z as
|
|
1518
|
-
var ServerStatusSchema =
|
|
1519
|
-
players:
|
|
1520
|
-
server_version:
|
|
1521
|
-
start_time:
|
|
1522
|
-
vip:
|
|
1745
|
+
import { z as z35 } from "zod";
|
|
1746
|
+
var ServerStatusSchema = z35.looseObject({
|
|
1747
|
+
players: z35.number(),
|
|
1748
|
+
server_version: z35.string(),
|
|
1749
|
+
start_time: z35.string(),
|
|
1750
|
+
vip: z35.boolean().optional()
|
|
1523
1751
|
});
|
|
1524
1752
|
|
|
1525
1753
|
// src/schemas/universe.ts
|
|
1526
|
-
import { z as
|
|
1527
|
-
var PositionSchema =
|
|
1528
|
-
x:
|
|
1529
|
-
y:
|
|
1530
|
-
z:
|
|
1531
|
-
});
|
|
1532
|
-
var SolarSystemInfoSchema =
|
|
1533
|
-
system_id:
|
|
1534
|
-
name:
|
|
1535
|
-
constellation_id:
|
|
1754
|
+
import { z as z36 } from "zod";
|
|
1755
|
+
var PositionSchema = z36.looseObject({
|
|
1756
|
+
x: z36.number(),
|
|
1757
|
+
y: z36.number(),
|
|
1758
|
+
z: z36.number()
|
|
1759
|
+
});
|
|
1760
|
+
var SolarSystemInfoSchema = z36.looseObject({
|
|
1761
|
+
system_id: z36.number(),
|
|
1762
|
+
name: z36.string(),
|
|
1763
|
+
constellation_id: z36.number(),
|
|
1536
1764
|
position: PositionSchema.optional(),
|
|
1537
|
-
security_class:
|
|
1538
|
-
security_status:
|
|
1539
|
-
star_id:
|
|
1540
|
-
stargates:
|
|
1541
|
-
stations:
|
|
1542
|
-
planets:
|
|
1543
|
-
|
|
1544
|
-
asteroid_belts:
|
|
1545
|
-
moons:
|
|
1546
|
-
planet_id:
|
|
1765
|
+
security_class: z36.string().optional(),
|
|
1766
|
+
security_status: z36.number(),
|
|
1767
|
+
star_id: z36.number().optional(),
|
|
1768
|
+
stargates: z36.array(z36.number()).optional(),
|
|
1769
|
+
stations: z36.array(z36.number()).optional(),
|
|
1770
|
+
planets: z36.array(
|
|
1771
|
+
z36.looseObject({
|
|
1772
|
+
asteroid_belts: z36.array(z36.number()).optional(),
|
|
1773
|
+
moons: z36.array(z36.number()).optional(),
|
|
1774
|
+
planet_id: z36.number()
|
|
1547
1775
|
})
|
|
1548
1776
|
).optional()
|
|
1549
1777
|
});
|
|
1550
|
-
var ConstellationInfoSchema =
|
|
1551
|
-
constellation_id:
|
|
1552
|
-
name:
|
|
1553
|
-
region_id:
|
|
1554
|
-
systems:
|
|
1778
|
+
var ConstellationInfoSchema = z36.looseObject({
|
|
1779
|
+
constellation_id: z36.number(),
|
|
1780
|
+
name: z36.string(),
|
|
1781
|
+
region_id: z36.number(),
|
|
1782
|
+
systems: z36.array(z36.number()),
|
|
1555
1783
|
position: PositionSchema
|
|
1556
1784
|
});
|
|
1557
|
-
var RegionInfoSchema =
|
|
1558
|
-
region_id:
|
|
1559
|
-
name:
|
|
1560
|
-
description:
|
|
1561
|
-
constellations:
|
|
1562
|
-
});
|
|
1563
|
-
var AncestrySchema =
|
|
1564
|
-
id:
|
|
1565
|
-
name:
|
|
1566
|
-
bloodline_id:
|
|
1567
|
-
description:
|
|
1568
|
-
short_description:
|
|
1569
|
-
icon_id:
|
|
1570
|
-
});
|
|
1571
|
-
var BloodlineSchema =
|
|
1572
|
-
bloodline_id:
|
|
1573
|
-
name:
|
|
1574
|
-
description:
|
|
1575
|
-
race_id:
|
|
1576
|
-
corporation_id:
|
|
1577
|
-
ship_type_id:
|
|
1578
|
-
charisma:
|
|
1579
|
-
intelligence:
|
|
1580
|
-
memory:
|
|
1581
|
-
perception:
|
|
1582
|
-
willpower:
|
|
1583
|
-
});
|
|
1584
|
-
var FactionSchema =
|
|
1585
|
-
faction_id:
|
|
1586
|
-
name:
|
|
1587
|
-
description:
|
|
1588
|
-
size_factor:
|
|
1589
|
-
station_count:
|
|
1590
|
-
station_system_count:
|
|
1591
|
-
is_unique:
|
|
1592
|
-
solar_system_id:
|
|
1593
|
-
corporation_id:
|
|
1594
|
-
militia_corporation_id:
|
|
1595
|
-
});
|
|
1596
|
-
var RaceSchema =
|
|
1597
|
-
race_id:
|
|
1598
|
-
name:
|
|
1599
|
-
description:
|
|
1600
|
-
alliance_id:
|
|
1601
|
-
});
|
|
1602
|
-
var StationInfoSchema =
|
|
1603
|
-
station_id:
|
|
1604
|
-
name:
|
|
1605
|
-
owner:
|
|
1606
|
-
system_id:
|
|
1607
|
-
type_id:
|
|
1608
|
-
race_id:
|
|
1609
|
-
reprocessing_efficiency:
|
|
1610
|
-
reprocessing_stations_take:
|
|
1611
|
-
max_dockable_ship_volume:
|
|
1612
|
-
office_rental_cost:
|
|
1613
|
-
services:
|
|
1785
|
+
var RegionInfoSchema = z36.looseObject({
|
|
1786
|
+
region_id: z36.number(),
|
|
1787
|
+
name: z36.string(),
|
|
1788
|
+
description: z36.string().optional(),
|
|
1789
|
+
constellations: z36.array(z36.number())
|
|
1790
|
+
});
|
|
1791
|
+
var AncestrySchema = z36.looseObject({
|
|
1792
|
+
id: z36.number(),
|
|
1793
|
+
name: z36.string(),
|
|
1794
|
+
bloodline_id: z36.number(),
|
|
1795
|
+
description: z36.string(),
|
|
1796
|
+
short_description: z36.string().optional(),
|
|
1797
|
+
icon_id: z36.number().optional()
|
|
1798
|
+
});
|
|
1799
|
+
var BloodlineSchema = z36.looseObject({
|
|
1800
|
+
bloodline_id: z36.number(),
|
|
1801
|
+
name: z36.string(),
|
|
1802
|
+
description: z36.string(),
|
|
1803
|
+
race_id: z36.number(),
|
|
1804
|
+
corporation_id: z36.number(),
|
|
1805
|
+
ship_type_id: z36.number().nullable(),
|
|
1806
|
+
charisma: z36.number(),
|
|
1807
|
+
intelligence: z36.number(),
|
|
1808
|
+
memory: z36.number(),
|
|
1809
|
+
perception: z36.number(),
|
|
1810
|
+
willpower: z36.number()
|
|
1811
|
+
});
|
|
1812
|
+
var FactionSchema = z36.looseObject({
|
|
1813
|
+
faction_id: z36.number(),
|
|
1814
|
+
name: z36.string(),
|
|
1815
|
+
description: z36.string(),
|
|
1816
|
+
size_factor: z36.number(),
|
|
1817
|
+
station_count: z36.number(),
|
|
1818
|
+
station_system_count: z36.number(),
|
|
1819
|
+
is_unique: z36.boolean(),
|
|
1820
|
+
solar_system_id: z36.number().optional(),
|
|
1821
|
+
corporation_id: z36.number().optional(),
|
|
1822
|
+
militia_corporation_id: z36.number().optional()
|
|
1823
|
+
});
|
|
1824
|
+
var RaceSchema = z36.looseObject({
|
|
1825
|
+
race_id: z36.number(),
|
|
1826
|
+
name: z36.string(),
|
|
1827
|
+
description: z36.string(),
|
|
1828
|
+
alliance_id: z36.number()
|
|
1829
|
+
});
|
|
1830
|
+
var StationInfoSchema = z36.looseObject({
|
|
1831
|
+
station_id: z36.number(),
|
|
1832
|
+
name: z36.string(),
|
|
1833
|
+
owner: z36.number().optional(),
|
|
1834
|
+
system_id: z36.number(),
|
|
1835
|
+
type_id: z36.number(),
|
|
1836
|
+
race_id: z36.number().optional(),
|
|
1837
|
+
reprocessing_efficiency: z36.number(),
|
|
1838
|
+
reprocessing_stations_take: z36.number(),
|
|
1839
|
+
max_dockable_ship_volume: z36.number(),
|
|
1840
|
+
office_rental_cost: z36.number(),
|
|
1841
|
+
services: z36.array(z36.string()),
|
|
1614
1842
|
position: PositionSchema
|
|
1615
1843
|
});
|
|
1616
|
-
var TypeInfoSchema =
|
|
1617
|
-
type_id:
|
|
1618
|
-
name:
|
|
1619
|
-
description:
|
|
1620
|
-
published:
|
|
1621
|
-
group_id:
|
|
1622
|
-
market_group_id:
|
|
1623
|
-
radius:
|
|
1624
|
-
volume:
|
|
1625
|
-
packaged_volume:
|
|
1626
|
-
capacity:
|
|
1627
|
-
portion_size:
|
|
1628
|
-
mass:
|
|
1629
|
-
icon_id:
|
|
1630
|
-
graphic_id:
|
|
1631
|
-
dogma_attributes:
|
|
1632
|
-
|
|
1633
|
-
attribute_id:
|
|
1634
|
-
value:
|
|
1844
|
+
var TypeInfoSchema = z36.looseObject({
|
|
1845
|
+
type_id: z36.number(),
|
|
1846
|
+
name: z36.string(),
|
|
1847
|
+
description: z36.string(),
|
|
1848
|
+
published: z36.boolean(),
|
|
1849
|
+
group_id: z36.number(),
|
|
1850
|
+
market_group_id: z36.number().optional(),
|
|
1851
|
+
radius: z36.number().optional(),
|
|
1852
|
+
volume: z36.number().optional(),
|
|
1853
|
+
packaged_volume: z36.number().optional(),
|
|
1854
|
+
capacity: z36.number().optional(),
|
|
1855
|
+
portion_size: z36.number().optional(),
|
|
1856
|
+
mass: z36.number().optional(),
|
|
1857
|
+
icon_id: z36.number().optional(),
|
|
1858
|
+
graphic_id: z36.number().optional(),
|
|
1859
|
+
dogma_attributes: z36.array(
|
|
1860
|
+
z36.looseObject({
|
|
1861
|
+
attribute_id: z36.number(),
|
|
1862
|
+
value: z36.number()
|
|
1635
1863
|
})
|
|
1636
1864
|
).optional(),
|
|
1637
|
-
dogma_effects:
|
|
1638
|
-
|
|
1639
|
-
effect_id:
|
|
1640
|
-
is_default:
|
|
1865
|
+
dogma_effects: z36.array(
|
|
1866
|
+
z36.looseObject({
|
|
1867
|
+
effect_id: z36.number(),
|
|
1868
|
+
is_default: z36.boolean()
|
|
1641
1869
|
})
|
|
1642
1870
|
).optional()
|
|
1643
1871
|
});
|
|
1644
|
-
var AsteroidBeltInfoSchema =
|
|
1645
|
-
name:
|
|
1872
|
+
var AsteroidBeltInfoSchema = z36.looseObject({
|
|
1873
|
+
name: z36.string(),
|
|
1646
1874
|
position: PositionSchema,
|
|
1647
|
-
system_id:
|
|
1648
|
-
});
|
|
1649
|
-
var GraphicInfoSchema =
|
|
1650
|
-
graphic_id:
|
|
1651
|
-
collision_file:
|
|
1652
|
-
graphic_file:
|
|
1653
|
-
icon_folder:
|
|
1654
|
-
sof_dna:
|
|
1655
|
-
sof_fation_name:
|
|
1656
|
-
sof_hull_name:
|
|
1657
|
-
sof_race_name:
|
|
1658
|
-
});
|
|
1659
|
-
var ItemCategorySchema =
|
|
1660
|
-
category_id:
|
|
1661
|
-
name:
|
|
1662
|
-
groups:
|
|
1663
|
-
published:
|
|
1664
|
-
});
|
|
1665
|
-
var ItemGroupSchema =
|
|
1666
|
-
group_id:
|
|
1667
|
-
name:
|
|
1668
|
-
category_id:
|
|
1669
|
-
types:
|
|
1670
|
-
published:
|
|
1671
|
-
});
|
|
1672
|
-
var MoonInfoSchema =
|
|
1673
|
-
moon_id:
|
|
1674
|
-
name:
|
|
1675
|
-
system_id:
|
|
1875
|
+
system_id: z36.number()
|
|
1876
|
+
});
|
|
1877
|
+
var GraphicInfoSchema = z36.looseObject({
|
|
1878
|
+
graphic_id: z36.number(),
|
|
1879
|
+
collision_file: z36.string().optional(),
|
|
1880
|
+
graphic_file: z36.string().optional(),
|
|
1881
|
+
icon_folder: z36.string().optional(),
|
|
1882
|
+
sof_dna: z36.string().optional(),
|
|
1883
|
+
sof_fation_name: z36.string().optional(),
|
|
1884
|
+
sof_hull_name: z36.string().optional(),
|
|
1885
|
+
sof_race_name: z36.string().optional()
|
|
1886
|
+
});
|
|
1887
|
+
var ItemCategorySchema = z36.looseObject({
|
|
1888
|
+
category_id: z36.number(),
|
|
1889
|
+
name: z36.string(),
|
|
1890
|
+
groups: z36.array(z36.number()),
|
|
1891
|
+
published: z36.boolean()
|
|
1892
|
+
});
|
|
1893
|
+
var ItemGroupSchema = z36.looseObject({
|
|
1894
|
+
group_id: z36.number(),
|
|
1895
|
+
name: z36.string(),
|
|
1896
|
+
category_id: z36.number(),
|
|
1897
|
+
types: z36.array(z36.number()),
|
|
1898
|
+
published: z36.boolean()
|
|
1899
|
+
});
|
|
1900
|
+
var MoonInfoSchema = z36.looseObject({
|
|
1901
|
+
moon_id: z36.number(),
|
|
1902
|
+
name: z36.string(),
|
|
1903
|
+
system_id: z36.number(),
|
|
1676
1904
|
position: PositionSchema
|
|
1677
1905
|
});
|
|
1678
|
-
var PlanetInfoSchema =
|
|
1679
|
-
planet_id:
|
|
1680
|
-
name:
|
|
1681
|
-
system_id:
|
|
1682
|
-
type_id:
|
|
1906
|
+
var PlanetInfoSchema = z36.looseObject({
|
|
1907
|
+
planet_id: z36.number(),
|
|
1908
|
+
name: z36.string(),
|
|
1909
|
+
system_id: z36.number(),
|
|
1910
|
+
type_id: z36.number(),
|
|
1683
1911
|
position: PositionSchema
|
|
1684
1912
|
});
|
|
1685
|
-
var StarInfoSchema =
|
|
1686
|
-
star_id:
|
|
1687
|
-
solar_system_id:
|
|
1688
|
-
name:
|
|
1689
|
-
type_id:
|
|
1690
|
-
age:
|
|
1691
|
-
luminosity:
|
|
1692
|
-
radius:
|
|
1693
|
-
spectral_class:
|
|
1694
|
-
temperature:
|
|
1695
|
-
});
|
|
1696
|
-
var StargateInfoSchema =
|
|
1697
|
-
stargate_id:
|
|
1698
|
-
name:
|
|
1699
|
-
system_id:
|
|
1700
|
-
type_id:
|
|
1913
|
+
var StarInfoSchema = z36.looseObject({
|
|
1914
|
+
star_id: z36.number().optional(),
|
|
1915
|
+
solar_system_id: z36.number(),
|
|
1916
|
+
name: z36.string(),
|
|
1917
|
+
type_id: z36.number(),
|
|
1918
|
+
age: z36.number(),
|
|
1919
|
+
luminosity: z36.number(),
|
|
1920
|
+
radius: z36.number(),
|
|
1921
|
+
spectral_class: z36.string(),
|
|
1922
|
+
temperature: z36.number()
|
|
1923
|
+
});
|
|
1924
|
+
var StargateInfoSchema = z36.looseObject({
|
|
1925
|
+
stargate_id: z36.number(),
|
|
1926
|
+
name: z36.string(),
|
|
1927
|
+
system_id: z36.number(),
|
|
1928
|
+
type_id: z36.number(),
|
|
1701
1929
|
position: PositionSchema,
|
|
1702
|
-
destination:
|
|
1703
|
-
system_id:
|
|
1704
|
-
stargate_id:
|
|
1930
|
+
destination: z36.looseObject({
|
|
1931
|
+
system_id: z36.number(),
|
|
1932
|
+
stargate_id: z36.number()
|
|
1705
1933
|
})
|
|
1706
1934
|
});
|
|
1707
|
-
var StructureInfoSchema =
|
|
1708
|
-
structure_id:
|
|
1709
|
-
name:
|
|
1710
|
-
owner_id:
|
|
1711
|
-
solar_system_id:
|
|
1712
|
-
type_id:
|
|
1935
|
+
var StructureInfoSchema = z36.looseObject({
|
|
1936
|
+
structure_id: z36.number().optional(),
|
|
1937
|
+
name: z36.string(),
|
|
1938
|
+
owner_id: z36.number(),
|
|
1939
|
+
solar_system_id: z36.number(),
|
|
1940
|
+
type_id: z36.number().optional(),
|
|
1713
1941
|
position: PositionSchema.optional()
|
|
1714
1942
|
});
|
|
1715
|
-
var SystemJumpSchema =
|
|
1716
|
-
system_id:
|
|
1717
|
-
ship_jumps:
|
|
1718
|
-
});
|
|
1719
|
-
var SystemKillSchema =
|
|
1720
|
-
system_id:
|
|
1721
|
-
npc_kills:
|
|
1722
|
-
pod_kills:
|
|
1723
|
-
ship_kills:
|
|
1724
|
-
});
|
|
1725
|
-
var IdNameSchema =
|
|
1726
|
-
id:
|
|
1727
|
-
name:
|
|
1728
|
-
});
|
|
1729
|
-
var BulkIdResultSchema =
|
|
1730
|
-
agents:
|
|
1731
|
-
alliances:
|
|
1732
|
-
characters:
|
|
1733
|
-
constellations:
|
|
1734
|
-
corporations:
|
|
1735
|
-
factions:
|
|
1736
|
-
inventory_types:
|
|
1737
|
-
regions:
|
|
1738
|
-
systems:
|
|
1739
|
-
stations:
|
|
1740
|
-
});
|
|
1741
|
-
var NameAndCategorySchema =
|
|
1742
|
-
id:
|
|
1743
|
-
name:
|
|
1744
|
-
category:
|
|
1943
|
+
var SystemJumpSchema = z36.looseObject({
|
|
1944
|
+
system_id: z36.number(),
|
|
1945
|
+
ship_jumps: z36.number()
|
|
1946
|
+
});
|
|
1947
|
+
var SystemKillSchema = z36.looseObject({
|
|
1948
|
+
system_id: z36.number(),
|
|
1949
|
+
npc_kills: z36.number(),
|
|
1950
|
+
pod_kills: z36.number(),
|
|
1951
|
+
ship_kills: z36.number()
|
|
1952
|
+
});
|
|
1953
|
+
var IdNameSchema = z36.looseObject({
|
|
1954
|
+
id: z36.number(),
|
|
1955
|
+
name: z36.string()
|
|
1956
|
+
});
|
|
1957
|
+
var BulkIdResultSchema = z36.looseObject({
|
|
1958
|
+
agents: z36.array(IdNameSchema).optional(),
|
|
1959
|
+
alliances: z36.array(IdNameSchema).optional(),
|
|
1960
|
+
characters: z36.array(IdNameSchema).optional(),
|
|
1961
|
+
constellations: z36.array(IdNameSchema).optional(),
|
|
1962
|
+
corporations: z36.array(IdNameSchema).optional(),
|
|
1963
|
+
factions: z36.array(IdNameSchema).optional(),
|
|
1964
|
+
inventory_types: z36.array(IdNameSchema).optional(),
|
|
1965
|
+
regions: z36.array(IdNameSchema).optional(),
|
|
1966
|
+
systems: z36.array(IdNameSchema).optional(),
|
|
1967
|
+
stations: z36.array(IdNameSchema).optional()
|
|
1968
|
+
});
|
|
1969
|
+
var NameAndCategorySchema = z36.looseObject({
|
|
1970
|
+
id: z36.number(),
|
|
1971
|
+
name: z36.string(),
|
|
1972
|
+
category: esiEnum([
|
|
1745
1973
|
"alliance",
|
|
1746
1974
|
"character",
|
|
1747
1975
|
"constellation",
|
|
@@ -1753,80 +1981,80 @@ var NameAndCategorySchema = z33.looseObject({
|
|
|
1753
1981
|
"faction"
|
|
1754
1982
|
])
|
|
1755
1983
|
});
|
|
1756
|
-
var SchematicInfoSchema =
|
|
1757
|
-
schematic_name:
|
|
1758
|
-
cycle_time:
|
|
1759
|
-
});
|
|
1760
|
-
var SearchResultSchema =
|
|
1761
|
-
agent:
|
|
1762
|
-
alliance:
|
|
1763
|
-
character:
|
|
1764
|
-
constellation:
|
|
1765
|
-
corporation:
|
|
1766
|
-
faction:
|
|
1767
|
-
inventory_type:
|
|
1768
|
-
region:
|
|
1769
|
-
solar_system:
|
|
1770
|
-
station:
|
|
1771
|
-
structure:
|
|
1984
|
+
var SchematicInfoSchema = z36.looseObject({
|
|
1985
|
+
schematic_name: z36.string(),
|
|
1986
|
+
cycle_time: z36.number()
|
|
1987
|
+
});
|
|
1988
|
+
var SearchResultSchema = z36.looseObject({
|
|
1989
|
+
agent: z36.array(z36.number()).optional(),
|
|
1990
|
+
alliance: z36.array(z36.number()).optional(),
|
|
1991
|
+
character: z36.array(z36.number()).optional(),
|
|
1992
|
+
constellation: z36.array(z36.number()).optional(),
|
|
1993
|
+
corporation: z36.array(z36.number()).optional(),
|
|
1994
|
+
faction: z36.array(z36.number()).optional(),
|
|
1995
|
+
inventory_type: z36.array(z36.number()).optional(),
|
|
1996
|
+
region: z36.array(z36.number()).optional(),
|
|
1997
|
+
solar_system: z36.array(z36.number()).optional(),
|
|
1998
|
+
station: z36.array(z36.number()).optional(),
|
|
1999
|
+
structure: z36.array(z36.number()).optional()
|
|
1772
2000
|
});
|
|
1773
2001
|
|
|
1774
2002
|
// src/schemas/wallet.ts
|
|
1775
|
-
import { z as
|
|
1776
|
-
var WalletTransactionSchema =
|
|
1777
|
-
transaction_id:
|
|
1778
|
-
date:
|
|
1779
|
-
type_id:
|
|
1780
|
-
location_id:
|
|
1781
|
-
unit_price:
|
|
1782
|
-
quantity:
|
|
1783
|
-
client_id:
|
|
1784
|
-
is_buy:
|
|
1785
|
-
is_personal:
|
|
1786
|
-
journal_ref_id:
|
|
1787
|
-
});
|
|
1788
|
-
var WalletJournalSchema =
|
|
1789
|
-
id:
|
|
1790
|
-
date:
|
|
1791
|
-
ref_type:
|
|
1792
|
-
first_party_id:
|
|
1793
|
-
second_party_id:
|
|
1794
|
-
amount:
|
|
1795
|
-
balance:
|
|
1796
|
-
reason:
|
|
1797
|
-
description:
|
|
1798
|
-
context_id:
|
|
1799
|
-
context_id_type:
|
|
1800
|
-
tax:
|
|
1801
|
-
tax_receiver_id:
|
|
2003
|
+
import { z as z37 } from "zod";
|
|
2004
|
+
var WalletTransactionSchema = z37.looseObject({
|
|
2005
|
+
transaction_id: z37.number(),
|
|
2006
|
+
date: z37.string(),
|
|
2007
|
+
type_id: z37.number(),
|
|
2008
|
+
location_id: z37.number(),
|
|
2009
|
+
unit_price: z37.number(),
|
|
2010
|
+
quantity: z37.number(),
|
|
2011
|
+
client_id: z37.number(),
|
|
2012
|
+
is_buy: z37.boolean(),
|
|
2013
|
+
is_personal: z37.boolean(),
|
|
2014
|
+
journal_ref_id: z37.number()
|
|
2015
|
+
});
|
|
2016
|
+
var WalletJournalSchema = z37.looseObject({
|
|
2017
|
+
id: z37.number(),
|
|
2018
|
+
date: z37.string(),
|
|
2019
|
+
ref_type: z37.string(),
|
|
2020
|
+
first_party_id: z37.number().optional(),
|
|
2021
|
+
second_party_id: z37.number().optional(),
|
|
2022
|
+
amount: z37.number().optional(),
|
|
2023
|
+
balance: z37.number().optional(),
|
|
2024
|
+
reason: z37.string().optional(),
|
|
2025
|
+
description: z37.string(),
|
|
2026
|
+
context_id: z37.number().optional(),
|
|
2027
|
+
context_id_type: z37.string().optional(),
|
|
2028
|
+
tax: z37.number().optional(),
|
|
2029
|
+
tax_receiver_id: z37.number().optional()
|
|
1802
2030
|
});
|
|
1803
2031
|
|
|
1804
2032
|
// src/schemas/wars.ts
|
|
1805
|
-
import { z as
|
|
1806
|
-
var WarSchema =
|
|
1807
|
-
id:
|
|
1808
|
-
declared:
|
|
1809
|
-
started:
|
|
1810
|
-
finished:
|
|
1811
|
-
retracted:
|
|
1812
|
-
mutual:
|
|
1813
|
-
open_for_allies:
|
|
1814
|
-
aggressor:
|
|
1815
|
-
corporation_id:
|
|
1816
|
-
alliance_id:
|
|
1817
|
-
isk_destroyed:
|
|
1818
|
-
ships_killed:
|
|
2033
|
+
import { z as z38 } from "zod";
|
|
2034
|
+
var WarSchema = z38.looseObject({
|
|
2035
|
+
id: z38.number(),
|
|
2036
|
+
declared: z38.string(),
|
|
2037
|
+
started: z38.string().optional(),
|
|
2038
|
+
finished: z38.string().optional(),
|
|
2039
|
+
retracted: z38.string().optional(),
|
|
2040
|
+
mutual: z38.boolean(),
|
|
2041
|
+
open_for_allies: z38.boolean(),
|
|
2042
|
+
aggressor: z38.looseObject({
|
|
2043
|
+
corporation_id: z38.number().optional(),
|
|
2044
|
+
alliance_id: z38.number().optional(),
|
|
2045
|
+
isk_destroyed: z38.number(),
|
|
2046
|
+
ships_killed: z38.number()
|
|
1819
2047
|
}),
|
|
1820
|
-
defender:
|
|
1821
|
-
corporation_id:
|
|
1822
|
-
alliance_id:
|
|
1823
|
-
isk_destroyed:
|
|
1824
|
-
ships_killed:
|
|
2048
|
+
defender: z38.looseObject({
|
|
2049
|
+
corporation_id: z38.number().optional(),
|
|
2050
|
+
alliance_id: z38.number().optional(),
|
|
2051
|
+
isk_destroyed: z38.number(),
|
|
2052
|
+
ships_killed: z38.number()
|
|
1825
2053
|
}),
|
|
1826
|
-
allies:
|
|
1827
|
-
|
|
1828
|
-
corporation_id:
|
|
1829
|
-
alliance_id:
|
|
2054
|
+
allies: z38.array(
|
|
2055
|
+
z38.looseObject({
|
|
2056
|
+
corporation_id: z38.number().optional(),
|
|
2057
|
+
alliance_id: z38.number().optional()
|
|
1830
2058
|
})
|
|
1831
2059
|
).optional()
|
|
1832
2060
|
});
|
|
@@ -1864,6 +2092,8 @@ export {
|
|
|
1864
2092
|
CharacterShipSchema,
|
|
1865
2093
|
CharacterSkillSchema,
|
|
1866
2094
|
CharacterSkillsResponseSchema,
|
|
2095
|
+
CharacterSkinrComponentsSchema,
|
|
2096
|
+
CharacterSkinrSchema,
|
|
1867
2097
|
CharacterTitleSchema,
|
|
1868
2098
|
CloneInfoSchema,
|
|
1869
2099
|
ColonyLayoutSchema,
|
|
@@ -1944,7 +2174,13 @@ export {
|
|
|
1944
2174
|
MarketOrderSchema,
|
|
1945
2175
|
MarketPriceSchema,
|
|
1946
2176
|
MedalSchema,
|
|
2177
|
+
MercenaryDenDetailEvolutionSchema,
|
|
2178
|
+
MercenaryDenDetailInfomorphsSchema,
|
|
2179
|
+
MercenaryDenDetailReinforcementTimerSchema,
|
|
2180
|
+
MercenaryDenDetailSchema,
|
|
2181
|
+
MercenaryDenDetailSkyhookSchema,
|
|
1947
2182
|
MercenaryDenSchema,
|
|
2183
|
+
MercenaryTacticalOperationDetailSchema,
|
|
1948
2184
|
MercenaryTacticalOperationSchema,
|
|
1949
2185
|
MetaChangelogEntrySchema,
|
|
1950
2186
|
MetaChangelogSchema,
|
|
@@ -1961,6 +2197,13 @@ export {
|
|
|
1961
2197
|
NameAndCategorySchema,
|
|
1962
2198
|
NotificationSchema,
|
|
1963
2199
|
OrbitalSkyhookSchema,
|
|
2200
|
+
ParagonHubCharacterListingSchema,
|
|
2201
|
+
ParagonHubCharacterSkinrResponseSchema,
|
|
2202
|
+
ParagonHubCursorSchema,
|
|
2203
|
+
ParagonHubSkinrListingSchema,
|
|
2204
|
+
ParagonHubSkinrPriceSchema,
|
|
2205
|
+
ParagonHubSkinrResponseSchema,
|
|
2206
|
+
ParagonHubSkinrTargetSchema,
|
|
1964
2207
|
PlanetInfoSchema,
|
|
1965
2208
|
PlanetaryColonySchema,
|
|
1966
2209
|
RaceSchema,
|
|
@@ -1971,8 +2214,27 @@ export {
|
|
|
1971
2214
|
SearchResultSchema,
|
|
1972
2215
|
ServerStatusSchema,
|
|
1973
2216
|
SkillQueueSchema,
|
|
2217
|
+
SkinrComponentLicenseSchema,
|
|
2218
|
+
SkinrComponentRunsSchema,
|
|
2219
|
+
SkinrLayoutSchema,
|
|
2220
|
+
SkinrLayoutSlotSchema,
|
|
2221
|
+
SkinrLicenseSchema,
|
|
2222
|
+
SkinrSchema,
|
|
2223
|
+
SkinrTierSchema,
|
|
2224
|
+
SkyhookDetailReagentSchema,
|
|
2225
|
+
SkyhookDetailReinforcementTimerSchema,
|
|
2226
|
+
SkyhookDetailSchema,
|
|
2227
|
+
SkyhookDetailTheftVulnerabilitySchema,
|
|
1974
2228
|
SolarSystemInfoSchema,
|
|
1975
2229
|
SovereigntyCampaignSchema,
|
|
2230
|
+
SovereigntyHubDetailReagentBaySchema,
|
|
2231
|
+
SovereigntyHubDetailReagentSchema,
|
|
2232
|
+
SovereigntyHubDetailResourceSchema,
|
|
2233
|
+
SovereigntyHubDetailResourcesSchema,
|
|
2234
|
+
SovereigntyHubDetailSchema,
|
|
2235
|
+
SovereigntyHubDetailTransportSchema,
|
|
2236
|
+
SovereigntyHubDetailUpgradeSchema,
|
|
2237
|
+
SovereigntyHubDetailVulnerabilityWindowSchema,
|
|
1976
2238
|
SovereigntyHubSchema,
|
|
1977
2239
|
SovereigntySystemSchema,
|
|
1978
2240
|
SovereigntySystemStructureSchema,
|
|
@@ -1988,6 +2250,7 @@ export {
|
|
|
1988
2250
|
WalletJournalSchema,
|
|
1989
2251
|
WalletTransactionSchema,
|
|
1990
2252
|
WarSchema,
|
|
2253
|
+
esiEnum,
|
|
1991
2254
|
esiResponse
|
|
1992
2255
|
};
|
|
1993
2256
|
//# sourceMappingURL=index.mjs.map
|