@lgriffin/esi.ts 5.2.0 → 6.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 (322) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +262 -95
  3. package/dist/EsiClient.d.ts +2 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/EsiClient.js +6 -0
  6. package/dist/clients/AssetsClient.d.ts +3 -0
  7. package/dist/clients/AssetsClient.d.ts.map +1 -1
  8. package/dist/clients/AssetsClient.js +6 -0
  9. package/dist/clients/BaseEsiClient.d.ts +3 -1
  10. package/dist/clients/BaseEsiClient.d.ts.map +1 -1
  11. package/dist/clients/BaseEsiClient.js +7 -0
  12. package/dist/clients/ContactsClient.d.ts +6 -4
  13. package/dist/clients/ContactsClient.d.ts.map +1 -1
  14. package/dist/clients/ContactsClient.js +9 -7
  15. package/dist/clients/ContractsClient.d.ts +4 -0
  16. package/dist/clients/ContractsClient.d.ts.map +1 -1
  17. package/dist/clients/ContractsClient.js +9 -0
  18. package/dist/clients/FleetClient.d.ts +2 -2
  19. package/dist/clients/FleetClient.d.ts.map +1 -1
  20. package/dist/clients/FleetClient.js +8 -2
  21. package/dist/clients/KillmailsClient.d.ts +3 -0
  22. package/dist/clients/KillmailsClient.d.ts.map +1 -1
  23. package/dist/clients/KillmailsClient.js +6 -0
  24. package/dist/clients/MarketClient.d.ts +7 -0
  25. package/dist/clients/MarketClient.d.ts.map +1 -1
  26. package/dist/clients/MarketClient.js +18 -0
  27. package/dist/clients/SovereigntyClient.d.ts +1 -1
  28. package/dist/clients/SovereigntyClient.d.ts.map +1 -1
  29. package/dist/clients/UiClient.d.ts +11 -9
  30. package/dist/clients/UiClient.d.ts.map +1 -1
  31. package/dist/clients/UiClient.js +15 -13
  32. package/dist/clients/WalletClient.d.ts +4 -0
  33. package/dist/clients/WalletClient.d.ts.map +1 -1
  34. package/dist/clients/WalletClient.js +9 -0
  35. package/dist/core/ApiClient.d.ts +6 -0
  36. package/dist/core/ApiClient.d.ts.map +1 -1
  37. package/dist/core/ApiClient.js +14 -0
  38. package/dist/core/ApiRequestHandler.d.ts +1 -0
  39. package/dist/core/ApiRequestHandler.d.ts.map +1 -1
  40. package/dist/core/ApiRequestHandler.js +10 -1
  41. package/dist/core/constants.d.ts +2 -2
  42. package/dist/core/constants.js +1 -1
  43. package/dist/core/endpoints/EndpointDefinition.d.ts +15 -4
  44. package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
  45. package/dist/core/endpoints/accessListEndpoints.d.ts +16 -0
  46. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
  47. package/dist/core/endpoints/accessListEndpoints.js +2 -0
  48. package/dist/core/endpoints/allianceEndpoints.d.ts +14 -0
  49. package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -1
  50. package/dist/core/endpoints/allianceEndpoints.js +3 -0
  51. package/dist/core/endpoints/assetEndpoints.d.ts +28 -0
  52. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
  53. package/dist/core/endpoints/assetEndpoints.js +5 -0
  54. package/dist/core/endpoints/buildEndpointPath.d.ts +7 -0
  55. package/dist/core/endpoints/buildEndpointPath.d.ts.map +1 -0
  56. package/dist/core/endpoints/buildEndpointPath.js +44 -0
  57. package/dist/core/endpoints/calendarEndpoints.d.ts +40 -0
  58. package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -1
  59. package/dist/core/endpoints/calendarEndpoints.js +5 -0
  60. package/dist/core/endpoints/characterEndpoints.d.ts +105 -0
  61. package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
  62. package/dist/core/endpoints/characterEndpoints.js +13 -0
  63. package/dist/core/endpoints/cloneEndpoints.d.ts +21 -0
  64. package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
  65. package/dist/core/endpoints/cloneEndpoints.js +2 -0
  66. package/dist/core/endpoints/contactEndpoints.d.ts +60 -3
  67. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  68. package/dist/core/endpoints/contactEndpoints.js +13 -3
  69. package/dist/core/endpoints/contractEndpoints.d.ts +184 -0
  70. package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
  71. package/dist/core/endpoints/contractEndpoints.js +11 -0
  72. package/dist/core/endpoints/corporationEndpoints.d.ts +192 -0
  73. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
  74. package/dist/core/endpoints/corporationEndpoints.js +18 -0
  75. package/dist/core/endpoints/createClient.d.ts.map +1 -1
  76. package/dist/core/endpoints/createClient.js +15 -41
  77. package/dist/core/endpoints/dogmaEndpoints.d.ts +38 -0
  78. package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
  79. package/dist/core/endpoints/dogmaEndpoints.js +4 -0
  80. package/dist/core/endpoints/esi-scopes.generated.d.ts +3 -0
  81. package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -0
  82. package/dist/core/endpoints/esi-scopes.generated.js +127 -0
  83. package/dist/core/endpoints/factionEndpoints.d.ts +154 -0
  84. package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
  85. package/dist/core/endpoints/factionEndpoints.js +10 -0
  86. package/dist/core/endpoints/fittingEndpoints.d.ts +12 -0
  87. package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -1
  88. package/dist/core/endpoints/fittingEndpoints.js +3 -0
  89. package/dist/core/endpoints/fleetEndpoints.d.ts +45 -0
  90. package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
  91. package/dist/core/endpoints/fleetEndpoints.js +6 -0
  92. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +122 -0
  93. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
  94. package/dist/core/endpoints/freelanceJobsEndpoints.js +8 -0
  95. package/dist/core/endpoints/incursionEndpoints.d.ts +15 -0
  96. package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -1
  97. package/dist/core/endpoints/incursionEndpoints.js +3 -0
  98. package/dist/core/endpoints/industryEndpoints.d.ts +103 -0
  99. package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
  100. package/dist/core/endpoints/industryEndpoints.js +10 -0
  101. package/dist/core/endpoints/insuranceEndpoints.d.ts +9 -0
  102. package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -1
  103. package/dist/core/endpoints/insuranceEndpoints.js +3 -0
  104. package/dist/core/endpoints/killmailEndpoints.d.ts +41 -0
  105. package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -1
  106. package/dist/core/endpoints/killmailEndpoints.js +5 -0
  107. package/dist/core/endpoints/locationEndpoints.d.ts +16 -0
  108. package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -1
  109. package/dist/core/endpoints/locationEndpoints.js +4 -0
  110. package/dist/core/endpoints/loyaltyEndpoints.d.ts +17 -0
  111. package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -1
  112. package/dist/core/endpoints/loyaltyEndpoints.js +4 -0
  113. package/dist/core/endpoints/mailEndpoints.d.ts +37 -0
  114. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  115. package/dist/core/endpoints/mailEndpoints.js +4 -0
  116. package/dist/core/endpoints/marketEndpoints.d.ts +123 -0
  117. package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
  118. package/dist/core/endpoints/marketEndpoints.js +9 -0
  119. package/dist/core/endpoints/mercenaryEndpoints.d.ts +24 -0
  120. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
  121. package/dist/core/endpoints/mercenaryEndpoints.js +4 -0
  122. package/dist/core/endpoints/piEndpoints.d.ts +76 -0
  123. package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
  124. package/dist/core/endpoints/piEndpoints.js +5 -0
  125. package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
  126. package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -1
  127. package/dist/core/endpoints/skillEndpoints.js +5 -0
  128. package/dist/core/endpoints/skyhookEndpoints.d.ts +27 -0
  129. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
  130. package/dist/core/endpoints/skyhookEndpoints.js +5 -0
  131. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +51 -0
  132. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
  133. package/dist/core/endpoints/sovereigntyEndpoints.js +4 -0
  134. package/dist/core/endpoints/statusEndpoints.d.ts +6 -0
  135. package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -1
  136. package/dist/core/endpoints/statusEndpoints.js +2 -0
  137. package/dist/core/endpoints/uiEndpoints.d.ts +14 -4
  138. package/dist/core/endpoints/uiEndpoints.d.ts.map +1 -1
  139. package/dist/core/endpoints/uiEndpoints.js +8 -4
  140. package/dist/core/endpoints/universeEndpoints.d.ts +272 -0
  141. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
  142. package/dist/core/endpoints/universeEndpoints.js +25 -0
  143. package/dist/core/endpoints/walletEndpoints.d.ts +51 -0
  144. package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
  145. package/dist/core/endpoints/walletEndpoints.js +6 -0
  146. package/dist/core/endpoints/warEndpoints.d.ts +30 -0
  147. package/dist/core/endpoints/warEndpoints.d.ts.map +1 -1
  148. package/dist/core/endpoints/warEndpoints.js +5 -0
  149. package/dist/core/pagination/AsyncPaginationIterator.js +2 -2
  150. package/dist/core/util/error.d.ts +5 -0
  151. package/dist/core/util/error.d.ts.map +1 -1
  152. package/dist/core/util/error.js +14 -1
  153. package/dist/index.d.ts +4 -1
  154. package/dist/index.d.ts.map +1 -1
  155. package/dist/index.js +32 -2
  156. package/dist/schemas/access-lists.d.ts +30 -0
  157. package/dist/schemas/access-lists.d.ts.map +1 -0
  158. package/dist/schemas/access-lists.js +14 -0
  159. package/dist/schemas/alliance.d.ts +30 -0
  160. package/dist/schemas/alliance.d.ts.map +1 -0
  161. package/dist/schemas/alliance.js +28 -0
  162. package/dist/schemas/assets.d.ts +29 -0
  163. package/dist/schemas/assets.d.ts.map +1 -0
  164. package/dist/schemas/assets.js +26 -0
  165. package/dist/schemas/calendar.d.ts +41 -0
  166. package/dist/schemas/calendar.d.ts.map +1 -0
  167. package/dist/schemas/calendar.js +43 -0
  168. package/dist/schemas/character.d.ts +122 -0
  169. package/dist/schemas/character.d.ts.map +1 -0
  170. package/dist/schemas/character.js +114 -0
  171. package/dist/schemas/clones.d.ts +23 -0
  172. package/dist/schemas/clones.d.ts.map +1 -0
  173. package/dist/schemas/clones.js +21 -0
  174. package/dist/schemas/common.d.ts +59 -0
  175. package/dist/schemas/common.d.ts.map +1 -0
  176. package/dist/schemas/common.js +34 -0
  177. package/dist/schemas/contacts.d.ts +18 -0
  178. package/dist/schemas/contacts.d.ts.map +1 -0
  179. package/dist/schemas/contacts.js +15 -0
  180. package/dist/schemas/contracts.d.ts +63 -0
  181. package/dist/schemas/contracts.d.ts.map +1 -0
  182. package/dist/schemas/contracts.js +58 -0
  183. package/dist/schemas/corporation.d.ts +193 -0
  184. package/dist/schemas/corporation.d.ts.map +1 -0
  185. package/dist/schemas/corporation.js +178 -0
  186. package/dist/schemas/dogma.d.ts +40 -0
  187. package/dist/schemas/dogma.d.ts.map +1 -0
  188. package/dist/schemas/dogma.js +42 -0
  189. package/dist/schemas/faction-warfare.d.ts +95 -0
  190. package/dist/schemas/faction-warfare.d.ts.map +1 -0
  191. package/dist/schemas/faction-warfare.js +92 -0
  192. package/dist/schemas/fittings.d.ts +13 -0
  193. package/dist/schemas/fittings.d.ts.map +1 -0
  194. package/dist/schemas/fittings.js +15 -0
  195. package/dist/schemas/fleet.d.ts +46 -0
  196. package/dist/schemas/fleet.d.ts.map +1 -0
  197. package/dist/schemas/fleet.js +48 -0
  198. package/dist/schemas/freelance-jobs.d.ts +141 -0
  199. package/dist/schemas/freelance-jobs.d.ts.map +1 -0
  200. package/dist/schemas/freelance-jobs.js +99 -0
  201. package/dist/schemas/incursions.d.ts +16 -0
  202. package/dist/schemas/incursions.d.ts.map +1 -0
  203. package/dist/schemas/incursions.js +14 -0
  204. package/dist/schemas/index.d.ts +33 -0
  205. package/dist/schemas/index.d.ts.map +1 -0
  206. package/dist/schemas/index.js +48 -0
  207. package/dist/schemas/industry.d.ts +73 -0
  208. package/dist/schemas/industry.d.ts.map +1 -0
  209. package/dist/schemas/industry.js +75 -0
  210. package/dist/schemas/insurance.d.ts +10 -0
  211. package/dist/schemas/insurance.d.ts.map +1 -0
  212. package/dist/schemas/insurance.js +12 -0
  213. package/dist/schemas/killmails.d.ts +38 -0
  214. package/dist/schemas/killmails.d.ts.map +1 -0
  215. package/dist/schemas/killmails.js +42 -0
  216. package/dist/schemas/location.d.ts +18 -0
  217. package/dist/schemas/location.d.ts.map +1 -0
  218. package/dist/schemas/location.js +20 -0
  219. package/dist/schemas/loyalty.d.ts +18 -0
  220. package/dist/schemas/loyalty.d.ts.map +1 -0
  221. package/dist/schemas/loyalty.js +20 -0
  222. package/dist/schemas/mail.d.ts +26 -0
  223. package/dist/schemas/mail.d.ts.map +1 -0
  224. package/dist/schemas/mail.js +30 -0
  225. package/dist/schemas/market.d.ts +29 -0
  226. package/dist/schemas/market.d.ts.map +1 -0
  227. package/dist/schemas/market.js +26 -0
  228. package/dist/schemas/mercenary.d.ts +25 -0
  229. package/dist/schemas/mercenary.d.ts.map +1 -0
  230. package/dist/schemas/mercenary.js +22 -0
  231. package/dist/schemas/pi.d.ts +77 -0
  232. package/dist/schemas/pi.d.ts.map +1 -0
  233. package/dist/schemas/pi.js +85 -0
  234. package/dist/schemas/skills.d.ts +18 -0
  235. package/dist/schemas/skills.d.ts.map +1 -0
  236. package/dist/schemas/skills.js +20 -0
  237. package/dist/schemas/skyhooks.d.ts +28 -0
  238. package/dist/schemas/skyhooks.d.ts.map +1 -0
  239. package/dist/schemas/skyhooks.js +30 -0
  240. package/dist/schemas/sovereignty.d.ts +59 -0
  241. package/dist/schemas/sovereignty.d.ts.map +1 -0
  242. package/dist/schemas/sovereignty.js +70 -0
  243. package/dist/schemas/status.d.ts +8 -0
  244. package/dist/schemas/status.d.ts.map +1 -0
  245. package/dist/schemas/status.js +10 -0
  246. package/dist/schemas/universe.d.ts +286 -0
  247. package/dist/schemas/universe.d.ts.map +1 -0
  248. package/dist/schemas/universe.js +245 -0
  249. package/dist/schemas/wallet.d.ts +27 -0
  250. package/dist/schemas/wallet.d.ts.map +1 -0
  251. package/dist/schemas/wallet.js +29 -0
  252. package/dist/schemas/wars.d.ts +27 -0
  253. package/dist/schemas/wars.d.ts.map +1 -0
  254. package/dist/schemas/wars.js +31 -0
  255. package/dist/testing/TestDataFactory.d.ts +44 -3
  256. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  257. package/dist/testing/TestDataFactory.js +16 -10
  258. package/dist/types/access-lists.d.ts +4 -10
  259. package/dist/types/access-lists.d.ts.map +1 -1
  260. package/dist/types/alliance.d.ts +6 -24
  261. package/dist/types/alliance.d.ts.map +1 -1
  262. package/dist/types/assets.d.ts +5 -22
  263. package/dist/types/assets.d.ts.map +1 -1
  264. package/dist/types/calendar.d.ts +5 -23
  265. package/dist/types/calendar.d.ts.map +1 -1
  266. package/dist/types/character.d.ts +15 -104
  267. package/dist/types/character.d.ts.map +1 -1
  268. package/dist/types/clones.d.ts +3 -15
  269. package/dist/types/clones.d.ts.map +1 -1
  270. package/dist/types/common.d.ts +4 -21
  271. package/dist/types/common.d.ts.map +1 -1
  272. package/dist/types/contacts.d.ts +4 -11
  273. package/dist/types/contacts.d.ts.map +1 -1
  274. package/dist/types/contracts.d.ts +5 -39
  275. package/dist/types/contracts.d.ts.map +1 -1
  276. package/dist/types/corporation.d.ts +18 -166
  277. package/dist/types/corporation.d.ts.map +1 -1
  278. package/dist/types/dogma.d.ts +5 -38
  279. package/dist/types/dogma.d.ts.map +1 -1
  280. package/dist/types/faction-warfare.d.ts +8 -88
  281. package/dist/types/faction-warfare.d.ts.map +1 -1
  282. package/dist/types/fittings.d.ts +3 -11
  283. package/dist/types/fittings.d.ts.map +1 -1
  284. package/dist/types/fleet.d.ts +6 -34
  285. package/dist/types/fleet.d.ts.map +1 -1
  286. package/dist/types/freelance-jobs.d.ts +10 -91
  287. package/dist/types/freelance-jobs.d.ts.map +1 -1
  288. package/dist/types/incursions.d.ts +3 -10
  289. package/dist/types/incursions.d.ts.map +1 -1
  290. package/dist/types/industry.d.ts +9 -64
  291. package/dist/types/industry.d.ts.map +1 -1
  292. package/dist/types/insurance.d.ts +3 -8
  293. package/dist/types/insurance.d.ts.map +1 -1
  294. package/dist/types/killmails.d.ts +4 -36
  295. package/dist/types/killmails.d.ts.map +1 -1
  296. package/dist/types/location.d.ts +5 -16
  297. package/dist/types/location.d.ts.map +1 -1
  298. package/dist/types/loyalty.d.ts +4 -16
  299. package/dist/types/loyalty.d.ts.map +1 -1
  300. package/dist/types/mail.d.ts +4 -18
  301. package/dist/types/mail.d.ts.map +1 -1
  302. package/dist/types/market.d.ts +4 -22
  303. package/dist/types/market.d.ts.map +1 -1
  304. package/dist/types/mercenary.d.ts +4 -18
  305. package/dist/types/mercenary.d.ts.map +1 -1
  306. package/dist/types/pi.d.ts +5 -66
  307. package/dist/types/pi.d.ts.map +1 -1
  308. package/dist/types/skills.d.ts +4 -16
  309. package/dist/types/skills.d.ts.map +1 -1
  310. package/dist/types/skyhooks.d.ts +5 -26
  311. package/dist/types/skyhooks.d.ts.map +1 -1
  312. package/dist/types/sovereignty.d.ts +5 -32
  313. package/dist/types/sovereignty.d.ts.map +1 -1
  314. package/dist/types/status.d.ts +3 -6
  315. package/dist/types/status.d.ts.map +1 -1
  316. package/dist/types/universe.d.ts +26 -274
  317. package/dist/types/universe.d.ts.map +1 -1
  318. package/dist/types/wallet.d.ts +4 -25
  319. package/dist/types/wallet.d.ts.map +1 -1
  320. package/dist/types/wars.d.ts +3 -25
  321. package/dist/types/wars.d.ts.map +1 -1
  322. package/package.json +62 -45
@@ -1,3 +1,4 @@
1
+ import { z } from 'zod';
1
2
  export declare const freelanceJobsEndpoints: {
2
3
  readonly getFreelanceJobs: {
3
4
  readonly path: "freelance-jobs";
@@ -7,12 +8,79 @@ export declare const freelanceJobsEndpoints: {
7
8
  readonly before: "before";
8
9
  readonly after: "after";
9
10
  };
11
+ readonly responseSchema: z.ZodObject<{
12
+ cursor: z.ZodOptional<z.ZodObject<{
13
+ before: z.ZodNullable<z.ZodString>;
14
+ after: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ freelance_jobs: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodString;
18
+ name: z.ZodString;
19
+ state: z.ZodString;
20
+ last_modified: z.ZodString;
21
+ progress: z.ZodObject<{
22
+ current: z.ZodNumber;
23
+ desired: z.ZodNumber;
24
+ }, z.core.$loose>;
25
+ reward: z.ZodOptional<z.ZodObject<{
26
+ initial: z.ZodNumber;
27
+ remaining: z.ZodNumber;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
10
31
  };
11
32
  readonly getFreelanceJobById: {
12
33
  readonly path: "freelance-jobs/{jobId}";
13
34
  readonly method: "GET";
14
35
  readonly requiresAuth: false;
15
36
  readonly pathParams: readonly ["jobId"];
37
+ readonly responseSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ name: z.ZodString;
40
+ state: z.ZodString;
41
+ last_modified: z.ZodString;
42
+ progress: z.ZodObject<{
43
+ current: z.ZodNumber;
44
+ desired: z.ZodNumber;
45
+ }, z.core.$loose>;
46
+ reward: z.ZodOptional<z.ZodObject<{
47
+ initial: z.ZodNumber;
48
+ remaining: z.ZodNumber;
49
+ }, z.core.$loose>>;
50
+ details: z.ZodObject<{
51
+ description: z.ZodString;
52
+ career: z.ZodString;
53
+ created: z.ZodString;
54
+ expires: z.ZodString;
55
+ creator: z.ZodObject<{
56
+ character: z.ZodObject<{
57
+ id: z.ZodNumber;
58
+ name: z.ZodString;
59
+ }, z.core.$loose>;
60
+ corporation: z.ZodObject<{
61
+ id: z.ZodNumber;
62
+ name: z.ZodString;
63
+ }, z.core.$loose>;
64
+ }, z.core.$loose>;
65
+ }, z.core.$loose>;
66
+ configuration: z.ZodObject<{
67
+ version: z.ZodNumber;
68
+ parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
69
+ method: z.ZodString;
70
+ }, z.core.$loose>;
71
+ contribution: z.ZodObject<{
72
+ max_committed_participants: z.ZodNumber;
73
+ reward_per_contribution: z.ZodOptional<z.ZodNumber>;
74
+ submission_multiplier: z.ZodOptional<z.ZodNumber>;
75
+ }, z.core.$loose>;
76
+ access_and_visibility: z.ZodObject<{
77
+ acl_protected: z.ZodBoolean;
78
+ broadcast_locations: z.ZodArray<z.ZodObject<{
79
+ id: z.ZodNumber;
80
+ name: z.ZodString;
81
+ }, z.core.$loose>>;
82
+ }, z.core.$loose>;
83
+ }, z.core.$loose>;
16
84
  };
17
85
  readonly getCharacterFreelanceJobs: {
18
86
  readonly path: "characters/{characterId}/freelance-jobs";
@@ -23,12 +91,39 @@ export declare const freelanceJobsEndpoints: {
23
91
  readonly before: "before";
24
92
  readonly after: "after";
25
93
  };
94
+ readonly responseSchema: z.ZodObject<{
95
+ cursor: z.ZodOptional<z.ZodObject<{
96
+ before: z.ZodNullable<z.ZodString>;
97
+ after: z.ZodNullable<z.ZodString>;
98
+ }, z.core.$loose>>;
99
+ freelance_jobs: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
101
+ name: z.ZodString;
102
+ state: z.ZodString;
103
+ last_modified: z.ZodString;
104
+ progress: z.ZodObject<{
105
+ current: z.ZodNumber;
106
+ desired: z.ZodNumber;
107
+ }, z.core.$loose>;
108
+ reward: z.ZodOptional<z.ZodObject<{
109
+ initial: z.ZodNumber;
110
+ remaining: z.ZodNumber;
111
+ }, z.core.$loose>>;
112
+ }, z.core.$loose>>;
113
+ }, z.core.$loose>;
26
114
  };
27
115
  readonly getCharacterFreelanceJobParticipation: {
28
116
  readonly path: "characters/{characterId}/freelance-jobs/{jobId}/participation";
29
117
  readonly method: "GET";
30
118
  readonly requiresAuth: true;
31
119
  readonly pathParams: readonly ["characterId", "jobId"];
120
+ readonly responseSchema: z.ZodObject<{
121
+ job_id: z.ZodString;
122
+ character_id: z.ZodNumber;
123
+ status: z.ZodString;
124
+ contributions: z.ZodNumber;
125
+ last_contribution: z.ZodOptional<z.ZodString>;
126
+ }, z.core.$loose>;
32
127
  };
33
128
  readonly getCorporationFreelanceJobs: {
34
129
  readonly path: "corporations/{corporationId}/freelance-jobs";
@@ -39,12 +134,39 @@ export declare const freelanceJobsEndpoints: {
39
134
  readonly before: "before";
40
135
  readonly after: "after";
41
136
  };
137
+ readonly responseSchema: z.ZodObject<{
138
+ cursor: z.ZodOptional<z.ZodObject<{
139
+ before: z.ZodNullable<z.ZodString>;
140
+ after: z.ZodNullable<z.ZodString>;
141
+ }, z.core.$loose>>;
142
+ freelance_jobs: z.ZodArray<z.ZodObject<{
143
+ id: z.ZodString;
144
+ name: z.ZodString;
145
+ state: z.ZodString;
146
+ last_modified: z.ZodString;
147
+ progress: z.ZodObject<{
148
+ current: z.ZodNumber;
149
+ desired: z.ZodNumber;
150
+ }, z.core.$loose>;
151
+ reward: z.ZodOptional<z.ZodObject<{
152
+ initial: z.ZodNumber;
153
+ remaining: z.ZodNumber;
154
+ }, z.core.$loose>>;
155
+ }, z.core.$loose>>;
156
+ }, z.core.$loose>;
42
157
  };
43
158
  readonly getCorporationFreelanceJobParticipants: {
44
159
  readonly path: "corporations/{corporationId}/freelance-jobs/{jobId}/participants";
45
160
  readonly method: "GET";
46
161
  readonly requiresAuth: true;
47
162
  readonly pathParams: readonly ["corporationId", "jobId"];
163
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
164
+ character_id: z.ZodNumber;
165
+ corporation_id: z.ZodNumber;
166
+ status: z.ZodString;
167
+ contributions: z.ZodNumber;
168
+ last_contribution: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$loose>>;
48
170
  };
49
171
  };
50
172
  //# sourceMappingURL=freelanceJobsEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"freelanceJobsEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/freelanceJobsEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCH,CAAC"}
1
+ {"version":3,"file":"freelanceJobsEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/freelanceJobsEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CH,CAAC"}
@@ -1,18 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.freelanceJobsEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const freelance_jobs_1 = require("../../schemas/freelance-jobs");
4
6
  exports.freelanceJobsEndpoints = {
5
7
  getFreelanceJobs: {
6
8
  path: 'freelance-jobs',
7
9
  method: 'GET',
8
10
  requiresAuth: false,
9
11
  queryParams: { before: 'before', after: 'after' },
12
+ responseSchema: freelance_jobs_1.FreelanceJobsListingSchema,
10
13
  },
11
14
  getFreelanceJobById: {
12
15
  path: 'freelance-jobs/{jobId}',
13
16
  method: 'GET',
14
17
  requiresAuth: false,
15
18
  pathParams: ['jobId'],
19
+ responseSchema: freelance_jobs_1.FreelanceJobDetailSchema,
16
20
  },
17
21
  getCharacterFreelanceJobs: {
18
22
  path: 'characters/{characterId}/freelance-jobs',
@@ -20,12 +24,14 @@ exports.freelanceJobsEndpoints = {
20
24
  requiresAuth: true,
21
25
  pathParams: ['characterId'],
22
26
  queryParams: { before: 'before', after: 'after' },
27
+ responseSchema: freelance_jobs_1.CharacterFreelanceJobsListingSchema,
23
28
  },
24
29
  getCharacterFreelanceJobParticipation: {
25
30
  path: 'characters/{characterId}/freelance-jobs/{jobId}/participation',
26
31
  method: 'GET',
27
32
  requiresAuth: true,
28
33
  pathParams: ['characterId', 'jobId'],
34
+ responseSchema: freelance_jobs_1.FreelanceJobParticipationSchema,
29
35
  },
30
36
  getCorporationFreelanceJobs: {
31
37
  path: 'corporations/{corporationId}/freelance-jobs',
@@ -33,11 +39,13 @@ exports.freelanceJobsEndpoints = {
33
39
  requiresAuth: true,
34
40
  pathParams: ['corporationId'],
35
41
  queryParams: { before: 'before', after: 'after' },
42
+ responseSchema: freelance_jobs_1.CorporationFreelanceJobsListingSchema,
36
43
  },
37
44
  getCorporationFreelanceJobParticipants: {
38
45
  path: 'corporations/{corporationId}/freelance-jobs/{jobId}/participants',
39
46
  method: 'GET',
40
47
  requiresAuth: true,
41
48
  pathParams: ['corporationId', 'jobId'],
49
+ responseSchema: zod_1.z.array(freelance_jobs_1.FreelanceJobParticipantSchema),
42
50
  },
43
51
  };
@@ -1,8 +1,23 @@
1
+ import { z } from 'zod';
1
2
  export declare const incursionEndpoints: {
2
3
  readonly getIncursions: {
3
4
  readonly path: "incursions";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: false;
7
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
8
+ type: z.ZodString;
9
+ state: z.ZodEnum<{
10
+ withdrawing: "withdrawing";
11
+ mobilizing: "mobilizing";
12
+ established: "established";
13
+ }>;
14
+ staging_solar_system_id: z.ZodNumber;
15
+ constellation_id: z.ZodNumber;
16
+ infested_solar_systems: z.ZodArray<z.ZodNumber>;
17
+ has_boss: z.ZodBoolean;
18
+ faction_id: z.ZodNumber;
19
+ influence: z.ZodNumber;
20
+ }, z.core.$loose>>;
6
21
  };
7
22
  };
8
23
  //# sourceMappingURL=incursionEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"incursionEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/incursionEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;CAMC,CAAC"}
1
+ {"version":3,"file":"incursionEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/incursionEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;CAOC,CAAC"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.incursionEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const incursions_1 = require("../../schemas/incursions");
4
6
  exports.incursionEndpoints = {
5
7
  getIncursions: {
6
8
  path: 'incursions',
7
9
  method: 'GET',
8
10
  requiresAuth: false,
11
+ responseSchema: zod_1.z.array(incursions_1.IncursionSchema),
9
12
  },
10
13
  };
@@ -1,49 +1,152 @@
1
+ import { z } from 'zod';
1
2
  export declare const industryEndpoints: {
2
3
  readonly getCharacterIndustryJobs: {
3
4
  readonly path: "characters/{characterId}/industry/jobs";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: true;
6
7
  readonly pathParams: readonly ["characterId"];
8
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
9
+ job_id: z.ZodNumber;
10
+ installer_id: z.ZodNumber;
11
+ facility_id: z.ZodNumber;
12
+ station_id: z.ZodNumber;
13
+ activity_id: z.ZodNumber;
14
+ blueprint_id: z.ZodNumber;
15
+ blueprint_type_id: z.ZodNumber;
16
+ blueprint_location_id: z.ZodNumber;
17
+ output_location_id: z.ZodNumber;
18
+ runs: z.ZodNumber;
19
+ cost: z.ZodOptional<z.ZodNumber>;
20
+ licensed_runs: z.ZodOptional<z.ZodNumber>;
21
+ probability: z.ZodOptional<z.ZodNumber>;
22
+ product_type_id: z.ZodOptional<z.ZodNumber>;
23
+ status: z.ZodEnum<{
24
+ cancelled: "cancelled";
25
+ active: "active";
26
+ delivered: "delivered";
27
+ paused: "paused";
28
+ ready: "ready";
29
+ reverted: "reverted";
30
+ }>;
31
+ duration: z.ZodNumber;
32
+ start_date: z.ZodString;
33
+ end_date: z.ZodString;
34
+ pause_date: z.ZodOptional<z.ZodString>;
35
+ completed_date: z.ZodOptional<z.ZodString>;
36
+ completed_character_id: z.ZodOptional<z.ZodNumber>;
37
+ successful_runs: z.ZodOptional<z.ZodNumber>;
38
+ }, z.core.$loose>>;
7
39
  };
8
40
  readonly getCharacterMiningLedger: {
9
41
  readonly path: "characters/{characterId}/mining";
10
42
  readonly method: "GET";
11
43
  readonly requiresAuth: true;
12
44
  readonly pathParams: readonly ["characterId"];
45
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
46
+ date: z.ZodString;
47
+ solar_system_id: z.ZodNumber;
48
+ type_id: z.ZodNumber;
49
+ quantity: z.ZodNumber;
50
+ }, z.core.$loose>>;
13
51
  };
14
52
  readonly getCorporationIndustryJobs: {
15
53
  readonly path: "corporations/{corporationId}/industry/jobs";
16
54
  readonly method: "GET";
17
55
  readonly requiresAuth: true;
18
56
  readonly pathParams: readonly ["corporationId"];
57
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
58
+ job_id: z.ZodNumber;
59
+ installer_id: z.ZodNumber;
60
+ facility_id: z.ZodNumber;
61
+ station_id: z.ZodNumber;
62
+ activity_id: z.ZodNumber;
63
+ blueprint_id: z.ZodNumber;
64
+ blueprint_type_id: z.ZodNumber;
65
+ blueprint_location_id: z.ZodNumber;
66
+ output_location_id: z.ZodNumber;
67
+ runs: z.ZodNumber;
68
+ cost: z.ZodOptional<z.ZodNumber>;
69
+ licensed_runs: z.ZodOptional<z.ZodNumber>;
70
+ probability: z.ZodOptional<z.ZodNumber>;
71
+ product_type_id: z.ZodOptional<z.ZodNumber>;
72
+ status: z.ZodEnum<{
73
+ cancelled: "cancelled";
74
+ active: "active";
75
+ delivered: "delivered";
76
+ paused: "paused";
77
+ ready: "ready";
78
+ reverted: "reverted";
79
+ }>;
80
+ duration: z.ZodNumber;
81
+ start_date: z.ZodString;
82
+ end_date: z.ZodString;
83
+ pause_date: z.ZodOptional<z.ZodString>;
84
+ completed_date: z.ZodOptional<z.ZodString>;
85
+ completed_character_id: z.ZodOptional<z.ZodNumber>;
86
+ successful_runs: z.ZodOptional<z.ZodNumber>;
87
+ }, z.core.$loose>>;
19
88
  };
20
89
  readonly getMoonExtractionTimers: {
21
90
  readonly path: "corporations/{corporationId}/mining/extractions";
22
91
  readonly method: "GET";
23
92
  readonly requiresAuth: true;
24
93
  readonly pathParams: readonly ["corporationId"];
94
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
95
+ structure_id: z.ZodNumber;
96
+ moon_id: z.ZodNumber;
97
+ extraction_start_time: z.ZodString;
98
+ chunk_arrival_time: z.ZodString;
99
+ natural_decay_time: z.ZodString;
100
+ }, z.core.$loose>>;
25
101
  };
26
102
  readonly getCorporationMiningObservers: {
27
103
  readonly path: "corporations/{corporationId}/mining/observers";
28
104
  readonly method: "GET";
29
105
  readonly requiresAuth: true;
30
106
  readonly pathParams: readonly ["corporationId"];
107
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
108
+ observer_id: z.ZodNumber;
109
+ observer_type: z.ZodString;
110
+ last_updated: z.ZodString;
111
+ }, z.core.$loose>>;
31
112
  };
32
113
  readonly getCorporationMiningObserver: {
33
114
  readonly path: "corporations/{corporationId}/mining/observers/{observerId}";
34
115
  readonly method: "GET";
35
116
  readonly requiresAuth: true;
36
117
  readonly pathParams: readonly ["corporationId", "observerId"];
118
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
119
+ character_id: z.ZodNumber;
120
+ recorded_corporation_id: z.ZodNumber;
121
+ type_id: z.ZodNumber;
122
+ quantity: z.ZodNumber;
123
+ last_updated: z.ZodString;
124
+ }, z.core.$loose>>;
37
125
  };
38
126
  readonly getIndustryFacilities: {
39
127
  readonly path: "industry/facilities";
40
128
  readonly method: "GET";
41
129
  readonly requiresAuth: false;
130
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
131
+ facility_id: z.ZodNumber;
132
+ owner_id: z.ZodNumber;
133
+ region_id: z.ZodNumber;
134
+ solar_system_id: z.ZodNumber;
135
+ tax: z.ZodOptional<z.ZodNumber>;
136
+ type_id: z.ZodNumber;
137
+ }, z.core.$loose>>;
42
138
  };
43
139
  readonly getIndustrySystems: {
44
140
  readonly path: "industry/systems";
45
141
  readonly method: "GET";
46
142
  readonly requiresAuth: false;
143
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
144
+ solar_system_id: z.ZodNumber;
145
+ cost_indices: z.ZodArray<z.ZodObject<{
146
+ activity: z.ZodString;
147
+ cost_index: z.ZodNumber;
148
+ }, z.core.$loose>>;
149
+ }, z.core.$loose>>;
47
150
  };
48
151
  };
49
152
  //# sourceMappingURL=industryEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"industryEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/industryEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CE,CAAC"}
1
+ {"version":3,"file":"industryEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/industryEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDE,CAAC"}
@@ -1,51 +1,61 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.industryEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const industry_1 = require("../../schemas/industry");
4
6
  exports.industryEndpoints = {
5
7
  getCharacterIndustryJobs: {
6
8
  path: 'characters/{characterId}/industry/jobs',
7
9
  method: 'GET',
8
10
  requiresAuth: true,
9
11
  pathParams: ['characterId'],
12
+ responseSchema: zod_1.z.array(industry_1.IndustryJobSchema),
10
13
  },
11
14
  getCharacterMiningLedger: {
12
15
  path: 'characters/{characterId}/mining',
13
16
  method: 'GET',
14
17
  requiresAuth: true,
15
18
  pathParams: ['characterId'],
19
+ responseSchema: zod_1.z.array(industry_1.MiningLedgerEntrySchema),
16
20
  },
17
21
  getCorporationIndustryJobs: {
18
22
  path: 'corporations/{corporationId}/industry/jobs',
19
23
  method: 'GET',
20
24
  requiresAuth: true,
21
25
  pathParams: ['corporationId'],
26
+ responseSchema: zod_1.z.array(industry_1.IndustryJobSchema),
22
27
  },
23
28
  getMoonExtractionTimers: {
24
29
  path: 'corporations/{corporationId}/mining/extractions',
25
30
  method: 'GET',
26
31
  requiresAuth: true,
27
32
  pathParams: ['corporationId'],
33
+ responseSchema: zod_1.z.array(industry_1.MoonExtractionTimerSchema),
28
34
  },
29
35
  getCorporationMiningObservers: {
30
36
  path: 'corporations/{corporationId}/mining/observers',
31
37
  method: 'GET',
32
38
  requiresAuth: true,
33
39
  pathParams: ['corporationId'],
40
+ responseSchema: zod_1.z.array(industry_1.MiningObserverSchema),
34
41
  },
35
42
  getCorporationMiningObserver: {
36
43
  path: 'corporations/{corporationId}/mining/observers/{observerId}',
37
44
  method: 'GET',
38
45
  requiresAuth: true,
39
46
  pathParams: ['corporationId', 'observerId'],
47
+ responseSchema: zod_1.z.array(industry_1.MiningObserverEntrySchema),
40
48
  },
41
49
  getIndustryFacilities: {
42
50
  path: 'industry/facilities',
43
51
  method: 'GET',
44
52
  requiresAuth: false,
53
+ responseSchema: zod_1.z.array(industry_1.IndustryFacilitySchema),
45
54
  },
46
55
  getIndustrySystems: {
47
56
  path: 'industry/systems',
48
57
  method: 'GET',
49
58
  requiresAuth: false,
59
+ responseSchema: zod_1.z.array(industry_1.IndustrySystemSchema),
50
60
  },
51
61
  };
@@ -1,8 +1,17 @@
1
+ import { z } from 'zod';
1
2
  export declare const insuranceEndpoints: {
2
3
  readonly getInsurancePrices: {
3
4
  readonly path: "insurance/prices";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: false;
7
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
8
+ type_id: z.ZodNumber;
9
+ levels: z.ZodArray<z.ZodObject<{
10
+ cost: z.ZodNumber;
11
+ payout: z.ZodNumber;
12
+ name: z.ZodString;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
6
15
  };
7
16
  };
8
17
  //# sourceMappingURL=insuranceEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insuranceEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/insuranceEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;CAMC,CAAC"}
1
+ {"version":3,"file":"insuranceEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/insuranceEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;CAOC,CAAC"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.insuranceEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const insurance_1 = require("../../schemas/insurance");
4
6
  exports.insuranceEndpoints = {
5
7
  getInsurancePrices: {
6
8
  path: 'insurance/prices',
7
9
  method: 'GET',
8
10
  requiresAuth: false,
11
+ responseSchema: zod_1.z.array(insurance_1.InsurancePriceSchema),
9
12
  },
10
13
  };
@@ -1,21 +1,62 @@
1
+ import { z } from 'zod';
1
2
  export declare const killmailEndpoints: {
2
3
  readonly getCharacterRecentKillmails: {
3
4
  readonly path: "characters/{characterId}/killmails/recent";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: true;
6
7
  readonly pathParams: readonly ["characterId"];
8
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
9
+ killmail_id: z.ZodNumber;
10
+ killmail_hash: z.ZodString;
11
+ }, z.core.$loose>>;
7
12
  };
8
13
  readonly getCorporationRecentKillmails: {
9
14
  readonly path: "corporations/{corporationId}/killmails/recent";
10
15
  readonly method: "GET";
11
16
  readonly requiresAuth: true;
12
17
  readonly pathParams: readonly ["corporationId"];
18
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
19
+ killmail_id: z.ZodNumber;
20
+ killmail_hash: z.ZodString;
21
+ }, z.core.$loose>>;
13
22
  };
14
23
  readonly getKillmail: {
15
24
  readonly path: "killmails/{killmailId}/{killmailHash}";
16
25
  readonly method: "GET";
17
26
  readonly requiresAuth: false;
18
27
  readonly pathParams: readonly ["killmailId", "killmailHash"];
28
+ readonly responseSchema: z.ZodObject<{
29
+ killmail_id: z.ZodNumber;
30
+ killmail_time: z.ZodString;
31
+ solar_system_id: z.ZodNumber;
32
+ moon_id: z.ZodOptional<z.ZodNumber>;
33
+ war_id: z.ZodOptional<z.ZodNumber>;
34
+ victim: z.ZodObject<{
35
+ character_id: z.ZodOptional<z.ZodNumber>;
36
+ corporation_id: z.ZodOptional<z.ZodNumber>;
37
+ alliance_id: z.ZodOptional<z.ZodNumber>;
38
+ faction_id: z.ZodOptional<z.ZodNumber>;
39
+ ship_type_id: z.ZodNumber;
40
+ damage_taken: z.ZodNumber;
41
+ position: z.ZodOptional<z.ZodObject<{
42
+ x: z.ZodNumber;
43
+ y: z.ZodNumber;
44
+ z: z.ZodNumber;
45
+ }, z.core.$loose>>;
46
+ items: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
47
+ }, z.core.$loose>;
48
+ attackers: z.ZodArray<z.ZodObject<{
49
+ character_id: z.ZodOptional<z.ZodNumber>;
50
+ corporation_id: z.ZodOptional<z.ZodNumber>;
51
+ alliance_id: z.ZodOptional<z.ZodNumber>;
52
+ faction_id: z.ZodOptional<z.ZodNumber>;
53
+ ship_type_id: z.ZodOptional<z.ZodNumber>;
54
+ weapon_type_id: z.ZodOptional<z.ZodNumber>;
55
+ damage_done: z.ZodNumber;
56
+ final_blow: z.ZodBoolean;
57
+ security_status: z.ZodNumber;
58
+ }, z.core.$loose>>;
59
+ }, z.core.$loose>;
19
60
  };
20
61
  };
21
62
  //# sourceMappingURL=killmailEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"killmailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/killmailEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAmBE,CAAC"}
1
+ {"version":3,"file":"killmailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/killmailEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBE,CAAC"}
@@ -1,23 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.killmailEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const killmails_1 = require("../../schemas/killmails");
4
6
  exports.killmailEndpoints = {
5
7
  getCharacterRecentKillmails: {
6
8
  path: 'characters/{characterId}/killmails/recent',
7
9
  method: 'GET',
8
10
  requiresAuth: true,
9
11
  pathParams: ['characterId'],
12
+ responseSchema: zod_1.z.array(killmails_1.KillmailSummarySchema),
10
13
  },
11
14
  getCorporationRecentKillmails: {
12
15
  path: 'corporations/{corporationId}/killmails/recent',
13
16
  method: 'GET',
14
17
  requiresAuth: true,
15
18
  pathParams: ['corporationId'],
19
+ responseSchema: zod_1.z.array(killmails_1.KillmailSummarySchema),
16
20
  },
17
21
  getKillmail: {
18
22
  path: 'killmails/{killmailId}/{killmailHash}',
19
23
  method: 'GET',
20
24
  requiresAuth: false,
21
25
  pathParams: ['killmailId', 'killmailHash'],
26
+ responseSchema: killmails_1.KillmailSchema,
22
27
  },
23
28
  };
@@ -4,18 +4,34 @@ export declare const locationEndpoints: {
4
4
  readonly method: "GET";
5
5
  readonly requiresAuth: true;
6
6
  readonly pathParams: readonly ["characterId"];
7
+ readonly responseSchema: import("zod").ZodObject<{
8
+ solar_system_id: import("zod").ZodNumber;
9
+ station_id: import("zod").ZodOptional<import("zod").ZodNumber>;
10
+ structure_id: import("zod").ZodOptional<import("zod").ZodNumber>;
11
+ }, import("zod/v4/core").$loose>;
7
12
  };
8
13
  readonly getCharacterOnline: {
9
14
  readonly path: "characters/{characterId}/online";
10
15
  readonly method: "GET";
11
16
  readonly requiresAuth: true;
12
17
  readonly pathParams: readonly ["characterId"];
18
+ readonly responseSchema: import("zod").ZodObject<{
19
+ online: import("zod").ZodBoolean;
20
+ last_login: import("zod").ZodOptional<import("zod").ZodString>;
21
+ last_logout: import("zod").ZodOptional<import("zod").ZodString>;
22
+ logins: import("zod").ZodOptional<import("zod").ZodNumber>;
23
+ }, import("zod/v4/core").$loose>;
13
24
  };
14
25
  readonly getCharacterShip: {
15
26
  readonly path: "characters/{characterId}/ship";
16
27
  readonly method: "GET";
17
28
  readonly requiresAuth: true;
18
29
  readonly pathParams: readonly ["characterId"];
30
+ readonly responseSchema: import("zod").ZodObject<{
31
+ ship_item_id: import("zod").ZodNumber;
32
+ ship_name: import("zod").ZodString;
33
+ ship_type_id: import("zod").ZodNumber;
34
+ }, import("zod/v4/core").$loose>;
19
35
  };
20
36
  };
21
37
  //# sourceMappingURL=locationEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"locationEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/locationEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAmBE,CAAC"}
1
+ {"version":3,"file":"locationEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/locationEndpoints.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBE,CAAC"}