@lgriffin/esi.ts 9.0.0 → 9.1.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +52 -50
  3. package/dist/EsiClient.d.ts +4 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/clients/AccessListsClient.d.ts +11 -1
  6. package/dist/clients/AccessListsClient.d.ts.map +1 -1
  7. package/dist/clients/CorporationProjectsClient.d.ts +44 -0
  8. package/dist/clients/CorporationProjectsClient.d.ts.map +1 -0
  9. package/dist/clients/MercenaryClient.d.ts +6 -2
  10. package/dist/clients/MercenaryClient.d.ts.map +1 -1
  11. package/dist/clients/MetaClient.d.ts +25 -0
  12. package/dist/clients/MetaClient.d.ts.map +1 -1
  13. package/dist/clients/MilitaryCampaignsClient.d.ts +53 -0
  14. package/dist/clients/MilitaryCampaignsClient.d.ts.map +1 -0
  15. package/dist/clients/SkyhooksClient.d.ts +6 -2
  16. package/dist/clients/SkyhooksClient.d.ts.map +1 -1
  17. package/dist/core/ClientRegistry.d.ts +5 -3
  18. package/dist/core/ClientRegistry.d.ts.map +1 -1
  19. package/dist/core/constants.d.ts +2 -2
  20. package/dist/core/endpoints/accessListEndpoints.d.ts +34 -11
  21. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
  22. package/dist/core/endpoints/corporationProjectEndpoints.d.ts +50 -0
  23. package/dist/core/endpoints/corporationProjectEndpoints.d.ts.map +1 -0
  24. package/dist/core/endpoints/industryEndpoints.d.ts +3 -3
  25. package/dist/core/endpoints/mercenaryEndpoints.d.ts +6 -4
  26. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
  27. package/dist/core/endpoints/metaEndpoints.d.ts +36 -0
  28. package/dist/core/endpoints/metaEndpoints.d.ts.map +1 -1
  29. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts +87 -0
  30. package/dist/core/endpoints/militaryCampaignEndpoints.d.ts.map +1 -0
  31. package/dist/core/endpoints/skyhookEndpoints.d.ts +7 -5
  32. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +1509 -1121
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +1507 -1121
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/schemas/corporation-projects.d.ts +17 -0
  40. package/dist/schemas/corporation-projects.d.ts.map +1 -0
  41. package/dist/schemas/index.d.ts +3 -0
  42. package/dist/schemas/index.d.ts.map +1 -1
  43. package/dist/schemas/index.js +1077 -987
  44. package/dist/schemas/index.js.map +1 -1
  45. package/dist/schemas/index.mjs +1066 -987
  46. package/dist/schemas/index.mjs.map +1 -1
  47. package/dist/schemas/meta.d.ts +25 -0
  48. package/dist/schemas/meta.d.ts.map +1 -0
  49. package/dist/schemas/military-campaigns.d.ts +26 -0
  50. package/dist/schemas/military-campaigns.d.ts.map +1 -0
  51. package/dist/types/api-responses.d.ts +3 -0
  52. package/dist/types/api-responses.d.ts.map +1 -1
  53. package/dist/types/corporation-projects.d.ts +6 -0
  54. package/dist/types/corporation-projects.d.ts.map +1 -0
  55. package/dist/types/meta.d.ts +8 -0
  56. package/dist/types/meta.d.ts.map +1 -0
  57. package/dist/types/military-campaigns.d.ts +6 -0
  58. package/dist/types/military-campaigns.d.ts.map +1 -0
  59. package/package.json +5 -1
package/dist/index.mjs CHANGED
@@ -537,7 +537,7 @@ function isValidationError(error) {
537
537
 
538
538
  // src/core/constants.ts
539
539
  var PACKAGE_NAME = "esi.ts";
540
- var PACKAGE_VERSION = "7.4.0";
540
+ var PACKAGE_VERSION = "9.1.0";
541
541
  var USER_AGENT = `${PACKAGE_NAME}/${PACKAGE_VERSION}`;
542
542
  var COMPATIBILITY_DATE = "2026-05-19";
543
543
 
@@ -3937,71 +3937,179 @@ var CorporationsClient = class extends BaseEsiClient {
3937
3937
  }
3938
3938
  };
3939
3939
 
3940
- // src/core/endpoints/dogmaEndpoints.ts
3940
+ // src/core/endpoints/corporationProjectEndpoints.ts
3941
3941
  import { z as z19 } from "zod";
3942
3942
 
3943
- // src/schemas/dogma.ts
3943
+ // src/schemas/corporation-projects.ts
3944
3944
  import { z as z18 } from "zod";
3945
- var DogmaAttributeSchema = z18.looseObject({
3946
- attribute_id: z18.number(),
3947
- name: z18.string(),
3948
- description: z18.string().optional(),
3949
- icon_id: z18.number().optional(),
3950
- default_value: z18.number().optional(),
3951
- published: z18.boolean().optional(),
3952
- display_name: z18.string().optional(),
3953
- unit_id: z18.number().optional(),
3954
- stackable: z18.boolean().optional(),
3955
- high_is_good: z18.boolean().optional()
3956
- });
3957
- var DogmaEffectSchema = z18.looseObject({
3958
- effect_id: z18.number(),
3959
- name: z18.string(),
3960
- description: z18.string().optional(),
3961
- icon_id: z18.number().optional(),
3962
- display_name: z18.string().optional(),
3963
- published: z18.boolean().optional(),
3964
- effect_category: z18.number().optional(),
3965
- is_assistance: z18.boolean().optional(),
3966
- is_offensive: z18.boolean().optional(),
3967
- is_warp_safe: z18.boolean().optional(),
3968
- disallow_auto_repeat: z18.boolean().optional(),
3969
- discharge_attribute_id: z18.number().optional(),
3970
- duration_attribute_id: z18.number().optional(),
3971
- electronic_chance: z18.boolean().optional(),
3972
- falloff_attribute_id: z18.number().optional(),
3973
- modifiers: z18.array(
3974
- z18.looseObject({
3975
- domain: z18.string().optional(),
3976
- effect_id: z18.number().optional(),
3977
- func: z18.string(),
3978
- modified_attribute_id: z18.number().optional(),
3979
- modifying_attribute_id: z18.number().optional(),
3980
- operator: z18.number().optional()
3945
+ var CorporationProjectSchema = z18.looseObject({
3946
+ project_id: z18.number(),
3947
+ state: z18.string(),
3948
+ progress: z18.number(),
3949
+ start_time: z18.string(),
3950
+ finish_time: z18.string().optional()
3951
+ });
3952
+ var CorporationProjectContributionSchema = z18.looseObject({
3953
+ character_id: z18.number(),
3954
+ contribution: z18.number()
3955
+ });
3956
+ var CorporationProjectContributorSchema = z18.looseObject({
3957
+ character_id: z18.number(),
3958
+ contribution: z18.number()
3959
+ });
3960
+
3961
+ // src/core/endpoints/corporationProjectEndpoints.ts
3962
+ var corporationProjectEndpoints = {
3963
+ getCorporationProjects: {
3964
+ path: "corporations/{corporationId}/projects",
3965
+ method: "GET",
3966
+ requiresAuth: true,
3967
+ pathParams: ["corporationId"],
3968
+ responseSchema: z19.array(CorporationProjectSchema)
3969
+ },
3970
+ getCorporationProject: {
3971
+ path: "corporations/{corporationId}/projects/{projectId}",
3972
+ method: "GET",
3973
+ requiresAuth: true,
3974
+ pathParams: ["corporationId", "projectId"],
3975
+ responseSchema: CorporationProjectSchema
3976
+ },
3977
+ getCorporationProjectContribution: {
3978
+ path: "corporations/{corporationId}/projects/{projectId}/contribution/{characterId}",
3979
+ method: "GET",
3980
+ requiresAuth: true,
3981
+ pathParams: ["corporationId", "projectId", "characterId"],
3982
+ responseSchema: CorporationProjectContributionSchema
3983
+ },
3984
+ getCorporationProjectContributors: {
3985
+ path: "corporations/{corporationId}/projects/{projectId}/contributors",
3986
+ method: "GET",
3987
+ requiresAuth: true,
3988
+ pathParams: ["corporationId", "projectId"],
3989
+ responseSchema: z19.array(CorporationProjectContributorSchema)
3990
+ }
3991
+ };
3992
+
3993
+ // src/clients/CorporationProjectsClient.ts
3994
+ var CorporationProjectsClient = class extends BaseEsiClient {
3995
+ constructor(client) {
3996
+ super(client, corporationProjectEndpoints);
3997
+ }
3998
+ /**
3999
+ * Retrieves a list of projects for a corporation.
4000
+ *
4001
+ * @param corporationId - The ID of the corporation
4002
+ * @returns An array of corporation projects
4003
+ * @requires Authentication
4004
+ */
4005
+ getCorporationProjects(corporationId) {
4006
+ return this.api.getCorporationProjects(corporationId);
4007
+ }
4008
+ /**
4009
+ * Retrieves details of a specific corporation project.
4010
+ *
4011
+ * @param corporationId - The ID of the corporation
4012
+ * @param projectId - The ID of the project
4013
+ * @returns The corporation project details
4014
+ * @requires Authentication
4015
+ */
4016
+ getCorporationProject(corporationId, projectId) {
4017
+ return this.api.getCorporationProject(corporationId, projectId);
4018
+ }
4019
+ /**
4020
+ * Retrieves a character's contribution to a specific corporation project.
4021
+ *
4022
+ * @param corporationId - The ID of the corporation
4023
+ * @param projectId - The ID of the project
4024
+ * @param characterId - The ID of the character
4025
+ * @returns The character's contribution details
4026
+ * @requires Authentication
4027
+ */
4028
+ getCorporationProjectContribution(corporationId, projectId, characterId) {
4029
+ return this.api.getCorporationProjectContribution(
4030
+ corporationId,
4031
+ projectId,
4032
+ characterId
4033
+ );
4034
+ }
4035
+ /**
4036
+ * Retrieves a list of contributors to a specific corporation project.
4037
+ *
4038
+ * @param corporationId - The ID of the corporation
4039
+ * @param projectId - The ID of the project
4040
+ * @returns An array of project contributors
4041
+ * @requires Authentication
4042
+ */
4043
+ getCorporationProjectContributors(corporationId, projectId) {
4044
+ return this.api.getCorporationProjectContributors(corporationId, projectId);
4045
+ }
4046
+ };
4047
+
4048
+ // src/core/endpoints/dogmaEndpoints.ts
4049
+ import { z as z21 } from "zod";
4050
+
4051
+ // src/schemas/dogma.ts
4052
+ import { z as z20 } from "zod";
4053
+ var DogmaAttributeSchema = z20.looseObject({
4054
+ attribute_id: z20.number(),
4055
+ name: z20.string(),
4056
+ description: z20.string().optional(),
4057
+ icon_id: z20.number().optional(),
4058
+ default_value: z20.number().optional(),
4059
+ published: z20.boolean().optional(),
4060
+ display_name: z20.string().optional(),
4061
+ unit_id: z20.number().optional(),
4062
+ stackable: z20.boolean().optional(),
4063
+ high_is_good: z20.boolean().optional()
4064
+ });
4065
+ var DogmaEffectSchema = z20.looseObject({
4066
+ effect_id: z20.number(),
4067
+ name: z20.string(),
4068
+ description: z20.string().optional(),
4069
+ icon_id: z20.number().optional(),
4070
+ display_name: z20.string().optional(),
4071
+ published: z20.boolean().optional(),
4072
+ effect_category: z20.number().optional(),
4073
+ is_assistance: z20.boolean().optional(),
4074
+ is_offensive: z20.boolean().optional(),
4075
+ is_warp_safe: z20.boolean().optional(),
4076
+ disallow_auto_repeat: z20.boolean().optional(),
4077
+ discharge_attribute_id: z20.number().optional(),
4078
+ duration_attribute_id: z20.number().optional(),
4079
+ electronic_chance: z20.boolean().optional(),
4080
+ falloff_attribute_id: z20.number().optional(),
4081
+ modifiers: z20.array(
4082
+ z20.looseObject({
4083
+ domain: z20.string().optional(),
4084
+ effect_id: z20.number().optional(),
4085
+ func: z20.string(),
4086
+ modified_attribute_id: z20.number().optional(),
4087
+ modifying_attribute_id: z20.number().optional(),
4088
+ operator: z20.number().optional()
3981
4089
  })
3982
4090
  ).optional(),
3983
- post_expression: z18.number().optional(),
3984
- pre_expression: z18.number().optional(),
3985
- range_attribute_id: z18.number().optional(),
3986
- range_chance: z18.boolean().optional(),
3987
- tracking_speed_attribute_id: z18.number().optional()
3988
- });
3989
- var DogmaDynamicItemSchema = z18.looseObject({
3990
- created_by: z18.number(),
3991
- dogma_attributes: z18.array(
3992
- z18.looseObject({
3993
- attribute_id: z18.number(),
3994
- value: z18.number()
4091
+ post_expression: z20.number().optional(),
4092
+ pre_expression: z20.number().optional(),
4093
+ range_attribute_id: z20.number().optional(),
4094
+ range_chance: z20.boolean().optional(),
4095
+ tracking_speed_attribute_id: z20.number().optional()
4096
+ });
4097
+ var DogmaDynamicItemSchema = z20.looseObject({
4098
+ created_by: z20.number(),
4099
+ dogma_attributes: z20.array(
4100
+ z20.looseObject({
4101
+ attribute_id: z20.number(),
4102
+ value: z20.number()
3995
4103
  })
3996
4104
  ),
3997
- dogma_effects: z18.array(
3998
- z18.looseObject({
3999
- effect_id: z18.number(),
4000
- is_default: z18.boolean()
4105
+ dogma_effects: z20.array(
4106
+ z20.looseObject({
4107
+ effect_id: z20.number(),
4108
+ is_default: z20.boolean()
4001
4109
  })
4002
4110
  ),
4003
- mutator_type_id: z18.number(),
4004
- source_type_id: z18.number()
4111
+ mutator_type_id: z20.number(),
4112
+ source_type_id: z20.number()
4005
4113
  });
4006
4114
 
4007
4115
  // src/core/endpoints/dogmaEndpoints.ts
@@ -4010,7 +4118,7 @@ var dogmaEndpoints = {
4010
4118
  path: "dogma/attributes",
4011
4119
  method: "GET",
4012
4120
  requiresAuth: false,
4013
- responseSchema: z19.array(z19.number())
4121
+ responseSchema: z21.array(z21.number())
4014
4122
  },
4015
4123
  getAttributeById: {
4016
4124
  path: "dogma/attributes/{attributeId}",
@@ -4023,7 +4131,7 @@ var dogmaEndpoints = {
4023
4131
  path: "dogma/effects",
4024
4132
  method: "GET",
4025
4133
  requiresAuth: false,
4026
- responseSchema: z19.array(z19.number())
4134
+ responseSchema: z21.array(z21.number())
4027
4135
  },
4028
4136
  getEffectById: {
4029
4137
  path: "dogma/effects/{effectId}",
@@ -4096,108 +4204,108 @@ var DogmaClient = class extends BaseEsiClient {
4096
4204
  };
4097
4205
 
4098
4206
  // src/core/endpoints/factionEndpoints.ts
4099
- import { z as z21 } from "zod";
4207
+ import { z as z23 } from "zod";
4100
4208
 
4101
4209
  // src/schemas/faction-warfare.ts
4102
- import { z as z20 } from "zod";
4103
- var FactionWarfareStatsSchema = z20.looseObject({
4104
- faction_id: z20.number(),
4105
- pilots: z20.number(),
4106
- systems_controlled: z20.number(),
4107
- kills: z20.looseObject({
4108
- yesterday: z20.number(),
4109
- last_week: z20.number(),
4110
- total: z20.number()
4210
+ import { z as z22 } from "zod";
4211
+ var FactionWarfareStatsSchema = z22.looseObject({
4212
+ faction_id: z22.number(),
4213
+ pilots: z22.number(),
4214
+ systems_controlled: z22.number(),
4215
+ kills: z22.looseObject({
4216
+ yesterday: z22.number(),
4217
+ last_week: z22.number(),
4218
+ total: z22.number()
4111
4219
  }),
4112
- victory_points: z20.looseObject({
4113
- yesterday: z20.number(),
4114
- last_week: z20.number(),
4115
- total: z20.number()
4220
+ victory_points: z22.looseObject({
4221
+ yesterday: z22.number(),
4222
+ last_week: z22.number(),
4223
+ total: z22.number()
4116
4224
  })
4117
4225
  });
4118
- var FactionWarfareCharacterStatsSchema = z20.looseObject({
4119
- faction_id: z20.number().optional(),
4120
- enlisted_on: z20.string().optional(),
4121
- current_rank: z20.number().optional(),
4122
- highest_rank: z20.number().optional(),
4123
- kills: z20.looseObject({
4124
- yesterday: z20.number(),
4125
- last_week: z20.number(),
4126
- total: z20.number()
4226
+ var FactionWarfareCharacterStatsSchema = z22.looseObject({
4227
+ faction_id: z22.number().optional(),
4228
+ enlisted_on: z22.string().optional(),
4229
+ current_rank: z22.number().optional(),
4230
+ highest_rank: z22.number().optional(),
4231
+ kills: z22.looseObject({
4232
+ yesterday: z22.number(),
4233
+ last_week: z22.number(),
4234
+ total: z22.number()
4127
4235
  }),
4128
- victory_points: z20.looseObject({
4129
- yesterday: z20.number(),
4130
- last_week: z20.number(),
4131
- total: z20.number()
4236
+ victory_points: z22.looseObject({
4237
+ yesterday: z22.number(),
4238
+ last_week: z22.number(),
4239
+ total: z22.number()
4132
4240
  })
4133
4241
  });
4134
- var FactionWarfareSystemSchema = z20.looseObject({
4135
- solar_system_id: z20.number(),
4136
- owner_faction_id: z20.number(),
4137
- occupier_faction_id: z20.number(),
4138
- contested: z20.enum(["captured", "contested", "uncontested", "vulnerable"]),
4139
- victory_points: z20.number(),
4140
- victory_points_threshold: z20.number()
4141
- });
4142
- var FactionWarfareWarSchema = z20.looseObject({
4143
- faction_id: z20.number(),
4144
- against_id: z20.number()
4145
- });
4146
- var FactionWarfareLeaderboardSchema = z20.looseObject({
4147
- kills: z20.looseObject({
4148
- yesterday: z20.array(
4149
- z20.looseObject({
4150
- amount: z20.number(),
4151
- id: z20.number().optional()
4242
+ var FactionWarfareSystemSchema = z22.looseObject({
4243
+ solar_system_id: z22.number(),
4244
+ owner_faction_id: z22.number(),
4245
+ occupier_faction_id: z22.number(),
4246
+ contested: z22.enum(["captured", "contested", "uncontested", "vulnerable"]),
4247
+ victory_points: z22.number(),
4248
+ victory_points_threshold: z22.number()
4249
+ });
4250
+ var FactionWarfareWarSchema = z22.looseObject({
4251
+ faction_id: z22.number(),
4252
+ against_id: z22.number()
4253
+ });
4254
+ var FactionWarfareLeaderboardSchema = z22.looseObject({
4255
+ kills: z22.looseObject({
4256
+ yesterday: z22.array(
4257
+ z22.looseObject({
4258
+ amount: z22.number(),
4259
+ id: z22.number().optional()
4152
4260
  })
4153
4261
  ),
4154
- last_week: z20.array(
4155
- z20.looseObject({
4156
- amount: z20.number(),
4157
- id: z20.number().optional()
4262
+ last_week: z22.array(
4263
+ z22.looseObject({
4264
+ amount: z22.number(),
4265
+ id: z22.number().optional()
4158
4266
  })
4159
4267
  ),
4160
- active_total: z20.array(
4161
- z20.looseObject({
4162
- amount: z20.number(),
4163
- id: z20.number().optional()
4268
+ active_total: z22.array(
4269
+ z22.looseObject({
4270
+ amount: z22.number(),
4271
+ id: z22.number().optional()
4164
4272
  })
4165
4273
  )
4166
4274
  }),
4167
- victory_points: z20.looseObject({
4168
- yesterday: z20.array(
4169
- z20.looseObject({
4170
- amount: z20.number(),
4171
- id: z20.number().optional()
4275
+ victory_points: z22.looseObject({
4276
+ yesterday: z22.array(
4277
+ z22.looseObject({
4278
+ amount: z22.number(),
4279
+ id: z22.number().optional()
4172
4280
  })
4173
4281
  ),
4174
- last_week: z20.array(
4175
- z20.looseObject({
4176
- amount: z20.number(),
4177
- id: z20.number().optional()
4282
+ last_week: z22.array(
4283
+ z22.looseObject({
4284
+ amount: z22.number(),
4285
+ id: z22.number().optional()
4178
4286
  })
4179
4287
  ),
4180
- active_total: z20.array(
4181
- z20.looseObject({
4182
- amount: z20.number(),
4183
- id: z20.number().optional()
4288
+ active_total: z22.array(
4289
+ z22.looseObject({
4290
+ amount: z22.number(),
4291
+ id: z22.number().optional()
4184
4292
  })
4185
4293
  )
4186
4294
  })
4187
4295
  });
4188
- var FactionWarfareCorporationStatsSchema = z20.looseObject({
4189
- faction_id: z20.number().optional(),
4190
- enlisted_on: z20.string().optional(),
4191
- pilots: z20.number().optional(),
4192
- kills: z20.looseObject({
4193
- yesterday: z20.number(),
4194
- last_week: z20.number(),
4195
- total: z20.number()
4296
+ var FactionWarfareCorporationStatsSchema = z22.looseObject({
4297
+ faction_id: z22.number().optional(),
4298
+ enlisted_on: z22.string().optional(),
4299
+ pilots: z22.number().optional(),
4300
+ kills: z22.looseObject({
4301
+ yesterday: z22.number(),
4302
+ last_week: z22.number(),
4303
+ total: z22.number()
4196
4304
  }),
4197
- victory_points: z20.looseObject({
4198
- yesterday: z20.number(),
4199
- last_week: z20.number(),
4200
- total: z20.number()
4305
+ victory_points: z22.looseObject({
4306
+ yesterday: z22.number(),
4307
+ last_week: z22.number(),
4308
+ total: z22.number()
4201
4309
  })
4202
4310
  });
4203
4311
 
@@ -4239,19 +4347,19 @@ var factionEndpoints = {
4239
4347
  path: "fw/stats",
4240
4348
  method: "GET",
4241
4349
  requiresAuth: false,
4242
- responseSchema: z21.array(FactionWarfareStatsSchema)
4350
+ responseSchema: z23.array(FactionWarfareStatsSchema)
4243
4351
  },
4244
4352
  getSystems: {
4245
4353
  path: "fw/systems",
4246
4354
  method: "GET",
4247
4355
  requiresAuth: false,
4248
- responseSchema: z21.array(FactionWarfareSystemSchema)
4356
+ responseSchema: z23.array(FactionWarfareSystemSchema)
4249
4357
  },
4250
4358
  getWars: {
4251
4359
  path: "fw/wars",
4252
4360
  method: "GET",
4253
4361
  requiresAuth: false,
4254
- responseSchema: z21.array(FactionWarfareWarSchema)
4362
+ responseSchema: z23.array(FactionWarfareWarSchema)
4255
4363
  }
4256
4364
  };
4257
4365
 
@@ -4335,20 +4443,20 @@ var FactionClient = class extends BaseEsiClient {
4335
4443
  };
4336
4444
 
4337
4445
  // src/core/endpoints/fittingEndpoints.ts
4338
- import { z as z23 } from "zod";
4446
+ import { z as z25 } from "zod";
4339
4447
 
4340
4448
  // src/schemas/fittings.ts
4341
- import { z as z22 } from "zod";
4342
- var FittingSchema = z22.looseObject({
4343
- fitting_id: z22.number(),
4344
- name: z22.string(),
4345
- description: z22.string(),
4346
- ship_type_id: z22.number(),
4347
- items: z22.array(
4348
- z22.looseObject({
4349
- type_id: z22.number(),
4350
- flag: z22.union([z22.number(), z22.string()]),
4351
- quantity: z22.number()
4449
+ import { z as z24 } from "zod";
4450
+ var FittingSchema = z24.looseObject({
4451
+ fitting_id: z24.number(),
4452
+ name: z24.string(),
4453
+ description: z24.string(),
4454
+ ship_type_id: z24.number(),
4455
+ items: z24.array(
4456
+ z24.looseObject({
4457
+ type_id: z24.number(),
4458
+ flag: z24.union([z24.number(), z24.string()]),
4459
+ quantity: z24.number()
4352
4460
  })
4353
4461
  )
4354
4462
  });
@@ -4360,7 +4468,7 @@ var fittingEndpoints = {
4360
4468
  method: "GET",
4361
4469
  requiresAuth: true,
4362
4470
  pathParams: ["characterId"],
4363
- responseSchema: z23.array(FittingSchema)
4471
+ responseSchema: z25.array(FittingSchema)
4364
4472
  },
4365
4473
  createFitting: {
4366
4474
  path: "characters/{characterId}/fittings",
@@ -4419,56 +4527,56 @@ var FittingsClient = class extends BaseEsiClient {
4419
4527
  };
4420
4528
 
4421
4529
  // src/core/endpoints/fleetEndpoints.ts
4422
- import { z as z25 } from "zod";
4530
+ import { z as z27 } from "zod";
4423
4531
 
4424
4532
  // src/schemas/fleet.ts
4425
- import { z as z24 } from "zod";
4426
- var FleetInfoSchema = z24.looseObject({
4427
- fleet_id: z24.number().optional(),
4428
- fleet_boss_id: z24.number().optional(),
4429
- is_free_move: z24.boolean(),
4430
- is_registered: z24.boolean(),
4431
- is_voice_enabled: z24.boolean(),
4432
- motd: z24.string()
4433
- });
4434
- var FleetMemberSchema = z24.looseObject({
4435
- character_id: z24.number(),
4436
- ship_type_id: z24.number(),
4437
- wing_id: z24.number(),
4438
- squad_id: z24.number(),
4439
- role: z24.enum([
4533
+ import { z as z26 } from "zod";
4534
+ var FleetInfoSchema = z26.looseObject({
4535
+ fleet_id: z26.number().optional(),
4536
+ fleet_boss_id: z26.number().optional(),
4537
+ is_free_move: z26.boolean(),
4538
+ is_registered: z26.boolean(),
4539
+ is_voice_enabled: z26.boolean(),
4540
+ motd: z26.string()
4541
+ });
4542
+ var FleetMemberSchema = z26.looseObject({
4543
+ character_id: z26.number(),
4544
+ ship_type_id: z26.number(),
4545
+ wing_id: z26.number(),
4546
+ squad_id: z26.number(),
4547
+ role: z26.enum([
4440
4548
  "fleet_commander",
4441
4549
  "wing_commander",
4442
4550
  "squad_commander",
4443
4551
  "squad_member"
4444
4552
  ]),
4445
- role_name: z24.string(),
4446
- join_time: z24.string(),
4447
- takes_fleet_warp: z24.boolean(),
4448
- solar_system_id: z24.number(),
4449
- station_id: z24.number().optional()
4450
- });
4451
- var FleetWingSchema = z24.looseObject({
4452
- id: z24.number(),
4453
- name: z24.string(),
4454
- squads: z24.array(
4455
- z24.looseObject({
4456
- id: z24.number(),
4457
- name: z24.string()
4553
+ role_name: z26.string(),
4554
+ join_time: z26.string(),
4555
+ takes_fleet_warp: z26.boolean(),
4556
+ solar_system_id: z26.number(),
4557
+ station_id: z26.number().optional()
4558
+ });
4559
+ var FleetWingSchema = z26.looseObject({
4560
+ id: z26.number(),
4561
+ name: z26.string(),
4562
+ squads: z26.array(
4563
+ z26.looseObject({
4564
+ id: z26.number(),
4565
+ name: z26.string()
4458
4566
  })
4459
4567
  )
4460
4568
  });
4461
- var CharacterFleetInfoSchema = z24.looseObject({
4462
- fleet_id: z24.number(),
4463
- fleet_boss_id: z24.number().optional(),
4464
- role: z24.enum([
4569
+ var CharacterFleetInfoSchema = z26.looseObject({
4570
+ fleet_id: z26.number(),
4571
+ fleet_boss_id: z26.number().optional(),
4572
+ role: z26.enum([
4465
4573
  "fleet_commander",
4466
4574
  "wing_commander",
4467
4575
  "squad_commander",
4468
4576
  "squad_member"
4469
4577
  ]),
4470
- squad_id: z24.number(),
4471
- wing_id: z24.number()
4578
+ squad_id: z26.number(),
4579
+ wing_id: z26.number()
4472
4580
  });
4473
4581
 
4474
4582
  // src/core/endpoints/fleetEndpoints.ts
@@ -4493,9 +4601,9 @@ var fleetEndpoints = {
4493
4601
  requiresAuth: true,
4494
4602
  pathParams: ["fleetId"],
4495
4603
  hasBody: true,
4496
- requestSchema: z25.looseObject({
4497
- is_free_move: z25.boolean().optional(),
4498
- motd: z25.string().optional()
4604
+ requestSchema: z27.looseObject({
4605
+ is_free_move: z27.boolean().optional(),
4606
+ motd: z27.string().optional()
4499
4607
  })
4500
4608
  },
4501
4609
  getFleetMembers: {
@@ -4503,7 +4611,7 @@ var fleetEndpoints = {
4503
4611
  method: "GET",
4504
4612
  requiresAuth: true,
4505
4613
  pathParams: ["fleetId"],
4506
- responseSchema: z25.array(FleetMemberSchema)
4614
+ responseSchema: z27.array(FleetMemberSchema)
4507
4615
  },
4508
4616
  createFleetInvitation: {
4509
4617
  path: "fleets/{fleetId}/members/",
@@ -4543,7 +4651,7 @@ var fleetEndpoints = {
4543
4651
  method: "GET",
4544
4652
  requiresAuth: true,
4545
4653
  pathParams: ["fleetId"],
4546
- responseSchema: z25.array(FleetWingSchema)
4654
+ responseSchema: z27.array(FleetWingSchema)
4547
4655
  },
4548
4656
  createFleetWing: {
4549
4657
  path: "fleets/{fleetId}/wings/",
@@ -4746,19 +4854,19 @@ var FleetClient = class extends BaseEsiClient {
4746
4854
  };
4747
4855
 
4748
4856
  // src/core/endpoints/incursionEndpoints.ts
4749
- import { z as z27 } from "zod";
4857
+ import { z as z29 } from "zod";
4750
4858
 
4751
4859
  // src/schemas/incursions.ts
4752
- import { z as z26 } from "zod";
4753
- var IncursionSchema = z26.looseObject({
4754
- type: z26.string(),
4755
- state: z26.enum(["withdrawing", "mobilizing", "established"]),
4756
- staging_solar_system_id: z26.number(),
4757
- constellation_id: z26.number(),
4758
- infested_solar_systems: z26.array(z26.number()),
4759
- has_boss: z26.boolean(),
4760
- faction_id: z26.number(),
4761
- influence: z26.number()
4860
+ import { z as z28 } from "zod";
4861
+ var IncursionSchema = z28.looseObject({
4862
+ type: z28.string(),
4863
+ state: z28.enum(["withdrawing", "mobilizing", "established"]),
4864
+ staging_solar_system_id: z28.number(),
4865
+ constellation_id: z28.number(),
4866
+ infested_solar_systems: z28.array(z28.number()),
4867
+ has_boss: z28.boolean(),
4868
+ faction_id: z28.number(),
4869
+ influence: z28.number()
4762
4870
  });
4763
4871
 
4764
4872
  // src/core/endpoints/incursionEndpoints.ts
@@ -4767,7 +4875,7 @@ var incursionEndpoints = {
4767
4875
  path: "incursions",
4768
4876
  method: "GET",
4769
4877
  requiresAuth: false,
4770
- responseSchema: z27.array(IncursionSchema)
4878
+ responseSchema: z29.array(IncursionSchema)
4771
4879
  }
4772
4880
  };
4773
4881
 
@@ -4787,26 +4895,26 @@ var IncursionsClient = class extends BaseEsiClient {
4787
4895
  };
4788
4896
 
4789
4897
  // src/core/endpoints/industryEndpoints.ts
4790
- import { z as z29 } from "zod";
4898
+ import { z as z31 } from "zod";
4791
4899
 
4792
4900
  // src/schemas/industry.ts
4793
- import { z as z28 } from "zod";
4794
- var IndustryJobSchema = z28.looseObject({
4795
- job_id: z28.number(),
4796
- installer_id: z28.number(),
4797
- facility_id: z28.number(),
4798
- station_id: z28.number(),
4799
- activity_id: z28.number(),
4800
- blueprint_id: z28.number(),
4801
- blueprint_type_id: z28.number(),
4802
- blueprint_location_id: z28.number(),
4803
- output_location_id: z28.number(),
4804
- runs: z28.number(),
4805
- cost: z28.number().optional(),
4806
- licensed_runs: z28.number().optional(),
4807
- probability: z28.number().optional(),
4808
- product_type_id: z28.number().optional(),
4809
- status: z28.enum([
4901
+ import { z as z30 } from "zod";
4902
+ var IndustryJobSchema = z30.looseObject({
4903
+ job_id: z30.number(),
4904
+ installer_id: z30.number(),
4905
+ facility_id: z30.number(),
4906
+ station_id: z30.number(),
4907
+ activity_id: z30.number(),
4908
+ blueprint_id: z30.number(),
4909
+ blueprint_type_id: z30.number(),
4910
+ blueprint_location_id: z30.number(),
4911
+ output_location_id: z30.number(),
4912
+ runs: z30.number(),
4913
+ cost: z30.number().optional(),
4914
+ licensed_runs: z30.number().optional(),
4915
+ probability: z30.number().optional(),
4916
+ product_type_id: z30.number().optional(),
4917
+ status: z30.enum([
4810
4918
  "active",
4811
4919
  "cancelled",
4812
4920
  "delivered",
@@ -4814,55 +4922,55 @@ var IndustryJobSchema = z28.looseObject({
4814
4922
  "ready",
4815
4923
  "reverted"
4816
4924
  ]),
4817
- duration: z28.number(),
4818
- start_date: z28.string(),
4819
- end_date: z28.string(),
4820
- pause_date: z28.string().optional(),
4821
- completed_date: z28.string().optional(),
4822
- completed_character_id: z28.number().optional(),
4823
- successful_runs: z28.number().optional()
4824
- });
4825
- var MiningLedgerEntrySchema = z28.looseObject({
4826
- date: z28.string(),
4827
- solar_system_id: z28.number(),
4828
- type_id: z28.number(),
4829
- quantity: z28.number()
4830
- });
4831
- var IndustryFacilitySchema = z28.looseObject({
4832
- facility_id: z28.number(),
4833
- owner_id: z28.number(),
4834
- region_id: z28.number(),
4835
- solar_system_id: z28.number(),
4836
- tax: z28.number().optional(),
4837
- type_id: z28.number()
4838
- });
4839
- var IndustrySystemSchema = z28.looseObject({
4840
- solar_system_id: z28.number(),
4841
- cost_indices: z28.array(
4842
- z28.looseObject({
4843
- activity: z28.string(),
4844
- cost_index: z28.number()
4925
+ duration: z30.number(),
4926
+ start_date: z30.string(),
4927
+ end_date: z30.string(),
4928
+ pause_date: z30.string().optional(),
4929
+ completed_date: z30.string().optional(),
4930
+ completed_character_id: z30.number().optional(),
4931
+ successful_runs: z30.number().optional()
4932
+ });
4933
+ var MiningLedgerEntrySchema = z30.looseObject({
4934
+ date: z30.string(),
4935
+ solar_system_id: z30.number(),
4936
+ type_id: z30.number(),
4937
+ quantity: z30.number()
4938
+ });
4939
+ var IndustryFacilitySchema = z30.looseObject({
4940
+ facility_id: z30.number(),
4941
+ owner_id: z30.number(),
4942
+ region_id: z30.number(),
4943
+ solar_system_id: z30.number(),
4944
+ tax: z30.number().optional(),
4945
+ type_id: z30.number()
4946
+ });
4947
+ var IndustrySystemSchema = z30.looseObject({
4948
+ solar_system_id: z30.number(),
4949
+ cost_indices: z30.array(
4950
+ z30.looseObject({
4951
+ activity: z30.string(),
4952
+ cost_index: z30.number()
4845
4953
  })
4846
4954
  )
4847
4955
  });
4848
- var MoonExtractionTimerSchema = z28.looseObject({
4849
- structure_id: z28.number(),
4850
- moon_id: z28.number(),
4851
- extraction_start_time: z28.string(),
4852
- chunk_arrival_time: z28.string(),
4853
- natural_decay_time: z28.string()
4854
- });
4855
- var MiningObserverSchema = z28.looseObject({
4856
- observer_id: z28.number(),
4857
- observer_type: z28.string(),
4858
- last_updated: z28.string()
4859
- });
4860
- var MiningObserverEntrySchema = z28.looseObject({
4861
- character_id: z28.number(),
4862
- recorded_corporation_id: z28.number(),
4863
- type_id: z28.number(),
4864
- quantity: z28.number(),
4865
- last_updated: z28.string()
4956
+ var MoonExtractionTimerSchema = z30.looseObject({
4957
+ structure_id: z30.number(),
4958
+ moon_id: z30.number(),
4959
+ extraction_start_time: z30.string(),
4960
+ chunk_arrival_time: z30.string(),
4961
+ natural_decay_time: z30.string()
4962
+ });
4963
+ var MiningObserverSchema = z30.looseObject({
4964
+ observer_id: z30.number(),
4965
+ observer_type: z30.string(),
4966
+ last_updated: z30.string()
4967
+ });
4968
+ var MiningObserverEntrySchema = z30.looseObject({
4969
+ character_id: z30.number(),
4970
+ recorded_corporation_id: z30.number(),
4971
+ type_id: z30.number(),
4972
+ quantity: z30.number(),
4973
+ last_updated: z30.string()
4866
4974
  });
4867
4975
 
4868
4976
  // src/core/endpoints/industryEndpoints.ts
@@ -4872,54 +4980,54 @@ var industryEndpoints = {
4872
4980
  method: "GET",
4873
4981
  requiresAuth: true,
4874
4982
  pathParams: ["characterId"],
4875
- responseSchema: z29.array(IndustryJobSchema)
4983
+ responseSchema: z31.array(IndustryJobSchema)
4876
4984
  },
4877
4985
  getCharacterMiningLedger: {
4878
4986
  path: "characters/{characterId}/mining",
4879
4987
  method: "GET",
4880
4988
  requiresAuth: true,
4881
4989
  pathParams: ["characterId"],
4882
- responseSchema: z29.array(MiningLedgerEntrySchema)
4990
+ responseSchema: z31.array(MiningLedgerEntrySchema)
4883
4991
  },
4884
4992
  getCorporationIndustryJobs: {
4885
4993
  path: "corporations/{corporationId}/industry/jobs",
4886
4994
  method: "GET",
4887
4995
  requiresAuth: true,
4888
4996
  pathParams: ["corporationId"],
4889
- responseSchema: z29.array(IndustryJobSchema)
4997
+ responseSchema: z31.array(IndustryJobSchema)
4890
4998
  },
4891
4999
  getMoonExtractionTimers: {
4892
- path: "corporations/{corporationId}/mining/extractions",
5000
+ path: "corporation/{corporationId}/mining/extractions",
4893
5001
  method: "GET",
4894
5002
  requiresAuth: true,
4895
5003
  pathParams: ["corporationId"],
4896
- responseSchema: z29.array(MoonExtractionTimerSchema)
5004
+ responseSchema: z31.array(MoonExtractionTimerSchema)
4897
5005
  },
4898
5006
  getCorporationMiningObservers: {
4899
- path: "corporations/{corporationId}/mining/observers",
5007
+ path: "corporation/{corporationId}/mining/observers",
4900
5008
  method: "GET",
4901
5009
  requiresAuth: true,
4902
5010
  pathParams: ["corporationId"],
4903
- responseSchema: z29.array(MiningObserverSchema)
5011
+ responseSchema: z31.array(MiningObserverSchema)
4904
5012
  },
4905
5013
  getCorporationMiningObserver: {
4906
- path: "corporations/{corporationId}/mining/observers/{observerId}",
5014
+ path: "corporation/{corporationId}/mining/observers/{observerId}",
4907
5015
  method: "GET",
4908
5016
  requiresAuth: true,
4909
5017
  pathParams: ["corporationId", "observerId"],
4910
- responseSchema: z29.array(MiningObserverEntrySchema)
5018
+ responseSchema: z31.array(MiningObserverEntrySchema)
4911
5019
  },
4912
5020
  getIndustryFacilities: {
4913
5021
  path: "industry/facilities",
4914
5022
  method: "GET",
4915
5023
  requiresAuth: false,
4916
- responseSchema: z29.array(IndustryFacilitySchema)
5024
+ responseSchema: z31.array(IndustryFacilitySchema)
4917
5025
  },
4918
5026
  getIndustrySystems: {
4919
5027
  path: "industry/systems",
4920
5028
  method: "GET",
4921
5029
  requiresAuth: false,
4922
- responseSchema: z29.array(IndustrySystemSchema)
5030
+ responseSchema: z31.array(IndustrySystemSchema)
4923
5031
  }
4924
5032
  };
4925
5033
 
@@ -5051,17 +5159,17 @@ var IndustryClient = class extends BaseEsiClient {
5051
5159
  };
5052
5160
 
5053
5161
  // src/core/endpoints/insuranceEndpoints.ts
5054
- import { z as z31 } from "zod";
5162
+ import { z as z33 } from "zod";
5055
5163
 
5056
5164
  // src/schemas/insurance.ts
5057
- import { z as z30 } from "zod";
5058
- var InsurancePriceSchema = z30.looseObject({
5059
- type_id: z30.number(),
5060
- levels: z30.array(
5061
- z30.looseObject({
5062
- cost: z30.number(),
5063
- payout: z30.number(),
5064
- name: z30.string()
5165
+ import { z as z32 } from "zod";
5166
+ var InsurancePriceSchema = z32.looseObject({
5167
+ type_id: z32.number(),
5168
+ levels: z32.array(
5169
+ z32.looseObject({
5170
+ cost: z32.number(),
5171
+ payout: z32.number(),
5172
+ name: z32.string()
5065
5173
  })
5066
5174
  )
5067
5175
  });
@@ -5072,7 +5180,7 @@ var insuranceEndpoints = {
5072
5180
  path: "insurance/prices",
5073
5181
  method: "GET",
5074
5182
  requiresAuth: false,
5075
- responseSchema: z31.array(InsurancePriceSchema)
5183
+ responseSchema: z33.array(InsurancePriceSchema)
5076
5184
  }
5077
5185
  };
5078
5186
 
@@ -5092,45 +5200,45 @@ var InsuranceClient = class extends BaseEsiClient {
5092
5200
  };
5093
5201
 
5094
5202
  // src/core/endpoints/killmailEndpoints.ts
5095
- import { z as z33 } from "zod";
5203
+ import { z as z35 } from "zod";
5096
5204
 
5097
5205
  // src/schemas/killmails.ts
5098
- import { z as z32 } from "zod";
5099
- var KillmailSummarySchema = z32.looseObject({
5100
- killmail_id: z32.number(),
5101
- killmail_hash: z32.string()
5102
- });
5103
- var KillmailSchema = z32.looseObject({
5104
- killmail_id: z32.number(),
5105
- killmail_time: z32.string(),
5106
- solar_system_id: z32.number(),
5107
- moon_id: z32.number().optional(),
5108
- war_id: z32.number().optional(),
5109
- victim: z32.looseObject({
5110
- character_id: z32.number().optional(),
5111
- corporation_id: z32.number().optional(),
5112
- alliance_id: z32.number().optional(),
5113
- faction_id: z32.number().optional(),
5114
- ship_type_id: z32.number(),
5115
- damage_taken: z32.number(),
5116
- position: z32.looseObject({
5117
- x: z32.number(),
5118
- y: z32.number(),
5119
- z: z32.number()
5206
+ import { z as z34 } from "zod";
5207
+ var KillmailSummarySchema = z34.looseObject({
5208
+ killmail_id: z34.number(),
5209
+ killmail_hash: z34.string()
5210
+ });
5211
+ var KillmailSchema = z34.looseObject({
5212
+ killmail_id: z34.number(),
5213
+ killmail_time: z34.string(),
5214
+ solar_system_id: z34.number(),
5215
+ moon_id: z34.number().optional(),
5216
+ war_id: z34.number().optional(),
5217
+ victim: z34.looseObject({
5218
+ character_id: z34.number().optional(),
5219
+ corporation_id: z34.number().optional(),
5220
+ alliance_id: z34.number().optional(),
5221
+ faction_id: z34.number().optional(),
5222
+ ship_type_id: z34.number(),
5223
+ damage_taken: z34.number(),
5224
+ position: z34.looseObject({
5225
+ x: z34.number(),
5226
+ y: z34.number(),
5227
+ z: z34.number()
5120
5228
  }).optional(),
5121
- items: z32.array(z32.unknown()).optional()
5229
+ items: z34.array(z34.unknown()).optional()
5122
5230
  }),
5123
- attackers: z32.array(
5124
- z32.looseObject({
5125
- character_id: z32.number().optional(),
5126
- corporation_id: z32.number().optional(),
5127
- alliance_id: z32.number().optional(),
5128
- faction_id: z32.number().optional(),
5129
- ship_type_id: z32.number().optional(),
5130
- weapon_type_id: z32.number().optional(),
5131
- damage_done: z32.number(),
5132
- final_blow: z32.boolean(),
5133
- security_status: z32.number()
5231
+ attackers: z34.array(
5232
+ z34.looseObject({
5233
+ character_id: z34.number().optional(),
5234
+ corporation_id: z34.number().optional(),
5235
+ alliance_id: z34.number().optional(),
5236
+ faction_id: z34.number().optional(),
5237
+ ship_type_id: z34.number().optional(),
5238
+ weapon_type_id: z34.number().optional(),
5239
+ damage_done: z34.number(),
5240
+ final_blow: z34.boolean(),
5241
+ security_status: z34.number()
5134
5242
  })
5135
5243
  )
5136
5244
  });
@@ -5142,14 +5250,14 @@ var killmailEndpoints = {
5142
5250
  method: "GET",
5143
5251
  requiresAuth: true,
5144
5252
  pathParams: ["characterId"],
5145
- responseSchema: z33.array(KillmailSummarySchema)
5253
+ responseSchema: z35.array(KillmailSummarySchema)
5146
5254
  },
5147
5255
  getCorporationRecentKillmails: {
5148
5256
  path: "corporations/{corporationId}/killmails/recent",
5149
5257
  method: "GET",
5150
5258
  requiresAuth: true,
5151
5259
  pathParams: ["corporationId"],
5152
- responseSchema: z33.array(KillmailSummarySchema)
5260
+ responseSchema: z35.array(KillmailSummarySchema)
5153
5261
  },
5154
5262
  getKillmail: {
5155
5263
  path: "killmails/{killmailId}/{killmailHash}",
@@ -5210,22 +5318,22 @@ var KillmailsClient = class extends BaseEsiClient {
5210
5318
  };
5211
5319
 
5212
5320
  // src/schemas/location.ts
5213
- import { z as z34 } from "zod";
5214
- var CharacterLocationSchema = z34.looseObject({
5215
- solar_system_id: z34.number(),
5216
- station_id: z34.number().optional(),
5217
- structure_id: z34.number().optional()
5321
+ import { z as z36 } from "zod";
5322
+ var CharacterLocationSchema = z36.looseObject({
5323
+ solar_system_id: z36.number(),
5324
+ station_id: z36.number().optional(),
5325
+ structure_id: z36.number().optional()
5218
5326
  });
5219
- var CharacterOnlineSchema = z34.looseObject({
5220
- online: z34.boolean(),
5221
- last_login: z34.string().optional(),
5222
- last_logout: z34.string().optional(),
5223
- logins: z34.number().optional()
5327
+ var CharacterOnlineSchema = z36.looseObject({
5328
+ online: z36.boolean(),
5329
+ last_login: z36.string().optional(),
5330
+ last_logout: z36.string().optional(),
5331
+ logins: z36.number().optional()
5224
5332
  });
5225
- var CharacterShipSchema = z34.looseObject({
5226
- ship_item_id: z34.number(),
5227
- ship_name: z34.string(),
5228
- ship_type_id: z34.number()
5333
+ var CharacterShipSchema = z36.looseObject({
5334
+ ship_item_id: z36.number(),
5335
+ ship_name: z36.string(),
5336
+ ship_type_id: z36.number()
5229
5337
  });
5230
5338
 
5231
5339
  // src/core/endpoints/locationEndpoints.ts
@@ -5293,25 +5401,25 @@ var LocationClient = class extends BaseEsiClient {
5293
5401
  };
5294
5402
 
5295
5403
  // src/core/endpoints/loyaltyEndpoints.ts
5296
- import { z as z36 } from "zod";
5404
+ import { z as z38 } from "zod";
5297
5405
 
5298
5406
  // src/schemas/loyalty.ts
5299
- import { z as z35 } from "zod";
5300
- var LoyaltyPointsSchema = z35.looseObject({
5301
- corporation_id: z35.number(),
5302
- loyalty_points: z35.number()
5303
- });
5304
- var LoyaltyStoreOfferSchema = z35.looseObject({
5305
- offer_id: z35.number(),
5306
- type_id: z35.number(),
5307
- quantity: z35.number(),
5308
- lp_cost: z35.number(),
5309
- isk_cost: z35.number(),
5310
- ak_cost: z35.number().optional(),
5311
- required_items: z35.array(
5312
- z35.looseObject({
5313
- type_id: z35.number(),
5314
- quantity: z35.number()
5407
+ import { z as z37 } from "zod";
5408
+ var LoyaltyPointsSchema = z37.looseObject({
5409
+ corporation_id: z37.number(),
5410
+ loyalty_points: z37.number()
5411
+ });
5412
+ var LoyaltyStoreOfferSchema = z37.looseObject({
5413
+ offer_id: z37.number(),
5414
+ type_id: z37.number(),
5415
+ quantity: z37.number(),
5416
+ lp_cost: z37.number(),
5417
+ isk_cost: z37.number(),
5418
+ ak_cost: z37.number().optional(),
5419
+ required_items: z37.array(
5420
+ z37.looseObject({
5421
+ type_id: z37.number(),
5422
+ quantity: z37.number()
5315
5423
  })
5316
5424
  )
5317
5425
  });
@@ -5323,14 +5431,14 @@ var loyaltyEndpoints = {
5323
5431
  method: "GET",
5324
5432
  requiresAuth: true,
5325
5433
  pathParams: ["characterId"],
5326
- responseSchema: z36.array(LoyaltyPointsSchema)
5434
+ responseSchema: z38.array(LoyaltyPointsSchema)
5327
5435
  },
5328
5436
  getLoyaltyStoreOffers: {
5329
5437
  path: "loyalty/stores/{corporationId}/offers",
5330
5438
  method: "GET",
5331
5439
  requiresAuth: false,
5332
5440
  pathParams: ["corporationId"],
5333
- responseSchema: z36.array(LoyaltyStoreOfferSchema)
5441
+ responseSchema: z38.array(LoyaltyStoreOfferSchema)
5334
5442
  }
5335
5443
  };
5336
5444
 
@@ -5370,22 +5478,22 @@ var LoyaltyClient = class extends BaseEsiClient {
5370
5478
  };
5371
5479
 
5372
5480
  // src/core/endpoints/mailEndpoints.ts
5373
- import { z as z38 } from "zod";
5481
+ import { z as z40 } from "zod";
5374
5482
 
5375
5483
  // src/schemas/mail.ts
5376
- import { z as z37 } from "zod";
5377
- var MailMessageSchema = z37.looseObject({
5378
- mail_id: z37.number().optional(),
5379
- subject: z37.string().optional(),
5380
- from: z37.number().optional(),
5381
- timestamp: z37.string().optional(),
5382
- labels: z37.array(z37.number()).optional(),
5383
- is_read: z37.boolean().optional(),
5384
- body: z37.string().optional(),
5385
- recipients: z37.array(
5386
- z37.looseObject({
5387
- recipient_id: z37.number(),
5388
- recipient_type: z37.enum([
5484
+ import { z as z39 } from "zod";
5485
+ var MailMessageSchema = z39.looseObject({
5486
+ mail_id: z39.number().optional(),
5487
+ subject: z39.string().optional(),
5488
+ from: z39.number().optional(),
5489
+ timestamp: z39.string().optional(),
5490
+ labels: z39.array(z39.number()).optional(),
5491
+ is_read: z39.boolean().optional(),
5492
+ body: z39.string().optional(),
5493
+ recipients: z39.array(
5494
+ z39.looseObject({
5495
+ recipient_id: z39.number(),
5496
+ recipient_type: z39.enum([
5389
5497
  "alliance",
5390
5498
  "character",
5391
5499
  "corporation",
@@ -5394,19 +5502,19 @@ var MailMessageSchema = z37.looseObject({
5394
5502
  })
5395
5503
  ).optional()
5396
5504
  });
5397
- var MailLabelSchema = z37.looseObject({
5398
- label_id: z37.number(),
5399
- name: z37.string(),
5400
- color: z37.string().optional(),
5401
- unread_count: z37.number().optional()
5505
+ var MailLabelSchema = z39.looseObject({
5506
+ label_id: z39.number(),
5507
+ name: z39.string(),
5508
+ color: z39.string().optional(),
5509
+ unread_count: z39.number().optional()
5402
5510
  });
5403
- var MailLabelsResponseSchema = z37.looseObject({
5404
- labels: z37.array(MailLabelSchema).optional(),
5405
- total_unread_count: z37.number().optional()
5511
+ var MailLabelsResponseSchema = z39.looseObject({
5512
+ labels: z39.array(MailLabelSchema).optional(),
5513
+ total_unread_count: z39.number().optional()
5406
5514
  });
5407
- var MailingListSchema = z37.looseObject({
5408
- mailing_list_id: z37.number(),
5409
- name: z37.string()
5515
+ var MailingListSchema = z39.looseObject({
5516
+ mailing_list_id: z39.number(),
5517
+ name: z39.string()
5410
5518
  });
5411
5519
 
5412
5520
  // src/core/endpoints/mailEndpoints.ts
@@ -5416,7 +5524,7 @@ var mailEndpoints = {
5416
5524
  method: "GET",
5417
5525
  requiresAuth: true,
5418
5526
  pathParams: ["characterId"],
5419
- responseSchema: z38.array(MailMessageSchema)
5527
+ responseSchema: z40.array(MailMessageSchema)
5420
5528
  },
5421
5529
  sendMail: {
5422
5530
  path: "characters/{characterId}/mail/",
@@ -5424,11 +5532,11 @@ var mailEndpoints = {
5424
5532
  requiresAuth: true,
5425
5533
  pathParams: ["characterId"],
5426
5534
  hasBody: true,
5427
- requestSchema: z38.looseObject({
5428
- recipients: z38.array(
5429
- z38.looseObject({
5430
- recipient_id: z38.number().int(),
5431
- recipient_type: z38.enum([
5535
+ requestSchema: z40.looseObject({
5536
+ recipients: z40.array(
5537
+ z40.looseObject({
5538
+ recipient_id: z40.number().int(),
5539
+ recipient_type: z40.enum([
5432
5540
  "alliance",
5433
5541
  "character",
5434
5542
  "corporation",
@@ -5436,8 +5544,8 @@ var mailEndpoints = {
5436
5544
  ])
5437
5545
  })
5438
5546
  ),
5439
- subject: z38.string().min(1),
5440
- body: z38.string().min(1)
5547
+ subject: z40.string().min(1),
5548
+ body: z40.string().min(1)
5441
5549
  })
5442
5550
  },
5443
5551
  getMail: {
@@ -5485,7 +5593,7 @@ var mailEndpoints = {
5485
5593
  method: "GET",
5486
5594
  requiresAuth: true,
5487
5595
  pathParams: ["characterId"],
5488
- responseSchema: z38.array(MailingListSchema)
5596
+ responseSchema: z40.array(MailingListSchema)
5489
5597
  }
5490
5598
  };
5491
5599
 
@@ -5610,124 +5718,124 @@ var MailClient = class extends BaseEsiClient {
5610
5718
  };
5611
5719
 
5612
5720
  // src/core/endpoints/marketEndpoints.ts
5613
- import { z as z40 } from "zod";
5721
+ import { z as z42 } from "zod";
5614
5722
 
5615
5723
  // src/schemas/market.ts
5616
- import { z as z39 } from "zod";
5617
- var MarketOrderSchema = z39.looseObject({
5618
- order_id: z39.number(),
5619
- type_id: z39.number(),
5620
- location_id: z39.number(),
5621
- volume_total: z39.number(),
5622
- volume_remain: z39.number(),
5623
- min_volume: z39.number(),
5624
- price: z39.number(),
5625
- is_buy_order: z39.boolean(),
5626
- system_id: z39.number(),
5627
- duration: z39.number(),
5628
- issued: z39.string(),
5629
- range: z39.string()
5630
- });
5631
- var CharacterMarketOrderSchema = z39.looseObject({
5632
- order_id: z39.number(),
5633
- type_id: z39.number(),
5634
- location_id: z39.number(),
5635
- volume_total: z39.number(),
5636
- volume_remain: z39.number(),
5637
- min_volume: z39.number().optional(),
5638
- price: z39.number(),
5639
- is_buy_order: z39.boolean().optional(),
5640
- is_corporation: z39.boolean(),
5641
- region_id: z39.number(),
5642
- duration: z39.number(),
5643
- issued: z39.string(),
5644
- range: z39.string(),
5645
- escrow: z39.number().optional()
5646
- });
5647
- var CharacterMarketOrderHistorySchema = z39.looseObject({
5648
- order_id: z39.number(),
5649
- type_id: z39.number(),
5650
- location_id: z39.number(),
5651
- volume_total: z39.number(),
5652
- volume_remain: z39.number(),
5653
- min_volume: z39.number().optional(),
5654
- price: z39.number(),
5655
- is_buy_order: z39.boolean().optional(),
5656
- is_corporation: z39.boolean(),
5657
- region_id: z39.number(),
5658
- duration: z39.number(),
5659
- issued: z39.string(),
5660
- range: z39.string(),
5661
- state: z39.enum(["cancelled", "expired"]),
5662
- escrow: z39.number().optional()
5663
- });
5664
- var CorporationMarketOrderSchema = z39.looseObject({
5665
- order_id: z39.number(),
5666
- type_id: z39.number(),
5667
- location_id: z39.number(),
5668
- volume_total: z39.number(),
5669
- volume_remain: z39.number(),
5670
- min_volume: z39.number().optional(),
5671
- price: z39.number(),
5672
- is_buy_order: z39.boolean().optional(),
5673
- issued_by: z39.number(),
5674
- region_id: z39.number(),
5675
- wallet_division: z39.number(),
5676
- duration: z39.number(),
5677
- issued: z39.string(),
5678
- range: z39.string(),
5679
- escrow: z39.number().optional()
5680
- });
5681
- var CorporationMarketOrderHistorySchema = z39.looseObject({
5682
- order_id: z39.number(),
5683
- type_id: z39.number(),
5684
- location_id: z39.number(),
5685
- volume_total: z39.number(),
5686
- volume_remain: z39.number(),
5687
- min_volume: z39.number().optional(),
5688
- price: z39.number(),
5689
- is_buy_order: z39.boolean().optional(),
5690
- issued_by: z39.number().optional(),
5691
- region_id: z39.number(),
5692
- wallet_division: z39.number(),
5693
- duration: z39.number(),
5694
- issued: z39.string(),
5695
- range: z39.string(),
5696
- state: z39.enum(["cancelled", "expired"]),
5697
- escrow: z39.number().optional()
5698
- });
5699
- var StructureMarketOrderSchema = z39.looseObject({
5700
- order_id: z39.number(),
5701
- type_id: z39.number(),
5702
- location_id: z39.number(),
5703
- volume_total: z39.number(),
5704
- volume_remain: z39.number(),
5705
- min_volume: z39.number(),
5706
- price: z39.number(),
5707
- is_buy_order: z39.boolean(),
5708
- duration: z39.number(),
5709
- issued: z39.string(),
5710
- range: z39.string()
5711
- });
5712
- var MarketHistorySchema = z39.looseObject({
5713
- date: z39.string(),
5714
- order_count: z39.number(),
5715
- volume: z39.number(),
5716
- highest: z39.number(),
5717
- average: z39.number(),
5718
- lowest: z39.number()
5719
- });
5720
- var MarketGroupSchema = z39.looseObject({
5721
- market_group_id: z39.number(),
5722
- name: z39.string(),
5723
- description: z39.string(),
5724
- types: z39.array(z39.number()),
5725
- parent_group_id: z39.number().optional()
5726
- });
5727
- var MarketPriceSchema = z39.looseObject({
5728
- type_id: z39.number(),
5729
- average_price: z39.number().optional(),
5730
- adjusted_price: z39.number().optional()
5724
+ import { z as z41 } from "zod";
5725
+ var MarketOrderSchema = z41.looseObject({
5726
+ order_id: z41.number(),
5727
+ type_id: z41.number(),
5728
+ location_id: z41.number(),
5729
+ volume_total: z41.number(),
5730
+ volume_remain: z41.number(),
5731
+ min_volume: z41.number(),
5732
+ price: z41.number(),
5733
+ is_buy_order: z41.boolean(),
5734
+ system_id: z41.number(),
5735
+ duration: z41.number(),
5736
+ issued: z41.string(),
5737
+ range: z41.string()
5738
+ });
5739
+ var CharacterMarketOrderSchema = z41.looseObject({
5740
+ order_id: z41.number(),
5741
+ type_id: z41.number(),
5742
+ location_id: z41.number(),
5743
+ volume_total: z41.number(),
5744
+ volume_remain: z41.number(),
5745
+ min_volume: z41.number().optional(),
5746
+ price: z41.number(),
5747
+ is_buy_order: z41.boolean().optional(),
5748
+ is_corporation: z41.boolean(),
5749
+ region_id: z41.number(),
5750
+ duration: z41.number(),
5751
+ issued: z41.string(),
5752
+ range: z41.string(),
5753
+ escrow: z41.number().optional()
5754
+ });
5755
+ var CharacterMarketOrderHistorySchema = z41.looseObject({
5756
+ order_id: z41.number(),
5757
+ type_id: z41.number(),
5758
+ location_id: z41.number(),
5759
+ volume_total: z41.number(),
5760
+ volume_remain: z41.number(),
5761
+ min_volume: z41.number().optional(),
5762
+ price: z41.number(),
5763
+ is_buy_order: z41.boolean().optional(),
5764
+ is_corporation: z41.boolean(),
5765
+ region_id: z41.number(),
5766
+ duration: z41.number(),
5767
+ issued: z41.string(),
5768
+ range: z41.string(),
5769
+ state: z41.enum(["cancelled", "expired"]),
5770
+ escrow: z41.number().optional()
5771
+ });
5772
+ var CorporationMarketOrderSchema = z41.looseObject({
5773
+ order_id: z41.number(),
5774
+ type_id: z41.number(),
5775
+ location_id: z41.number(),
5776
+ volume_total: z41.number(),
5777
+ volume_remain: z41.number(),
5778
+ min_volume: z41.number().optional(),
5779
+ price: z41.number(),
5780
+ is_buy_order: z41.boolean().optional(),
5781
+ issued_by: z41.number(),
5782
+ region_id: z41.number(),
5783
+ wallet_division: z41.number(),
5784
+ duration: z41.number(),
5785
+ issued: z41.string(),
5786
+ range: z41.string(),
5787
+ escrow: z41.number().optional()
5788
+ });
5789
+ var CorporationMarketOrderHistorySchema = z41.looseObject({
5790
+ order_id: z41.number(),
5791
+ type_id: z41.number(),
5792
+ location_id: z41.number(),
5793
+ volume_total: z41.number(),
5794
+ volume_remain: z41.number(),
5795
+ min_volume: z41.number().optional(),
5796
+ price: z41.number(),
5797
+ is_buy_order: z41.boolean().optional(),
5798
+ issued_by: z41.number().optional(),
5799
+ region_id: z41.number(),
5800
+ wallet_division: z41.number(),
5801
+ duration: z41.number(),
5802
+ issued: z41.string(),
5803
+ range: z41.string(),
5804
+ state: z41.enum(["cancelled", "expired"]),
5805
+ escrow: z41.number().optional()
5806
+ });
5807
+ var StructureMarketOrderSchema = z41.looseObject({
5808
+ order_id: z41.number(),
5809
+ type_id: z41.number(),
5810
+ location_id: z41.number(),
5811
+ volume_total: z41.number(),
5812
+ volume_remain: z41.number(),
5813
+ min_volume: z41.number(),
5814
+ price: z41.number(),
5815
+ is_buy_order: z41.boolean(),
5816
+ duration: z41.number(),
5817
+ issued: z41.string(),
5818
+ range: z41.string()
5819
+ });
5820
+ var MarketHistorySchema = z41.looseObject({
5821
+ date: z41.string(),
5822
+ order_count: z41.number(),
5823
+ volume: z41.number(),
5824
+ highest: z41.number(),
5825
+ average: z41.number(),
5826
+ lowest: z41.number()
5827
+ });
5828
+ var MarketGroupSchema = z41.looseObject({
5829
+ market_group_id: z41.number(),
5830
+ name: z41.string(),
5831
+ description: z41.string(),
5832
+ types: z41.array(z41.number()),
5833
+ parent_group_id: z41.number().optional()
5834
+ });
5835
+ var MarketPriceSchema = z41.looseObject({
5836
+ type_id: z41.number(),
5837
+ average_price: z41.number().optional(),
5838
+ adjusted_price: z41.number().optional()
5731
5839
  });
5732
5840
 
5733
5841
  // src/core/endpoints/marketEndpoints.ts
@@ -5737,34 +5845,34 @@ var marketEndpoints = {
5737
5845
  method: "GET",
5738
5846
  requiresAuth: true,
5739
5847
  pathParams: ["characterId"],
5740
- responseSchema: z40.array(CharacterMarketOrderSchema)
5848
+ responseSchema: z42.array(CharacterMarketOrderSchema)
5741
5849
  },
5742
5850
  getCharacterOrderHistory: {
5743
5851
  path: "characters/{characterId}/orders/history/",
5744
5852
  method: "GET",
5745
5853
  requiresAuth: true,
5746
5854
  pathParams: ["characterId"],
5747
- responseSchema: z40.array(CharacterMarketOrderHistorySchema)
5855
+ responseSchema: z42.array(CharacterMarketOrderHistorySchema)
5748
5856
  },
5749
5857
  getCorporationOrders: {
5750
5858
  path: "corporations/{corporationId}/orders/",
5751
5859
  method: "GET",
5752
5860
  requiresAuth: true,
5753
5861
  pathParams: ["corporationId"],
5754
- responseSchema: z40.array(CorporationMarketOrderSchema)
5862
+ responseSchema: z42.array(CorporationMarketOrderSchema)
5755
5863
  },
5756
5864
  getCorporationOrderHistory: {
5757
5865
  path: "corporations/{corporationId}/orders/history/",
5758
5866
  method: "GET",
5759
5867
  requiresAuth: true,
5760
5868
  pathParams: ["corporationId"],
5761
- responseSchema: z40.array(CorporationMarketOrderHistorySchema)
5869
+ responseSchema: z42.array(CorporationMarketOrderHistorySchema)
5762
5870
  },
5763
5871
  getMarketGroups: {
5764
5872
  path: "markets/groups/",
5765
5873
  method: "GET",
5766
5874
  requiresAuth: false,
5767
- responseSchema: z40.array(z40.number())
5875
+ responseSchema: z42.array(z42.number())
5768
5876
  },
5769
5877
  getMarketGroupInformation: {
5770
5878
  path: "markets/groups/{marketGroupId}/",
@@ -5777,14 +5885,14 @@ var marketEndpoints = {
5777
5885
  path: "markets/prices/",
5778
5886
  method: "GET",
5779
5887
  requiresAuth: false,
5780
- responseSchema: z40.array(MarketPriceSchema)
5888
+ responseSchema: z42.array(MarketPriceSchema)
5781
5889
  },
5782
5890
  getMarketOrdersInStructure: {
5783
5891
  path: "markets/structures/{structureId}/",
5784
5892
  method: "GET",
5785
5893
  requiresAuth: true,
5786
5894
  pathParams: ["structureId"],
5787
- responseSchema: z40.array(StructureMarketOrderSchema)
5895
+ responseSchema: z42.array(StructureMarketOrderSchema)
5788
5896
  },
5789
5897
  getMarketHistory: {
5790
5898
  path: "markets/{regionId}/history/",
@@ -5792,7 +5900,7 @@ var marketEndpoints = {
5792
5900
  requiresAuth: false,
5793
5901
  pathParams: ["regionId"],
5794
5902
  queryParams: { typeId: "type_id" },
5795
- responseSchema: z40.array(MarketHistorySchema)
5903
+ responseSchema: z42.array(MarketHistorySchema)
5796
5904
  },
5797
5905
  getMarketOrders: {
5798
5906
  path: "markets/{regionId}/orders/",
@@ -5800,14 +5908,14 @@ var marketEndpoints = {
5800
5908
  requiresAuth: false,
5801
5909
  pathParams: ["regionId"],
5802
5910
  queryParams: { orderType: "order_type" },
5803
- responseSchema: z40.array(MarketOrderSchema)
5911
+ responseSchema: z42.array(MarketOrderSchema)
5804
5912
  },
5805
5913
  getMarketTypes: {
5806
5914
  path: "markets/{regionId}/types/",
5807
5915
  method: "GET",
5808
5916
  requiresAuth: false,
5809
5917
  pathParams: ["regionId"],
5810
- responseSchema: z40.array(z40.number())
5918
+ responseSchema: z42.array(z42.number())
5811
5919
  }
5812
5920
  };
5813
5921
 
@@ -5952,14 +6060,14 @@ var MarketClient = class extends BaseEsiClient {
5952
6060
  };
5953
6061
 
5954
6062
  // src/core/endpoints/piEndpoints.ts
5955
- import { z as z43 } from "zod";
6063
+ import { z as z45 } from "zod";
5956
6064
 
5957
6065
  // src/schemas/pi.ts
5958
- import { z as z41 } from "zod";
5959
- var PlanetaryColonySchema = z41.looseObject({
5960
- solar_system_id: z41.number(),
5961
- planet_id: z41.number(),
5962
- planet_type: z41.enum([
6066
+ import { z as z43 } from "zod";
6067
+ var PlanetaryColonySchema = z43.looseObject({
6068
+ solar_system_id: z43.number(),
6069
+ planet_id: z43.number(),
6070
+ planet_type: z43.enum([
5963
6071
  "temperate",
5964
6072
  "barren",
5965
6073
  "oceanic",
@@ -5969,302 +6077,302 @@ var PlanetaryColonySchema = z41.looseObject({
5969
6077
  "storm",
5970
6078
  "plasma"
5971
6079
  ]),
5972
- owner_id: z41.number(),
5973
- last_update: z41.string(),
5974
- upgrade_level: z41.number(),
5975
- num_pins: z41.number()
5976
- });
5977
- var CustomsOfficeSchema = z41.looseObject({
5978
- office_id: z41.number(),
5979
- system_id: z41.number(),
5980
- reinforce_exit_start: z41.number(),
5981
- reinforce_exit_end: z41.number(),
5982
- allow_access_with_standings: z41.boolean().optional(),
5983
- allow_alliance_access: z41.boolean().optional(),
5984
- alliance_tax_rate: z41.number().optional(),
5985
- corporation_tax_rate: z41.number().optional(),
5986
- standing_level: z41.string().optional(),
5987
- terrible_standing_tax_rate: z41.number().optional(),
5988
- bad_standing_tax_rate: z41.number().optional(),
5989
- neutral_standing_tax_rate: z41.number().optional(),
5990
- good_standing_tax_rate: z41.number().optional(),
5991
- excellent_standing_tax_rate: z41.number().optional(),
5992
- type_id: z41.number().optional()
5993
- });
5994
- var ColonyLayoutSchema = z41.looseObject({
5995
- links: z41.array(
5996
- z41.looseObject({
5997
- source_pin_id: z41.number(),
5998
- destination_pin_id: z41.number(),
5999
- link_level: z41.number()
6080
+ owner_id: z43.number(),
6081
+ last_update: z43.string(),
6082
+ upgrade_level: z43.number(),
6083
+ num_pins: z43.number()
6084
+ });
6085
+ var CustomsOfficeSchema = z43.looseObject({
6086
+ office_id: z43.number(),
6087
+ system_id: z43.number(),
6088
+ reinforce_exit_start: z43.number(),
6089
+ reinforce_exit_end: z43.number(),
6090
+ allow_access_with_standings: z43.boolean().optional(),
6091
+ allow_alliance_access: z43.boolean().optional(),
6092
+ alliance_tax_rate: z43.number().optional(),
6093
+ corporation_tax_rate: z43.number().optional(),
6094
+ standing_level: z43.string().optional(),
6095
+ terrible_standing_tax_rate: z43.number().optional(),
6096
+ bad_standing_tax_rate: z43.number().optional(),
6097
+ neutral_standing_tax_rate: z43.number().optional(),
6098
+ good_standing_tax_rate: z43.number().optional(),
6099
+ excellent_standing_tax_rate: z43.number().optional(),
6100
+ type_id: z43.number().optional()
6101
+ });
6102
+ var ColonyLayoutSchema = z43.looseObject({
6103
+ links: z43.array(
6104
+ z43.looseObject({
6105
+ source_pin_id: z43.number(),
6106
+ destination_pin_id: z43.number(),
6107
+ link_level: z43.number()
6000
6108
  })
6001
6109
  ),
6002
- pins: z41.array(
6003
- z41.looseObject({
6004
- pin_id: z41.number(),
6005
- type_id: z41.number(),
6006
- latitude: z41.number(),
6007
- longitude: z41.number(),
6008
- schematic_id: z41.number().optional(),
6009
- extractor_details: z41.looseObject({
6010
- heads: z41.array(
6011
- z41.looseObject({
6012
- head_id: z41.number(),
6013
- latitude: z41.number(),
6014
- longitude: z41.number()
6110
+ pins: z43.array(
6111
+ z43.looseObject({
6112
+ pin_id: z43.number(),
6113
+ type_id: z43.number(),
6114
+ latitude: z43.number(),
6115
+ longitude: z43.number(),
6116
+ schematic_id: z43.number().optional(),
6117
+ extractor_details: z43.looseObject({
6118
+ heads: z43.array(
6119
+ z43.looseObject({
6120
+ head_id: z43.number(),
6121
+ latitude: z43.number(),
6122
+ longitude: z43.number()
6015
6123
  })
6016
6124
  ),
6017
- product_type_id: z41.number().optional(),
6018
- cycle_time: z41.number().optional(),
6019
- head_radius: z41.number().optional(),
6020
- qty_per_cycle: z41.number().optional()
6125
+ product_type_id: z43.number().optional(),
6126
+ cycle_time: z43.number().optional(),
6127
+ head_radius: z43.number().optional(),
6128
+ qty_per_cycle: z43.number().optional()
6021
6129
  }).optional(),
6022
- factory_details: z41.looseObject({
6023
- schematic_id: z41.number()
6130
+ factory_details: z43.looseObject({
6131
+ schematic_id: z43.number()
6024
6132
  }).optional(),
6025
- contents: z41.array(
6026
- z41.looseObject({
6027
- type_id: z41.number(),
6028
- amount: z41.number()
6133
+ contents: z43.array(
6134
+ z43.looseObject({
6135
+ type_id: z43.number(),
6136
+ amount: z43.number()
6029
6137
  })
6030
6138
  ).optional(),
6031
- install_time: z41.string().optional(),
6032
- expiry_time: z41.string().optional(),
6033
- last_cycle_start: z41.string().optional()
6139
+ install_time: z43.string().optional(),
6140
+ expiry_time: z43.string().optional(),
6141
+ last_cycle_start: z43.string().optional()
6034
6142
  })
6035
6143
  ),
6036
- routes: z41.array(
6037
- z41.looseObject({
6038
- route_id: z41.number(),
6039
- source_pin_id: z41.number(),
6040
- destination_pin_id: z41.number(),
6041
- content_type_id: z41.number(),
6042
- quantity: z41.number(),
6043
- waypoints: z41.array(z41.number()).optional()
6144
+ routes: z43.array(
6145
+ z43.looseObject({
6146
+ route_id: z43.number(),
6147
+ source_pin_id: z43.number(),
6148
+ destination_pin_id: z43.number(),
6149
+ content_type_id: z43.number(),
6150
+ quantity: z43.number(),
6151
+ waypoints: z43.array(z43.number()).optional()
6044
6152
  })
6045
6153
  )
6046
6154
  });
6047
6155
 
6048
6156
  // src/schemas/universe.ts
6049
- import { z as z42 } from "zod";
6050
- var PositionSchema = z42.looseObject({
6051
- x: z42.number(),
6052
- y: z42.number(),
6053
- z: z42.number()
6054
- });
6055
- var SolarSystemInfoSchema = z42.looseObject({
6056
- system_id: z42.number(),
6057
- name: z42.string(),
6058
- constellation_id: z42.number(),
6157
+ import { z as z44 } from "zod";
6158
+ var PositionSchema = z44.looseObject({
6159
+ x: z44.number(),
6160
+ y: z44.number(),
6161
+ z: z44.number()
6162
+ });
6163
+ var SolarSystemInfoSchema = z44.looseObject({
6164
+ system_id: z44.number(),
6165
+ name: z44.string(),
6166
+ constellation_id: z44.number(),
6059
6167
  position: PositionSchema.optional(),
6060
- security_class: z42.string().optional(),
6061
- security_status: z42.number(),
6062
- star_id: z42.number().optional(),
6063
- stargates: z42.array(z42.number()).optional(),
6064
- stations: z42.array(z42.number()).optional(),
6065
- planets: z42.array(
6066
- z42.looseObject({
6067
- asteroid_belts: z42.array(z42.number()).optional(),
6068
- moons: z42.array(z42.number()).optional(),
6069
- planet_id: z42.number()
6168
+ security_class: z44.string().optional(),
6169
+ security_status: z44.number(),
6170
+ star_id: z44.number().optional(),
6171
+ stargates: z44.array(z44.number()).optional(),
6172
+ stations: z44.array(z44.number()).optional(),
6173
+ planets: z44.array(
6174
+ z44.looseObject({
6175
+ asteroid_belts: z44.array(z44.number()).optional(),
6176
+ moons: z44.array(z44.number()).optional(),
6177
+ planet_id: z44.number()
6070
6178
  })
6071
6179
  ).optional()
6072
6180
  });
6073
- var ConstellationInfoSchema = z42.looseObject({
6074
- constellation_id: z42.number(),
6075
- name: z42.string(),
6076
- region_id: z42.number(),
6077
- systems: z42.array(z42.number()),
6181
+ var ConstellationInfoSchema = z44.looseObject({
6182
+ constellation_id: z44.number(),
6183
+ name: z44.string(),
6184
+ region_id: z44.number(),
6185
+ systems: z44.array(z44.number()),
6078
6186
  position: PositionSchema
6079
6187
  });
6080
- var RegionInfoSchema = z42.looseObject({
6081
- region_id: z42.number(),
6082
- name: z42.string(),
6083
- description: z42.string().optional(),
6084
- constellations: z42.array(z42.number())
6085
- });
6086
- var AncestrySchema = z42.looseObject({
6087
- id: z42.number(),
6088
- name: z42.string(),
6089
- bloodline_id: z42.number(),
6090
- description: z42.string(),
6091
- short_description: z42.string().optional(),
6092
- icon_id: z42.number().optional()
6093
- });
6094
- var BloodlineSchema = z42.looseObject({
6095
- bloodline_id: z42.number(),
6096
- name: z42.string(),
6097
- description: z42.string(),
6098
- race_id: z42.number(),
6099
- corporation_id: z42.number(),
6100
- ship_type_id: z42.number().nullable(),
6101
- charisma: z42.number(),
6102
- intelligence: z42.number(),
6103
- memory: z42.number(),
6104
- perception: z42.number(),
6105
- willpower: z42.number()
6106
- });
6107
- var FactionSchema = z42.looseObject({
6108
- faction_id: z42.number(),
6109
- name: z42.string(),
6110
- description: z42.string(),
6111
- size_factor: z42.number(),
6112
- station_count: z42.number(),
6113
- station_system_count: z42.number(),
6114
- is_unique: z42.boolean(),
6115
- solar_system_id: z42.number().optional(),
6116
- corporation_id: z42.number().optional(),
6117
- militia_corporation_id: z42.number().optional()
6118
- });
6119
- var RaceSchema = z42.looseObject({
6120
- race_id: z42.number(),
6121
- name: z42.string(),
6122
- description: z42.string(),
6123
- alliance_id: z42.number()
6124
- });
6125
- var StationInfoSchema = z42.looseObject({
6126
- station_id: z42.number(),
6127
- name: z42.string(),
6128
- owner: z42.number().optional(),
6129
- system_id: z42.number(),
6130
- type_id: z42.number(),
6131
- race_id: z42.number().optional(),
6132
- reprocessing_efficiency: z42.number(),
6133
- reprocessing_stations_take: z42.number(),
6134
- max_dockable_ship_volume: z42.number(),
6135
- office_rental_cost: z42.number(),
6136
- services: z42.array(z42.string()),
6188
+ var RegionInfoSchema = z44.looseObject({
6189
+ region_id: z44.number(),
6190
+ name: z44.string(),
6191
+ description: z44.string().optional(),
6192
+ constellations: z44.array(z44.number())
6193
+ });
6194
+ var AncestrySchema = z44.looseObject({
6195
+ id: z44.number(),
6196
+ name: z44.string(),
6197
+ bloodline_id: z44.number(),
6198
+ description: z44.string(),
6199
+ short_description: z44.string().optional(),
6200
+ icon_id: z44.number().optional()
6201
+ });
6202
+ var BloodlineSchema = z44.looseObject({
6203
+ bloodline_id: z44.number(),
6204
+ name: z44.string(),
6205
+ description: z44.string(),
6206
+ race_id: z44.number(),
6207
+ corporation_id: z44.number(),
6208
+ ship_type_id: z44.number().nullable(),
6209
+ charisma: z44.number(),
6210
+ intelligence: z44.number(),
6211
+ memory: z44.number(),
6212
+ perception: z44.number(),
6213
+ willpower: z44.number()
6214
+ });
6215
+ var FactionSchema = z44.looseObject({
6216
+ faction_id: z44.number(),
6217
+ name: z44.string(),
6218
+ description: z44.string(),
6219
+ size_factor: z44.number(),
6220
+ station_count: z44.number(),
6221
+ station_system_count: z44.number(),
6222
+ is_unique: z44.boolean(),
6223
+ solar_system_id: z44.number().optional(),
6224
+ corporation_id: z44.number().optional(),
6225
+ militia_corporation_id: z44.number().optional()
6226
+ });
6227
+ var RaceSchema = z44.looseObject({
6228
+ race_id: z44.number(),
6229
+ name: z44.string(),
6230
+ description: z44.string(),
6231
+ alliance_id: z44.number()
6232
+ });
6233
+ var StationInfoSchema = z44.looseObject({
6234
+ station_id: z44.number(),
6235
+ name: z44.string(),
6236
+ owner: z44.number().optional(),
6237
+ system_id: z44.number(),
6238
+ type_id: z44.number(),
6239
+ race_id: z44.number().optional(),
6240
+ reprocessing_efficiency: z44.number(),
6241
+ reprocessing_stations_take: z44.number(),
6242
+ max_dockable_ship_volume: z44.number(),
6243
+ office_rental_cost: z44.number(),
6244
+ services: z44.array(z44.string()),
6137
6245
  position: PositionSchema
6138
6246
  });
6139
- var TypeInfoSchema = z42.looseObject({
6140
- type_id: z42.number(),
6141
- name: z42.string(),
6142
- description: z42.string(),
6143
- published: z42.boolean(),
6144
- group_id: z42.number(),
6145
- market_group_id: z42.number().optional(),
6146
- radius: z42.number().optional(),
6147
- volume: z42.number().optional(),
6148
- packaged_volume: z42.number().optional(),
6149
- capacity: z42.number().optional(),
6150
- portion_size: z42.number().optional(),
6151
- mass: z42.number().optional(),
6152
- icon_id: z42.number().optional(),
6153
- graphic_id: z42.number().optional(),
6154
- dogma_attributes: z42.array(
6155
- z42.looseObject({
6156
- attribute_id: z42.number(),
6157
- value: z42.number()
6247
+ var TypeInfoSchema = z44.looseObject({
6248
+ type_id: z44.number(),
6249
+ name: z44.string(),
6250
+ description: z44.string(),
6251
+ published: z44.boolean(),
6252
+ group_id: z44.number(),
6253
+ market_group_id: z44.number().optional(),
6254
+ radius: z44.number().optional(),
6255
+ volume: z44.number().optional(),
6256
+ packaged_volume: z44.number().optional(),
6257
+ capacity: z44.number().optional(),
6258
+ portion_size: z44.number().optional(),
6259
+ mass: z44.number().optional(),
6260
+ icon_id: z44.number().optional(),
6261
+ graphic_id: z44.number().optional(),
6262
+ dogma_attributes: z44.array(
6263
+ z44.looseObject({
6264
+ attribute_id: z44.number(),
6265
+ value: z44.number()
6158
6266
  })
6159
6267
  ).optional(),
6160
- dogma_effects: z42.array(
6161
- z42.looseObject({
6162
- effect_id: z42.number(),
6163
- is_default: z42.boolean()
6268
+ dogma_effects: z44.array(
6269
+ z44.looseObject({
6270
+ effect_id: z44.number(),
6271
+ is_default: z44.boolean()
6164
6272
  })
6165
6273
  ).optional()
6166
6274
  });
6167
- var AsteroidBeltInfoSchema = z42.looseObject({
6168
- name: z42.string(),
6275
+ var AsteroidBeltInfoSchema = z44.looseObject({
6276
+ name: z44.string(),
6169
6277
  position: PositionSchema,
6170
- system_id: z42.number()
6171
- });
6172
- var GraphicInfoSchema = z42.looseObject({
6173
- graphic_id: z42.number(),
6174
- collision_file: z42.string().optional(),
6175
- graphic_file: z42.string().optional(),
6176
- icon_folder: z42.string().optional(),
6177
- sof_dna: z42.string().optional(),
6178
- sof_fation_name: z42.string().optional(),
6179
- sof_hull_name: z42.string().optional(),
6180
- sof_race_name: z42.string().optional()
6181
- });
6182
- var ItemCategorySchema = z42.looseObject({
6183
- category_id: z42.number(),
6184
- name: z42.string(),
6185
- groups: z42.array(z42.number()),
6186
- published: z42.boolean()
6187
- });
6188
- var ItemGroupSchema = z42.looseObject({
6189
- group_id: z42.number(),
6190
- name: z42.string(),
6191
- category_id: z42.number(),
6192
- types: z42.array(z42.number()),
6193
- published: z42.boolean()
6194
- });
6195
- var MoonInfoSchema = z42.looseObject({
6196
- moon_id: z42.number(),
6197
- name: z42.string(),
6198
- system_id: z42.number(),
6278
+ system_id: z44.number()
6279
+ });
6280
+ var GraphicInfoSchema = z44.looseObject({
6281
+ graphic_id: z44.number(),
6282
+ collision_file: z44.string().optional(),
6283
+ graphic_file: z44.string().optional(),
6284
+ icon_folder: z44.string().optional(),
6285
+ sof_dna: z44.string().optional(),
6286
+ sof_fation_name: z44.string().optional(),
6287
+ sof_hull_name: z44.string().optional(),
6288
+ sof_race_name: z44.string().optional()
6289
+ });
6290
+ var ItemCategorySchema = z44.looseObject({
6291
+ category_id: z44.number(),
6292
+ name: z44.string(),
6293
+ groups: z44.array(z44.number()),
6294
+ published: z44.boolean()
6295
+ });
6296
+ var ItemGroupSchema = z44.looseObject({
6297
+ group_id: z44.number(),
6298
+ name: z44.string(),
6299
+ category_id: z44.number(),
6300
+ types: z44.array(z44.number()),
6301
+ published: z44.boolean()
6302
+ });
6303
+ var MoonInfoSchema = z44.looseObject({
6304
+ moon_id: z44.number(),
6305
+ name: z44.string(),
6306
+ system_id: z44.number(),
6199
6307
  position: PositionSchema
6200
6308
  });
6201
- var PlanetInfoSchema = z42.looseObject({
6202
- planet_id: z42.number(),
6203
- name: z42.string(),
6204
- system_id: z42.number(),
6205
- type_id: z42.number(),
6309
+ var PlanetInfoSchema = z44.looseObject({
6310
+ planet_id: z44.number(),
6311
+ name: z44.string(),
6312
+ system_id: z44.number(),
6313
+ type_id: z44.number(),
6206
6314
  position: PositionSchema
6207
6315
  });
6208
- var StarInfoSchema = z42.looseObject({
6209
- star_id: z42.number().optional(),
6210
- solar_system_id: z42.number(),
6211
- name: z42.string(),
6212
- type_id: z42.number(),
6213
- age: z42.number(),
6214
- luminosity: z42.number(),
6215
- radius: z42.number(),
6216
- spectral_class: z42.string(),
6217
- temperature: z42.number()
6218
- });
6219
- var StargateInfoSchema = z42.looseObject({
6220
- stargate_id: z42.number(),
6221
- name: z42.string(),
6222
- system_id: z42.number(),
6223
- type_id: z42.number(),
6316
+ var StarInfoSchema = z44.looseObject({
6317
+ star_id: z44.number().optional(),
6318
+ solar_system_id: z44.number(),
6319
+ name: z44.string(),
6320
+ type_id: z44.number(),
6321
+ age: z44.number(),
6322
+ luminosity: z44.number(),
6323
+ radius: z44.number(),
6324
+ spectral_class: z44.string(),
6325
+ temperature: z44.number()
6326
+ });
6327
+ var StargateInfoSchema = z44.looseObject({
6328
+ stargate_id: z44.number(),
6329
+ name: z44.string(),
6330
+ system_id: z44.number(),
6331
+ type_id: z44.number(),
6224
6332
  position: PositionSchema,
6225
- destination: z42.looseObject({
6226
- system_id: z42.number(),
6227
- stargate_id: z42.number()
6333
+ destination: z44.looseObject({
6334
+ system_id: z44.number(),
6335
+ stargate_id: z44.number()
6228
6336
  })
6229
6337
  });
6230
- var StructureInfoSchema = z42.looseObject({
6231
- structure_id: z42.number().optional(),
6232
- name: z42.string(),
6233
- owner_id: z42.number(),
6234
- solar_system_id: z42.number(),
6235
- type_id: z42.number().optional(),
6338
+ var StructureInfoSchema = z44.looseObject({
6339
+ structure_id: z44.number().optional(),
6340
+ name: z44.string(),
6341
+ owner_id: z44.number(),
6342
+ solar_system_id: z44.number(),
6343
+ type_id: z44.number().optional(),
6236
6344
  position: PositionSchema.optional()
6237
6345
  });
6238
- var SystemJumpSchema = z42.looseObject({
6239
- system_id: z42.number(),
6240
- ship_jumps: z42.number()
6241
- });
6242
- var SystemKillSchema = z42.looseObject({
6243
- system_id: z42.number(),
6244
- npc_kills: z42.number(),
6245
- pod_kills: z42.number(),
6246
- ship_kills: z42.number()
6247
- });
6248
- var IdNameSchema = z42.looseObject({
6249
- id: z42.number(),
6250
- name: z42.string()
6251
- });
6252
- var BulkIdResultSchema = z42.looseObject({
6253
- agents: z42.array(IdNameSchema).optional(),
6254
- alliances: z42.array(IdNameSchema).optional(),
6255
- characters: z42.array(IdNameSchema).optional(),
6256
- constellations: z42.array(IdNameSchema).optional(),
6257
- corporations: z42.array(IdNameSchema).optional(),
6258
- factions: z42.array(IdNameSchema).optional(),
6259
- inventory_types: z42.array(IdNameSchema).optional(),
6260
- regions: z42.array(IdNameSchema).optional(),
6261
- systems: z42.array(IdNameSchema).optional(),
6262
- stations: z42.array(IdNameSchema).optional()
6263
- });
6264
- var NameAndCategorySchema = z42.looseObject({
6265
- id: z42.number(),
6266
- name: z42.string(),
6267
- category: z42.enum([
6346
+ var SystemJumpSchema = z44.looseObject({
6347
+ system_id: z44.number(),
6348
+ ship_jumps: z44.number()
6349
+ });
6350
+ var SystemKillSchema = z44.looseObject({
6351
+ system_id: z44.number(),
6352
+ npc_kills: z44.number(),
6353
+ pod_kills: z44.number(),
6354
+ ship_kills: z44.number()
6355
+ });
6356
+ var IdNameSchema = z44.looseObject({
6357
+ id: z44.number(),
6358
+ name: z44.string()
6359
+ });
6360
+ var BulkIdResultSchema = z44.looseObject({
6361
+ agents: z44.array(IdNameSchema).optional(),
6362
+ alliances: z44.array(IdNameSchema).optional(),
6363
+ characters: z44.array(IdNameSchema).optional(),
6364
+ constellations: z44.array(IdNameSchema).optional(),
6365
+ corporations: z44.array(IdNameSchema).optional(),
6366
+ factions: z44.array(IdNameSchema).optional(),
6367
+ inventory_types: z44.array(IdNameSchema).optional(),
6368
+ regions: z44.array(IdNameSchema).optional(),
6369
+ systems: z44.array(IdNameSchema).optional(),
6370
+ stations: z44.array(IdNameSchema).optional()
6371
+ });
6372
+ var NameAndCategorySchema = z44.looseObject({
6373
+ id: z44.number(),
6374
+ name: z44.string(),
6375
+ category: z44.enum([
6268
6376
  "alliance",
6269
6377
  "character",
6270
6378
  "constellation",
@@ -6276,22 +6384,22 @@ var NameAndCategorySchema = z42.looseObject({
6276
6384
  "faction"
6277
6385
  ])
6278
6386
  });
6279
- var SchematicInfoSchema = z42.looseObject({
6280
- schematic_name: z42.string(),
6281
- cycle_time: z42.number()
6387
+ var SchematicInfoSchema = z44.looseObject({
6388
+ schematic_name: z44.string(),
6389
+ cycle_time: z44.number()
6282
6390
  });
6283
- var SearchResultSchema = z42.looseObject({
6284
- agent: z42.array(z42.number()).optional(),
6285
- alliance: z42.array(z42.number()).optional(),
6286
- character: z42.array(z42.number()).optional(),
6287
- constellation: z42.array(z42.number()).optional(),
6288
- corporation: z42.array(z42.number()).optional(),
6289
- faction: z42.array(z42.number()).optional(),
6290
- inventory_type: z42.array(z42.number()).optional(),
6291
- region: z42.array(z42.number()).optional(),
6292
- solar_system: z42.array(z42.number()).optional(),
6293
- station: z42.array(z42.number()).optional(),
6294
- structure: z42.array(z42.number()).optional()
6391
+ var SearchResultSchema = z44.looseObject({
6392
+ agent: z44.array(z44.number()).optional(),
6393
+ alliance: z44.array(z44.number()).optional(),
6394
+ character: z44.array(z44.number()).optional(),
6395
+ constellation: z44.array(z44.number()).optional(),
6396
+ corporation: z44.array(z44.number()).optional(),
6397
+ faction: z44.array(z44.number()).optional(),
6398
+ inventory_type: z44.array(z44.number()).optional(),
6399
+ region: z44.array(z44.number()).optional(),
6400
+ solar_system: z44.array(z44.number()).optional(),
6401
+ station: z44.array(z44.number()).optional(),
6402
+ structure: z44.array(z44.number()).optional()
6295
6403
  });
6296
6404
 
6297
6405
  // src/core/endpoints/piEndpoints.ts
@@ -6301,7 +6409,7 @@ var piEndpoints = {
6301
6409
  method: "GET",
6302
6410
  requiresAuth: true,
6303
6411
  pathParams: ["characterId"],
6304
- responseSchema: z43.array(PlanetaryColonySchema)
6412
+ responseSchema: z45.array(PlanetaryColonySchema)
6305
6413
  },
6306
6414
  getColonyLayout: {
6307
6415
  path: "characters/{characterId}/planets/{planetId}",
@@ -6315,7 +6423,7 @@ var piEndpoints = {
6315
6423
  method: "GET",
6316
6424
  requiresAuth: true,
6317
6425
  pathParams: ["corporationId"],
6318
- responseSchema: z43.array(CustomsOfficeSchema)
6426
+ responseSchema: z45.array(CustomsOfficeSchema)
6319
6427
  },
6320
6428
  getSchematicInformation: {
6321
6429
  path: "universe/schematics/{schematicId}",
@@ -6383,7 +6491,7 @@ var PiClient = class extends BaseEsiClient {
6383
6491
  };
6384
6492
 
6385
6493
  // src/core/endpoints/routeEndpoints.ts
6386
- import { z as z44 } from "zod";
6494
+ import { z as z46 } from "zod";
6387
6495
  var routeEndpoints = {
6388
6496
  getRoute: {
6389
6497
  path: "route/{origin}/{destination}",
@@ -6391,7 +6499,7 @@ var routeEndpoints = {
6391
6499
  requiresAuth: false,
6392
6500
  pathParams: ["origin", "destination"],
6393
6501
  hasBody: true,
6394
- responseSchema: z44.looseObject({ route: z44.array(z44.number()) })
6502
+ responseSchema: z46.looseObject({ route: z46.array(z46.number()) })
6395
6503
  }
6396
6504
  };
6397
6505
 
@@ -6450,37 +6558,37 @@ var SearchClient = class extends BaseEsiClient {
6450
6558
  };
6451
6559
 
6452
6560
  // src/core/endpoints/skillEndpoints.ts
6453
- import { z as z46 } from "zod";
6561
+ import { z as z48 } from "zod";
6454
6562
 
6455
6563
  // src/schemas/skills.ts
6456
- import { z as z45 } from "zod";
6457
- var CharacterSkillSchema = z45.looseObject({
6458
- skill_id: z45.number(),
6459
- skillpoints_in_skill: z45.number(),
6460
- trained_skill_level: z45.number(),
6461
- active_skill_level: z45.number()
6462
- });
6463
- var CharacterSkillsResponseSchema = z45.looseObject({
6464
- skills: z45.array(
6465
- z45.looseObject({
6466
- skill_id: z45.number(),
6467
- skillpoints_in_skill: z45.number(),
6468
- trained_skill_level: z45.number(),
6469
- active_skill_level: z45.number()
6564
+ import { z as z47 } from "zod";
6565
+ var CharacterSkillSchema = z47.looseObject({
6566
+ skill_id: z47.number(),
6567
+ skillpoints_in_skill: z47.number(),
6568
+ trained_skill_level: z47.number(),
6569
+ active_skill_level: z47.number()
6570
+ });
6571
+ var CharacterSkillsResponseSchema = z47.looseObject({
6572
+ skills: z47.array(
6573
+ z47.looseObject({
6574
+ skill_id: z47.number(),
6575
+ skillpoints_in_skill: z47.number(),
6576
+ trained_skill_level: z47.number(),
6577
+ active_skill_level: z47.number()
6470
6578
  })
6471
6579
  ),
6472
- total_sp: z45.number(),
6473
- unallocated_sp: z45.number().optional()
6580
+ total_sp: z47.number(),
6581
+ unallocated_sp: z47.number().optional()
6474
6582
  });
6475
- var SkillQueueSchema = z45.looseObject({
6476
- skill_id: z45.number(),
6477
- finished_level: z45.number(),
6478
- queue_position: z45.number(),
6479
- level_end_sp: z45.number().optional(),
6480
- level_start_sp: z45.number().optional(),
6481
- training_start_sp: z45.number().optional(),
6482
- start_date: z45.string().optional(),
6483
- finish_date: z45.string().optional()
6583
+ var SkillQueueSchema = z47.looseObject({
6584
+ skill_id: z47.number(),
6585
+ finished_level: z47.number(),
6586
+ queue_position: z47.number(),
6587
+ level_end_sp: z47.number().optional(),
6588
+ level_start_sp: z47.number().optional(),
6589
+ training_start_sp: z47.number().optional(),
6590
+ start_date: z47.string().optional(),
6591
+ finish_date: z47.string().optional()
6484
6592
  });
6485
6593
 
6486
6594
  // src/core/endpoints/skillEndpoints.ts
@@ -6497,7 +6605,7 @@ var skillEndpoints = {
6497
6605
  method: "GET",
6498
6606
  requiresAuth: true,
6499
6607
  pathParams: ["characterId"],
6500
- responseSchema: z46.array(SkillQueueSchema)
6608
+ responseSchema: z48.array(SkillQueueSchema)
6501
6609
  },
6502
6610
  getCharacterSkills: {
6503
6611
  path: "characters/{characterId}/skills",
@@ -6552,77 +6660,77 @@ var CharacterSkillsClient = class extends BaseEsiClient {
6552
6660
  };
6553
6661
 
6554
6662
  // src/core/endpoints/sovereigntyEndpoints.ts
6555
- import { z as z48 } from "zod";
6663
+ import { z as z50 } from "zod";
6556
6664
 
6557
6665
  // src/schemas/sovereignty.ts
6558
- import { z as z47 } from "zod";
6559
- var SovereigntyCampaignSchema = z47.looseObject({
6560
- campaign_id: z47.number(),
6561
- structure_id: z47.number(),
6562
- solar_system_id: z47.number(),
6563
- constellation_id: z47.number(),
6564
- event_type: z47.enum([
6666
+ import { z as z49 } from "zod";
6667
+ var SovereigntyCampaignSchema = z49.looseObject({
6668
+ campaign_id: z49.number(),
6669
+ structure_id: z49.number(),
6670
+ solar_system_id: z49.number(),
6671
+ constellation_id: z49.number(),
6672
+ event_type: z49.enum([
6565
6673
  "tcu_defense",
6566
6674
  "ihub_defense",
6567
6675
  "station_defense",
6568
6676
  "station_freeport"
6569
6677
  ]),
6570
- start_time: z47.string(),
6571
- defender_id: z47.number().optional(),
6572
- defender_score: z47.number().optional(),
6573
- attackers_score: z47.number().optional(),
6574
- participants: z47.array(
6575
- z47.looseObject({
6576
- alliance_id: z47.number(),
6577
- score: z47.number()
6678
+ start_time: z49.string(),
6679
+ defender_id: z49.number().optional(),
6680
+ defender_score: z49.number().optional(),
6681
+ attackers_score: z49.number().optional(),
6682
+ participants: z49.array(
6683
+ z49.looseObject({
6684
+ alliance_id: z49.number(),
6685
+ score: z49.number()
6578
6686
  })
6579
6687
  ).optional()
6580
6688
  });
6581
- var SovereigntySystemStructureSchema = z47.looseObject({
6582
- alliance_id: z47.number().optional(),
6583
- solar_system_id: z47.number().optional(),
6584
- structure_id: z47.number(),
6585
- structure_type_id: z47.number(),
6586
- vulnerability_occupancy_level: z47.number().optional(),
6587
- vulnerable_start_time: z47.string().optional(),
6588
- vulnerable_end_time: z47.string().optional()
6589
- });
6590
- var SovereigntyVulnerabilityWindowSchema = z47.looseObject({
6591
- start: z47.string(),
6592
- end: z47.string()
6593
- });
6594
- var SovereigntyHubSchema = z47.looseObject({
6595
- id: z47.number(),
6689
+ var SovereigntySystemStructureSchema = z49.looseObject({
6690
+ alliance_id: z49.number().optional(),
6691
+ solar_system_id: z49.number().optional(),
6692
+ structure_id: z49.number(),
6693
+ structure_type_id: z49.number(),
6694
+ vulnerability_occupancy_level: z49.number().optional(),
6695
+ vulnerable_start_time: z49.string().optional(),
6696
+ vulnerable_end_time: z49.string().optional()
6697
+ });
6698
+ var SovereigntyVulnerabilityWindowSchema = z49.looseObject({
6699
+ start: z49.string(),
6700
+ end: z49.string()
6701
+ });
6702
+ var SovereigntyHubSchema = z49.looseObject({
6703
+ id: z49.number(),
6596
6704
  vulnerability_window: SovereigntyVulnerabilityWindowSchema.optional()
6597
6705
  });
6598
- var SovereigntyDevelopmentSchema = z47.looseObject({
6599
- activity_defense_multiplier: z47.number().optional(),
6600
- military_level: z47.number().optional(),
6601
- industrial_level: z47.number().optional(),
6602
- strategic_level: z47.number().optional()
6706
+ var SovereigntyDevelopmentSchema = z49.looseObject({
6707
+ activity_defense_multiplier: z49.number().optional(),
6708
+ military_level: z49.number().optional(),
6709
+ industrial_level: z49.number().optional(),
6710
+ strategic_level: z49.number().optional()
6603
6711
  });
6604
- var SovereigntyAllianceClaimSchema = z47.looseObject({
6605
- alliance_id: z47.number(),
6606
- corporation_id: z47.number().optional(),
6607
- claimed_since: z47.string().optional(),
6712
+ var SovereigntyAllianceClaimSchema = z49.looseObject({
6713
+ alliance_id: z49.number(),
6714
+ corporation_id: z49.number().optional(),
6715
+ claimed_since: z49.string().optional(),
6608
6716
  sovereignty_hub: SovereigntyHubSchema.optional(),
6609
- is_capital_system: z47.boolean().optional(),
6717
+ is_capital_system: z49.boolean().optional(),
6610
6718
  development: SovereigntyDevelopmentSchema.optional()
6611
6719
  });
6612
- var SovereigntyFactionClaimSchema = z47.looseObject({
6613
- faction_id: z47.number()
6720
+ var SovereigntyFactionClaimSchema = z49.looseObject({
6721
+ faction_id: z49.number()
6614
6722
  });
6615
- var SovereigntyClaimSchema = z47.looseObject({
6723
+ var SovereigntyClaimSchema = z49.looseObject({
6616
6724
  alliance: SovereigntyAllianceClaimSchema.optional(),
6617
6725
  faction: SovereigntyFactionClaimSchema.optional(),
6618
- unclaimed: z47.boolean().optional()
6726
+ unclaimed: z49.boolean().optional()
6619
6727
  });
6620
- var SovereigntySystemEntrySchema = z47.looseObject({
6621
- solar_system_id: z47.number(),
6728
+ var SovereigntySystemEntrySchema = z49.looseObject({
6729
+ solar_system_id: z49.number(),
6622
6730
  claim: SovereigntyClaimSchema
6623
6731
  });
6624
- var SovereigntySystemSchema = z47.looseObject({
6625
- solar_systems: z47.array(SovereigntySystemEntrySchema)
6732
+ var SovereigntySystemSchema = z49.looseObject({
6733
+ solar_systems: z49.array(SovereigntySystemEntrySchema)
6626
6734
  });
6627
6735
 
6628
6736
  // src/core/endpoints/sovereigntyEndpoints.ts
@@ -6631,7 +6739,7 @@ var sovereigntyEndpoints = {
6631
6739
  path: "sovereignty/campaigns",
6632
6740
  method: "GET",
6633
6741
  requiresAuth: false,
6634
- responseSchema: z48.array(SovereigntyCampaignSchema)
6742
+ responseSchema: z50.array(SovereigntyCampaignSchema)
6635
6743
  },
6636
6744
  getSovereigntySystems: {
6637
6745
  path: "sovereignty/systems",
@@ -6665,12 +6773,12 @@ var SovereigntyClient = class extends BaseEsiClient {
6665
6773
  };
6666
6774
 
6667
6775
  // src/schemas/status.ts
6668
- import { z as z49 } from "zod";
6669
- var ServerStatusSchema = z49.looseObject({
6670
- players: z49.number(),
6671
- server_version: z49.string(),
6672
- start_time: z49.string(),
6673
- vip: z49.boolean().optional()
6776
+ import { z as z51 } from "zod";
6777
+ var ServerStatusSchema = z51.looseObject({
6778
+ players: z51.number(),
6779
+ server_version: z51.string(),
6780
+ start_time: z51.string(),
6781
+ vip: z51.boolean().optional()
6674
6782
  });
6675
6783
 
6676
6784
  // src/core/endpoints/statusEndpoints.ts
@@ -6795,13 +6903,13 @@ var UiClient = class extends BaseEsiClient {
6795
6903
  };
6796
6904
 
6797
6905
  // src/core/endpoints/universeEndpoints.ts
6798
- import { z as z50 } from "zod";
6906
+ import { z as z52 } from "zod";
6799
6907
  var universeEndpoints = {
6800
6908
  getAncestries: {
6801
6909
  path: "universe/ancestries",
6802
6910
  method: "GET",
6803
6911
  requiresAuth: false,
6804
- responseSchema: z50.array(AncestrySchema)
6912
+ responseSchema: z52.array(AncestrySchema)
6805
6913
  },
6806
6914
  getAsteroidBeltInfo: {
6807
6915
  path: "universe/asteroid_belts/{asteroidBeltId}",
@@ -6814,13 +6922,13 @@ var universeEndpoints = {
6814
6922
  path: "universe/bloodlines",
6815
6923
  method: "GET",
6816
6924
  requiresAuth: false,
6817
- responseSchema: z50.array(BloodlineSchema)
6925
+ responseSchema: z52.array(BloodlineSchema)
6818
6926
  },
6819
6927
  getCategories: {
6820
6928
  path: "universe/categories",
6821
6929
  method: "GET",
6822
6930
  requiresAuth: false,
6823
- responseSchema: z50.array(z50.number())
6931
+ responseSchema: z52.array(z52.number())
6824
6932
  },
6825
6933
  getCategoryById: {
6826
6934
  path: "universe/categories/{categoryId}",
@@ -6833,7 +6941,7 @@ var universeEndpoints = {
6833
6941
  path: "universe/constellations",
6834
6942
  method: "GET",
6835
6943
  requiresAuth: false,
6836
- responseSchema: z50.array(z50.number())
6944
+ responseSchema: z52.array(z52.number())
6837
6945
  },
6838
6946
  getConstellationById: {
6839
6947
  path: "universe/constellations/{constellationId}",
@@ -6846,13 +6954,13 @@ var universeEndpoints = {
6846
6954
  path: "universe/factions",
6847
6955
  method: "GET",
6848
6956
  requiresAuth: false,
6849
- responseSchema: z50.array(FactionSchema)
6957
+ responseSchema: z52.array(FactionSchema)
6850
6958
  },
6851
6959
  getGraphics: {
6852
6960
  path: "universe/graphics",
6853
6961
  method: "GET",
6854
6962
  requiresAuth: false,
6855
- responseSchema: z50.array(z50.number())
6963
+ responseSchema: z52.array(z52.number())
6856
6964
  },
6857
6965
  getGraphicById: {
6858
6966
  path: "universe/graphics/{graphicId}",
@@ -6865,7 +6973,7 @@ var universeEndpoints = {
6865
6973
  path: "universe/groups",
6866
6974
  method: "GET",
6867
6975
  requiresAuth: false,
6868
- responseSchema: z50.array(z50.number())
6976
+ responseSchema: z52.array(z52.number())
6869
6977
  },
6870
6978
  getItemGroupById: {
6871
6979
  path: "universe/groups/{groupId}",
@@ -6880,7 +6988,7 @@ var universeEndpoints = {
6880
6988
  requiresAuth: false,
6881
6989
  bodyBuilder: (names) => names,
6882
6990
  responseSchema: BulkIdResultSchema,
6883
- requestSchema: z50.array(z50.string().min(1))
6991
+ requestSchema: z52.array(z52.string().min(1))
6884
6992
  },
6885
6993
  getMoonById: {
6886
6994
  path: "universe/moons/{moonId}",
@@ -6894,8 +7002,8 @@ var universeEndpoints = {
6894
7002
  method: "POST",
6895
7003
  requiresAuth: false,
6896
7004
  bodyBuilder: (ids) => ids,
6897
- responseSchema: z50.array(NameAndCategorySchema),
6898
- requestSchema: z50.array(z50.number().int())
7005
+ responseSchema: z52.array(NameAndCategorySchema),
7006
+ requestSchema: z52.array(z52.number().int())
6899
7007
  },
6900
7008
  getPlanetById: {
6901
7009
  path: "universe/planets/{planetId}",
@@ -6908,13 +7016,13 @@ var universeEndpoints = {
6908
7016
  path: "universe/races",
6909
7017
  method: "GET",
6910
7018
  requiresAuth: false,
6911
- responseSchema: z50.array(RaceSchema)
7019
+ responseSchema: z52.array(RaceSchema)
6912
7020
  },
6913
7021
  getRegions: {
6914
7022
  path: "universe/regions",
6915
7023
  method: "GET",
6916
7024
  requiresAuth: false,
6917
- responseSchema: z50.array(z50.number())
7025
+ responseSchema: z52.array(z52.number())
6918
7026
  },
6919
7027
  getRegionById: {
6920
7028
  path: "universe/regions/{regionId}",
@@ -6955,7 +7063,7 @@ var universeEndpoints = {
6955
7063
  path: "universe/structures",
6956
7064
  method: "GET",
6957
7065
  requiresAuth: false,
6958
- responseSchema: z50.array(z50.number())
7066
+ responseSchema: z52.array(z52.number())
6959
7067
  },
6960
7068
  getStructureById: {
6961
7069
  path: "universe/structures/{structureId}",
@@ -6968,19 +7076,19 @@ var universeEndpoints = {
6968
7076
  path: "universe/system_jumps",
6969
7077
  method: "GET",
6970
7078
  requiresAuth: false,
6971
- responseSchema: z50.array(SystemJumpSchema)
7079
+ responseSchema: z52.array(SystemJumpSchema)
6972
7080
  },
6973
7081
  getSystemKills: {
6974
7082
  path: "universe/system_kills",
6975
7083
  method: "GET",
6976
7084
  requiresAuth: false,
6977
- responseSchema: z50.array(SystemKillSchema)
7085
+ responseSchema: z52.array(SystemKillSchema)
6978
7086
  },
6979
7087
  getSystems: {
6980
7088
  path: "universe/systems",
6981
7089
  method: "GET",
6982
7090
  requiresAuth: false,
6983
- responseSchema: z50.array(z50.number())
7091
+ responseSchema: z52.array(z52.number())
6984
7092
  },
6985
7093
  getSystemById: {
6986
7094
  path: "universe/systems/{systemId}",
@@ -6993,7 +7101,7 @@ var universeEndpoints = {
6993
7101
  path: "universe/types",
6994
7102
  method: "GET",
6995
7103
  requiresAuth: false,
6996
- responseSchema: z50.array(z50.number())
7104
+ responseSchema: z52.array(z52.number())
6997
7105
  },
6998
7106
  getTypeById: {
6999
7107
  path: "universe/types/{typeId}",
@@ -7282,36 +7390,36 @@ var UniverseClient = class extends BaseEsiClient {
7282
7390
  };
7283
7391
 
7284
7392
  // src/core/endpoints/walletEndpoints.ts
7285
- import { z as z52 } from "zod";
7393
+ import { z as z54 } from "zod";
7286
7394
 
7287
7395
  // src/schemas/wallet.ts
7288
- import { z as z51 } from "zod";
7289
- var WalletTransactionSchema = z51.looseObject({
7290
- transaction_id: z51.number(),
7291
- date: z51.string(),
7292
- type_id: z51.number(),
7293
- location_id: z51.number(),
7294
- unit_price: z51.number(),
7295
- quantity: z51.number(),
7296
- client_id: z51.number(),
7297
- is_buy: z51.boolean(),
7298
- is_personal: z51.boolean(),
7299
- journal_ref_id: z51.number()
7300
- });
7301
- var WalletJournalSchema = z51.looseObject({
7302
- id: z51.number(),
7303
- date: z51.string(),
7304
- ref_type: z51.string(),
7305
- first_party_id: z51.number().optional(),
7306
- second_party_id: z51.number().optional(),
7307
- amount: z51.number().optional(),
7308
- balance: z51.number().optional(),
7309
- reason: z51.string().optional(),
7310
- description: z51.string(),
7311
- context_id: z51.number().optional(),
7312
- context_id_type: z51.string().optional(),
7313
- tax: z51.number().optional(),
7314
- tax_receiver_id: z51.number().optional()
7396
+ import { z as z53 } from "zod";
7397
+ var WalletTransactionSchema = z53.looseObject({
7398
+ transaction_id: z53.number(),
7399
+ date: z53.string(),
7400
+ type_id: z53.number(),
7401
+ location_id: z53.number(),
7402
+ unit_price: z53.number(),
7403
+ quantity: z53.number(),
7404
+ client_id: z53.number(),
7405
+ is_buy: z53.boolean(),
7406
+ is_personal: z53.boolean(),
7407
+ journal_ref_id: z53.number()
7408
+ });
7409
+ var WalletJournalSchema = z53.looseObject({
7410
+ id: z53.number(),
7411
+ date: z53.string(),
7412
+ ref_type: z53.string(),
7413
+ first_party_id: z53.number().optional(),
7414
+ second_party_id: z53.number().optional(),
7415
+ amount: z53.number().optional(),
7416
+ balance: z53.number().optional(),
7417
+ reason: z53.string().optional(),
7418
+ description: z53.string(),
7419
+ context_id: z53.number().optional(),
7420
+ context_id_type: z53.string().optional(),
7421
+ tax: z53.number().optional(),
7422
+ tax_receiver_id: z53.number().optional()
7315
7423
  });
7316
7424
 
7317
7425
  // src/core/endpoints/walletEndpoints.ts
@@ -7321,42 +7429,42 @@ var walletEndpoints = {
7321
7429
  method: "GET",
7322
7430
  requiresAuth: true,
7323
7431
  pathParams: ["characterId"],
7324
- responseSchema: z52.number()
7432
+ responseSchema: z54.number()
7325
7433
  },
7326
7434
  getCharacterWalletJournal: {
7327
7435
  path: "characters/{characterId}/wallet/journal",
7328
7436
  method: "GET",
7329
7437
  requiresAuth: true,
7330
7438
  pathParams: ["characterId"],
7331
- responseSchema: z52.array(WalletJournalSchema)
7439
+ responseSchema: z54.array(WalletJournalSchema)
7332
7440
  },
7333
7441
  getCharacterWalletTransactions: {
7334
7442
  path: "characters/{characterId}/wallet/transactions",
7335
7443
  method: "GET",
7336
7444
  requiresAuth: true,
7337
7445
  pathParams: ["characterId"],
7338
- responseSchema: z52.array(WalletTransactionSchema)
7446
+ responseSchema: z54.array(WalletTransactionSchema)
7339
7447
  },
7340
7448
  getCorporationWallets: {
7341
7449
  path: "corporations/{corporationId}/wallets",
7342
7450
  method: "GET",
7343
7451
  requiresAuth: true,
7344
7452
  pathParams: ["corporationId"],
7345
- responseSchema: z52.array(CorporationWalletDivisionSchema)
7453
+ responseSchema: z54.array(CorporationWalletDivisionSchema)
7346
7454
  },
7347
7455
  getCorporationWalletJournal: {
7348
7456
  path: "corporations/{corporationId}/wallets/{division}/journal",
7349
7457
  method: "GET",
7350
7458
  requiresAuth: true,
7351
7459
  pathParams: ["corporationId", "division"],
7352
- responseSchema: z52.array(WalletJournalSchema)
7460
+ responseSchema: z54.array(WalletJournalSchema)
7353
7461
  },
7354
7462
  getCorporationWalletTransactions: {
7355
7463
  path: "corporations/{corporationId}/wallets/{division}/transactions",
7356
7464
  method: "GET",
7357
7465
  requiresAuth: true,
7358
7466
  pathParams: ["corporationId", "division"],
7359
- responseSchema: z52.array(WalletTransactionSchema)
7467
+ responseSchema: z54.array(WalletTransactionSchema)
7360
7468
  }
7361
7469
  };
7362
7470
 
@@ -7456,34 +7564,34 @@ var WalletClient = class extends BaseEsiClient {
7456
7564
  };
7457
7565
 
7458
7566
  // src/core/endpoints/warEndpoints.ts
7459
- import { z as z54 } from "zod";
7567
+ import { z as z56 } from "zod";
7460
7568
 
7461
7569
  // src/schemas/wars.ts
7462
- import { z as z53 } from "zod";
7463
- var WarSchema = z53.looseObject({
7464
- id: z53.number(),
7465
- declared: z53.string(),
7466
- started: z53.string().optional(),
7467
- finished: z53.string().optional(),
7468
- retracted: z53.string().optional(),
7469
- mutual: z53.boolean(),
7470
- open_for_allies: z53.boolean(),
7471
- aggressor: z53.looseObject({
7472
- corporation_id: z53.number().optional(),
7473
- alliance_id: z53.number().optional(),
7474
- isk_destroyed: z53.number(),
7475
- ships_killed: z53.number()
7570
+ import { z as z55 } from "zod";
7571
+ var WarSchema = z55.looseObject({
7572
+ id: z55.number(),
7573
+ declared: z55.string(),
7574
+ started: z55.string().optional(),
7575
+ finished: z55.string().optional(),
7576
+ retracted: z55.string().optional(),
7577
+ mutual: z55.boolean(),
7578
+ open_for_allies: z55.boolean(),
7579
+ aggressor: z55.looseObject({
7580
+ corporation_id: z55.number().optional(),
7581
+ alliance_id: z55.number().optional(),
7582
+ isk_destroyed: z55.number(),
7583
+ ships_killed: z55.number()
7476
7584
  }),
7477
- defender: z53.looseObject({
7478
- corporation_id: z53.number().optional(),
7479
- alliance_id: z53.number().optional(),
7480
- isk_destroyed: z53.number(),
7481
- ships_killed: z53.number()
7585
+ defender: z55.looseObject({
7586
+ corporation_id: z55.number().optional(),
7587
+ alliance_id: z55.number().optional(),
7588
+ isk_destroyed: z55.number(),
7589
+ ships_killed: z55.number()
7482
7590
  }),
7483
- allies: z53.array(
7484
- z53.looseObject({
7485
- corporation_id: z53.number().optional(),
7486
- alliance_id: z53.number().optional()
7591
+ allies: z55.array(
7592
+ z55.looseObject({
7593
+ corporation_id: z55.number().optional(),
7594
+ alliance_id: z55.number().optional()
7487
7595
  })
7488
7596
  ).optional()
7489
7597
  });
@@ -7494,7 +7602,7 @@ var warEndpoints = {
7494
7602
  path: "wars",
7495
7603
  method: "GET",
7496
7604
  requiresAuth: false,
7497
- responseSchema: z54.array(z54.number())
7605
+ responseSchema: z56.array(z56.number())
7498
7606
  },
7499
7607
  getWarById: {
7500
7608
  path: "wars/{warId}",
@@ -7508,7 +7616,7 @@ var warEndpoints = {
7508
7616
  method: "GET",
7509
7617
  requiresAuth: false,
7510
7618
  pathParams: ["warId"],
7511
- responseSchema: z54.array(KillmailSummarySchema)
7619
+ responseSchema: z56.array(KillmailSummarySchema)
7512
7620
  }
7513
7621
  };
7514
7622
 
@@ -7552,13 +7660,62 @@ var WarsClient = class extends BaseEsiClient {
7552
7660
  };
7553
7661
 
7554
7662
  // src/core/endpoints/metaEndpoints.ts
7555
- import { z as z55 } from "zod";
7663
+ import { z as z58 } from "zod";
7664
+
7665
+ // src/schemas/meta.ts
7666
+ import { z as z57 } from "zod";
7667
+ var MetaChangelogEntrySchema = z57.looseObject({
7668
+ method: z57.string(),
7669
+ path: z57.string(),
7670
+ compatibility_date: z57.string(),
7671
+ is_breaking: z57.boolean(),
7672
+ description: z57.string()
7673
+ });
7674
+ var MetaChangelogSchema = z57.record(
7675
+ z57.string(),
7676
+ z57.array(MetaChangelogEntrySchema)
7677
+ );
7678
+ var MetaCompatibilityDatesSchema = z57.looseObject({
7679
+ compatibility_dates: z57.array(z57.string())
7680
+ });
7681
+ var MetaNameSchema = z57.looseObject({
7682
+ name: z57.string()
7683
+ });
7684
+ var MetaStatusSchema = z57.looseObject({
7685
+ status: z57.string()
7686
+ });
7687
+
7688
+ // src/core/endpoints/metaEndpoints.ts
7556
7689
  var metaEndpoints = {
7557
7690
  getOpenApiJson: {
7558
7691
  path: "meta/openapi.json",
7559
7692
  method: "GET",
7560
7693
  requiresAuth: false,
7561
- responseSchema: z55.record(z55.string(), z55.unknown())
7694
+ responseSchema: z58.record(z58.string(), z58.unknown())
7695
+ },
7696
+ getChangelog: {
7697
+ path: "meta/changelog",
7698
+ method: "GET",
7699
+ requiresAuth: false,
7700
+ responseSchema: MetaChangelogSchema
7701
+ },
7702
+ getCompatibilityDates: {
7703
+ path: "meta/compatibility-dates",
7704
+ method: "GET",
7705
+ requiresAuth: false,
7706
+ responseSchema: MetaCompatibilityDatesSchema
7707
+ },
7708
+ getName: {
7709
+ path: "meta/name",
7710
+ method: "GET",
7711
+ requiresAuth: false,
7712
+ responseSchema: MetaNameSchema
7713
+ },
7714
+ getStatus: {
7715
+ path: "meta/status",
7716
+ method: "GET",
7717
+ requiresAuth: false,
7718
+ responseSchema: MetaStatusSchema
7562
7719
  }
7563
7720
  };
7564
7721
 
@@ -7608,105 +7765,137 @@ var MetaClient = class extends BaseEsiClient {
7608
7765
  }
7609
7766
  }
7610
7767
  }
7768
+ /**
7769
+ * Retrieves the ESI changelog data.
7770
+ *
7771
+ * @returns The changelog keyed by compatibility date
7772
+ */
7773
+ getChangelog() {
7774
+ return this.api.getChangelog();
7775
+ }
7776
+ /**
7777
+ * Retrieves the list of ESI compatibility dates.
7778
+ *
7779
+ * @returns An object containing the list of compatibility dates
7780
+ */
7781
+ getCompatibilityDates() {
7782
+ return this.api.getCompatibilityDates();
7783
+ }
7784
+ /**
7785
+ * Retrieves the ESI name.
7786
+ *
7787
+ * @returns An object containing the ESI name
7788
+ */
7789
+ getName() {
7790
+ return this.api.getName();
7791
+ }
7792
+ /**
7793
+ * Retrieves the ESI status.
7794
+ *
7795
+ * @returns An object containing the ESI status
7796
+ */
7797
+ getStatus() {
7798
+ return this.api.getStatus();
7799
+ }
7611
7800
  };
7612
7801
 
7613
7802
  // src/core/endpoints/freelanceJobsEndpoints.ts
7614
- import { z as z57 } from "zod";
7803
+ import { z as z60 } from "zod";
7615
7804
 
7616
7805
  // src/schemas/freelance-jobs.ts
7617
- import { z as z56 } from "zod";
7618
- var EsiCursorSchema = z56.looseObject({
7619
- before: z56.string().nullable(),
7620
- after: z56.string().nullable()
7621
- });
7622
- var FreelanceJobSummarySchema = z56.looseObject({
7623
- id: z56.string(),
7624
- name: z56.string(),
7625
- state: z56.string(),
7626
- last_modified: z56.string(),
7627
- progress: z56.looseObject({
7628
- current: z56.number(),
7629
- desired: z56.number()
7806
+ import { z as z59 } from "zod";
7807
+ var EsiCursorSchema = z59.looseObject({
7808
+ before: z59.string().nullable(),
7809
+ after: z59.string().nullable()
7810
+ });
7811
+ var FreelanceJobSummarySchema = z59.looseObject({
7812
+ id: z59.string(),
7813
+ name: z59.string(),
7814
+ state: z59.string(),
7815
+ last_modified: z59.string(),
7816
+ progress: z59.looseObject({
7817
+ current: z59.number(),
7818
+ desired: z59.number()
7630
7819
  }),
7631
- reward: z56.looseObject({
7632
- initial: z56.number(),
7633
- remaining: z56.number()
7820
+ reward: z59.looseObject({
7821
+ initial: z59.number(),
7822
+ remaining: z59.number()
7634
7823
  }).optional()
7635
7824
  });
7636
- var FreelanceJobsListingSchema = z56.looseObject({
7825
+ var FreelanceJobsListingSchema = z59.looseObject({
7637
7826
  cursor: EsiCursorSchema.optional(),
7638
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7639
- });
7640
- var FreelanceJobDetailSchema = z56.looseObject({
7641
- id: z56.string(),
7642
- name: z56.string(),
7643
- state: z56.string(),
7644
- last_modified: z56.string(),
7645
- progress: z56.looseObject({
7646
- current: z56.number(),
7647
- desired: z56.number()
7827
+ freelance_jobs: z59.array(FreelanceJobSummarySchema)
7828
+ });
7829
+ var FreelanceJobDetailSchema = z59.looseObject({
7830
+ id: z59.string(),
7831
+ name: z59.string(),
7832
+ state: z59.string(),
7833
+ last_modified: z59.string(),
7834
+ progress: z59.looseObject({
7835
+ current: z59.number(),
7836
+ desired: z59.number()
7648
7837
  }),
7649
- reward: z56.looseObject({
7650
- initial: z56.number(),
7651
- remaining: z56.number()
7838
+ reward: z59.looseObject({
7839
+ initial: z59.number(),
7840
+ remaining: z59.number()
7652
7841
  }).optional(),
7653
- details: z56.looseObject({
7654
- description: z56.string(),
7655
- career: z56.string(),
7656
- created: z56.string(),
7657
- expires: z56.string(),
7658
- creator: z56.looseObject({
7659
- character: z56.looseObject({
7660
- id: z56.number(),
7661
- name: z56.string()
7842
+ details: z59.looseObject({
7843
+ description: z59.string(),
7844
+ career: z59.string(),
7845
+ created: z59.string(),
7846
+ expires: z59.string(),
7847
+ creator: z59.looseObject({
7848
+ character: z59.looseObject({
7849
+ id: z59.number(),
7850
+ name: z59.string()
7662
7851
  }),
7663
- corporation: z56.looseObject({
7664
- id: z56.number(),
7665
- name: z56.string()
7852
+ corporation: z59.looseObject({
7853
+ id: z59.number(),
7854
+ name: z59.string()
7666
7855
  })
7667
7856
  })
7668
7857
  }),
7669
- configuration: z56.looseObject({
7670
- version: z56.number(),
7671
- parameters: z56.record(z56.string(), z56.unknown()),
7672
- method: z56.string()
7858
+ configuration: z59.looseObject({
7859
+ version: z59.number(),
7860
+ parameters: z59.record(z59.string(), z59.unknown()),
7861
+ method: z59.string()
7673
7862
  }),
7674
- contribution: z56.looseObject({
7675
- max_committed_participants: z56.number(),
7676
- reward_per_contribution: z56.number().optional(),
7677
- submission_multiplier: z56.number().optional()
7863
+ contribution: z59.looseObject({
7864
+ max_committed_participants: z59.number(),
7865
+ reward_per_contribution: z59.number().optional(),
7866
+ submission_multiplier: z59.number().optional()
7678
7867
  }),
7679
- access_and_visibility: z56.looseObject({
7680
- acl_protected: z56.boolean(),
7681
- broadcast_locations: z56.array(
7682
- z56.looseObject({
7683
- id: z56.number(),
7684
- name: z56.string()
7868
+ access_and_visibility: z59.looseObject({
7869
+ acl_protected: z59.boolean(),
7870
+ broadcast_locations: z59.array(
7871
+ z59.looseObject({
7872
+ id: z59.number(),
7873
+ name: z59.string()
7685
7874
  })
7686
7875
  )
7687
7876
  })
7688
7877
  });
7689
- var CharacterFreelanceJobsListingSchema = z56.looseObject({
7878
+ var CharacterFreelanceJobsListingSchema = z59.looseObject({
7690
7879
  cursor: EsiCursorSchema.optional(),
7691
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7880
+ freelance_jobs: z59.array(FreelanceJobSummarySchema)
7692
7881
  });
7693
- var FreelanceJobParticipationSchema = z56.looseObject({
7694
- job_id: z56.string(),
7695
- character_id: z56.number(),
7696
- status: z56.string(),
7697
- contributions: z56.number(),
7698
- last_contribution: z56.string().optional()
7882
+ var FreelanceJobParticipationSchema = z59.looseObject({
7883
+ job_id: z59.string(),
7884
+ character_id: z59.number(),
7885
+ status: z59.string(),
7886
+ contributions: z59.number(),
7887
+ last_contribution: z59.string().optional()
7699
7888
  });
7700
- var CorporationFreelanceJobsListingSchema = z56.looseObject({
7889
+ var CorporationFreelanceJobsListingSchema = z59.looseObject({
7701
7890
  cursor: EsiCursorSchema.optional(),
7702
- freelance_jobs: z56.array(FreelanceJobSummarySchema)
7891
+ freelance_jobs: z59.array(FreelanceJobSummarySchema)
7703
7892
  });
7704
- var FreelanceJobParticipantSchema = z56.looseObject({
7705
- character_id: z56.number(),
7706
- corporation_id: z56.number(),
7707
- status: z56.string(),
7708
- contributions: z56.number(),
7709
- last_contribution: z56.string().optional()
7893
+ var FreelanceJobParticipantSchema = z59.looseObject({
7894
+ character_id: z59.number(),
7895
+ corporation_id: z59.number(),
7896
+ status: z59.string(),
7897
+ contributions: z59.number(),
7898
+ last_contribution: z59.string().optional()
7710
7899
  });
7711
7900
 
7712
7901
  // src/core/endpoints/freelanceJobsEndpoints.ts
@@ -7753,7 +7942,7 @@ var freelanceJobsEndpoints = {
7753
7942
  method: "GET",
7754
7943
  requiresAuth: true,
7755
7944
  pathParams: ["corporationId", "jobId"],
7756
- responseSchema: z57.array(FreelanceJobParticipantSchema)
7945
+ responseSchema: z60.array(FreelanceJobParticipantSchema)
7757
7946
  }
7758
7947
  };
7759
7948
 
@@ -7847,56 +8036,58 @@ var FreelanceJobsClient = class extends BaseEsiClient {
7847
8036
  };
7848
8037
 
7849
8038
  // src/core/endpoints/skyhookEndpoints.ts
7850
- import { z as z59 } from "zod";
8039
+ import { z as z62 } from "zod";
7851
8040
 
7852
8041
  // src/schemas/skyhooks.ts
7853
- import { z as z58 } from "zod";
7854
- var SovereigntyHubSchema2 = z58.looseObject({
7855
- structure_id: z58.number(),
7856
- system_id: z58.number(),
7857
- corporation_id: z58.number(),
7858
- alliance_id: z58.number().optional(),
7859
- online: z58.boolean(),
7860
- remaining_reagents: z58.number().optional(),
7861
- installed_upgrades: z58.array(z58.number()).optional()
7862
- });
7863
- var OrbitalSkyhookSchema = z58.looseObject({
7864
- structure_id: z58.number(),
7865
- system_id: z58.number(),
7866
- corporation_id: z58.number(),
7867
- alliance_id: z58.number().optional(),
7868
- online: z58.boolean(),
7869
- reagent_silo_capacity: z58.number().optional(),
7870
- reagent_silo_level: z58.number().optional()
7871
- });
7872
- var RaidableSkyhookSchema = z58.looseObject({
7873
- structure_id: z58.number(),
7874
- system_id: z58.number(),
7875
- corporation_id: z58.number(),
7876
- alliance_id: z58.number().optional(),
7877
- raidable_at: z58.string().optional(),
7878
- is_raidable: z58.boolean()
8042
+ import { z as z61 } from "zod";
8043
+ var SovereigntyHubSchema2 = z61.looseObject({
8044
+ structure_id: z61.number(),
8045
+ system_id: z61.number(),
8046
+ corporation_id: z61.number(),
8047
+ alliance_id: z61.number().optional(),
8048
+ online: z61.boolean(),
8049
+ remaining_reagents: z61.number().optional(),
8050
+ installed_upgrades: z61.array(z61.number()).optional()
8051
+ });
8052
+ var OrbitalSkyhookSchema = z61.looseObject({
8053
+ structure_id: z61.number(),
8054
+ system_id: z61.number(),
8055
+ corporation_id: z61.number(),
8056
+ alliance_id: z61.number().optional(),
8057
+ online: z61.boolean(),
8058
+ reagent_silo_capacity: z61.number().optional(),
8059
+ reagent_silo_level: z61.number().optional()
8060
+ });
8061
+ var RaidableSkyhookSchema = z61.looseObject({
8062
+ structure_id: z61.number(),
8063
+ system_id: z61.number(),
8064
+ corporation_id: z61.number(),
8065
+ alliance_id: z61.number().optional(),
8066
+ raidable_at: z61.string().optional(),
8067
+ is_raidable: z61.boolean()
7879
8068
  });
7880
8069
 
7881
8070
  // src/core/endpoints/skyhookEndpoints.ts
7882
8071
  var skyhookEndpoints = {
7883
8072
  getSovereigntyHubs: {
7884
- path: "sovereignty/hubs",
8073
+ path: "corporations/{corporationId}/structures/sovereignty-hubs",
7885
8074
  method: "GET",
7886
- requiresAuth: false,
7887
- responseSchema: z59.array(SovereigntyHubSchema2)
8075
+ requiresAuth: true,
8076
+ pathParams: ["corporationId"],
8077
+ responseSchema: z62.array(SovereigntyHubSchema2)
7888
8078
  },
7889
8079
  getOrbitalSkyhooks: {
7890
- path: "sovereignty/skyhooks",
8080
+ path: "corporations/{corporationId}/structures/skyhooks",
7891
8081
  method: "GET",
7892
- requiresAuth: false,
7893
- responseSchema: z59.array(OrbitalSkyhookSchema)
8082
+ requiresAuth: true,
8083
+ pathParams: ["corporationId"],
8084
+ responseSchema: z62.array(OrbitalSkyhookSchema)
7894
8085
  },
7895
8086
  getRaidableSkyhooks: {
7896
- path: "sovereignty/skyhooks/raidable",
8087
+ path: "skyhooks/raidable",
7897
8088
  method: "GET",
7898
8089
  requiresAuth: false,
7899
- responseSchema: z59.array(RaidableSkyhookSchema)
8090
+ responseSchema: z62.array(RaidableSkyhookSchema)
7900
8091
  }
7901
8092
  };
7902
8093
 
@@ -7908,18 +8099,22 @@ var SkyhooksClient = class extends BaseEsiClient {
7908
8099
  /**
7909
8100
  * Retrieves all sovereignty hubs exposed as Upwell structures, including online status and installed upgrades.
7910
8101
  *
8102
+ * @param corporationId - The ID of the corporation to query sovereignty hubs for
7911
8103
  * @returns A list of sovereignty hubs
8104
+ * @requires Authentication
7912
8105
  */
7913
- getSovereigntyHubs() {
7914
- return this.api.getSovereigntyHubs();
8106
+ getSovereigntyHubs(corporationId) {
8107
+ return this.api.getSovereigntyHubs(corporationId);
7915
8108
  }
7916
8109
  /**
7917
8110
  * Retrieves all orbital skyhooks with their silo capacity and levels.
7918
8111
  *
8112
+ * @param corporationId - The ID of the corporation to query skyhooks for
7919
8113
  * @returns A list of orbital skyhooks
8114
+ * @requires Authentication
7920
8115
  */
7921
- getOrbitalSkyhooks() {
7922
- return this.api.getOrbitalSkyhooks();
8116
+ getOrbitalSkyhooks(corporationId) {
8117
+ return this.api.getOrbitalSkyhooks(corporationId);
7923
8118
  }
7924
8119
  /**
7925
8120
  * Retrieves the rolling list of skyhooks that are currently or becoming raidable across New Eden.
@@ -7932,42 +8127,44 @@ var SkyhooksClient = class extends BaseEsiClient {
7932
8127
  };
7933
8128
 
7934
8129
  // src/core/endpoints/mercenaryEndpoints.ts
7935
- import { z as z61 } from "zod";
8130
+ import { z as z64 } from "zod";
7936
8131
 
7937
8132
  // src/schemas/mercenary.ts
7938
- import { z as z60 } from "zod";
7939
- var MercenaryDenSchema = z60.looseObject({
7940
- den_id: z60.number(),
7941
- system_id: z60.number(),
7942
- constellation_id: z60.number(),
7943
- region_id: z60.number(),
7944
- development_level: z60.number().optional(),
7945
- anarchy_level: z60.number().optional(),
7946
- active_operations: z60.number().optional()
7947
- });
7948
- var MercenaryTacticalOperationSchema = z60.looseObject({
7949
- operation_id: z60.number(),
7950
- den_id: z60.number(),
7951
- system_id: z60.number(),
7952
- site_type: z60.string(),
7953
- status: z60.enum(["spawning", "active", "completed", "expired"]),
7954
- started_at: z60.string().optional(),
7955
- expires_at: z60.string().optional()
8133
+ import { z as z63 } from "zod";
8134
+ var MercenaryDenSchema = z63.looseObject({
8135
+ den_id: z63.number(),
8136
+ system_id: z63.number(),
8137
+ constellation_id: z63.number(),
8138
+ region_id: z63.number(),
8139
+ development_level: z63.number().optional(),
8140
+ anarchy_level: z63.number().optional(),
8141
+ active_operations: z63.number().optional()
8142
+ });
8143
+ var MercenaryTacticalOperationSchema = z63.looseObject({
8144
+ operation_id: z63.number(),
8145
+ den_id: z63.number(),
8146
+ system_id: z63.number(),
8147
+ site_type: z63.string(),
8148
+ status: z63.enum(["spawning", "active", "completed", "expired"]),
8149
+ started_at: z63.string().optional(),
8150
+ expires_at: z63.string().optional()
7956
8151
  });
7957
8152
 
7958
8153
  // src/core/endpoints/mercenaryEndpoints.ts
7959
8154
  var mercenaryEndpoints = {
7960
8155
  getMercenaryDens: {
7961
- path: "mercenary/dens",
8156
+ path: "characters/{characterId}/structures/mercenary-dens",
7962
8157
  method: "GET",
7963
- requiresAuth: false,
7964
- responseSchema: z61.array(MercenaryDenSchema)
8158
+ requiresAuth: true,
8159
+ pathParams: ["characterId"],
8160
+ responseSchema: z64.array(MercenaryDenSchema)
7965
8161
  },
7966
8162
  getMercenaryTacticalOperations: {
7967
- path: "mercenary/operations",
8163
+ path: "characters/{characterId}/mercenary-tactical-operations",
7968
8164
  method: "GET",
7969
- requiresAuth: false,
7970
- responseSchema: z61.array(MercenaryTacticalOperationSchema)
8165
+ requiresAuth: true,
8166
+ pathParams: ["characterId"],
8167
+ responseSchema: z64.array(MercenaryTacticalOperationSchema)
7971
8168
  }
7972
8169
  };
7973
8170
 
@@ -7979,42 +8176,56 @@ var MercenaryClient = class extends BaseEsiClient {
7979
8176
  /**
7980
8177
  * Retrieves all mercenary dens with their development and anarchy parameters.
7981
8178
  *
8179
+ * @param characterId - The ID of the character to query mercenary dens for
7982
8180
  * @returns A list of mercenary dens
8181
+ * @requires Authentication
7983
8182
  */
7984
- getMercenaryDens() {
7985
- return this.api.getMercenaryDens();
8183
+ getMercenaryDens(characterId) {
8184
+ return this.api.getMercenaryDens(characterId);
7986
8185
  }
7987
8186
  /**
7988
8187
  * Retrieves all mercenary tactical operations (MTOs) spawned from mercenary dens.
7989
8188
  *
8189
+ * @param characterId - The ID of the character to query tactical operations for
7990
8190
  * @returns A list of mercenary tactical operations
8191
+ * @requires Authentication
7991
8192
  */
7992
- getMercenaryTacticalOperations() {
7993
- return this.api.getMercenaryTacticalOperations();
8193
+ getMercenaryTacticalOperations(characterId) {
8194
+ return this.api.getMercenaryTacticalOperations(characterId);
7994
8195
  }
7995
8196
  };
7996
8197
 
8198
+ // src/core/endpoints/accessListEndpoints.ts
8199
+ import { z as z66 } from "zod";
8200
+
7997
8201
  // src/schemas/access-lists.ts
7998
- import { z as z62 } from "zod";
7999
- var AccessListEntrySchema = z62.looseObject({
8000
- entity_id: z62.number(),
8001
- entity_type: z62.enum(["character", "corporation", "alliance"]),
8002
- access_type: z62.enum(["allowed", "blocked"])
8202
+ import { z as z65 } from "zod";
8203
+ var AccessListEntrySchema = z65.looseObject({
8204
+ entity_id: z65.number(),
8205
+ entity_type: z65.enum(["character", "corporation", "alliance"]),
8206
+ access_type: z65.enum(["allowed", "blocked"])
8003
8207
  });
8004
- var AccessListSchema = z62.looseObject({
8005
- access_list_id: z62.number(),
8006
- name: z62.string(),
8007
- entries: z62.array(AccessListEntrySchema)
8208
+ var AccessListSchema = z65.looseObject({
8209
+ access_list_id: z65.number(),
8210
+ name: z65.string(),
8211
+ entries: z65.array(AccessListEntrySchema)
8008
8212
  });
8009
8213
 
8010
8214
  // src/core/endpoints/accessListEndpoints.ts
8011
8215
  var accessListEndpoints = {
8012
8216
  getAccessList: {
8013
- path: "access-lists/{accessListId}",
8217
+ path: "characters/{characterId}/access-lists/{accessListId}",
8014
8218
  method: "GET",
8015
8219
  requiresAuth: true,
8016
- pathParams: ["accessListId"],
8220
+ pathParams: ["characterId", "accessListId"],
8017
8221
  responseSchema: AccessListSchema
8222
+ },
8223
+ getCharacterAccessLists: {
8224
+ path: "characters/{characterId}/access-lists",
8225
+ method: "GET",
8226
+ requiresAuth: true,
8227
+ pathParams: ["characterId"],
8228
+ responseSchema: z66.array(AccessListSchema)
8018
8229
  }
8019
8230
  };
8020
8231
 
@@ -8026,11 +8237,165 @@ var AccessListsClient = class extends BaseEsiClient {
8026
8237
  /**
8027
8238
  * Retrieves the contents of an access list (ACL) including all character, corporation, and alliance entries.
8028
8239
  *
8240
+ * @param characterId - The ID of the character who owns the access list
8029
8241
  * @param accessListId - The ID of the access list to retrieve
8030
8242
  * @returns The access list with its entries
8243
+ * @requires Authentication
8031
8244
  */
8032
- getAccessList(accessListId) {
8033
- return this.api.getAccessList(accessListId);
8245
+ getAccessList(characterId, accessListId) {
8246
+ return this.api.getAccessList(characterId, accessListId);
8247
+ }
8248
+ /**
8249
+ * Retrieves all access lists for a character.
8250
+ *
8251
+ * @param characterId - The ID of the character
8252
+ * @returns An array of the character's access lists
8253
+ * @requires Authentication
8254
+ */
8255
+ getCharacterAccessLists(characterId) {
8256
+ return this.api.getCharacterAccessLists(characterId);
8257
+ }
8258
+ };
8259
+
8260
+ // src/core/endpoints/militaryCampaignEndpoints.ts
8261
+ import { z as z68 } from "zod";
8262
+
8263
+ // src/schemas/military-campaigns.ts
8264
+ import { z as z67 } from "zod";
8265
+ var MilitaryCampaignSchema = z67.looseObject({
8266
+ campaign_id: z67.string(),
8267
+ state: z67.string(),
8268
+ progress: z67.number(),
8269
+ start_time: z67.string(),
8270
+ finish_time: z67.string().optional()
8271
+ });
8272
+ var MilitaryCampaignObjectiveSchema = z67.looseObject({
8273
+ objective_id: z67.string(),
8274
+ campaign_id: z67.string(),
8275
+ state: z67.string(),
8276
+ progress: z67.number(),
8277
+ participants: z67.looseObject({
8278
+ total: z67.number(),
8279
+ committed: z67.number(),
8280
+ contributors: z67.number()
8281
+ })
8282
+ });
8283
+ var CharacterMilitaryCampaignObjectiveSchema = z67.looseObject({
8284
+ objective_id: z67.string(),
8285
+ campaign_id: z67.string(),
8286
+ committed: z67.boolean(),
8287
+ contribution: z67.number()
8288
+ });
8289
+
8290
+ // src/core/endpoints/militaryCampaignEndpoints.ts
8291
+ var militaryCampaignEndpoints = {
8292
+ getMilitaryCampaigns: {
8293
+ path: "military-campaigns",
8294
+ method: "GET",
8295
+ requiresAuth: false,
8296
+ responseSchema: z68.array(MilitaryCampaignSchema)
8297
+ },
8298
+ getMilitaryCampaign: {
8299
+ path: "military-campaigns/{campaignId}",
8300
+ method: "GET",
8301
+ requiresAuth: false,
8302
+ pathParams: ["campaignId"],
8303
+ responseSchema: MilitaryCampaignSchema
8304
+ },
8305
+ getMilitaryCampaignObjectives: {
8306
+ path: "military-campaigns/{campaignId}/objectives",
8307
+ method: "GET",
8308
+ requiresAuth: false,
8309
+ pathParams: ["campaignId"],
8310
+ responseSchema: z68.array(MilitaryCampaignObjectiveSchema)
8311
+ },
8312
+ getMilitaryCampaignObjective: {
8313
+ path: "military-campaigns/{campaignId}/objectives/{objectiveId}",
8314
+ method: "GET",
8315
+ requiresAuth: false,
8316
+ pathParams: ["campaignId", "objectiveId"],
8317
+ responseSchema: MilitaryCampaignObjectiveSchema
8318
+ },
8319
+ getCharacterMilitaryCampaignObjectives: {
8320
+ path: "characters/{characterId}/military-campaigns/objectives",
8321
+ method: "GET",
8322
+ requiresAuth: true,
8323
+ pathParams: ["characterId"],
8324
+ responseSchema: z68.array(CharacterMilitaryCampaignObjectiveSchema)
8325
+ },
8326
+ getCharacterMilitaryCampaignObjective: {
8327
+ path: "characters/{characterId}/military-campaigns/objectives/{objectiveId}",
8328
+ method: "GET",
8329
+ requiresAuth: true,
8330
+ pathParams: ["characterId", "objectiveId"],
8331
+ responseSchema: CharacterMilitaryCampaignObjectiveSchema
8332
+ }
8333
+ };
8334
+
8335
+ // src/clients/MilitaryCampaignsClient.ts
8336
+ var MilitaryCampaignsClient = class extends BaseEsiClient {
8337
+ constructor(client) {
8338
+ super(client, militaryCampaignEndpoints);
8339
+ }
8340
+ /**
8341
+ * Retrieves a list of all active, completed, and expired military campaigns.
8342
+ *
8343
+ * @returns An array of military campaigns
8344
+ */
8345
+ getMilitaryCampaigns() {
8346
+ return this.api.getMilitaryCampaigns();
8347
+ }
8348
+ /**
8349
+ * Retrieves detailed information about a specific military campaign.
8350
+ *
8351
+ * @param campaignId - The UUID of the military campaign
8352
+ * @returns Detailed information about the campaign
8353
+ */
8354
+ getMilitaryCampaign(campaignId) {
8355
+ return this.api.getMilitaryCampaign(campaignId);
8356
+ }
8357
+ /**
8358
+ * Retrieves all objectives for a specific military campaign.
8359
+ *
8360
+ * @param campaignId - The UUID of the military campaign
8361
+ * @returns An array of objectives for the campaign
8362
+ */
8363
+ getMilitaryCampaignObjectives(campaignId) {
8364
+ return this.api.getMilitaryCampaignObjectives(campaignId);
8365
+ }
8366
+ /**
8367
+ * Retrieves detailed information about a specific objective in a military campaign.
8368
+ *
8369
+ * @param campaignId - The UUID of the military campaign
8370
+ * @param objectiveId - The UUID of the objective
8371
+ * @returns Detailed information about the objective
8372
+ */
8373
+ getMilitaryCampaignObjective(campaignId, objectiveId) {
8374
+ return this.api.getMilitaryCampaignObjective(campaignId, objectiveId);
8375
+ }
8376
+ /**
8377
+ * Retrieves a character's participated objectives across military campaigns.
8378
+ *
8379
+ * @param characterId - The ID of the character
8380
+ * @returns An array of the character's campaign objective participations
8381
+ * @requires Authentication with scope esi.activity.char:read
8382
+ */
8383
+ getCharacterMilitaryCampaignObjectives(characterId) {
8384
+ return this.api.getCharacterMilitaryCampaignObjectives(characterId);
8385
+ }
8386
+ /**
8387
+ * Retrieves a character's participation details for a specific campaign objective.
8388
+ *
8389
+ * @param characterId - The ID of the character
8390
+ * @param objectiveId - The UUID of the objective
8391
+ * @returns The character's participation details for the objective
8392
+ * @requires Authentication with scope esi.activity.char:read
8393
+ */
8394
+ getCharacterMilitaryCampaignObjective(characterId, objectiveId) {
8395
+ return this.api.getCharacterMilitaryCampaignObjective(
8396
+ characterId,
8397
+ objectiveId
8398
+ );
8034
8399
  }
8035
8400
  };
8036
8401
 
@@ -8044,6 +8409,7 @@ var clientFactories = {
8044
8409
  contacts: ContactsClient,
8045
8410
  contracts: ContractsClient,
8046
8411
  corporations: CorporationsClient,
8412
+ corporationProjects: CorporationProjectsClient,
8047
8413
  dogma: DogmaClient,
8048
8414
  factions: FactionClient,
8049
8415
  fittings: FittingsClient,
@@ -8070,6 +8436,7 @@ var clientFactories = {
8070
8436
  freelanceJobs: FreelanceJobsClient,
8071
8437
  skyhooks: SkyhooksClient,
8072
8438
  mercenary: MercenaryClient,
8439
+ militaryCampaigns: MilitaryCampaignsClient,
8073
8440
  accessLists: AccessListsClient
8074
8441
  };
8075
8442
  function createClientInstance(name, apiClient) {
@@ -8984,6 +9351,9 @@ var EsiClient = class {
8984
9351
  get corporations() {
8985
9352
  return this.getClient("corporations");
8986
9353
  }
9354
+ get corporationProjects() {
9355
+ return this.getClient("corporationProjects");
9356
+ }
8987
9357
  get dogma() {
8988
9358
  return this.getClient("dogma");
8989
9359
  }
@@ -9062,6 +9432,9 @@ var EsiClient = class {
9062
9432
  get mercenary() {
9063
9433
  return this.getClient("mercenary");
9064
9434
  }
9435
+ get militaryCampaigns() {
9436
+ return this.getClient("militaryCampaigns");
9437
+ }
9065
9438
  get accessLists() {
9066
9439
  return this.getClient("accessLists");
9067
9440
  }
@@ -9632,6 +10005,7 @@ __export(schemas_exports, {
9632
10005
  CharacterLocationSchema: () => CharacterLocationSchema,
9633
10006
  CharacterMarketOrderHistorySchema: () => CharacterMarketOrderHistorySchema,
9634
10007
  CharacterMarketOrderSchema: () => CharacterMarketOrderSchema,
10008
+ CharacterMilitaryCampaignObjectiveSchema: () => CharacterMilitaryCampaignObjectiveSchema,
9635
10009
  CharacterOnlineSchema: () => CharacterOnlineSchema,
9636
10010
  CharacterPortraitSchema: () => CharacterPortraitSchema,
9637
10011
  CharacterRoleSchema: () => CharacterRoleSchema,
@@ -9663,6 +10037,9 @@ __export(schemas_exports, {
9663
10037
  CorporationMemberRoleSchema: () => CorporationMemberRoleSchema,
9664
10038
  CorporationMemberTitleSchema: () => CorporationMemberTitleSchema,
9665
10039
  CorporationMemberTrackingSchema: () => CorporationMemberTrackingSchema,
10040
+ CorporationProjectContributionSchema: () => CorporationProjectContributionSchema,
10041
+ CorporationProjectContributorSchema: () => CorporationProjectContributorSchema,
10042
+ CorporationProjectSchema: () => CorporationProjectSchema,
9666
10043
  CorporationRoleHistorySchema: () => CorporationRoleHistorySchema,
9667
10044
  CorporationShareholderSchema: () => CorporationShareholderSchema,
9668
10045
  CorporationStandingSchema: () => StandingSchema,
@@ -9717,6 +10094,13 @@ __export(schemas_exports, {
9717
10094
  MedalSchema: () => MedalSchema,
9718
10095
  MercenaryDenSchema: () => MercenaryDenSchema,
9719
10096
  MercenaryTacticalOperationSchema: () => MercenaryTacticalOperationSchema,
10097
+ MetaChangelogEntrySchema: () => MetaChangelogEntrySchema,
10098
+ MetaChangelogSchema: () => MetaChangelogSchema,
10099
+ MetaCompatibilityDatesSchema: () => MetaCompatibilityDatesSchema,
10100
+ MetaNameSchema: () => MetaNameSchema,
10101
+ MetaStatusSchema: () => MetaStatusSchema,
10102
+ MilitaryCampaignObjectiveSchema: () => MilitaryCampaignObjectiveSchema,
10103
+ MilitaryCampaignSchema: () => MilitaryCampaignSchema,
9720
10104
  MiningLedgerEntrySchema: () => MiningLedgerEntrySchema,
9721
10105
  MiningObserverEntrySchema: () => MiningObserverEntrySchema,
9722
10106
  MiningObserverSchema: () => MiningObserverSchema,
@@ -9769,6 +10153,7 @@ export {
9769
10153
  ClonesClient,
9770
10154
  ContactsClient,
9771
10155
  ContractsClient,
10156
+ CorporationProjectsClient,
9772
10157
  CorporationsClient,
9773
10158
  CustomEsiClient,
9774
10159
  DogmaClient,
@@ -9794,6 +10179,7 @@ export {
9794
10179
  MarketClient,
9795
10180
  MercenaryClient,
9796
10181
  MetaClient,
10182
+ MilitaryCampaignsClient,
9797
10183
  PiClient,
9798
10184
  RateLimiter,
9799
10185
  RequestDeduplicator,