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