eve-esi-types 2.0.5-beta → 2.1.2

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 (208) hide show
  1. package/README.md +28 -2
  2. package/esi-types-util.md +108 -0
  3. package/package.json +7 -11
  4. package/tsconfig.json +1 -0
  5. package/v2/extra-types.d.ts +693 -0
  6. package/v2/index.d.ts +118 -66
  7. package/v2.d.mts +58 -0
  8. package/v2.mjs +48 -24
  9. package/esi-request.mjs +0 -247
  10. package/src/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -27
  11. package/src/get_alliances_alliance_id_contacts_ok.d.ts +0 -43
  12. package/src/get_alliances_alliance_id_corporations_ok.d.ts +0 -14
  13. package/src/get_alliances_alliance_id_icons_ok.d.ts +0 -21
  14. package/src/get_alliances_alliance_id_ok.d.ts +0 -46
  15. package/src/get_alliances_ok.d.ts +0 -14
  16. package/src/get_characters_character_id_agents_research_ok.d.ts +0 -42
  17. package/src/get_characters_character_id_assets_ok.d.ts +0 -144
  18. package/src/get_characters_character_id_attributes_ok.d.ts +0 -51
  19. package/src/get_characters_character_id_blueprints_ok.d.ts +0 -133
  20. package/src/get_characters_character_id_bookmarks_folders_ok.d.ts +0 -27
  21. package/src/get_characters_character_id_bookmarks_ok.d.ts +0 -91
  22. package/src/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -32
  23. package/src/get_characters_character_id_calendar_event_id_ok.d.ts +0 -66
  24. package/src/get_characters_character_id_calendar_ok.d.ts +0 -42
  25. package/src/get_characters_character_id_clones_ok.d.ts +0 -82
  26. package/src/get_characters_character_id_contacts_labels_ok.d.ts +0 -27
  27. package/src/get_characters_character_id_contacts_ok.d.ts +0 -53
  28. package/src/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -37
  29. package/src/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -48
  30. package/src/get_characters_character_id_contracts_ok.d.ts +0 -137
  31. package/src/get_characters_character_id_corporationhistory_ok.d.ts +0 -37
  32. package/src/get_characters_character_id_fatigue_ok.d.ts +0 -26
  33. package/src/get_characters_character_id_fittings_ok.d.ts +0 -108
  34. package/src/get_characters_character_id_fleet_ok.d.ts +0 -35
  35. package/src/get_characters_character_id_fw_stats_ok.d.ts +0 -75
  36. package/src/get_characters_character_id_implants_ok.d.ts +0 -14
  37. package/src/get_characters_character_id_industry_jobs_ok.d.ts +0 -133
  38. package/src/get_characters_character_id_killmails_recent_ok.d.ts +0 -27
  39. package/src/get_characters_character_id_location_ok.d.ts +0 -26
  40. package/src/get_characters_character_id_loyalty_points_ok.d.ts +0 -27
  41. package/src/get_characters_character_id_mail_labels_ok.d.ts +0 -67
  42. package/src/get_characters_character_id_mail_lists_ok.d.ts +0 -27
  43. package/src/get_characters_character_id_mail_mail_id_ok.d.ts +0 -71
  44. package/src/get_characters_character_id_mail_ok.d.ts +0 -77
  45. package/src/get_characters_character_id_medals_ok.d.ts +0 -147
  46. package/src/get_characters_character_id_mining_ok.d.ts +0 -37
  47. package/src/get_characters_character_id_notifications_contacts_ok.d.ts +0 -42
  48. package/src/get_characters_character_id_notifications_ok.d.ts +0 -297
  49. package/src/get_characters_character_id_ok.d.ts +0 -66
  50. package/src/get_characters_character_id_online_ok.d.ts +0 -31
  51. package/src/get_characters_character_id_opportunities_ok.d.ts +0 -27
  52. package/src/get_characters_character_id_orders_history_ok.d.ts +0 -104
  53. package/src/get_characters_character_id_orders_ok.d.ts +0 -99
  54. package/src/get_characters_character_id_planets_ok.d.ts +0 -131
  55. package/src/get_characters_character_id_planets_planet_id_ok.d.ts +0 -323
  56. package/src/get_characters_character_id_portrait_ok.d.ts +0 -31
  57. package/src/get_characters_character_id_roles_ok.d.ts +0 -271
  58. package/src/get_characters_character_id_search_ok.d.ts +0 -132
  59. package/src/get_characters_character_id_ship_ok.d.ts +0 -26
  60. package/src/get_characters_character_id_skillqueue_ok.d.ts +0 -57
  61. package/src/get_characters_character_id_skills_ok.d.ts +0 -54
  62. package/src/get_characters_character_id_standings_ok.d.ts +0 -32
  63. package/src/get_characters_character_id_titles_ok.d.ts +0 -187
  64. package/src/get_characters_character_id_wallet_journal_ok.d.ts +0 -240
  65. package/src/get_characters_character_id_wallet_ok.d.ts +0 -8
  66. package/src/get_characters_character_id_wallet_transactions_ok.d.ts +0 -67
  67. package/src/get_contracts_public_bids_contract_id_ok.d.ts +0 -32
  68. package/src/get_contracts_public_items_contract_id_ok.d.ts +0 -62
  69. package/src/get_contracts_public_region_id_ok.d.ts +0 -97
  70. package/src/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -45
  71. package/src/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -45
  72. package/src/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -33
  73. package/src/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -37
  74. package/src/get_corporations_corporation_id_assets_ok.d.ts +0 -180
  75. package/src/get_corporations_corporation_id_blueprints_ok.d.ts +0 -174
  76. package/src/get_corporations_corporation_id_bookmarks_folders_ok.d.ts +0 -32
  77. package/src/get_corporations_corporation_id_bookmarks_ok.d.ts +0 -91
  78. package/src/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -27
  79. package/src/get_corporations_corporation_id_contacts_ok.d.ts +0 -48
  80. package/src/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -204
  81. package/src/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -38
  82. package/src/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -48
  83. package/src/get_corporations_corporation_id_contracts_ok.d.ts +0 -137
  84. package/src/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -92
  85. package/src/get_corporations_corporation_id_divisions_ok.d.ts +0 -133
  86. package/src/get_corporations_corporation_id_facilities_ok.d.ts +0 -32
  87. package/src/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -70
  88. package/src/get_corporations_corporation_id_icons_ok.d.ts +0 -26
  89. package/src/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -133
  90. package/src/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -27
  91. package/src/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -47
  92. package/src/get_corporations_corporation_id_medals_ok.d.ts +0 -42
  93. package/src/get_corporations_corporation_id_members_limit_ok.d.ts +0 -8
  94. package/src/get_corporations_corporation_id_members_ok.d.ts +0 -14
  95. package/src/get_corporations_corporation_id_members_titles_ok.d.ts +0 -197
  96. package/src/get_corporations_corporation_id_membertracking_ok.d.ts +0 -52
  97. package/src/get_corporations_corporation_id_ok.d.ts +0 -81
  98. package/src/get_corporations_corporation_id_orders_history_ok.d.ts +0 -109
  99. package/src/get_corporations_corporation_id_orders_ok.d.ts +0 -104
  100. package/src/get_corporations_corporation_id_roles_history_ok.d.ts +0 -175
  101. package/src/get_corporations_corporation_id_roles_ok.d.ts +0 -545
  102. package/src/get_corporations_corporation_id_shareholders_ok.d.ts +0 -32
  103. package/src/get_corporations_corporation_id_standings_ok.d.ts +0 -32
  104. package/src/get_corporations_corporation_id_starbases_ok.d.ts +0 -62
  105. package/src/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -369
  106. package/src/get_corporations_corporation_id_structures_ok.d.ts +0 -194
  107. package/src/get_corporations_corporation_id_titles_ok.d.ts +0 -715
  108. package/src/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -241
  109. package/src/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -63
  110. package/src/get_corporations_corporation_id_wallets_ok.d.ts +0 -65
  111. package/src/get_corporations_npccorps_ok.d.ts +0 -14
  112. package/src/get_dogma_attributes_attribute_id_ok.d.ts +0 -61
  113. package/src/get_dogma_attributes_ok.d.ts +0 -14
  114. package/src/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -72
  115. package/src/get_dogma_effects_effect_id_ok.d.ts +0 -154
  116. package/src/get_dogma_effects_ok.d.ts +0 -14
  117. package/src/get_fleets_fleet_id_members_ok.d.ts +0 -67
  118. package/src/get_fleets_fleet_id_ok.d.ts +0 -31
  119. package/src/get_fleets_fleet_id_wings_ok.d.ts +0 -50
  120. package/src/get_fw_leaderboards_characters_ok.d.ts +0 -163
  121. package/src/get_fw_leaderboards_corporations_ok.d.ts +0 -589
  122. package/src/get_fw_leaderboards_ok.d.ts +0 -235
  123. package/src/get_fw_stats_ok.d.ts +0 -76
  124. package/src/get_fw_systems_ok.d.ts +0 -47
  125. package/src/get_fw_wars_ok.d.ts +0 -27
  126. package/src/get_incursions_ok.d.ts +0 -63
  127. package/src/get_industry_facilities_ok.d.ts +0 -47
  128. package/src/get_industry_systems_ok.d.ts +0 -122
  129. package/src/get_insurance_prices_ok.d.ts +0 -70
  130. package/src/get_killmails_killmail_id_killmail_hash_ok.d.ts +0 -242
  131. package/src/get_loyalty_stores_corporation_id_offers_ok.d.ts +0 -70
  132. package/src/get_markets_groups_market_group_id_ok.d.ts +0 -42
  133. package/src/get_markets_groups_ok.d.ts +0 -14
  134. package/src/get_markets_prices_ok.d.ts +0 -32
  135. package/src/get_markets_region_id_history_ok.d.ts +0 -47
  136. package/src/get_markets_region_id_orders_ok.d.ts +0 -89
  137. package/src/get_markets_region_id_types_ok.d.ts +0 -14
  138. package/src/get_markets_structures_structure_id_ok.d.ts +0 -84
  139. package/src/get_opportunities_groups_group_id_ok.d.ts +0 -53
  140. package/src/get_opportunities_groups_ok.d.ts +0 -14
  141. package/src/get_opportunities_tasks_ok.d.ts +0 -14
  142. package/src/get_opportunities_tasks_task_id_ok.d.ts +0 -31
  143. package/src/get_route_origin_destination_ok.d.ts +0 -14
  144. package/src/get_sovereignty_campaigns_ok.d.ts +0 -94
  145. package/src/get_sovereignty_map_ok.d.ts +0 -37
  146. package/src/get_sovereignty_structures_ok.d.ts +0 -58
  147. package/src/get_status_ok.d.ts +0 -31
  148. package/src/get_universe_ancestries_ok.d.ts +0 -47
  149. package/src/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -43
  150. package/src/get_universe_bloodlines_ok.d.ts +0 -72
  151. package/src/get_universe_categories_category_id_ok.d.ts +0 -37
  152. package/src/get_universe_categories_ok.d.ts +0 -14
  153. package/src/get_universe_constellations_constellation_id_ok.d.ts +0 -59
  154. package/src/get_universe_constellations_ok.d.ts +0 -14
  155. package/src/get_universe_factions_ok.d.ts +0 -67
  156. package/src/get_universe_graphics_graphic_id_ok.d.ts +0 -51
  157. package/src/get_universe_graphics_ok.d.ts +0 -14
  158. package/src/get_universe_groups_group_id_ok.d.ts +0 -42
  159. package/src/get_universe_groups_ok.d.ts +0 -14
  160. package/src/get_universe_moons_moon_id_ok.d.ts +0 -48
  161. package/src/get_universe_planets_planet_id_ok.d.ts +0 -53
  162. package/src/get_universe_races_ok.d.ts +0 -57
  163. package/src/get_universe_regions_ok.d.ts +0 -14
  164. package/src/get_universe_regions_region_id_ok.d.ts +0 -37
  165. package/src/get_universe_schematics_schematic_id_ok.d.ts +0 -21
  166. package/src/get_universe_stargates_stargate_id_ok.d.ts +0 -70
  167. package/src/get_universe_stars_star_id_ok.d.ts +0 -140
  168. package/src/get_universe_stations_station_id_ok.d.ts +0 -121
  169. package/src/get_universe_structures_ok.d.ts +0 -14
  170. package/src/get_universe_structures_structure_id_ok.d.ts +0 -54
  171. package/src/get_universe_system_jumps_ok.d.ts +0 -27
  172. package/src/get_universe_system_kills_ok.d.ts +0 -37
  173. package/src/get_universe_systems_ok.d.ts +0 -14
  174. package/src/get_universe_systems_system_id_ok.d.ts +0 -125
  175. package/src/get_universe_types_ok.d.ts +0 -14
  176. package/src/get_universe_types_type_id_ok.d.ts +0 -127
  177. package/src/get_wars_ok.d.ts +0 -14
  178. package/src/get_wars_war_id_killmails_ok.d.ts +0 -27
  179. package/src/get_wars_war_id_ok.d.ts +0 -123
  180. package/src/index.d.ts +0 -404
  181. package/src/post_characters_affiliation_ok.d.ts +0 -37
  182. package/src/post_characters_character_id_assets_locations_ok.d.ts +0 -44
  183. package/src/post_characters_character_id_assets_names_ok.d.ts +0 -27
  184. package/src/post_characters_character_id_contacts_contact_ids.d.ts +0 -18
  185. package/src/post_characters_character_id_contacts_created.d.ts +0 -14
  186. package/src/post_characters_character_id_cspa_characters.d.ts +0 -18
  187. package/src/post_characters_character_id_cspa_created.d.ts +0 -8
  188. package/src/post_characters_character_id_fittings_created.d.ts +0 -16
  189. package/src/post_characters_character_id_fittings_fitting.d.ts +0 -101
  190. package/src/post_characters_character_id_mail_created.d.ts +0 -8
  191. package/src/post_characters_character_id_mail_labels_created.d.ts +0 -8
  192. package/src/post_characters_character_id_mail_labels_label.d.ts +0 -39
  193. package/src/post_characters_character_id_mail_mail.d.ts +0 -53
  194. package/src/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -44
  195. package/src/post_corporations_corporation_id_assets_names_ok.d.ts +0 -27
  196. package/src/post_fleets_fleet_id_members_invitation.d.ts +0 -31
  197. package/src/post_fleets_fleet_id_wings_created.d.ts +0 -16
  198. package/src/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -16
  199. package/src/post_ui_openwindow_newmail_new_mail.d.ts +0 -46
  200. package/src/post_universe_ids_ok.d.ts +0 -241
  201. package/src/post_universe_names_ok.d.ts +0 -41
  202. package/src/put_characters_character_id_calendar_event_id_response.d.ts +0 -16
  203. package/src/put_characters_character_id_contacts_contact_ids.d.ts +0 -18
  204. package/src/put_characters_character_id_mail_mail_id_contents.d.ts +0 -27
  205. package/src/put_fleets_fleet_id_members_member_id_movement.d.ts +0 -30
  206. package/src/put_fleets_fleet_id_new_settings.d.ts +0 -21
  207. package/src/put_fleets_fleet_id_squads_squad_id_naming.d.ts +0 -16
  208. package/src/put_fleets_fleet_id_wings_wing_id_naming.d.ts +0 -16
@@ -0,0 +1,693 @@
1
+ /*! body types */
2
+ /* post_characters_affiliation body type, name: characters */
3
+
4
+ /**
5
+ * characters array
6
+ *
7
+ * @minItems 1
8
+ * @maxItems 1000
9
+ */
10
+ type PostCharactersAffiliationCharacters = number[];
11
+
12
+ /* post_characters_character_id_assets_locations body type, name: item_ids */
13
+
14
+ /**
15
+ * item_ids array
16
+ *
17
+ * @minItems 1
18
+ * @maxItems 1000
19
+ */
20
+ type PostCharactersCharacterIdAssetsLocationsItemIds = number[];
21
+
22
+ /* post_characters_character_id_assets_names body type, name: item_ids */
23
+
24
+ /**
25
+ * item_ids array
26
+ *
27
+ * @minItems 1
28
+ * @maxItems 1000
29
+ */
30
+ type PostCharactersCharacterIdAssetsNamesItemIds = number[];
31
+
32
+ /* put_characters_character_id_calendar_event_id body type, name: response */
33
+
34
+ /**
35
+ * response string
36
+ */
37
+ type PutCharactersCharacterIdCalendarEventIdResponseResponse = "accepted" | "declined" | "tentative";
38
+
39
+ /**
40
+ * response object
41
+ */
42
+ interface PutCharactersCharacterIdCalendarEventIdResponse {
43
+ response: PutCharactersCharacterIdCalendarEventIdResponseResponse;
44
+ [k: string]: unknown | undefined;
45
+ }
46
+
47
+ /* post_characters_character_id_contacts body type, name: contact_ids */
48
+
49
+ /**
50
+ * contact_ids array
51
+ *
52
+ * @minItems 1
53
+ * @maxItems 100
54
+ */
55
+ type PostCharactersCharacterIdContactsContactIds = number[];
56
+
57
+ /* put_characters_character_id_contacts body type, name: contact_ids */
58
+
59
+ /**
60
+ * contact_ids array
61
+ *
62
+ * @minItems 1
63
+ * @maxItems 100
64
+ */
65
+ type PutCharactersCharacterIdContactsContactIds = number[];
66
+
67
+ /* post_characters_character_id_cspa body type, name: characters */
68
+
69
+ /**
70
+ * characters array
71
+ *
72
+ * @minItems 1
73
+ * @maxItems 100
74
+ */
75
+ type PostCharactersCharacterIdCspaCharacters = number[];
76
+
77
+ /* post_characters_character_id_fittings body type, name: fitting */
78
+
79
+ /**
80
+ * items array
81
+ *
82
+ * @minItems 1
83
+ * @maxItems 512
84
+ */
85
+ type PostCharactersCharacterIdFittingsItems = PostCharactersCharacterIdFittingsItem[];
86
+ /**
87
+ * Fitting location for the item. Entries placed in 'Invalid' will be discarded. If this leaves the fitting with nothing, it will cause an error.
88
+ */
89
+ type PostCharactersCharacterIdFittingsFlag =
90
+ | "Cargo"
91
+ | "DroneBay"
92
+ | "FighterBay"
93
+ | "HiSlot0"
94
+ | "HiSlot1"
95
+ | "HiSlot2"
96
+ | "HiSlot3"
97
+ | "HiSlot4"
98
+ | "HiSlot5"
99
+ | "HiSlot6"
100
+ | "HiSlot7"
101
+ | "Invalid"
102
+ | "LoSlot0"
103
+ | "LoSlot1"
104
+ | "LoSlot2"
105
+ | "LoSlot3"
106
+ | "LoSlot4"
107
+ | "LoSlot5"
108
+ | "LoSlot6"
109
+ | "LoSlot7"
110
+ | "MedSlot0"
111
+ | "MedSlot1"
112
+ | "MedSlot2"
113
+ | "MedSlot3"
114
+ | "MedSlot4"
115
+ | "MedSlot5"
116
+ | "MedSlot6"
117
+ | "MedSlot7"
118
+ | "RigSlot0"
119
+ | "RigSlot1"
120
+ | "RigSlot2"
121
+ | "ServiceSlot0"
122
+ | "ServiceSlot1"
123
+ | "ServiceSlot2"
124
+ | "ServiceSlot3"
125
+ | "ServiceSlot4"
126
+ | "ServiceSlot5"
127
+ | "ServiceSlot6"
128
+ | "ServiceSlot7"
129
+ | "SubSystemSlot0"
130
+ | "SubSystemSlot1"
131
+ | "SubSystemSlot2"
132
+ | "SubSystemSlot3";
133
+
134
+ /**
135
+ * fitting object
136
+ */
137
+ interface PostCharactersCharacterIdFittingsFitting {
138
+ /**
139
+ * description string
140
+ */
141
+ description: string;
142
+ items: PostCharactersCharacterIdFittingsItems;
143
+ /**
144
+ * name string
145
+ */
146
+ name: string;
147
+ ship_type_id: number;
148
+ [k: string]: unknown | undefined;
149
+ }
150
+ /**
151
+ * item object
152
+ */
153
+ interface PostCharactersCharacterIdFittingsItem {
154
+ flag: PostCharactersCharacterIdFittingsFlag;
155
+ /**
156
+ * quantity integer
157
+ */
158
+ quantity: number;
159
+ type_id: number;
160
+ [k: string]: unknown | undefined;
161
+ }
162
+
163
+ /* post_characters_character_id_mail body type, name: mail */
164
+
165
+ /**
166
+ * recipients array
167
+ *
168
+ * @minItems 1
169
+ * @maxItems 50
170
+ */
171
+ type PostCharactersCharacterIdMailRecipients = PostCharactersCharacterIdMailRecipient[];
172
+ /**
173
+ * recipient_type string
174
+ */
175
+ type PostCharactersCharacterIdMailRecipientType = "alliance" | "character" | "corporation" | "mailing_list";
176
+
177
+ /**
178
+ * mail object
179
+ */
180
+ interface PostCharactersCharacterIdMailMail {
181
+ /**
182
+ * approved_cost integer
183
+ */
184
+ approved_cost?: number;
185
+ /**
186
+ * body string
187
+ */
188
+ body: string;
189
+ recipients: PostCharactersCharacterIdMailRecipients;
190
+ /**
191
+ * subject string
192
+ */
193
+ subject: string;
194
+ [k: string]: unknown | undefined;
195
+ }
196
+ /**
197
+ * recipient object
198
+ */
199
+ interface PostCharactersCharacterIdMailRecipient {
200
+ /**
201
+ * recipient_id integer
202
+ */
203
+ recipient_id: number;
204
+ recipient_type: PostCharactersCharacterIdMailRecipientType;
205
+ [k: string]: unknown | undefined;
206
+ }
207
+
208
+ /* post_characters_character_id_mail_labels body type, name: label */
209
+
210
+ /**
211
+ * Hexadecimal string representing label color, in RGB format
212
+ */
213
+ type PostCharactersCharacterIdMailLabelsColor =
214
+ | "#0000fe"
215
+ | "#006634"
216
+ | "#0099ff"
217
+ | "#00ff33"
218
+ | "#01ffff"
219
+ | "#349800"
220
+ | "#660066"
221
+ | "#666666"
222
+ | "#999999"
223
+ | "#99ffff"
224
+ | "#9a0000"
225
+ | "#ccff9a"
226
+ | "#e6e6e6"
227
+ | "#fe0000"
228
+ | "#ff6600"
229
+ | "#ffff01"
230
+ | "#ffffcd"
231
+ | "#ffffff";
232
+
233
+ /**
234
+ * label object
235
+ */
236
+ interface PostCharactersCharacterIdMailLabelsLabel {
237
+ color?: PostCharactersCharacterIdMailLabelsColor;
238
+ /**
239
+ * name string
240
+ */
241
+ name: string;
242
+ [k: string]: unknown | undefined;
243
+ }
244
+
245
+ /* put_characters_character_id_mail_mail_id body type, name: contents */
246
+
247
+
248
+ /**
249
+ * contents object
250
+ */
251
+ interface PutCharactersCharacterIdMailMailIdContents {
252
+ /**
253
+ * Labels to assign to the mail. Pre-existing labels are unassigned.
254
+ *
255
+ * @maxItems 25
256
+ */
257
+ labels?: number[];
258
+ /**
259
+ * Whether the mail is flagged as read
260
+ */
261
+ read?: boolean;
262
+ [k: string]: unknown | undefined;
263
+ }
264
+
265
+ /* post_corporations_corporation_id_assets_locations body type, name: item_ids */
266
+
267
+ /**
268
+ * item_ids array
269
+ *
270
+ * @minItems 1
271
+ * @maxItems 1000
272
+ */
273
+ type PostCorporationsCorporationIdAssetsLocationsItemIds = number[];
274
+
275
+ /* post_corporations_corporation_id_assets_names body type, name: item_ids */
276
+
277
+ /**
278
+ * item_ids array
279
+ *
280
+ * @minItems 1
281
+ * @maxItems 1000
282
+ */
283
+ type PostCorporationsCorporationIdAssetsNamesItemIds = number[];
284
+
285
+ /* put_fleets_fleet_id body type, name: new_settings */
286
+
287
+
288
+ /**
289
+ * new_settings object
290
+ */
291
+ interface PutFleetsFleetIdNewSettings {
292
+ /**
293
+ * Should free-move be enabled in the fleet
294
+ */
295
+ is_free_move?: boolean;
296
+ /**
297
+ * New fleet MOTD in CCP flavoured HTML
298
+ */
299
+ motd?: string;
300
+ [k: string]: unknown | undefined;
301
+ }
302
+
303
+ /* post_fleets_fleet_id_members body type, name: invitation */
304
+
305
+ /**
306
+ * If a character is invited with the `fleet_commander` role, neither `wing_id` or `squad_id` should be specified. If a character is invited with the `wing_commander` role, only `wing_id` should be specified. If a character is invited with the `squad_commander` role, both `wing_id` and `squad_id` should be specified. If a character is invited with the `squad_member` role, `wing_id` and `squad_id` should either both be specified or not specified at all. If they aren’t specified, the invited character will join any squad with available positions.
307
+ */
308
+ type PostFleetsFleetIdMembersRole = "fleet_commander" | "wing_commander" | "squad_commander" | "squad_member";
309
+
310
+ /**
311
+ * invitation object
312
+ */
313
+ interface PostFleetsFleetIdMembersInvitation {
314
+ /**
315
+ * The character you want to invite
316
+ */
317
+ character_id: number;
318
+ role: PostFleetsFleetIdMembersRole;
319
+ /**
320
+ * squad_id integer
321
+ */
322
+ squad_id?: number;
323
+ /**
324
+ * wing_id integer
325
+ */
326
+ wing_id?: number;
327
+ [k: string]: unknown | undefined;
328
+ }
329
+
330
+ /* put_fleets_fleet_id_members_member_id body type, name: movement */
331
+
332
+ /**
333
+ * If a character is moved to the `fleet_commander` role, neither `wing_id` or `squad_id` should be specified. If a character is moved to the `wing_commander` role, only `wing_id` should be specified. If a character is moved to the `squad_commander` role, both `wing_id` and `squad_id` should be specified. If a character is moved to the `squad_member` role, both `wing_id` and `squad_id` should be specified.
334
+ */
335
+ type PutFleetsFleetIdMembersMemberIdRole =
336
+ | "fleet_commander"
337
+ | "wing_commander"
338
+ | "squad_commander"
339
+ | "squad_member";
340
+
341
+ /**
342
+ * movement object
343
+ */
344
+ interface PutFleetsFleetIdMembersMemberIdMovement {
345
+ role: PutFleetsFleetIdMembersMemberIdRole;
346
+ /**
347
+ * squad_id integer
348
+ */
349
+ squad_id?: number;
350
+ /**
351
+ * wing_id integer
352
+ */
353
+ wing_id?: number;
354
+ [k: string]: unknown | undefined;
355
+ }
356
+
357
+ /* put_fleets_fleet_id_squads_squad_id body type, name: naming */
358
+
359
+
360
+ /**
361
+ * naming object
362
+ */
363
+ interface PutFleetsFleetIdSquadsSquadIdNaming {
364
+ /**
365
+ * name string
366
+ */
367
+ name: string;
368
+ [k: string]: unknown | undefined;
369
+ }
370
+
371
+ /* put_fleets_fleet_id_wings_wing_id body type, name: naming */
372
+
373
+
374
+ /**
375
+ * naming object
376
+ */
377
+ interface PutFleetsFleetIdWingsWingIdNaming {
378
+ /**
379
+ * name string
380
+ */
381
+ name: string;
382
+ [k: string]: unknown | undefined;
383
+ }
384
+
385
+ /* post_ui_openwindow_newmail body type, name: new_mail */
386
+
387
+ /**
388
+ * recipients array
389
+ *
390
+ * @minItems 1
391
+ * @maxItems 50
392
+ */
393
+ type PostUiOpenwindowNewmailRecipients = number[];
394
+
395
+ /**
396
+ * new_mail object
397
+ */
398
+ interface PostUiOpenwindowNewmailNewMail {
399
+ /**
400
+ * body string
401
+ */
402
+ body: string;
403
+ recipients: PostUiOpenwindowNewmailRecipients;
404
+ /**
405
+ * subject string
406
+ */
407
+ subject: string;
408
+ /**
409
+ * to_corp_or_alliance_id integer
410
+ */
411
+ to_corp_or_alliance_id?: number;
412
+ /**
413
+ * Corporations, alliances and mailing lists are all types of mailing groups. You may only send to one mailing group, at a time, so you may fill out either this field or the to_corp_or_alliance_ids field
414
+ */
415
+ to_mailing_list_id?: number;
416
+ [k: string]: unknown | undefined;
417
+ }
418
+
419
+ /* post_universe_ids body type, name: names */
420
+
421
+ /**
422
+ * names array
423
+ *
424
+ * @minItems 1
425
+ * @maxItems 500
426
+ */
427
+ type PostUniverseIdsNames = string[];
428
+
429
+ /* post_universe_names body type, name: ids */
430
+
431
+ /**
432
+ * ids array
433
+ *
434
+ * @minItems 1
435
+ * @maxItems 1000
436
+ */
437
+ type PostUniverseNamesIds = number[];
438
+
439
+
440
+ /*! query types */
441
+ /* get_characters_character_id_calendar, from_event query type */
442
+
443
+ /**
444
+ * The event ID to retrieve events from
445
+ */
446
+ type GetCharactersCharacterIdCalendarFromEvent = number;
447
+
448
+ /* delete_characters_character_id_contacts, contact_ids query type */
449
+
450
+ /**
451
+ * A list of contacts to delete
452
+ *
453
+ * @minItems 1
454
+ * @maxItems 20
455
+ */
456
+ type DeleteCharactersCharacterIdContactsContactIds = number[];
457
+
458
+ /* post_characters_character_id_contacts, label_ids query type */
459
+
460
+ /**
461
+ * Add custom labels to the new contact
462
+ *
463
+ * @maxItems 63
464
+ */
465
+ type PostCharactersCharacterIdContactsLabelIds = number[];
466
+
467
+ /* post_characters_character_id_contacts, standing query type */
468
+
469
+ /**
470
+ * Standing for the contact
471
+ */
472
+ type PostCharactersCharacterIdContactsStanding = number;
473
+
474
+ /* post_characters_character_id_contacts, watched query type */
475
+
476
+ /**
477
+ * Whether the contact should be watched, note this is only effective on characters
478
+ */
479
+ type PostCharactersCharacterIdContactsWatched = boolean;
480
+
481
+ /* put_characters_character_id_contacts, label_ids query type */
482
+
483
+ /**
484
+ * Add custom labels to the contact
485
+ *
486
+ * @maxItems 63
487
+ */
488
+ type PutCharactersCharacterIdContactsLabelIds = number[];
489
+
490
+ /* put_characters_character_id_contacts, standing query type */
491
+
492
+ /**
493
+ * Standing for the contact
494
+ */
495
+ type PutCharactersCharacterIdContactsStanding = number;
496
+
497
+ /* put_characters_character_id_contacts, watched query type */
498
+
499
+ /**
500
+ * Whether the contact should be watched, note this is only effective on characters
501
+ */
502
+ type PutCharactersCharacterIdContactsWatched = boolean;
503
+
504
+ /* get_characters_character_id_industry_jobs, include_completed query type */
505
+
506
+ /**
507
+ * Whether to retrieve completed character industry jobs. Only includes jobs from the past 90 days
508
+ */
509
+ type GetCharactersCharacterIdIndustryJobsIncludeCompleted = boolean;
510
+
511
+ /* get_characters_character_id_mail, labels query type */
512
+
513
+ /**
514
+ * Fetch only mails that match one or more of the given labels
515
+ *
516
+ * @minItems 1
517
+ * @maxItems 25
518
+ */
519
+ type GetCharactersCharacterIdMailLabels = [number, ...number[]];
520
+
521
+ /* get_characters_character_id_mail, last_mail_id query type */
522
+
523
+ /**
524
+ * List only mail with an ID lower than the given ID, if present
525
+ */
526
+ type GetCharactersCharacterIdMailLastMailId = number;
527
+
528
+ /* get_characters_character_id_search, categories query type */
529
+ type GetCharactersCharacterIdSearchCategory =
530
+ | "agent"
531
+ | "alliance"
532
+ | "character"
533
+ | "constellation"
534
+ | "corporation"
535
+ | "faction"
536
+ | "inventory_type"
537
+ | "region"
538
+ | "solar_system"
539
+ | "station"
540
+ | "structure";
541
+
542
+
543
+ /**
544
+ * Type of entities to search for
545
+ *
546
+ * @minItems 1
547
+ * @maxItems 11
548
+ */
549
+ type GetCharactersCharacterIdSearchCategories = GetCharactersCharacterIdSearchCategory[];
550
+
551
+ /* get_characters_character_id_search, search query type */
552
+
553
+ /**
554
+ * The string to search on
555
+ */
556
+ type GetCharactersCharacterIdSearchSearch = string;
557
+
558
+ /* get_characters_character_id_search, strict query type */
559
+
560
+ /**
561
+ * Whether the search should be a strict match
562
+ */
563
+ type GetCharactersCharacterIdSearchStrict = boolean;
564
+
565
+ /* get_characters_character_id_wallet_transactions, from_id query type */
566
+
567
+ /**
568
+ * Only show transactions happened before the one referenced by this id
569
+ */
570
+ type GetCharactersCharacterIdWalletTransactionsFromId = number;
571
+
572
+ /* get_corporations_corporation_id_industry_jobs, include_completed query type */
573
+
574
+ /**
575
+ * Whether to retrieve completed corporation industry jobs. Only includes jobs from the past 90 days
576
+ */
577
+ type GetCorporationsCorporationIdIndustryJobsIncludeCompleted = boolean;
578
+
579
+ /* get_corporations_corporation_id_starbases_starbase_id, system_id query type */
580
+
581
+ /**
582
+ * The solar system this starbase (POS) is located in,
583
+ */
584
+ type GetCorporationsCorporationIdStarbasesStarbaseIdSystemId = number;
585
+
586
+ /* get_corporations_corporation_id_wallets_division_transactions, from_id query type */
587
+
588
+ /**
589
+ * Only show journal entries happened before the transaction referenced by this id
590
+ */
591
+ type GetCorporationsCorporationIdWalletsDivisionTransactionsFromId = number;
592
+
593
+ /* get_markets_region_id_history, type_id query type */
594
+
595
+ /**
596
+ * Return statistics for this type
597
+ */
598
+ type GetMarketsRegionIdHistoryTypeId = number;
599
+
600
+ /* get_markets_region_id_orders, order_type query type */
601
+
602
+ /**
603
+ * Filter buy/sell orders, return all orders by default. If you query without type_id, we always return both buy and sell orders
604
+ */
605
+ type GetMarketsRegionIdOrdersOrderType = "buy" | "sell" | "all";
606
+
607
+ /* get_markets_region_id_orders, type_id query type */
608
+
609
+ /**
610
+ * Return orders only for this type
611
+ */
612
+ type GetMarketsRegionIdOrdersTypeId = number;
613
+
614
+ /* get_route_origin_destination, avoid query type */
615
+
616
+ /**
617
+ * avoid solar system ID(s)
618
+ *
619
+ * @maxItems 100
620
+ */
621
+ type GetRouteOriginDestinationAvoid = number[];
622
+
623
+ /* get_route_origin_destination, connections query type */
624
+
625
+ /**
626
+ * connected solar system pairs
627
+ *
628
+ * @maxItems 100
629
+ */
630
+ type GetRouteOriginDestinationConnections = [number, number][];
631
+
632
+ /* get_route_origin_destination, flag query type */
633
+
634
+ /**
635
+ * route security preference
636
+ */
637
+ type GetRouteOriginDestinationFlag = "shortest" | "secure" | "insecure";
638
+
639
+ /* post_ui_autopilot_waypoint, add_to_beginning query type */
640
+
641
+ /**
642
+ * Whether this solar system should be added to the beginning of all waypoints
643
+ */
644
+ type PostUiAutopilotWaypointAddToBeginning = boolean;
645
+
646
+ /* post_ui_autopilot_waypoint, clear_other_waypoints query type */
647
+
648
+ /**
649
+ * Whether clean other waypoints beforing adding this one
650
+ */
651
+ type PostUiAutopilotWaypointClearOtherWaypoints = boolean;
652
+
653
+ /* post_ui_autopilot_waypoint, destination_id query type */
654
+
655
+ /**
656
+ * The destination to travel to, can be solar system, station or structure's id
657
+ */
658
+ type PostUiAutopilotWaypointDestinationId = number;
659
+
660
+ /* post_ui_openwindow_contract, contract_id query type */
661
+
662
+ /**
663
+ * The contract to open
664
+ */
665
+ type PostUiOpenwindowContractContractId = number;
666
+
667
+ /* post_ui_openwindow_information, target_id query type */
668
+
669
+ /**
670
+ * The target to open
671
+ */
672
+ type PostUiOpenwindowInformationTargetId = number;
673
+
674
+ /* post_ui_openwindow_marketdetails, type_id query type */
675
+
676
+ /**
677
+ * The item type to open in market window
678
+ */
679
+ type PostUiOpenwindowMarketdetailsTypeId = number;
680
+
681
+ /* get_universe_structures, filter query type */
682
+
683
+ /**
684
+ * Only list public structures that have this service online
685
+ */
686
+ type GetUniverseStructuresFilter = "market" | "manufacturing_basic";
687
+
688
+ /* get_wars, max_war_id query type */
689
+
690
+ /**
691
+ * Only return wars with ID smaller than this
692
+ */
693
+ type GetWarsMaxWarId = number;