@lgriffin/esi.ts 5.1.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +271 -9
  3. package/dist/EsiClient.d.ts +7 -0
  4. package/dist/EsiClient.d.ts.map +1 -1
  5. package/dist/EsiClient.js +19 -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/ContractsClient.d.ts +4 -0
  13. package/dist/clients/ContractsClient.d.ts.map +1 -1
  14. package/dist/clients/ContractsClient.js +9 -0
  15. package/dist/clients/KillmailsClient.d.ts +3 -0
  16. package/dist/clients/KillmailsClient.d.ts.map +1 -1
  17. package/dist/clients/KillmailsClient.js +6 -0
  18. package/dist/clients/MarketClient.d.ts +7 -0
  19. package/dist/clients/MarketClient.d.ts.map +1 -1
  20. package/dist/clients/MarketClient.js +18 -0
  21. package/dist/clients/WalletClient.d.ts +4 -0
  22. package/dist/clients/WalletClient.d.ts.map +1 -1
  23. package/dist/clients/WalletClient.js +9 -0
  24. package/dist/core/ApiClient.d.ts +10 -0
  25. package/dist/core/ApiClient.d.ts.map +1 -1
  26. package/dist/core/ApiClient.js +21 -0
  27. package/dist/core/ApiRequestHandler.d.ts +4 -1
  28. package/dist/core/ApiRequestHandler.d.ts.map +1 -1
  29. package/dist/core/ApiRequestHandler.js +116 -41
  30. package/dist/core/BatchRequestHandler.d.ts +12 -0
  31. package/dist/core/BatchRequestHandler.d.ts.map +1 -0
  32. package/dist/core/BatchRequestHandler.js +66 -0
  33. package/dist/core/constants.d.ts +2 -2
  34. package/dist/core/constants.js +1 -1
  35. package/dist/core/endpoints/EndpointDefinition.d.ts +3 -0
  36. package/dist/core/endpoints/EndpointDefinition.d.ts.map +1 -1
  37. package/dist/core/endpoints/accessListEndpoints.d.ts +16 -0
  38. package/dist/core/endpoints/accessListEndpoints.d.ts.map +1 -1
  39. package/dist/core/endpoints/accessListEndpoints.js +2 -0
  40. package/dist/core/endpoints/allianceEndpoints.d.ts +14 -0
  41. package/dist/core/endpoints/allianceEndpoints.d.ts.map +1 -1
  42. package/dist/core/endpoints/allianceEndpoints.js +3 -0
  43. package/dist/core/endpoints/assetEndpoints.d.ts +27 -0
  44. package/dist/core/endpoints/assetEndpoints.d.ts.map +1 -1
  45. package/dist/core/endpoints/assetEndpoints.js +5 -0
  46. package/dist/core/endpoints/buildEndpointPath.d.ts +7 -0
  47. package/dist/core/endpoints/buildEndpointPath.d.ts.map +1 -0
  48. package/dist/core/endpoints/buildEndpointPath.js +44 -0
  49. package/dist/core/endpoints/calendarEndpoints.d.ts +40 -0
  50. package/dist/core/endpoints/calendarEndpoints.d.ts.map +1 -1
  51. package/dist/core/endpoints/calendarEndpoints.js +5 -0
  52. package/dist/core/endpoints/characterEndpoints.d.ts +105 -0
  53. package/dist/core/endpoints/characterEndpoints.d.ts.map +1 -1
  54. package/dist/core/endpoints/characterEndpoints.js +13 -0
  55. package/dist/core/endpoints/cloneEndpoints.d.ts +21 -0
  56. package/dist/core/endpoints/cloneEndpoints.d.ts.map +1 -1
  57. package/dist/core/endpoints/cloneEndpoints.js +2 -0
  58. package/dist/core/endpoints/contactEndpoints.d.ts +49 -0
  59. package/dist/core/endpoints/contactEndpoints.d.ts.map +1 -1
  60. package/dist/core/endpoints/contactEndpoints.js +8 -0
  61. package/dist/core/endpoints/contractEndpoints.d.ts +184 -0
  62. package/dist/core/endpoints/contractEndpoints.d.ts.map +1 -1
  63. package/dist/core/endpoints/contractEndpoints.js +11 -0
  64. package/dist/core/endpoints/corporationEndpoints.d.ts +192 -0
  65. package/dist/core/endpoints/corporationEndpoints.d.ts.map +1 -1
  66. package/dist/core/endpoints/corporationEndpoints.js +18 -0
  67. package/dist/core/endpoints/createClient.d.ts.map +1 -1
  68. package/dist/core/endpoints/createClient.js +29 -43
  69. package/dist/core/endpoints/dogmaEndpoints.d.ts +38 -0
  70. package/dist/core/endpoints/dogmaEndpoints.d.ts.map +1 -1
  71. package/dist/core/endpoints/dogmaEndpoints.js +4 -0
  72. package/dist/core/endpoints/esi-cache-ttls.generated.d.ts +2 -0
  73. package/dist/core/endpoints/esi-cache-ttls.generated.d.ts.map +1 -0
  74. package/dist/core/endpoints/esi-cache-ttls.generated.js +126 -0
  75. package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts +7 -0
  76. package/dist/core/endpoints/esi-rate-limit-groups.generated.d.ts.map +1 -0
  77. package/dist/core/endpoints/esi-rate-limit-groups.generated.js +153 -0
  78. package/dist/core/endpoints/esi-scopes.generated.d.ts +3 -0
  79. package/dist/core/endpoints/esi-scopes.generated.d.ts.map +1 -0
  80. package/dist/core/endpoints/esi-scopes.generated.js +127 -0
  81. package/dist/core/endpoints/factionEndpoints.d.ts +154 -0
  82. package/dist/core/endpoints/factionEndpoints.d.ts.map +1 -1
  83. package/dist/core/endpoints/factionEndpoints.js +10 -0
  84. package/dist/core/endpoints/fittingEndpoints.d.ts +12 -0
  85. package/dist/core/endpoints/fittingEndpoints.d.ts.map +1 -1
  86. package/dist/core/endpoints/fittingEndpoints.js +3 -0
  87. package/dist/core/endpoints/fleetEndpoints.d.ts +45 -0
  88. package/dist/core/endpoints/fleetEndpoints.d.ts.map +1 -1
  89. package/dist/core/endpoints/fleetEndpoints.js +6 -0
  90. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts +122 -0
  91. package/dist/core/endpoints/freelanceJobsEndpoints.d.ts.map +1 -1
  92. package/dist/core/endpoints/freelanceJobsEndpoints.js +8 -0
  93. package/dist/core/endpoints/incursionEndpoints.d.ts +15 -0
  94. package/dist/core/endpoints/incursionEndpoints.d.ts.map +1 -1
  95. package/dist/core/endpoints/incursionEndpoints.js +3 -0
  96. package/dist/core/endpoints/industryEndpoints.d.ts +103 -0
  97. package/dist/core/endpoints/industryEndpoints.d.ts.map +1 -1
  98. package/dist/core/endpoints/industryEndpoints.js +10 -0
  99. package/dist/core/endpoints/insuranceEndpoints.d.ts +9 -0
  100. package/dist/core/endpoints/insuranceEndpoints.d.ts.map +1 -1
  101. package/dist/core/endpoints/insuranceEndpoints.js +3 -0
  102. package/dist/core/endpoints/killmailEndpoints.d.ts +41 -0
  103. package/dist/core/endpoints/killmailEndpoints.d.ts.map +1 -1
  104. package/dist/core/endpoints/killmailEndpoints.js +5 -0
  105. package/dist/core/endpoints/locationEndpoints.d.ts +16 -0
  106. package/dist/core/endpoints/locationEndpoints.d.ts.map +1 -1
  107. package/dist/core/endpoints/locationEndpoints.js +4 -0
  108. package/dist/core/endpoints/loyaltyEndpoints.d.ts +17 -0
  109. package/dist/core/endpoints/loyaltyEndpoints.d.ts.map +1 -1
  110. package/dist/core/endpoints/loyaltyEndpoints.js +4 -0
  111. package/dist/core/endpoints/mailEndpoints.d.ts +35 -0
  112. package/dist/core/endpoints/mailEndpoints.d.ts.map +1 -1
  113. package/dist/core/endpoints/mailEndpoints.js +4 -0
  114. package/dist/core/endpoints/marketEndpoints.d.ts +123 -0
  115. package/dist/core/endpoints/marketEndpoints.d.ts.map +1 -1
  116. package/dist/core/endpoints/marketEndpoints.js +9 -0
  117. package/dist/core/endpoints/mercenaryEndpoints.d.ts +24 -0
  118. package/dist/core/endpoints/mercenaryEndpoints.d.ts.map +1 -1
  119. package/dist/core/endpoints/mercenaryEndpoints.js +4 -0
  120. package/dist/core/endpoints/piEndpoints.d.ts +76 -0
  121. package/dist/core/endpoints/piEndpoints.d.ts.map +1 -1
  122. package/dist/core/endpoints/piEndpoints.js +5 -0
  123. package/dist/core/endpoints/skillEndpoints.d.ts +21 -0
  124. package/dist/core/endpoints/skillEndpoints.d.ts.map +1 -1
  125. package/dist/core/endpoints/skillEndpoints.js +5 -0
  126. package/dist/core/endpoints/skyhookEndpoints.d.ts +27 -0
  127. package/dist/core/endpoints/skyhookEndpoints.d.ts.map +1 -1
  128. package/dist/core/endpoints/skyhookEndpoints.js +5 -0
  129. package/dist/core/endpoints/sovereigntyEndpoints.d.ts +37 -0
  130. package/dist/core/endpoints/sovereigntyEndpoints.d.ts.map +1 -1
  131. package/dist/core/endpoints/sovereigntyEndpoints.js +4 -0
  132. package/dist/core/endpoints/statusEndpoints.d.ts +6 -0
  133. package/dist/core/endpoints/statusEndpoints.d.ts.map +1 -1
  134. package/dist/core/endpoints/statusEndpoints.js +2 -0
  135. package/dist/core/endpoints/universeEndpoints.d.ts +272 -0
  136. package/dist/core/endpoints/universeEndpoints.d.ts.map +1 -1
  137. package/dist/core/endpoints/universeEndpoints.js +25 -0
  138. package/dist/core/endpoints/walletEndpoints.d.ts +51 -0
  139. package/dist/core/endpoints/walletEndpoints.d.ts.map +1 -1
  140. package/dist/core/endpoints/walletEndpoints.js +6 -0
  141. package/dist/core/endpoints/warEndpoints.d.ts +30 -0
  142. package/dist/core/endpoints/warEndpoints.d.ts.map +1 -1
  143. package/dist/core/endpoints/warEndpoints.js +5 -0
  144. package/dist/core/pagination/AsyncPaginationIterator.js +2 -2
  145. package/dist/core/pagination/PaginationHandler.d.ts +1 -1
  146. package/dist/core/pagination/PaginationHandler.d.ts.map +1 -1
  147. package/dist/core/pagination/PaginationHandler.js +2 -2
  148. package/dist/core/rateLimiter/IRateLimiter.d.ts +13 -3
  149. package/dist/core/rateLimiter/IRateLimiter.d.ts.map +1 -1
  150. package/dist/core/rateLimiter/RateLimiter.d.ts +24 -51
  151. package/dist/core/rateLimiter/RateLimiter.d.ts.map +1 -1
  152. package/dist/core/rateLimiter/RateLimiter.js +208 -98
  153. package/dist/core/util/error.d.ts +10 -1
  154. package/dist/core/util/error.d.ts.map +1 -1
  155. package/dist/core/util/error.js +24 -2
  156. package/dist/core/util/retry.d.ts +8 -0
  157. package/dist/core/util/retry.d.ts.map +1 -0
  158. package/dist/core/util/retry.js +9 -0
  159. package/dist/core/util/stringUtil.d.ts +2 -0
  160. package/dist/core/util/stringUtil.d.ts.map +1 -0
  161. package/dist/core/util/stringUtil.js +6 -0
  162. package/dist/index.d.ts +8 -2
  163. package/dist/index.d.ts.map +1 -1
  164. package/dist/index.js +37 -2
  165. package/dist/schemas/access-lists.d.ts +30 -0
  166. package/dist/schemas/access-lists.d.ts.map +1 -0
  167. package/dist/schemas/access-lists.js +14 -0
  168. package/dist/schemas/alliance.d.ts +30 -0
  169. package/dist/schemas/alliance.d.ts.map +1 -0
  170. package/dist/schemas/alliance.js +28 -0
  171. package/dist/schemas/assets.d.ts +28 -0
  172. package/dist/schemas/assets.d.ts.map +1 -0
  173. package/dist/schemas/assets.js +26 -0
  174. package/dist/schemas/calendar.d.ts +41 -0
  175. package/dist/schemas/calendar.d.ts.map +1 -0
  176. package/dist/schemas/calendar.js +43 -0
  177. package/dist/schemas/character.d.ts +122 -0
  178. package/dist/schemas/character.d.ts.map +1 -0
  179. package/dist/schemas/character.js +114 -0
  180. package/dist/schemas/clones.d.ts +23 -0
  181. package/dist/schemas/clones.d.ts.map +1 -0
  182. package/dist/schemas/clones.js +21 -0
  183. package/dist/schemas/common.d.ts +59 -0
  184. package/dist/schemas/common.d.ts.map +1 -0
  185. package/dist/schemas/common.js +34 -0
  186. package/dist/schemas/contacts.d.ts +18 -0
  187. package/dist/schemas/contacts.d.ts.map +1 -0
  188. package/dist/schemas/contacts.js +15 -0
  189. package/dist/schemas/contracts.d.ts +63 -0
  190. package/dist/schemas/contracts.d.ts.map +1 -0
  191. package/dist/schemas/contracts.js +58 -0
  192. package/dist/schemas/corporation.d.ts +193 -0
  193. package/dist/schemas/corporation.d.ts.map +1 -0
  194. package/dist/schemas/corporation.js +178 -0
  195. package/dist/schemas/dogma.d.ts +40 -0
  196. package/dist/schemas/dogma.d.ts.map +1 -0
  197. package/dist/schemas/dogma.js +42 -0
  198. package/dist/schemas/faction-warfare.d.ts +95 -0
  199. package/dist/schemas/faction-warfare.d.ts.map +1 -0
  200. package/dist/schemas/faction-warfare.js +92 -0
  201. package/dist/schemas/fittings.d.ts +13 -0
  202. package/dist/schemas/fittings.d.ts.map +1 -0
  203. package/dist/schemas/fittings.js +15 -0
  204. package/dist/schemas/fleet.d.ts +46 -0
  205. package/dist/schemas/fleet.d.ts.map +1 -0
  206. package/dist/schemas/fleet.js +48 -0
  207. package/dist/schemas/freelance-jobs.d.ts +141 -0
  208. package/dist/schemas/freelance-jobs.d.ts.map +1 -0
  209. package/dist/schemas/freelance-jobs.js +99 -0
  210. package/dist/schemas/incursions.d.ts +16 -0
  211. package/dist/schemas/incursions.d.ts.map +1 -0
  212. package/dist/schemas/incursions.js +14 -0
  213. package/dist/schemas/index.d.ts +33 -0
  214. package/dist/schemas/index.d.ts.map +1 -0
  215. package/dist/schemas/index.js +48 -0
  216. package/dist/schemas/industry.d.ts +73 -0
  217. package/dist/schemas/industry.d.ts.map +1 -0
  218. package/dist/schemas/industry.js +75 -0
  219. package/dist/schemas/insurance.d.ts +10 -0
  220. package/dist/schemas/insurance.d.ts.map +1 -0
  221. package/dist/schemas/insurance.js +12 -0
  222. package/dist/schemas/killmails.d.ts +38 -0
  223. package/dist/schemas/killmails.d.ts.map +1 -0
  224. package/dist/schemas/killmails.js +42 -0
  225. package/dist/schemas/location.d.ts +18 -0
  226. package/dist/schemas/location.d.ts.map +1 -0
  227. package/dist/schemas/location.js +20 -0
  228. package/dist/schemas/loyalty.d.ts +18 -0
  229. package/dist/schemas/loyalty.d.ts.map +1 -0
  230. package/dist/schemas/loyalty.js +20 -0
  231. package/dist/schemas/mail.d.ts +25 -0
  232. package/dist/schemas/mail.d.ts.map +1 -0
  233. package/dist/schemas/mail.js +29 -0
  234. package/dist/schemas/market.d.ts +29 -0
  235. package/dist/schemas/market.d.ts.map +1 -0
  236. package/dist/schemas/market.js +26 -0
  237. package/dist/schemas/mercenary.d.ts +25 -0
  238. package/dist/schemas/mercenary.d.ts.map +1 -0
  239. package/dist/schemas/mercenary.js +22 -0
  240. package/dist/schemas/pi.d.ts +77 -0
  241. package/dist/schemas/pi.d.ts.map +1 -0
  242. package/dist/schemas/pi.js +85 -0
  243. package/dist/schemas/skills.d.ts +18 -0
  244. package/dist/schemas/skills.d.ts.map +1 -0
  245. package/dist/schemas/skills.js +20 -0
  246. package/dist/schemas/skyhooks.d.ts +28 -0
  247. package/dist/schemas/skyhooks.d.ts.map +1 -0
  248. package/dist/schemas/skyhooks.js +30 -0
  249. package/dist/schemas/sovereignty.d.ts +45 -0
  250. package/dist/schemas/sovereignty.d.ts.map +1 -0
  251. package/dist/schemas/sovereignty.js +43 -0
  252. package/dist/schemas/status.d.ts +8 -0
  253. package/dist/schemas/status.d.ts.map +1 -0
  254. package/dist/schemas/status.js +10 -0
  255. package/dist/schemas/universe.d.ts +286 -0
  256. package/dist/schemas/universe.d.ts.map +1 -0
  257. package/dist/schemas/universe.js +245 -0
  258. package/dist/schemas/wallet.d.ts +27 -0
  259. package/dist/schemas/wallet.d.ts.map +1 -0
  260. package/dist/schemas/wallet.js +29 -0
  261. package/dist/schemas/wars.d.ts +27 -0
  262. package/dist/schemas/wars.d.ts.map +1 -0
  263. package/dist/schemas/wars.js +31 -0
  264. package/dist/testing/TestDataFactory.d.ts +44 -3
  265. package/dist/testing/TestDataFactory.d.ts.map +1 -1
  266. package/dist/types/access-lists.d.ts +4 -10
  267. package/dist/types/access-lists.d.ts.map +1 -1
  268. package/dist/types/alliance.d.ts +6 -24
  269. package/dist/types/alliance.d.ts.map +1 -1
  270. package/dist/types/api-responses.d.ts +1 -0
  271. package/dist/types/api-responses.d.ts.map +1 -1
  272. package/dist/types/api-responses.js +24 -0
  273. package/dist/types/assets.d.ts +5 -22
  274. package/dist/types/assets.d.ts.map +1 -1
  275. package/dist/types/calendar.d.ts +5 -23
  276. package/dist/types/calendar.d.ts.map +1 -1
  277. package/dist/types/character.d.ts +15 -104
  278. package/dist/types/character.d.ts.map +1 -1
  279. package/dist/types/clones.d.ts +3 -15
  280. package/dist/types/clones.d.ts.map +1 -1
  281. package/dist/types/common.d.ts +4 -12
  282. package/dist/types/common.d.ts.map +1 -1
  283. package/dist/types/contacts.d.ts +4 -11
  284. package/dist/types/contacts.d.ts.map +1 -1
  285. package/dist/types/contracts.d.ts +5 -39
  286. package/dist/types/contracts.d.ts.map +1 -1
  287. package/dist/types/corporation.d.ts +18 -166
  288. package/dist/types/corporation.d.ts.map +1 -1
  289. package/dist/types/dogma.d.ts +5 -38
  290. package/dist/types/dogma.d.ts.map +1 -1
  291. package/dist/types/faction-warfare.d.ts +8 -88
  292. package/dist/types/faction-warfare.d.ts.map +1 -1
  293. package/dist/types/fittings.d.ts +3 -11
  294. package/dist/types/fittings.d.ts.map +1 -1
  295. package/dist/types/fleet.d.ts +6 -34
  296. package/dist/types/fleet.d.ts.map +1 -1
  297. package/dist/types/freelance-jobs.d.ts +10 -91
  298. package/dist/types/freelance-jobs.d.ts.map +1 -1
  299. package/dist/types/generated/esi-spec.generated.d.ts +1763 -0
  300. package/dist/types/generated/esi-spec.generated.d.ts.map +1 -0
  301. package/dist/types/generated/esi-spec.generated.js +6 -0
  302. package/dist/types/incursions.d.ts +3 -10
  303. package/dist/types/incursions.d.ts.map +1 -1
  304. package/dist/types/industry.d.ts +9 -64
  305. package/dist/types/industry.d.ts.map +1 -1
  306. package/dist/types/insurance.d.ts +3 -8
  307. package/dist/types/insurance.d.ts.map +1 -1
  308. package/dist/types/killmails.d.ts +4 -36
  309. package/dist/types/killmails.d.ts.map +1 -1
  310. package/dist/types/location.d.ts +5 -16
  311. package/dist/types/location.d.ts.map +1 -1
  312. package/dist/types/loyalty.d.ts +4 -16
  313. package/dist/types/loyalty.d.ts.map +1 -1
  314. package/dist/types/mail.d.ts +4 -18
  315. package/dist/types/mail.d.ts.map +1 -1
  316. package/dist/types/market.d.ts +4 -22
  317. package/dist/types/market.d.ts.map +1 -1
  318. package/dist/types/mercenary.d.ts +4 -18
  319. package/dist/types/mercenary.d.ts.map +1 -1
  320. package/dist/types/pi.d.ts +5 -66
  321. package/dist/types/pi.d.ts.map +1 -1
  322. package/dist/types/skills.d.ts +4 -16
  323. package/dist/types/skills.d.ts.map +1 -1
  324. package/dist/types/skyhooks.d.ts +5 -26
  325. package/dist/types/skyhooks.d.ts.map +1 -1
  326. package/dist/types/sovereignty.d.ts +5 -32
  327. package/dist/types/sovereignty.d.ts.map +1 -1
  328. package/dist/types/status.d.ts +3 -6
  329. package/dist/types/status.d.ts.map +1 -1
  330. package/dist/types/universe.d.ts +26 -274
  331. package/dist/types/universe.d.ts.map +1 -1
  332. package/dist/types/wallet.d.ts +4 -25
  333. package/dist/types/wallet.d.ts.map +1 -1
  334. package/dist/types/wars.d.ts +3 -25
  335. package/dist/types/wars.d.ts.map +1 -1
  336. package/package.json +51 -46
@@ -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"}
@@ -1,23 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.locationEndpoints = void 0;
4
+ const location_1 = require("../../schemas/location");
4
5
  exports.locationEndpoints = {
5
6
  getCharacterLocation: {
6
7
  path: 'characters/{characterId}/location',
7
8
  method: 'GET',
8
9
  requiresAuth: true,
9
10
  pathParams: ['characterId'],
11
+ responseSchema: location_1.CharacterLocationSchema,
10
12
  },
11
13
  getCharacterOnline: {
12
14
  path: 'characters/{characterId}/online',
13
15
  method: 'GET',
14
16
  requiresAuth: true,
15
17
  pathParams: ['characterId'],
18
+ responseSchema: location_1.CharacterOnlineSchema,
16
19
  },
17
20
  getCharacterShip: {
18
21
  path: 'characters/{characterId}/ship',
19
22
  method: 'GET',
20
23
  requiresAuth: true,
21
24
  pathParams: ['characterId'],
25
+ responseSchema: location_1.CharacterShipSchema,
22
26
  },
23
27
  };
@@ -1,15 +1,32 @@
1
+ import { z } from 'zod';
1
2
  export declare const loyaltyEndpoints: {
2
3
  readonly getLoyaltyPoints: {
3
4
  readonly path: "characters/{characterId}/loyalty/points";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: true;
6
7
  readonly pathParams: readonly ["characterId"];
8
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
9
+ corporation_id: z.ZodNumber;
10
+ loyalty_points: z.ZodNumber;
11
+ }, z.core.$loose>>;
7
12
  };
8
13
  readonly getLoyaltyStoreOffers: {
9
14
  readonly path: "loyalty/stores/{corporationId}/offers";
10
15
  readonly method: "GET";
11
16
  readonly requiresAuth: false;
12
17
  readonly pathParams: readonly ["corporationId"];
18
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
19
+ offer_id: z.ZodNumber;
20
+ type_id: z.ZodNumber;
21
+ quantity: z.ZodNumber;
22
+ lp_cost: z.ZodNumber;
23
+ isk_cost: z.ZodNumber;
24
+ ak_cost: z.ZodOptional<z.ZodNumber>;
25
+ required_items: z.ZodArray<z.ZodObject<{
26
+ type_id: z.ZodNumber;
27
+ quantity: z.ZodNumber;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>>;
13
30
  };
14
31
  };
15
32
  //# sourceMappingURL=loyaltyEndpoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loyaltyEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/loyaltyEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAaG,CAAC"}
1
+ {"version":3,"file":"loyaltyEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/loyaltyEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeG,CAAC"}
@@ -1,17 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loyaltyEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const loyalty_1 = require("../../schemas/loyalty");
4
6
  exports.loyaltyEndpoints = {
5
7
  getLoyaltyPoints: {
6
8
  path: 'characters/{characterId}/loyalty/points',
7
9
  method: 'GET',
8
10
  requiresAuth: true,
9
11
  pathParams: ['characterId'],
12
+ responseSchema: zod_1.z.array(loyalty_1.LoyaltyPointsSchema),
10
13
  },
11
14
  getLoyaltyStoreOffers: {
12
15
  path: 'loyalty/stores/{corporationId}/offers',
13
16
  method: 'GET',
14
17
  requiresAuth: false,
15
18
  pathParams: ['corporationId'],
19
+ responseSchema: zod_1.z.array(loyalty_1.LoyaltyStoreOfferSchema),
16
20
  },
17
21
  };
@@ -1,9 +1,27 @@
1
+ import { z } from 'zod';
1
2
  export declare const mailEndpoints: {
2
3
  readonly getCharacterMailHeaders: {
3
4
  readonly path: "characters/{characterId}/mail/";
4
5
  readonly method: "GET";
5
6
  readonly requiresAuth: true;
6
7
  readonly pathParams: readonly ["characterId"];
8
+ readonly responseSchema: z.ZodArray<z.ZodObject<{
9
+ mail_id: z.ZodOptional<z.ZodNumber>;
10
+ subject: z.ZodOptional<z.ZodString>;
11
+ from: z.ZodOptional<z.ZodNumber>;
12
+ timestamp: z.ZodOptional<z.ZodString>;
13
+ labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
14
+ is_read: z.ZodOptional<z.ZodBoolean>;
15
+ recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ recipient_id: z.ZodNumber;
17
+ recipient_type: z.ZodEnum<{
18
+ character: "character";
19
+ corporation: "corporation";
20
+ alliance: "alliance";
21
+ mailing_list: "mailing_list";
22
+ }>;
23
+ }, z.core.$loose>>>;
24
+ }, z.core.$loose>>;
7
25
  };
8
26
  readonly sendMail: {
9
27
  readonly path: "characters/{characterId}/mail/";
@@ -17,6 +35,23 @@ export declare const mailEndpoints: {
17
35
  readonly method: "GET";
18
36
  readonly requiresAuth: true;
19
37
  readonly pathParams: readonly ["characterId", "mailId"];
38
+ readonly responseSchema: z.ZodObject<{
39
+ mail_id: z.ZodOptional<z.ZodNumber>;
40
+ subject: z.ZodOptional<z.ZodString>;
41
+ from: z.ZodOptional<z.ZodNumber>;
42
+ timestamp: z.ZodOptional<z.ZodString>;
43
+ labels: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
44
+ is_read: z.ZodOptional<z.ZodBoolean>;
45
+ recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
+ recipient_id: z.ZodNumber;
47
+ recipient_type: z.ZodEnum<{
48
+ character: "character";
49
+ corporation: "corporation";
50
+ alliance: "alliance";
51
+ mailing_list: "mailing_list";
52
+ }>;
53
+ }, z.core.$loose>>>;
54
+ }, z.core.$loose>;
20
55
  };
21
56
  readonly deleteMail: {
22
57
  readonly path: "characters/{characterId}/mail/{mailId}/";
@@ -1 +1 @@
1
- {"version":3,"file":"mailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/mailEndpoints.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DM,CAAC"}
1
+ {"version":3,"file":"mailEndpoints.d.ts","sourceRoot":"","sources":["../../../src/core/endpoints/mailEndpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DM,CAAC"}
@@ -1,12 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.mailEndpoints = void 0;
4
+ const zod_1 = require("zod");
5
+ const mail_1 = require("../../schemas/mail");
4
6
  exports.mailEndpoints = {
5
7
  getCharacterMailHeaders: {
6
8
  path: 'characters/{characterId}/mail/',
7
9
  method: 'GET',
8
10
  requiresAuth: true,
9
11
  pathParams: ['characterId'],
12
+ responseSchema: zod_1.z.array(mail_1.MailMessageSchema),
10
13
  },
11
14
  sendMail: {
12
15
  path: 'characters/{characterId}/mail/',
@@ -20,6 +23,7 @@ exports.mailEndpoints = {
20
23
  method: 'GET',
21
24
  requiresAuth: true,
22
25
  pathParams: ['characterId', 'mailId'],
26
+ responseSchema: mail_1.MailMessageSchema,
23
27
  },
24
28
  deleteMail: {
25
29
  path: 'characters/{characterId}/mail/{mailId}/',