eve-esi-types 3.1.7 → 3.2.1

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 (214) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/jsconfig.json +28 -0
  3. package/lib/rq-util.mjs +1 -1
  4. package/lib/tagged-request-api.mjs +5 -6
  5. package/package.json +14 -7
  6. package/v2/esi-tagged-types.d.ts +9 -5
  7. package/v2/{get_alliances_alliance_id_ok.d.ts → globals/alliance.d.ts} +44 -0
  8. package/v2/globals/assets.d.ts +443 -0
  9. package/v2/globals/calendar.d.ts +130 -0
  10. package/v2/globals/character.d.ts +918 -0
  11. package/v2/{get_characters_character_id_clones_ok.d.ts → globals/clones.d.ts} +15 -0
  12. package/v2/globals/contacts.d.ts +212 -0
  13. package/v2/globals/contracts.d.ts +546 -0
  14. package/v2/globals/corporation.d.ts +1577 -0
  15. package/v2/globals/dogma.d.ts +262 -0
  16. package/v2/globals/factionwarfare.d.ts +596 -0
  17. package/v2/{get_characters_character_id_fittings_ok.d.ts → globals/fittings.d.ts} +23 -0
  18. package/v2/globals/fleets.d.ts +201 -0
  19. package/v2/{get_incursions_ok.d.ts → globals/incursions.d.ts} +5 -0
  20. package/v2/globals/industry.d.ts +445 -0
  21. package/v2/globals/insurance.d.ts +47 -0
  22. package/v2/{get_killmails_killmail_id_killmail_hash_ok.d.ts → globals/killmails.d.ts} +55 -0
  23. package/v2/globals/location.d.ts +74 -0
  24. package/v2/{get_loyalty_stores_corporation_id_offers_ok.d.ts → globals/loyalty.d.ts} +30 -0
  25. package/v2/globals/mail.d.ts +237 -0
  26. package/v2/globals/market.d.ts +615 -0
  27. package/v2/globals/planetaryinteraction.d.ts +344 -0
  28. package/v2/globals/routes.d.ts +14 -0
  29. package/v2/{get_characters_character_id_search_ok.d.ts → globals/search.d.ts} +5 -0
  30. package/v2/globals/skills.d.ts +144 -0
  31. package/v2/globals/sovereignty.d.ts +168 -0
  32. package/v2/{get_status_ok.d.ts → globals/status.d.ts} +5 -0
  33. package/v2/globals/universe.d.ts +1297 -0
  34. package/v2/globals/wallet.d.ts +601 -0
  35. package/v2/{get_wars_war_id_ok.d.ts → globals/wars.d.ts} +40 -0
  36. package/v2/index.d.ts +25 -152
  37. package/v2/response-map.d.ts +1 -24
  38. package/v2/types-index.d.ts +31 -182
  39. package/v2/types-util.d.ts +316 -0
  40. package/v2/util.d.ts +4 -2
  41. package/web/index.html +1 -1
  42. package/tsconfig.json +0 -28
  43. package/v2/get_alliances_alliance_id_contacts_labels_ok.d.ts +0 -24
  44. package/v2/get_alliances_alliance_id_contacts_ok.d.ts +0 -35
  45. package/v2/get_alliances_alliance_id_corporations_ok.d.ts +0 -9
  46. package/v2/get_alliances_alliance_id_icons_ok.d.ts +0 -18
  47. package/v2/get_alliances_ok.d.ts +0 -9
  48. package/v2/get_characters_character_id_agents_research_ok.d.ts +0 -33
  49. package/v2/get_characters_character_id_assets_ok.d.ts +0 -134
  50. package/v2/get_characters_character_id_attributes_ok.d.ts +0 -42
  51. package/v2/get_characters_character_id_blueprints_ok.d.ts +0 -122
  52. package/v2/get_characters_character_id_calendar_event_id_attendees_ok.d.ts +0 -30
  53. package/v2/get_characters_character_id_calendar_event_id_ok.d.ts +0 -56
  54. package/v2/get_characters_character_id_calendar_ok.d.ts +0 -37
  55. package/v2/get_characters_character_id_contacts_labels_ok.d.ts +0 -24
  56. package/v2/get_characters_character_id_contacts_ok.d.ts +0 -43
  57. package/v2/get_characters_character_id_contracts_contract_id_bids_ok.d.ts +0 -32
  58. package/v2/get_characters_character_id_contracts_contract_id_items_ok.d.ts +0 -38
  59. package/v2/get_characters_character_id_contracts_ok.d.ts +0 -117
  60. package/v2/get_characters_character_id_corporationhistory_ok.d.ts +0 -32
  61. package/v2/get_characters_character_id_fatigue_ok.d.ts +0 -22
  62. package/v2/get_characters_character_id_fleet_ok.d.ts +0 -31
  63. package/v2/get_characters_character_id_fw_stats_ok.d.ts +0 -64
  64. package/v2/get_characters_character_id_implants_ok.d.ts +0 -9
  65. package/v2/get_characters_character_id_industry_jobs_ok.d.ts +0 -105
  66. package/v2/get_characters_character_id_killmails_recent_ok.d.ts +0 -24
  67. package/v2/get_characters_character_id_location_ok.d.ts +0 -22
  68. package/v2/get_characters_character_id_loyalty_points_ok.d.ts +0 -24
  69. package/v2/get_characters_character_id_mail_labels_ok.d.ts +0 -62
  70. package/v2/get_characters_character_id_mail_lists_ok.d.ts +0 -24
  71. package/v2/get_characters_character_id_mail_mail_id_ok.d.ts +0 -59
  72. package/v2/get_characters_character_id_mail_ok.d.ts +0 -65
  73. package/v2/get_characters_character_id_medals_ok.d.ts +0 -135
  74. package/v2/get_characters_character_id_mining_ok.d.ts +0 -29
  75. package/v2/get_characters_character_id_notifications_contacts_ok.d.ts +0 -36
  76. package/v2/get_characters_character_id_notifications_ok.d.ts +0 -291
  77. package/v2/get_characters_character_id_ok.d.ts +0 -55
  78. package/v2/get_characters_character_id_online_ok.d.ts +0 -26
  79. package/v2/get_characters_character_id_opportunities_ok.d.ts +0 -24
  80. package/v2/get_characters_character_id_orders_history_ok.d.ts +0 -87
  81. package/v2/get_characters_character_id_orders_ok.d.ts +0 -82
  82. package/v2/get_characters_character_id_planets_ok.d.ts +0 -124
  83. package/v2/get_characters_character_id_planets_planet_id_ok.d.ts +0 -283
  84. package/v2/get_characters_character_id_portrait_ok.d.ts +0 -26
  85. package/v2/get_characters_character_id_roles_ok.d.ts +0 -270
  86. package/v2/get_characters_character_id_ship_ok.d.ts +0 -19
  87. package/v2/get_characters_character_id_skillqueue_ok.d.ts +0 -48
  88. package/v2/get_characters_character_id_skills_ok.d.ts +0 -47
  89. package/v2/get_characters_character_id_standings_ok.d.ts +0 -29
  90. package/v2/get_characters_character_id_titles_ok.d.ts +0 -184
  91. package/v2/get_characters_character_id_wallet_journal_ok.d.ts +0 -228
  92. package/v2/get_characters_character_id_wallet_ok.d.ts +0 -7
  93. package/v2/get_characters_character_id_wallet_transactions_ok.d.ts +0 -53
  94. package/v2/get_contracts_public_bids_contract_id_ok.d.ts +0 -28
  95. package/v2/get_contracts_public_items_contract_id_ok.d.ts +0 -49
  96. package/v2/get_contracts_public_region_id_ok.d.ts +0 -81
  97. package/v2/get_corporation_corporation_id_mining_extractions_ok.d.ts +0 -39
  98. package/v2/get_corporation_corporation_id_mining_observers_observer_id_ok.d.ts +0 -36
  99. package/v2/get_corporation_corporation_id_mining_observers_ok.d.ts +0 -30
  100. package/v2/get_corporations_corporation_id_alliancehistory_ok.d.ts +0 -32
  101. package/v2/get_corporations_corporation_id_assets_ok.d.ts +0 -170
  102. package/v2/get_corporations_corporation_id_blueprints_ok.d.ts +0 -163
  103. package/v2/get_corporations_corporation_id_contacts_labels_ok.d.ts +0 -24
  104. package/v2/get_corporations_corporation_id_contacts_ok.d.ts +0 -39
  105. package/v2/get_corporations_corporation_id_containers_logs_ok.d.ts +0 -188
  106. package/v2/get_corporations_corporation_id_contracts_contract_id_bids_ok.d.ts +0 -33
  107. package/v2/get_corporations_corporation_id_contracts_contract_id_items_ok.d.ts +0 -38
  108. package/v2/get_corporations_corporation_id_contracts_ok.d.ts +0 -117
  109. package/v2/get_corporations_corporation_id_customs_offices_ok.d.ts +0 -78
  110. package/v2/get_corporations_corporation_id_divisions_ok.d.ts +0 -128
  111. package/v2/get_corporations_corporation_id_facilities_ok.d.ts +0 -25
  112. package/v2/get_corporations_corporation_id_fw_stats_ok.d.ts +0 -60
  113. package/v2/get_corporations_corporation_id_icons_ok.d.ts +0 -22
  114. package/v2/get_corporations_corporation_id_industry_jobs_ok.d.ts +0 -105
  115. package/v2/get_corporations_corporation_id_killmails_recent_ok.d.ts +0 -24
  116. package/v2/get_corporations_corporation_id_medals_issued_ok.d.ts +0 -41
  117. package/v2/get_corporations_corporation_id_medals_ok.d.ts +0 -36
  118. package/v2/get_corporations_corporation_id_members_limit_ok.d.ts +0 -7
  119. package/v2/get_corporations_corporation_id_members_ok.d.ts +0 -9
  120. package/v2/get_corporations_corporation_id_members_titles_ok.d.ts +0 -194
  121. package/v2/get_corporations_corporation_id_membertracking_ok.d.ts +0 -41
  122. package/v2/get_corporations_corporation_id_ok.d.ts +0 -66
  123. package/v2/get_corporations_corporation_id_orders_history_ok.d.ts +0 -91
  124. package/v2/get_corporations_corporation_id_orders_ok.d.ts +0 -86
  125. package/v2/get_corporations_corporation_id_roles_history_ok.d.ts +0 -171
  126. package/v2/get_corporations_corporation_id_roles_ok.d.ts +0 -543
  127. package/v2/get_corporations_corporation_id_shareholders_ok.d.ts +0 -29
  128. package/v2/get_corporations_corporation_id_standings_ok.d.ts +0 -29
  129. package/v2/get_corporations_corporation_id_starbases_ok.d.ts +0 -51
  130. package/v2/get_corporations_corporation_id_starbases_starbase_id_ok.d.ts +0 -110
  131. package/v2/get_corporations_corporation_id_structures_ok.d.ts +0 -176
  132. package/v2/get_corporations_corporation_id_titles_ok.d.ts +0 -548
  133. package/v2/get_corporations_corporation_id_wallets_division_journal_ok.d.ts +0 -229
  134. package/v2/get_corporations_corporation_id_wallets_division_transactions_ok.d.ts +0 -50
  135. package/v2/get_corporations_corporation_id_wallets_ok.d.ts +0 -62
  136. package/v2/get_corporations_npccorps_ok.d.ts +0 -9
  137. package/v2/get_dogma_attributes_attribute_id_ok.d.ts +0 -50
  138. package/v2/get_dogma_attributes_ok.d.ts +0 -9
  139. package/v2/get_dogma_dynamic_items_type_id_item_id_ok.d.ts +0 -58
  140. package/v2/get_dogma_effects_effect_id_ok.d.ts +0 -127
  141. package/v2/get_dogma_effects_ok.d.ts +0 -9
  142. package/v2/get_fleets_fleet_id_members_ok.d.ts +0 -54
  143. package/v2/get_fleets_fleet_id_ok.d.ts +0 -26
  144. package/v2/get_fleets_fleet_id_wings_ok.d.ts +0 -45
  145. package/v2/get_fw_leaderboards_characters_ok.d.ts +0 -110
  146. package/v2/get_fw_leaderboards_corporations_ok.d.ts +0 -109
  147. package/v2/get_fw_leaderboards_ok.d.ts +0 -182
  148. package/v2/get_fw_stats_ok.d.ts +0 -66
  149. package/v2/get_fw_systems_ok.d.ts +0 -41
  150. package/v2/get_fw_wars_ok.d.ts +0 -24
  151. package/v2/get_industry_facilities_ok.d.ts +0 -37
  152. package/v2/get_industry_systems_ok.d.ts +0 -119
  153. package/v2/get_insurance_prices_ok.d.ts +0 -62
  154. package/v2/get_markets_groups_market_group_id_ok.d.ts +0 -27
  155. package/v2/get_markets_groups_ok.d.ts +0 -9
  156. package/v2/get_markets_prices_ok.d.ts +0 -25
  157. package/v2/get_markets_region_id_history_ok.d.ts +0 -40
  158. package/v2/get_markets_region_id_orders_ok.d.ts +0 -74
  159. package/v2/get_markets_region_id_types_ok.d.ts +0 -9
  160. package/v2/get_markets_structures_structure_id_ok.d.ts +0 -70
  161. package/v2/get_opportunities_groups_group_id_ok.d.ts +0 -38
  162. package/v2/get_opportunities_groups_ok.d.ts +0 -9
  163. package/v2/get_opportunities_tasks_ok.d.ts +0 -9
  164. package/v2/get_opportunities_tasks_task_id_ok.d.ts +0 -26
  165. package/v2/get_route_origin_destination_ok.d.ts +0 -9
  166. package/v2/get_sovereignty_campaigns_ok.d.ts +0 -83
  167. package/v2/get_sovereignty_map_ok.d.ts +0 -32
  168. package/v2/get_sovereignty_structures_ok.d.ts +0 -46
  169. package/v2/get_universe_ancestries_ok.d.ts +0 -40
  170. package/v2/get_universe_asteroid_belts_asteroid_belt_id_ok.d.ts +0 -37
  171. package/v2/get_universe_bloodlines_ok.d.ts +0 -57
  172. package/v2/get_universe_categories_category_id_ok.d.ts +0 -28
  173. package/v2/get_universe_categories_ok.d.ts +0 -9
  174. package/v2/get_universe_constellations_constellation_id_ok.d.ts +0 -47
  175. package/v2/get_universe_constellations_ok.d.ts +0 -9
  176. package/v2/get_universe_factions_ok.d.ts +0 -56
  177. package/v2/get_universe_graphics_graphic_id_ok.d.ts +0 -42
  178. package/v2/get_universe_graphics_ok.d.ts +0 -9
  179. package/v2/get_universe_groups_group_id_ok.d.ts +0 -27
  180. package/v2/get_universe_groups_ok.d.ts +0 -9
  181. package/v2/get_universe_moons_moon_id_ok.d.ts +0 -41
  182. package/v2/get_universe_planets_planet_id_ok.d.ts +0 -42
  183. package/v2/get_universe_races_ok.d.ts +0 -52
  184. package/v2/get_universe_regions_ok.d.ts +0 -9
  185. package/v2/get_universe_regions_region_id_ok.d.ts +0 -28
  186. package/v2/get_universe_schematics_schematic_id_ok.d.ts +0 -18
  187. package/v2/get_universe_stargates_stargate_id_ok.d.ts +0 -57
  188. package/v2/get_universe_stars_star_id_ok.d.ts +0 -129
  189. package/v2/get_universe_stations_station_id_ok.d.ts +0 -104
  190. package/v2/get_universe_structures_ok.d.ts +0 -9
  191. package/v2/get_universe_structures_structure_id_ok.d.ts +0 -43
  192. package/v2/get_universe_system_jumps_ok.d.ts +0 -24
  193. package/v2/get_universe_system_kills_ok.d.ts +0 -32
  194. package/v2/get_universe_systems_ok.d.ts +0 -9
  195. package/v2/get_universe_systems_system_id_ok.d.ts +0 -94
  196. package/v2/get_universe_types_ok.d.ts +0 -9
  197. package/v2/get_universe_types_type_id_ok.d.ts +0 -105
  198. package/v2/get_wars_ok.d.ts +0 -9
  199. package/v2/get_wars_war_id_killmails_ok.d.ts +0 -24
  200. package/v2/post_characters_affiliation_ok.d.ts +0 -32
  201. package/v2/post_characters_character_id_assets_locations_ok.d.ts +0 -39
  202. package/v2/post_characters_character_id_assets_names_ok.d.ts +0 -24
  203. package/v2/post_characters_character_id_contacts_created.d.ts +0 -9
  204. package/v2/post_characters_character_id_cspa_created.d.ts +0 -7
  205. package/v2/post_characters_character_id_fittings_created.d.ts +0 -14
  206. package/v2/post_characters_character_id_mail_created.d.ts +0 -7
  207. package/v2/post_characters_character_id_mail_labels_created.d.ts +0 -7
  208. package/v2/post_corporations_corporation_id_assets_locations_ok.d.ts +0 -39
  209. package/v2/post_corporations_corporation_id_assets_names_ok.d.ts +0 -24
  210. package/v2/post_fleets_fleet_id_wings_created.d.ts +0 -14
  211. package/v2/post_fleets_fleet_id_wings_wing_id_squads_created.d.ts +0 -14
  212. package/v2/post_universe_ids_ok.d.ts +0 -86
  213. package/v2/post_universe_names_ok.d.ts +0 -38
  214. /package/v2/{extra-types.d.ts → globals/extra-types.d.ts} +0 -0
@@ -0,0 +1,546 @@
1
+ // Generated by scripts/lib/code-synthesizer.mjs
2
+
3
+ // - - - - - - - - - - - - - - - - - - - -
4
+ // @method {get}
5
+ // - - - - - - - - - - - - - - - - - - - -
6
+ /*!
7
+ * ESI endpoint: get:/characters/{character_id}/contracts/
8
+ */
9
+ /**
10
+ * To whom the contract is available
11
+ */
12
+ type GetCharactersCharacterIdContractsAvailability = "public" | "personal" | "corporation" | "alliance";
13
+ /**
14
+ * Status of the the contract
15
+ */
16
+ type GetCharactersCharacterIdContractsStatus =
17
+ | "outstanding"
18
+ | "in_progress"
19
+ | "finished_issuer"
20
+ | "finished_contractor"
21
+ | "finished"
22
+ | "cancelled"
23
+ | "rejected"
24
+ | "failed"
25
+ | "deleted"
26
+ | "reversed";
27
+ /**
28
+ * Type of the contract
29
+ */
30
+ type GetCharactersCharacterIdContractsType = "unknown" | "item_exchange" | "auction" | "courier" | "loan";
31
+ /**
32
+ * 200 ok array
33
+ *
34
+ * @maxItems 1000
35
+ */
36
+ type GetCharactersCharacterIdContractsOk = GetCharactersCharacterIdContracts_200Ok[];
37
+
38
+ /**
39
+ * 200 ok object
40
+ */
41
+ interface GetCharactersCharacterIdContracts_200Ok {
42
+ /**
43
+ * Who will accept the contract
44
+ */
45
+ acceptor_id: number;
46
+ /**
47
+ * ID to whom the contract is assigned, can be alliance, corporation or character ID
48
+ */
49
+ assignee_id: number;
50
+ availability: GetCharactersCharacterIdContractsAvailability;
51
+ /**
52
+ * Buyout price (for Auctions only)
53
+ */
54
+ buyout?: number;
55
+ /**
56
+ * Collateral price (for Couriers only)
57
+ */
58
+ collateral?: number;
59
+ /**
60
+ * contract_id integer
61
+ */
62
+ contract_id: number;
63
+ /**
64
+ * Date of confirmation of contract
65
+ */
66
+ date_accepted?: string;
67
+ /**
68
+ * Date of completed of contract
69
+ */
70
+ date_completed?: string;
71
+ /**
72
+ * Expiration date of the contract
73
+ */
74
+ date_expired: string;
75
+ /**
76
+ * Сreation date of the contract
77
+ */
78
+ date_issued: string;
79
+ /**
80
+ * Number of days to perform the contract
81
+ */
82
+ days_to_complete?: number;
83
+ /**
84
+ * End location ID (for Couriers contract)
85
+ */
86
+ end_location_id?: number;
87
+ /**
88
+ * true if the contract was issued on behalf of the issuer's corporation
89
+ */
90
+ for_corporation: boolean;
91
+ /**
92
+ * Character's corporation ID for the issuer
93
+ */
94
+ issuer_corporation_id: number;
95
+ /**
96
+ * Character ID for the issuer
97
+ */
98
+ issuer_id: number;
99
+ /**
100
+ * Price of contract (for ItemsExchange and Auctions)
101
+ */
102
+ price?: number;
103
+ /**
104
+ * Remuneration for contract (for Couriers only)
105
+ */
106
+ reward?: number;
107
+ /**
108
+ * Start location ID (for Couriers contract)
109
+ */
110
+ start_location_id?: number;
111
+ status: GetCharactersCharacterIdContractsStatus;
112
+ /**
113
+ * Title of the contract
114
+ */
115
+ title?: string;
116
+ type: GetCharactersCharacterIdContractsType;
117
+ /**
118
+ * Volume of items in the contract
119
+ */
120
+ volume?: number;
121
+ [k: string]: unknown | undefined;
122
+ }
123
+
124
+ /*!
125
+ * ESI endpoint: get:/characters/{character_id}/contracts/{contract_id}/bids/
126
+ */
127
+ /**
128
+ * 200 ok array
129
+ *
130
+ * @maxItems 5000
131
+ */
132
+ type GetCharactersCharacterIdContractsContractIdBidsOk = GetCharactersCharacterIdContractsContractIdBids_200Ok[];
133
+
134
+ /**
135
+ * 200 ok object
136
+ */
137
+ interface GetCharactersCharacterIdContractsContractIdBids_200Ok {
138
+ /**
139
+ * The amount bid, in ISK
140
+ */
141
+ amount: number;
142
+ /**
143
+ * Unique ID for the bid
144
+ */
145
+ bid_id: number;
146
+ /**
147
+ * Character ID of the bidder
148
+ */
149
+ bidder_id: number;
150
+ /**
151
+ * Datetime when the bid was placed
152
+ */
153
+ date_bid: string;
154
+ [k: string]: unknown | undefined;
155
+ }
156
+
157
+ /*!
158
+ * ESI endpoint: get:/characters/{character_id}/contracts/{contract_id}/items/
159
+ */
160
+ /**
161
+ * 200 ok array
162
+ *
163
+ * @maxItems 5000
164
+ */
165
+ type GetCharactersCharacterIdContractsContractIdItemsOk =
166
+ GetCharactersCharacterIdContractsContractIdItems_200Ok[];
167
+
168
+ /**
169
+ * 200 ok object
170
+ */
171
+ interface GetCharactersCharacterIdContractsContractIdItems_200Ok {
172
+ /**
173
+ * true if the contract issuer has submitted this item with the contract, false if the isser is asking for this item in the contract
174
+ */
175
+ is_included: boolean;
176
+ /**
177
+ * is_singleton boolean
178
+ */
179
+ is_singleton: boolean;
180
+ /**
181
+ * Number of items in the stack
182
+ */
183
+ quantity: number;
184
+ /**
185
+ * -1 indicates that the item is a singleton (non-stackable). If the item happens to be a Blueprint, -1 is an Original and -2 is a Blueprint Copy
186
+ */
187
+ raw_quantity?: number;
188
+ /**
189
+ * Unique ID for the item
190
+ */
191
+ record_id: number;
192
+ type_id: number;
193
+ [k: string]: unknown | undefined;
194
+ }
195
+
196
+ /*!
197
+ * ESI endpoint: get:/contracts/public/bids/{contract_id}/
198
+ */
199
+ /**
200
+ * 200 ok array
201
+ *
202
+ * @maxItems 1000
203
+ */
204
+ type GetContractsPublicBidsContractIdOk = GetContractsPublicBidsContractId_200Ok[];
205
+
206
+ /**
207
+ * 200 ok object
208
+ */
209
+ interface GetContractsPublicBidsContractId_200Ok {
210
+ /**
211
+ * The amount bid, in ISK
212
+ */
213
+ amount: number;
214
+ /**
215
+ * Unique ID for the bid
216
+ */
217
+ bid_id: number;
218
+ /**
219
+ * Datetime when the bid was placed
220
+ */
221
+ date_bid: string;
222
+ [k: string]: unknown | undefined;
223
+ }
224
+
225
+ /*!
226
+ * ESI endpoint: get:/contracts/public/items/{contract_id}/
227
+ */
228
+ /**
229
+ * 200 ok array
230
+ *
231
+ * @maxItems 1000
232
+ */
233
+ type GetContractsPublicItemsContractIdOk = GetContractsPublicItemsContractId_200Ok[];
234
+
235
+ /**
236
+ * 200 ok object
237
+ */
238
+ interface GetContractsPublicItemsContractId_200Ok {
239
+ /**
240
+ * is_blueprint_copy boolean
241
+ */
242
+ is_blueprint_copy?: boolean;
243
+ /**
244
+ * true if the contract issuer has submitted this item with the contract, false if the isser is asking for this item in the contract
245
+ */
246
+ is_included: boolean;
247
+ /**
248
+ * Unique ID for the item being sold. Not present if item is being requested by contract rather than sold with contract
249
+ */
250
+ item_id?: number;
251
+ /**
252
+ * Material Efficiency Level of the blueprint
253
+ */
254
+ material_efficiency?: number;
255
+ /**
256
+ * Number of items in the stack
257
+ */
258
+ quantity: number;
259
+ /**
260
+ * Unique ID for the item, used by the contract system
261
+ */
262
+ record_id: number;
263
+ /**
264
+ * Number of runs remaining if the blueprint is a copy, -1 if it is an original
265
+ */
266
+ runs?: number;
267
+ /**
268
+ * Time Efficiency Level of the blueprint
269
+ */
270
+ time_efficiency?: number;
271
+ type_id: number;
272
+ [k: string]: unknown | undefined;
273
+ }
274
+
275
+ /*!
276
+ * ESI endpoint: get:/contracts/public/{region_id}/
277
+ */
278
+ /**
279
+ * Type of the contract
280
+ */
281
+ type GetContractsPublicRegionIdType = "unknown" | "item_exchange" | "auction" | "courier" | "loan";
282
+ /**
283
+ * 200 ok array
284
+ *
285
+ * @maxItems 1000
286
+ */
287
+ type GetContractsPublicRegionIdOk = GetContractsPublicRegionId_200Ok[];
288
+
289
+ /**
290
+ * 200 ok object
291
+ */
292
+ interface GetContractsPublicRegionId_200Ok {
293
+ /**
294
+ * Buyout price (for Auctions only)
295
+ */
296
+ buyout?: number;
297
+ /**
298
+ * Collateral price (for Couriers only)
299
+ */
300
+ collateral?: number;
301
+ /**
302
+ * contract_id integer
303
+ */
304
+ contract_id: number;
305
+ /**
306
+ * Expiration date of the contract
307
+ */
308
+ date_expired: string;
309
+ /**
310
+ * Сreation date of the contract
311
+ */
312
+ date_issued: string;
313
+ /**
314
+ * Number of days to perform the contract
315
+ */
316
+ days_to_complete?: number;
317
+ /**
318
+ * End location ID (for Couriers contract)
319
+ */
320
+ end_location_id?: number;
321
+ /**
322
+ * true if the contract was issued on behalf of the issuer's corporation
323
+ */
324
+ for_corporation?: boolean;
325
+ /**
326
+ * Character's corporation ID for the issuer
327
+ */
328
+ issuer_corporation_id: number;
329
+ /**
330
+ * Character ID for the issuer
331
+ */
332
+ issuer_id: number;
333
+ /**
334
+ * Price of contract (for ItemsExchange and Auctions)
335
+ */
336
+ price?: number;
337
+ /**
338
+ * Remuneration for contract (for Couriers only)
339
+ */
340
+ reward?: number;
341
+ /**
342
+ * Start location ID (for Couriers contract)
343
+ */
344
+ start_location_id?: number;
345
+ /**
346
+ * Title of the contract
347
+ */
348
+ title?: string;
349
+ type: GetContractsPublicRegionIdType;
350
+ /**
351
+ * Volume of items in the contract
352
+ */
353
+ volume?: number;
354
+ [k: string]: unknown | undefined;
355
+ }
356
+
357
+ /*!
358
+ * ESI endpoint: get:/corporations/{corporation_id}/contracts/
359
+ */
360
+ /**
361
+ * To whom the contract is available
362
+ */
363
+ type GetCorporationsCorporationIdContractsAvailability = "public" | "personal" | "corporation" | "alliance";
364
+ /**
365
+ * Status of the the contract
366
+ */
367
+ type GetCorporationsCorporationIdContractsStatus =
368
+ | "outstanding"
369
+ | "in_progress"
370
+ | "finished_issuer"
371
+ | "finished_contractor"
372
+ | "finished"
373
+ | "cancelled"
374
+ | "rejected"
375
+ | "failed"
376
+ | "deleted"
377
+ | "reversed";
378
+ /**
379
+ * Type of the contract
380
+ */
381
+ type GetCorporationsCorporationIdContractsType = "unknown" | "item_exchange" | "auction" | "courier" | "loan";
382
+ /**
383
+ * 200 ok array
384
+ *
385
+ * @maxItems 1000
386
+ */
387
+ type GetCorporationsCorporationIdContractsOk = GetCorporationsCorporationIdContracts_200Ok[];
388
+
389
+ /**
390
+ * 200 ok object
391
+ */
392
+ interface GetCorporationsCorporationIdContracts_200Ok {
393
+ /**
394
+ * Who will accept the contract
395
+ */
396
+ acceptor_id: number;
397
+ /**
398
+ * ID to whom the contract is assigned, can be corporation or character ID
399
+ */
400
+ assignee_id: number;
401
+ availability: GetCorporationsCorporationIdContractsAvailability;
402
+ /**
403
+ * Buyout price (for Auctions only)
404
+ */
405
+ buyout?: number;
406
+ /**
407
+ * Collateral price (for Couriers only)
408
+ */
409
+ collateral?: number;
410
+ /**
411
+ * contract_id integer
412
+ */
413
+ contract_id: number;
414
+ /**
415
+ * Date of confirmation of contract
416
+ */
417
+ date_accepted?: string;
418
+ /**
419
+ * Date of completed of contract
420
+ */
421
+ date_completed?: string;
422
+ /**
423
+ * Expiration date of the contract
424
+ */
425
+ date_expired: string;
426
+ /**
427
+ * Сreation date of the contract
428
+ */
429
+ date_issued: string;
430
+ /**
431
+ * Number of days to perform the contract
432
+ */
433
+ days_to_complete?: number;
434
+ /**
435
+ * End location ID (for Couriers contract)
436
+ */
437
+ end_location_id?: number;
438
+ /**
439
+ * true if the contract was issued on behalf of the issuer's corporation
440
+ */
441
+ for_corporation: boolean;
442
+ /**
443
+ * Character's corporation ID for the issuer
444
+ */
445
+ issuer_corporation_id: number;
446
+ /**
447
+ * Character ID for the issuer
448
+ */
449
+ issuer_id: number;
450
+ /**
451
+ * Price of contract (for ItemsExchange and Auctions)
452
+ */
453
+ price?: number;
454
+ /**
455
+ * Remuneration for contract (for Couriers only)
456
+ */
457
+ reward?: number;
458
+ /**
459
+ * Start location ID (for Couriers contract)
460
+ */
461
+ start_location_id?: number;
462
+ status: GetCorporationsCorporationIdContractsStatus;
463
+ /**
464
+ * Title of the contract
465
+ */
466
+ title?: string;
467
+ type: GetCorporationsCorporationIdContractsType;
468
+ /**
469
+ * Volume of items in the contract
470
+ */
471
+ volume?: number;
472
+ [k: string]: unknown | undefined;
473
+ }
474
+
475
+ /*!
476
+ * ESI endpoint: get:/corporations/{corporation_id}/contracts/{contract_id}/bids/
477
+ */
478
+ /**
479
+ * 200 ok array
480
+ *
481
+ * @maxItems 1000
482
+ */
483
+ type GetCorporationsCorporationIdContractsContractIdBidsOk =
484
+ GetCorporationsCorporationIdContractsContractIdBids_200Ok[];
485
+
486
+ /**
487
+ * 200 ok object
488
+ */
489
+ interface GetCorporationsCorporationIdContractsContractIdBids_200Ok {
490
+ /**
491
+ * The amount bid, in ISK
492
+ */
493
+ amount: number;
494
+ /**
495
+ * Unique ID for the bid
496
+ */
497
+ bid_id: number;
498
+ /**
499
+ * Character ID of the bidder
500
+ */
501
+ bidder_id: number;
502
+ /**
503
+ * Datetime when the bid was placed
504
+ */
505
+ date_bid: string;
506
+ [k: string]: unknown | undefined;
507
+ }
508
+
509
+ /*!
510
+ * ESI endpoint: get:/corporations/{corporation_id}/contracts/{contract_id}/items/
511
+ */
512
+ /**
513
+ * 200 ok array
514
+ *
515
+ * @maxItems 5000
516
+ */
517
+ type GetCorporationsCorporationIdContractsContractIdItemsOk =
518
+ GetCorporationsCorporationIdContractsContractIdItems_200Ok[];
519
+
520
+ /**
521
+ * 200 ok object
522
+ */
523
+ interface GetCorporationsCorporationIdContractsContractIdItems_200Ok {
524
+ /**
525
+ * true if the contract issuer has submitted this item with the contract, false if the isser is asking for this item in the contract
526
+ */
527
+ is_included: boolean;
528
+ /**
529
+ * is_singleton boolean
530
+ */
531
+ is_singleton: boolean;
532
+ /**
533
+ * Number of items in the stack
534
+ */
535
+ quantity: number;
536
+ /**
537
+ * -1 indicates that the item is a singleton (non-stackable). If the item happens to be a Blueprint, -1 is an Original and -2 is a Blueprint Copy
538
+ */
539
+ raw_quantity?: number;
540
+ /**
541
+ * Unique ID for the item
542
+ */
543
+ record_id: number;
544
+ type_id: number;
545
+ [k: string]: unknown | undefined;
546
+ }