@pluto-khronos/api-client 3.2.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 (554) hide show
  1. package/README.md +46 -0
  2. package/dist/apis/AccountsApi.d.ts +411 -0
  3. package/dist/apis/AccountsApi.d.ts.map +1 -0
  4. package/dist/apis/AccountsApi.js +427 -0
  5. package/dist/apis/AccountsApi.js.map +1 -0
  6. package/dist/apis/BetslipsApi.d.ts +523 -0
  7. package/dist/apis/BetslipsApi.d.ts.map +1 -0
  8. package/dist/apis/BetslipsApi.js +537 -0
  9. package/dist/apis/BetslipsApi.js.map +1 -0
  10. package/dist/apis/BettingLeaderboardApi.d.ts +76 -0
  11. package/dist/apis/BettingLeaderboardApi.d.ts.map +1 -0
  12. package/dist/apis/BettingLeaderboardApi.js +103 -0
  13. package/dist/apis/BettingLeaderboardApi.js.map +1 -0
  14. package/dist/apis/CalendarApi.d.ts +74 -0
  15. package/dist/apis/CalendarApi.d.ts.map +1 -0
  16. package/dist/apis/CalendarApi.js +109 -0
  17. package/dist/apis/CalendarApi.js.map +1 -0
  18. package/dist/apis/ChangelogsApi.d.ts +278 -0
  19. package/dist/apis/ChangelogsApi.d.ts.map +1 -0
  20. package/dist/apis/ChangelogsApi.js +301 -0
  21. package/dist/apis/ChangelogsApi.js.map +1 -0
  22. package/dist/apis/ChannelsApi.d.ts +364 -0
  23. package/dist/apis/ChannelsApi.d.ts.map +1 -0
  24. package/dist/apis/ChannelsApi.js +377 -0
  25. package/dist/apis/ChannelsApi.js.map +1 -0
  26. package/dist/apis/DiscordConfigApi.d.ts +218 -0
  27. package/dist/apis/DiscordConfigApi.d.ts.map +1 -0
  28. package/dist/apis/DiscordConfigApi.js +237 -0
  29. package/dist/apis/DiscordConfigApi.js.map +1 -0
  30. package/dist/apis/ESPNNBAApi.d.ts +338 -0
  31. package/dist/apis/ESPNNBAApi.d.ts.map +1 -0
  32. package/dist/apis/ESPNNBAApi.js +350 -0
  33. package/dist/apis/ESPNNBAApi.js.map +1 -0
  34. package/dist/apis/FootersApi.d.ts +271 -0
  35. package/dist/apis/FootersApi.d.ts.map +1 -0
  36. package/dist/apis/FootersApi.js +292 -0
  37. package/dist/apis/FootersApi.js.map +1 -0
  38. package/dist/apis/GoracleApi.d.ts +129 -0
  39. package/dist/apis/GoracleApi.d.ts.map +1 -0
  40. package/dist/apis/GoracleApi.js +161 -0
  41. package/dist/apis/GoracleApi.js.map +1 -0
  42. package/dist/apis/GuildsApi.d.ts +214 -0
  43. package/dist/apis/GuildsApi.d.ts.map +1 -0
  44. package/dist/apis/GuildsApi.js +237 -0
  45. package/dist/apis/GuildsApi.js.map +1 -0
  46. package/dist/apis/HealthApi.d.ts +52 -0
  47. package/dist/apis/HealthApi.d.ts.map +1 -0
  48. package/dist/apis/HealthApi.js +84 -0
  49. package/dist/apis/HealthApi.js.map +1 -0
  50. package/dist/apis/HelloWorldApi.d.ts +52 -0
  51. package/dist/apis/HelloWorldApi.d.ts.map +1 -0
  52. package/dist/apis/HelloWorldApi.js +83 -0
  53. package/dist/apis/HelloWorldApi.js.map +1 -0
  54. package/dist/apis/LeaderboardApi.d.ts +106 -0
  55. package/dist/apis/LeaderboardApi.d.ts.map +1 -0
  56. package/dist/apis/LeaderboardApi.js +134 -0
  57. package/dist/apis/LeaderboardApi.js.map +1 -0
  58. package/dist/apis/MatchesApi.d.ts +231 -0
  59. package/dist/apis/MatchesApi.d.ts.map +1 -0
  60. package/dist/apis/MatchesApi.js +253 -0
  61. package/dist/apis/MatchesApi.js.map +1 -0
  62. package/dist/apis/OddsApi.d.ts +108 -0
  63. package/dist/apis/OddsApi.d.ts.map +1 -0
  64. package/dist/apis/OddsApi.js +132 -0
  65. package/dist/apis/OddsApi.js.map +1 -0
  66. package/dist/apis/OutcomesApi.d.ts +105 -0
  67. package/dist/apis/OutcomesApi.d.ts.map +1 -0
  68. package/dist/apis/OutcomesApi.js +129 -0
  69. package/dist/apis/OutcomesApi.js.map +1 -0
  70. package/dist/apis/PredictionApi.d.ts +412 -0
  71. package/dist/apis/PredictionApi.d.ts.map +1 -0
  72. package/dist/apis/PredictionApi.js +428 -0
  73. package/dist/apis/PredictionApi.js.map +1 -0
  74. package/dist/apis/PropsApi.d.ts +294 -0
  75. package/dist/apis/PropsApi.d.ts.map +1 -0
  76. package/dist/apis/PropsApi.js +310 -0
  77. package/dist/apis/PropsApi.js.map +1 -0
  78. package/dist/apis/ScheduleApi.d.ts +91 -0
  79. package/dist/apis/ScheduleApi.d.ts.map +1 -0
  80. package/dist/apis/ScheduleApi.js +117 -0
  81. package/dist/apis/ScheduleApi.js.map +1 -0
  82. package/dist/apis/ScoreApi.d.ts +138 -0
  83. package/dist/apis/ScoreApi.d.ts.map +1 -0
  84. package/dist/apis/ScoreApi.js +160 -0
  85. package/dist/apis/ScoreApi.js.map +1 -0
  86. package/dist/apis/StatsApi.d.ts +62 -0
  87. package/dist/apis/StatsApi.d.ts.map +1 -0
  88. package/dist/apis/StatsApi.js +91 -0
  89. package/dist/apis/StatsApi.js.map +1 -0
  90. package/dist/apis/WebhooksApi.d.ts +100 -0
  91. package/dist/apis/WebhooksApi.d.ts.map +1 -0
  92. package/dist/apis/WebhooksApi.js +127 -0
  93. package/dist/apis/WebhooksApi.js.map +1 -0
  94. package/dist/apis/WeekManagerApi.d.ts +62 -0
  95. package/dist/apis/WeekManagerApi.d.ts.map +1 -0
  96. package/dist/apis/WeekManagerApi.js +93 -0
  97. package/dist/apis/WeekManagerApi.js.map +1 -0
  98. package/dist/apis/index.d.ts +25 -0
  99. package/dist/apis/index.d.ts.map +1 -0
  100. package/dist/apis/index.js +43 -0
  101. package/dist/apis/index.js.map +1 -0
  102. package/dist/index.d.ts +4 -0
  103. package/dist/index.d.ts.map +1 -0
  104. package/dist/index.js +22 -0
  105. package/dist/index.js.map +1 -0
  106. package/dist/models/Account.d.ts +72 -0
  107. package/dist/models/Account.d.ts.map +1 -0
  108. package/dist/models/Account.js +78 -0
  109. package/dist/models/Account.js.map +1 -0
  110. package/dist/models/ActiveOutcomePropDto.d.ts +69 -0
  111. package/dist/models/ActiveOutcomePropDto.d.ts.map +1 -0
  112. package/dist/models/ActiveOutcomePropDto.js +67 -0
  113. package/dist/models/ActiveOutcomePropDto.js.map +1 -0
  114. package/dist/models/AddGuild409Response.d.ts +45 -0
  115. package/dist/models/AddGuild409Response.d.ts.map +1 -0
  116. package/dist/models/AddGuild409Response.js +59 -0
  117. package/dist/models/AddGuild409Response.js.map +1 -0
  118. package/dist/models/AllChannelsDto.d.ts +39 -0
  119. package/dist/models/AllChannelsDto.d.ts.map +1 -0
  120. package/dist/models/AllChannelsDto.js +55 -0
  121. package/dist/models/AllChannelsDto.js.map +1 -0
  122. package/dist/models/AllUserPredictionsDto.d.ts +151 -0
  123. package/dist/models/AllUserPredictionsDto.d.ts.map +1 -0
  124. package/dist/models/AllUserPredictionsDto.js +131 -0
  125. package/dist/models/AllUserPredictionsDto.js.map +1 -0
  126. package/dist/models/AnnouncementDto.d.ts +39 -0
  127. package/dist/models/AnnouncementDto.d.ts.map +1 -0
  128. package/dist/models/AnnouncementDto.js +55 -0
  129. package/dist/models/AnnouncementDto.js.map +1 -0
  130. package/dist/models/BetslipPending.d.ts +45 -0
  131. package/dist/models/BetslipPending.d.ts.map +1 -0
  132. package/dist/models/BetslipPending.js +59 -0
  133. package/dist/models/BetslipPending.js.map +1 -0
  134. package/dist/models/BetslipWithAggregationDTO.d.ts +82 -0
  135. package/dist/models/BetslipWithAggregationDTO.d.ts.map +1 -0
  136. package/dist/models/BetslipWithAggregationDTO.js +82 -0
  137. package/dist/models/BetslipWithAggregationDTO.js.map +1 -0
  138. package/dist/models/BettingLeaderboardEntity.d.ts +93 -0
  139. package/dist/models/BettingLeaderboardEntity.d.ts.map +1 -0
  140. package/dist/models/BettingLeaderboardEntity.js +91 -0
  141. package/dist/models/BettingLeaderboardEntity.js.map +1 -0
  142. package/dist/models/Bookmaker.d.ts +52 -0
  143. package/dist/models/Bookmaker.d.ts.map +1 -0
  144. package/dist/models/Bookmaker.js +64 -0
  145. package/dist/models/Bookmaker.js.map +1 -0
  146. package/dist/models/BookmakerDataDto.d.ts +40 -0
  147. package/dist/models/BookmakerDataDto.d.ts.map +1 -0
  148. package/dist/models/BookmakerDataDto.js +52 -0
  149. package/dist/models/BookmakerDataDto.js.map +1 -0
  150. package/dist/models/CancelBetslipResponseDto.d.ts +39 -0
  151. package/dist/models/CancelBetslipResponseDto.d.ts.map +1 -0
  152. package/dist/models/CancelBetslipResponseDto.js +55 -0
  153. package/dist/models/CancelBetslipResponseDto.js.map +1 -0
  154. package/dist/models/ChangeBetAmountDto.d.ts +39 -0
  155. package/dist/models/ChangeBetAmountDto.d.ts.map +1 -0
  156. package/dist/models/ChangeBetAmountDto.js +55 -0
  157. package/dist/models/ChangeBetAmountDto.js.map +1 -0
  158. package/dist/models/ChangeBetAmountResponseDto.d.ts +46 -0
  159. package/dist/models/ChangeBetAmountResponseDto.d.ts.map +1 -0
  160. package/dist/models/ChangeBetAmountResponseDto.js +60 -0
  161. package/dist/models/ChangeBetAmountResponseDto.js.map +1 -0
  162. package/dist/models/Changelog.d.ts +84 -0
  163. package/dist/models/Changelog.d.ts.map +1 -0
  164. package/dist/models/Changelog.js +88 -0
  165. package/dist/models/Changelog.js.map +1 -0
  166. package/dist/models/CleanupStaleMatches200Response.d.ts +46 -0
  167. package/dist/models/CleanupStaleMatches200Response.d.ts.map +1 -0
  168. package/dist/models/CleanupStaleMatches200Response.js +54 -0
  169. package/dist/models/CleanupStaleMatches200Response.js.map +1 -0
  170. package/dist/models/CleanupStaleMatches200ResponseResults.d.ts +39 -0
  171. package/dist/models/CleanupStaleMatches200ResponseResults.d.ts.map +1 -0
  172. package/dist/models/CleanupStaleMatches200ResponseResults.js +51 -0
  173. package/dist/models/CleanupStaleMatches200ResponseResults.js.map +1 -0
  174. package/dist/models/ClearPendingResponseDto.d.ts +39 -0
  175. package/dist/models/ClearPendingResponseDto.d.ts.map +1 -0
  176. package/dist/models/ClearPendingResponseDto.js +55 -0
  177. package/dist/models/ClearPendingResponseDto.js.map +1 -0
  178. package/dist/models/CloseOutstandingResponseDto.d.ts +39 -0
  179. package/dist/models/CloseOutstandingResponseDto.d.ts.map +1 -0
  180. package/dist/models/CloseOutstandingResponseDto.js +55 -0
  181. package/dist/models/CloseOutstandingResponseDto.js.map +1 -0
  182. package/dist/models/CreateAccountWithBodyRequest.d.ts +33 -0
  183. package/dist/models/CreateAccountWithBodyRequest.d.ts.map +1 -0
  184. package/dist/models/CreateAccountWithBodyRequest.js +49 -0
  185. package/dist/models/CreateAccountWithBodyRequest.js.map +1 -0
  186. package/dist/models/CreateChangelogDto.d.ts +66 -0
  187. package/dist/models/CreateChangelogDto.d.ts.map +1 -0
  188. package/dist/models/CreateChangelogDto.js +74 -0
  189. package/dist/models/CreateChangelogDto.js.map +1 -0
  190. package/dist/models/CreateConfigDto.d.ts +58 -0
  191. package/dist/models/CreateConfigDto.d.ts.map +1 -0
  192. package/dist/models/CreateConfigDto.js +72 -0
  193. package/dist/models/CreateConfigDto.js.map +1 -0
  194. package/dist/models/CreateFooterDto.d.ts +70 -0
  195. package/dist/models/CreateFooterDto.d.ts.map +1 -0
  196. package/dist/models/CreateFooterDto.js +72 -0
  197. package/dist/models/CreateFooterDto.js.map +1 -0
  198. package/dist/models/CreateGuildDto.d.ts +51 -0
  199. package/dist/models/CreateGuildDto.d.ts.map +1 -0
  200. package/dist/models/CreateGuildDto.js +63 -0
  201. package/dist/models/CreateGuildDto.js.map +1 -0
  202. package/dist/models/CreatePredictionDto.d.ts +72 -0
  203. package/dist/models/CreatePredictionDto.d.ts.map +1 -0
  204. package/dist/models/CreatePredictionDto.js +78 -0
  205. package/dist/models/CreatePredictionDto.js.map +1 -0
  206. package/dist/models/DailyClaim201Response.d.ts +45 -0
  207. package/dist/models/DailyClaim201Response.d.ts.map +1 -0
  208. package/dist/models/DailyClaim201Response.js +53 -0
  209. package/dist/models/DailyClaim201Response.js.map +1 -0
  210. package/dist/models/DailyClaimBodyDto.d.ts +33 -0
  211. package/dist/models/DailyClaimBodyDto.d.ts.map +1 -0
  212. package/dist/models/DailyClaimBodyDto.js +51 -0
  213. package/dist/models/DailyClaimBodyDto.js.map +1 -0
  214. package/dist/models/DateGroupDto.d.ts +40 -0
  215. package/dist/models/DateGroupDto.d.ts.map +1 -0
  216. package/dist/models/DateGroupDto.js +56 -0
  217. package/dist/models/DateGroupDto.js.map +1 -0
  218. package/dist/models/DiscordConfig.d.ts +64 -0
  219. package/dist/models/DiscordConfig.d.ts.map +1 -0
  220. package/dist/models/DiscordConfig.js +76 -0
  221. package/dist/models/DiscordConfig.js.map +1 -0
  222. package/dist/models/DoubleDownDto.d.ts +46 -0
  223. package/dist/models/DoubleDownDto.d.ts.map +1 -0
  224. package/dist/models/DoubleDownDto.js +60 -0
  225. package/dist/models/DoubleDownDto.js.map +1 -0
  226. package/dist/models/DoubledBetslipDto.d.ts +69 -0
  227. package/dist/models/DoubledBetslipDto.d.ts.map +1 -0
  228. package/dist/models/DoubledBetslipDto.js +73 -0
  229. package/dist/models/DoubledBetslipDto.js.map +1 -0
  230. package/dist/models/EspnDataUnavailableDto.d.ts +33 -0
  231. package/dist/models/EspnDataUnavailableDto.d.ts.map +1 -0
  232. package/dist/models/EspnDataUnavailableDto.js +51 -0
  233. package/dist/models/EspnDataUnavailableDto.js.map +1 -0
  234. package/dist/models/EspnNbaMatchupRecords200Response.d.ts +24 -0
  235. package/dist/models/EspnNbaMatchupRecords200Response.d.ts.map +1 -0
  236. package/dist/models/EspnNbaMatchupRecords200Response.js +58 -0
  237. package/dist/models/EspnNbaMatchupRecords200Response.js.map +1 -0
  238. package/dist/models/EventPredictionsDto.d.ts +40 -0
  239. package/dist/models/EventPredictionsDto.d.ts.map +1 -0
  240. package/dist/models/EventPredictionsDto.js +56 -0
  241. package/dist/models/EventPredictionsDto.js.map +1 -0
  242. package/dist/models/Footer.d.ts +88 -0
  243. package/dist/models/Footer.d.ts.map +1 -0
  244. package/dist/models/Footer.js +92 -0
  245. package/dist/models/Footer.js.map +1 -0
  246. package/dist/models/FooterConfigResponseDto.d.ts +40 -0
  247. package/dist/models/FooterConfigResponseDto.d.ts.map +1 -0
  248. package/dist/models/FooterConfigResponseDto.js +54 -0
  249. package/dist/models/FooterConfigResponseDto.js.map +1 -0
  250. package/dist/models/GameChannelControllerFindByIdV1404Response.d.ts +45 -0
  251. package/dist/models/GameChannelControllerFindByIdV1404Response.d.ts.map +1 -0
  252. package/dist/models/GameChannelControllerFindByIdV1404Response.js +57 -0
  253. package/dist/models/GameChannelControllerFindByIdV1404Response.js.map +1 -0
  254. package/dist/models/GameDto.d.ts +70 -0
  255. package/dist/models/GameDto.d.ts.map +1 -0
  256. package/dist/models/GameDto.js +76 -0
  257. package/dist/models/GameDto.js.map +1 -0
  258. package/dist/models/GetAllGuilds404Response.d.ts +45 -0
  259. package/dist/models/GetAllGuilds404Response.d.ts.map +1 -0
  260. package/dist/models/GetAllGuilds404Response.js +59 -0
  261. package/dist/models/GetAllGuilds404Response.js.map +1 -0
  262. package/dist/models/GetAllMatches404Response.d.ts +45 -0
  263. package/dist/models/GetAllMatches404Response.d.ts.map +1 -0
  264. package/dist/models/GetAllMatches404Response.js +59 -0
  265. package/dist/models/GetAllMatches404Response.js.map +1 -0
  266. package/dist/models/GetAllMatchesDto.d.ts +40 -0
  267. package/dist/models/GetAllMatchesDto.d.ts.map +1 -0
  268. package/dist/models/GetAllMatchesDto.js +56 -0
  269. package/dist/models/GetAllMatchesDto.js.map +1 -0
  270. package/dist/models/GetAllMatchesDtoMatchesInner.d.ts +99 -0
  271. package/dist/models/GetAllMatchesDtoMatchesInner.d.ts.map +1 -0
  272. package/dist/models/GetAllMatchesDtoMatchesInner.js +71 -0
  273. package/dist/models/GetAllMatchesDtoMatchesInner.js.map +1 -0
  274. package/dist/models/GetBalanceDto.d.ts +51 -0
  275. package/dist/models/GetBalanceDto.d.ts.map +1 -0
  276. package/dist/models/GetBalanceDto.js +63 -0
  277. package/dist/models/GetBalanceDto.js.map +1 -0
  278. package/dist/models/GetGuildById404Response.d.ts +45 -0
  279. package/dist/models/GetGuildById404Response.d.ts.map +1 -0
  280. package/dist/models/GetGuildById404Response.js +59 -0
  281. package/dist/models/GetGuildById404Response.js.map +1 -0
  282. package/dist/models/GetLeaderboardDto.d.ts +39 -0
  283. package/dist/models/GetLeaderboardDto.d.ts.map +1 -0
  284. package/dist/models/GetLeaderboardDto.js +55 -0
  285. package/dist/models/GetLeaderboardDto.js.map +1 -0
  286. package/dist/models/GetMatchInfoDto.d.ts +46 -0
  287. package/dist/models/GetMatchInfoDto.d.ts.map +1 -0
  288. package/dist/models/GetMatchInfoDto.js +60 -0
  289. package/dist/models/GetMatchInfoDto.js.map +1 -0
  290. package/dist/models/GetProfileDto.d.ts +63 -0
  291. package/dist/models/GetProfileDto.d.ts.map +1 -0
  292. package/dist/models/GetProfileDto.js +71 -0
  293. package/dist/models/GetProfileDto.js.map +1 -0
  294. package/dist/models/GetRandomPropsDto.d.ts +47 -0
  295. package/dist/models/GetRandomPropsDto.d.ts.map +1 -0
  296. package/dist/models/GetRandomPropsDto.js +61 -0
  297. package/dist/models/GetRandomPropsDto.js.map +1 -0
  298. package/dist/models/Guild.d.ts +58 -0
  299. package/dist/models/Guild.d.ts.map +1 -0
  300. package/dist/models/Guild.js +66 -0
  301. package/dist/models/Guild.js.map +1 -0
  302. package/dist/models/InitBetslipDTO.d.ts +127 -0
  303. package/dist/models/InitBetslipDTO.d.ts.map +1 -0
  304. package/dist/models/InitBetslipDTO.js +130 -0
  305. package/dist/models/InitBetslipDTO.js.map +1 -0
  306. package/dist/models/InitBetslipRespDTO.d.ts +40 -0
  307. package/dist/models/InitBetslipRespDTO.d.ts.map +1 -0
  308. package/dist/models/InitBetslipRespDTO.js +56 -0
  309. package/dist/models/InitBetslipRespDTO.js.map +1 -0
  310. package/dist/models/KHApiErrStandard.d.ts +45 -0
  311. package/dist/models/KHApiErrStandard.d.ts.map +1 -0
  312. package/dist/models/KHApiErrStandard.js +59 -0
  313. package/dist/models/KHApiErrStandard.js.map +1 -0
  314. package/dist/models/LeaderboardControllerInitializeWeeksV1200Response.d.ts +33 -0
  315. package/dist/models/LeaderboardControllerInitializeWeeksV1200Response.d.ts.map +1 -0
  316. package/dist/models/LeaderboardControllerInitializeWeeksV1200Response.js +49 -0
  317. package/dist/models/LeaderboardControllerInitializeWeeksV1200Response.js.map +1 -0
  318. package/dist/models/ManualSettleMatchBetsProcessedDto.d.ts +51 -0
  319. package/dist/models/ManualSettleMatchBetsProcessedDto.d.ts.map +1 -0
  320. package/dist/models/ManualSettleMatchBetsProcessedDto.js +57 -0
  321. package/dist/models/ManualSettleMatchBetsProcessedDto.js.map +1 -0
  322. package/dist/models/ManualSettleMatchDto.d.ts +51 -0
  323. package/dist/models/ManualSettleMatchDto.d.ts.map +1 -0
  324. package/dist/models/ManualSettleMatchDto.js +59 -0
  325. package/dist/models/ManualSettleMatchDto.js.map +1 -0
  326. package/dist/models/ManualSettleMatchResponseDto.d.ts +46 -0
  327. package/dist/models/ManualSettleMatchResponseDto.d.ts.map +1 -0
  328. package/dist/models/ManualSettleMatchResponseDto.js +60 -0
  329. package/dist/models/ManualSettleMatchResponseDto.js.map +1 -0
  330. package/dist/models/ManualSettleMatchResultDto.d.ts +70 -0
  331. package/dist/models/ManualSettleMatchResultDto.d.ts.map +1 -0
  332. package/dist/models/ManualSettleMatchResultDto.js +70 -0
  333. package/dist/models/ManualSettleMatchResultDto.js.map +1 -0
  334. package/dist/models/Market.d.ts +46 -0
  335. package/dist/models/Market.d.ts.map +1 -0
  336. package/dist/models/Market.js +59 -0
  337. package/dist/models/Market.js.map +1 -0
  338. package/dist/models/MarketDataDto.d.ts +52 -0
  339. package/dist/models/MarketDataDto.d.ts.map +1 -0
  340. package/dist/models/MarketDataDto.js +56 -0
  341. package/dist/models/MarketDataDto.js.map +1 -0
  342. package/dist/models/MatchDetailDto.d.ts +125 -0
  343. package/dist/models/MatchDetailDto.d.ts.map +1 -0
  344. package/dist/models/MatchDetailDto.js +81 -0
  345. package/dist/models/MatchDetailDto.js.map +1 -0
  346. package/dist/models/MatchInfo400Response.d.ts +45 -0
  347. package/dist/models/MatchInfo400Response.d.ts.map +1 -0
  348. package/dist/models/MatchInfo400Response.js +59 -0
  349. package/dist/models/MatchInfo400Response.js.map +1 -0
  350. package/dist/models/MatchInfo404Response.d.ts +45 -0
  351. package/dist/models/MatchInfo404Response.d.ts.map +1 -0
  352. package/dist/models/MatchInfo404Response.js +59 -0
  353. package/dist/models/MatchInfo404Response.js.map +1 -0
  354. package/dist/models/MatchesForSportRespDTO.d.ts +40 -0
  355. package/dist/models/MatchesForSportRespDTO.d.ts.map +1 -0
  356. package/dist/models/MatchesForSportRespDTO.js +56 -0
  357. package/dist/models/MatchesForSportRespDTO.js.map +1 -0
  358. package/dist/models/MatchupRecordsDto.d.ts +47 -0
  359. package/dist/models/MatchupRecordsDto.d.ts.map +1 -0
  360. package/dist/models/MatchupRecordsDto.js +59 -0
  361. package/dist/models/MatchupRecordsDto.js.map +1 -0
  362. package/dist/models/MatchupSeriesInfoDto.d.ts +63 -0
  363. package/dist/models/MatchupSeriesInfoDto.d.ts.map +1 -0
  364. package/dist/models/MatchupSeriesInfoDto.js +59 -0
  365. package/dist/models/MatchupSeriesInfoDto.js.map +1 -0
  366. package/dist/models/MatchupTeamRecordsDto.d.ts +63 -0
  367. package/dist/models/MatchupTeamRecordsDto.d.ts.map +1 -0
  368. package/dist/models/MatchupTeamRecordsDto.js +63 -0
  369. package/dist/models/MatchupTeamRecordsDto.js.map +1 -0
  370. package/dist/models/Modified.d.ts +45 -0
  371. package/dist/models/Modified.d.ts.map +1 -0
  372. package/dist/models/Modified.js +59 -0
  373. package/dist/models/Modified.js.map +1 -0
  374. package/dist/models/Monies.d.ts +46 -0
  375. package/dist/models/Monies.d.ts.map +1 -0
  376. package/dist/models/Monies.js +60 -0
  377. package/dist/models/Monies.js.map +1 -0
  378. package/dist/models/Odds.d.ts +70 -0
  379. package/dist/models/Odds.d.ts.map +1 -0
  380. package/dist/models/Odds.js +76 -0
  381. package/dist/models/Odds.js.map +1 -0
  382. package/dist/models/Outcome.d.ts +45 -0
  383. package/dist/models/Outcome.d.ts.map +1 -0
  384. package/dist/models/Outcome.js +59 -0
  385. package/dist/models/Outcome.js.map +1 -0
  386. package/dist/models/OutcomeDataDto.d.ts +87 -0
  387. package/dist/models/OutcomeDataDto.d.ts.map +1 -0
  388. package/dist/models/OutcomeDataDto.js +75 -0
  389. package/dist/models/OutcomeDataDto.js.map +1 -0
  390. package/dist/models/OutcomeSettledWebhookDto.d.ts +105 -0
  391. package/dist/models/OutcomeSettledWebhookDto.d.ts.map +1 -0
  392. package/dist/models/OutcomeSettledWebhookDto.js +95 -0
  393. package/dist/models/OutcomeSettledWebhookDto.js.map +1 -0
  394. package/dist/models/OverallStatsDto.d.ts +78 -0
  395. package/dist/models/OverallStatsDto.d.ts.map +1 -0
  396. package/dist/models/OverallStatsDto.js +82 -0
  397. package/dist/models/OverallStatsDto.js.map +1 -0
  398. package/dist/models/PatreonDataDto.d.ts +33 -0
  399. package/dist/models/PatreonDataDto.d.ts.map +1 -0
  400. package/dist/models/PatreonDataDto.js +51 -0
  401. package/dist/models/PatreonDataDto.js.map +1 -0
  402. package/dist/models/PlaceBetDto.d.ts +127 -0
  403. package/dist/models/PlaceBetDto.d.ts.map +1 -0
  404. package/dist/models/PlaceBetDto.js +128 -0
  405. package/dist/models/PlaceBetDto.js.map +1 -0
  406. package/dist/models/PlacedBetslip.d.ts +115 -0
  407. package/dist/models/PlacedBetslip.d.ts.map +1 -0
  408. package/dist/models/PlacedBetslip.js +107 -0
  409. package/dist/models/PlacedBetslip.js.map +1 -0
  410. package/dist/models/PlacedBetslipDto.d.ts +40 -0
  411. package/dist/models/PlacedBetslipDto.d.ts.map +1 -0
  412. package/dist/models/PlacedBetslipDto.js +56 -0
  413. package/dist/models/PlacedBetslipDto.js.map +1 -0
  414. package/dist/models/Prediction.d.ts +139 -0
  415. package/dist/models/Prediction.d.ts.map +1 -0
  416. package/dist/models/Prediction.js +125 -0
  417. package/dist/models/Prediction.js.map +1 -0
  418. package/dist/models/PredictionDTO.d.ts +120 -0
  419. package/dist/models/PredictionDTO.d.ts.map +1 -0
  420. package/dist/models/PredictionDTO.js +108 -0
  421. package/dist/models/PredictionDTO.js.map +1 -0
  422. package/dist/models/PredictionsCountDto.d.ts +39 -0
  423. package/dist/models/PredictionsCountDto.d.ts.map +1 -0
  424. package/dist/models/PredictionsCountDto.js +55 -0
  425. package/dist/models/PredictionsCountDto.js.map +1 -0
  426. package/dist/models/ProcessedPredictions.d.ts +99 -0
  427. package/dist/models/ProcessedPredictions.d.ts.map +1 -0
  428. package/dist/models/ProcessedPredictions.js +100 -0
  429. package/dist/models/ProcessedPredictions.js.map +1 -0
  430. package/dist/models/ProcessedPropDto.d.ts +94 -0
  431. package/dist/models/ProcessedPropDto.d.ts.map +1 -0
  432. package/dist/models/ProcessedPropDto.js +92 -0
  433. package/dist/models/ProcessedPropDto.js.map +1 -0
  434. package/dist/models/ProfitLossSummary.d.ts +45 -0
  435. package/dist/models/ProfitLossSummary.d.ts.map +1 -0
  436. package/dist/models/ProfitLossSummary.js +59 -0
  437. package/dist/models/ProfitLossSummary.js.map +1 -0
  438. package/dist/models/PropDto.d.ts +65 -0
  439. package/dist/models/PropDto.d.ts.map +1 -0
  440. package/dist/models/PropDto.js +71 -0
  441. package/dist/models/PropDto.js.map +1 -0
  442. package/dist/models/PropEventContextDto.d.ts +51 -0
  443. package/dist/models/PropEventContextDto.d.ts.map +1 -0
  444. package/dist/models/PropEventContextDto.js +63 -0
  445. package/dist/models/PropEventContextDto.js.map +1 -0
  446. package/dist/models/PropOutcomeDetailDto.d.ts +87 -0
  447. package/dist/models/PropOutcomeDetailDto.d.ts.map +1 -0
  448. package/dist/models/PropOutcomeDetailDto.js +81 -0
  449. package/dist/models/PropOutcomeDetailDto.js.map +1 -0
  450. package/dist/models/PropOutcomeSideDto.d.ts +45 -0
  451. package/dist/models/PropOutcomeSideDto.d.ts.map +1 -0
  452. package/dist/models/PropOutcomeSideDto.js +59 -0
  453. package/dist/models/PropOutcomeSideDto.js.map +1 -0
  454. package/dist/models/ReconcileOutstandingBetsDto.d.ts +39 -0
  455. package/dist/models/ReconcileOutstandingBetsDto.d.ts.map +1 -0
  456. package/dist/models/ReconcileOutstandingBetsDto.js +51 -0
  457. package/dist/models/ReconcileOutstandingBetsDto.js.map +1 -0
  458. package/dist/models/RefundBetsDto.d.ts +33 -0
  459. package/dist/models/RefundBetsDto.d.ts.map +1 -0
  460. package/dist/models/RefundBetsDto.js +51 -0
  461. package/dist/models/RefundBetsDto.js.map +1 -0
  462. package/dist/models/RefundBetsResponseDto.d.ts +51 -0
  463. package/dist/models/RefundBetsResponseDto.d.ts.map +1 -0
  464. package/dist/models/RefundBetsResponseDto.js +63 -0
  465. package/dist/models/RefundBetsResponseDto.js.map +1 -0
  466. package/dist/models/RemoveAllChannelsDto.d.ts +39 -0
  467. package/dist/models/RemoveAllChannelsDto.d.ts.map +1 -0
  468. package/dist/models/RemoveAllChannelsDto.js +55 -0
  469. package/dist/models/RemoveAllChannelsDto.js.map +1 -0
  470. package/dist/models/SeasonWeekDto.d.ts +53 -0
  471. package/dist/models/SeasonWeekDto.d.ts.map +1 -0
  472. package/dist/models/SeasonWeekDto.js +67 -0
  473. package/dist/models/SeasonWeekDto.js.map +1 -0
  474. package/dist/models/SendDailyMatches404Response.d.ts +45 -0
  475. package/dist/models/SendDailyMatches404Response.d.ts.map +1 -0
  476. package/dist/models/SendDailyMatches404Response.js +59 -0
  477. package/dist/models/SendDailyMatches404Response.js.map +1 -0
  478. package/dist/models/SeriesScoreDto.d.ts +45 -0
  479. package/dist/models/SeriesScoreDto.d.ts.map +1 -0
  480. package/dist/models/SeriesScoreDto.js +53 -0
  481. package/dist/models/SeriesScoreDto.js.map +1 -0
  482. package/dist/models/SetPropResultDto.d.ts +58 -0
  483. package/dist/models/SetPropResultDto.d.ts.map +1 -0
  484. package/dist/models/SetPropResultDto.js +70 -0
  485. package/dist/models/SetPropResultDto.js.map +1 -0
  486. package/dist/models/SetPropResultResponseDto.d.ts +45 -0
  487. package/dist/models/SetPropResultResponseDto.d.ts.map +1 -0
  488. package/dist/models/SetPropResultResponseDto.js +59 -0
  489. package/dist/models/SetPropResultResponseDto.js.map +1 -0
  490. package/dist/models/SimpleLeaderboardEntryDto.d.ts +57 -0
  491. package/dist/models/SimpleLeaderboardEntryDto.d.ts.map +1 -0
  492. package/dist/models/SimpleLeaderboardEntryDto.js +67 -0
  493. package/dist/models/SimpleLeaderboardEntryDto.js.map +1 -0
  494. package/dist/models/SimpleLeaderboardResponseDto.d.ts +40 -0
  495. package/dist/models/SimpleLeaderboardResponseDto.d.ts.map +1 -0
  496. package/dist/models/SimpleLeaderboardResponseDto.js +56 -0
  497. package/dist/models/SimpleLeaderboardResponseDto.js.map +1 -0
  498. package/dist/models/StoredChannelDto.d.ts +71 -0
  499. package/dist/models/StoredChannelDto.d.ts.map +1 -0
  500. package/dist/models/StoredChannelDto.js +75 -0
  501. package/dist/models/StoredChannelDto.js.map +1 -0
  502. package/dist/models/StoredConfigDto.d.ts +64 -0
  503. package/dist/models/StoredConfigDto.d.ts.map +1 -0
  504. package/dist/models/StoredConfigDto.js +76 -0
  505. package/dist/models/StoredConfigDto.js.map +1 -0
  506. package/dist/models/TeamBetStats.d.ts +39 -0
  507. package/dist/models/TeamBetStats.d.ts.map +1 -0
  508. package/dist/models/TeamBetStats.js +55 -0
  509. package/dist/models/TeamBetStats.js.map +1 -0
  510. package/dist/models/TeamLossStats.d.ts +39 -0
  511. package/dist/models/TeamLossStats.d.ts.map +1 -0
  512. package/dist/models/TeamLossStats.js +55 -0
  513. package/dist/models/TeamLossStats.js.map +1 -0
  514. package/dist/models/UpdateChangelogDto.d.ts +66 -0
  515. package/dist/models/UpdateChangelogDto.d.ts.map +1 -0
  516. package/dist/models/UpdateChangelogDto.js +66 -0
  517. package/dist/models/UpdateChangelogDto.js.map +1 -0
  518. package/dist/models/UpdateChannelDto.d.ts +63 -0
  519. package/dist/models/UpdateChannelDto.d.ts.map +1 -0
  520. package/dist/models/UpdateChannelDto.js +59 -0
  521. package/dist/models/UpdateChannelDto.js.map +1 -0
  522. package/dist/models/UpdateFooterDto.d.ts +70 -0
  523. package/dist/models/UpdateFooterDto.d.ts.map +1 -0
  524. package/dist/models/UpdateFooterDto.js +70 -0
  525. package/dist/models/UpdateFooterDto.js.map +1 -0
  526. package/dist/models/UpdatePredictionDto.d.ts +120 -0
  527. package/dist/models/UpdatePredictionDto.d.ts.map +1 -0
  528. package/dist/models/UpdatePredictionDto.js +84 -0
  529. package/dist/models/UpdatePredictionDto.js.map +1 -0
  530. package/dist/models/UserProfile404Response.d.ts +45 -0
  531. package/dist/models/UserProfile404Response.d.ts.map +1 -0
  532. package/dist/models/UserProfile404Response.js +59 -0
  533. package/dist/models/UserProfile404Response.js.map +1 -0
  534. package/dist/models/WebhookAcceptedResponseDto.d.ts +52 -0
  535. package/dist/models/WebhookAcceptedResponseDto.d.ts.map +1 -0
  536. package/dist/models/WebhookAcceptedResponseDto.js +64 -0
  537. package/dist/models/WebhookAcceptedResponseDto.js.map +1 -0
  538. package/dist/models/WebhookHealthResponseDto.d.ts +52 -0
  539. package/dist/models/WebhookHealthResponseDto.d.ts.map +1 -0
  540. package/dist/models/WebhookHealthResponseDto.js +66 -0
  541. package/dist/models/WebhookHealthResponseDto.js.map +1 -0
  542. package/dist/models/XpEntity.d.ts +58 -0
  543. package/dist/models/XpEntity.d.ts.map +1 -0
  544. package/dist/models/XpEntity.js +68 -0
  545. package/dist/models/XpEntity.js.map +1 -0
  546. package/dist/models/index.d.ts +111 -0
  547. package/dist/models/index.d.ts.map +1 -0
  548. package/dist/models/index.js +129 -0
  549. package/dist/models/index.js.map +1 -0
  550. package/dist/runtime.d.ts +185 -0
  551. package/dist/runtime.d.ts.map +1 -0
  552. package/dist/runtime.js +365 -0
  553. package/dist/runtime.js.map +1 -0
  554. package/package.json +36 -0
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Khronos API Documentation
3
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PredictionDTO
16
+ */
17
+ export interface PredictionDTO {
18
+ /**
19
+ * Unique identifier for the prediction
20
+ * @type {string}
21
+ * @memberof PredictionDTO
22
+ */
23
+ id: string;
24
+ /**
25
+ * User ID
26
+ * @type {string}
27
+ * @memberof PredictionDTO
28
+ */
29
+ user_id: string;
30
+ /**
31
+ * Creation timestamp
32
+ * @type {Date}
33
+ * @memberof PredictionDTO
34
+ */
35
+ created_at: Date;
36
+ /**
37
+ * Outcome UUID from Goracle
38
+ * @type {string}
39
+ * @memberof PredictionDTO
40
+ */
41
+ outcome_uuid: string;
42
+ /**
43
+ * Event ID from Goracle
44
+ * @type {string}
45
+ * @memberof PredictionDTO
46
+ */
47
+ event_id: string;
48
+ /**
49
+ * Market ID from Goracle - used for grouping paired outcomes
50
+ * @type {number}
51
+ * @memberof PredictionDTO
52
+ */
53
+ market_id?: number;
54
+ /**
55
+ * Sport key
56
+ * @type {string}
57
+ * @memberof PredictionDTO
58
+ */
59
+ sport: string;
60
+ /**
61
+ * User's choice
62
+ * @type {string}
63
+ * @memberof PredictionDTO
64
+ */
65
+ choice: string;
66
+ /**
67
+ * Whether the prediction is correct
68
+ * @type {boolean}
69
+ * @memberof PredictionDTO
70
+ */
71
+ is_correct?: boolean | null;
72
+ /**
73
+ * Status of the prediction
74
+ * @type {PredictionDTOStatusEnum}
75
+ * @memberof PredictionDTO
76
+ */
77
+ status: PredictionDTOStatusEnum;
78
+ /**
79
+ * Last update timestamp
80
+ * @type {Date}
81
+ * @memberof PredictionDTO
82
+ */
83
+ updated_at: Date;
84
+ /**
85
+ * Guild ID
86
+ * @type {string}
87
+ * @memberof PredictionDTO
88
+ */
89
+ guild_id: string;
90
+ /**
91
+ * Market key
92
+ * @type {string}
93
+ * @memberof PredictionDTO
94
+ */
95
+ market_key: string;
96
+ /**
97
+ * Bookmaker key
98
+ * @type {string}
99
+ * @memberof PredictionDTO
100
+ */
101
+ bookmaker_key: string;
102
+ }
103
+ /**
104
+ * @export
105
+ */
106
+ export declare const PredictionDTOStatusEnum: {
107
+ readonly Pending: "pending";
108
+ readonly Completed: "completed";
109
+ readonly Error: "error";
110
+ };
111
+ export type PredictionDTOStatusEnum = typeof PredictionDTOStatusEnum[keyof typeof PredictionDTOStatusEnum];
112
+ /**
113
+ * Check if a given object implements the PredictionDTO interface.
114
+ */
115
+ export declare function instanceOfPredictionDTO(value: object): value is PredictionDTO;
116
+ export declare function PredictionDTOFromJSON(json: any): PredictionDTO;
117
+ export declare function PredictionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictionDTO;
118
+ export declare function PredictionDTOToJSON(json: any): PredictionDTO;
119
+ export declare function PredictionDTOToJSONTyped(value?: PredictionDTO | null, ignoreDiscriminator?: boolean): any;
120
+ //# sourceMappingURL=PredictionDTO.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PredictionDTO.d.ts","sourceRoot":"","sources":["../../src/models/PredictionDTO.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAChC;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAc7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAqBjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsBhH"}
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Khronos API Documentation
6
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PredictionDTOStatusEnum = void 0;
17
+ exports.instanceOfPredictionDTO = instanceOfPredictionDTO;
18
+ exports.PredictionDTOFromJSON = PredictionDTOFromJSON;
19
+ exports.PredictionDTOFromJSONTyped = PredictionDTOFromJSONTyped;
20
+ exports.PredictionDTOToJSON = PredictionDTOToJSON;
21
+ exports.PredictionDTOToJSONTyped = PredictionDTOToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PredictionDTOStatusEnum = {
26
+ Pending: 'pending',
27
+ Completed: 'completed',
28
+ Error: 'error'
29
+ };
30
+ /**
31
+ * Check if a given object implements the PredictionDTO interface.
32
+ */
33
+ function instanceOfPredictionDTO(value) {
34
+ if (!('id' in value) || value['id'] === undefined)
35
+ return false;
36
+ if (!('user_id' in value) || value['user_id'] === undefined)
37
+ return false;
38
+ if (!('created_at' in value) || value['created_at'] === undefined)
39
+ return false;
40
+ if (!('outcome_uuid' in value) || value['outcome_uuid'] === undefined)
41
+ return false;
42
+ if (!('event_id' in value) || value['event_id'] === undefined)
43
+ return false;
44
+ if (!('sport' in value) || value['sport'] === undefined)
45
+ return false;
46
+ if (!('choice' in value) || value['choice'] === undefined)
47
+ return false;
48
+ if (!('status' in value) || value['status'] === undefined)
49
+ return false;
50
+ if (!('updated_at' in value) || value['updated_at'] === undefined)
51
+ return false;
52
+ if (!('guild_id' in value) || value['guild_id'] === undefined)
53
+ return false;
54
+ if (!('market_key' in value) || value['market_key'] === undefined)
55
+ return false;
56
+ if (!('bookmaker_key' in value) || value['bookmaker_key'] === undefined)
57
+ return false;
58
+ return true;
59
+ }
60
+ function PredictionDTOFromJSON(json) {
61
+ return PredictionDTOFromJSONTyped(json, false);
62
+ }
63
+ function PredictionDTOFromJSONTyped(json, ignoreDiscriminator) {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+ 'id': json['id'],
69
+ 'user_id': json['user_id'],
70
+ 'created_at': (new Date(json['created_at'])),
71
+ 'outcome_uuid': json['outcome_uuid'],
72
+ 'event_id': json['event_id'],
73
+ 'market_id': json['market_id'] == null ? undefined : json['market_id'],
74
+ 'sport': json['sport'],
75
+ 'choice': json['choice'],
76
+ 'is_correct': json['is_correct'] == null ? undefined : json['is_correct'],
77
+ 'status': json['status'],
78
+ 'updated_at': (new Date(json['updated_at'])),
79
+ 'guild_id': json['guild_id'],
80
+ 'market_key': json['market_key'],
81
+ 'bookmaker_key': json['bookmaker_key'],
82
+ };
83
+ }
84
+ function PredictionDTOToJSON(json) {
85
+ return PredictionDTOToJSONTyped(json, false);
86
+ }
87
+ function PredictionDTOToJSONTyped(value, ignoreDiscriminator = false) {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+ return {
92
+ 'id': value['id'],
93
+ 'user_id': value['user_id'],
94
+ 'created_at': value['created_at'].toISOString(),
95
+ 'outcome_uuid': value['outcome_uuid'],
96
+ 'event_id': value['event_id'],
97
+ 'market_id': value['market_id'],
98
+ 'sport': value['sport'],
99
+ 'choice': value['choice'],
100
+ 'is_correct': value['is_correct'],
101
+ 'status': value['status'],
102
+ 'updated_at': value['updated_at'].toISOString(),
103
+ 'guild_id': value['guild_id'],
104
+ 'market_key': value['market_key'],
105
+ 'bookmaker_key': value['bookmaker_key'],
106
+ };
107
+ }
108
+ //# sourceMappingURL=PredictionDTO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PredictionDTO.js","sourceRoot":"","sources":["../../src/models/PredictionDTO.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA8GH,0DAcC;AAED,sDAEC;AAED,gEAqBC;AAED,kDAEC;AAED,4DAsBC;AAnFD;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;CACR,CAAC;AAIX;;GAEG;AACH,SAAgB,uBAAuB,CAAC,KA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AAI,CAAC,eAAe,CAAC;KACzC,CAAC;AACN,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,KAA4B,EAAE,sBAA+B,KAAK;IACvG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QAC/C,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE;QAC/C,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;KAC1C,CAAC;AACN,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Khronos API Documentation
3
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PredictionsCountDto
16
+ */
17
+ export interface PredictionsCountDto {
18
+ /**
19
+ * Total number of predictions
20
+ * @type {number}
21
+ * @memberof PredictionsCountDto
22
+ */
23
+ total: number;
24
+ /**
25
+ * Total number of unique users
26
+ * @type {number}
27
+ * @memberof PredictionsCountDto
28
+ */
29
+ unique_users: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PredictionsCountDto interface.
33
+ */
34
+ export declare function instanceOfPredictionsCountDto(value: object): value is PredictionsCountDto;
35
+ export declare function PredictionsCountDtoFromJSON(json: any): PredictionsCountDto;
36
+ export declare function PredictionsCountDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PredictionsCountDto;
37
+ export declare function PredictionsCountDtoToJSON(json: any): PredictionsCountDto;
38
+ export declare function PredictionsCountDtoToJSONTyped(value?: PredictionsCountDto | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=PredictionsCountDto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PredictionsCountDto.d.ts","sourceRoot":"","sources":["../../src/models/PredictionsCountDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAIzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Khronos API Documentation
6
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPredictionsCountDto = instanceOfPredictionsCountDto;
17
+ exports.PredictionsCountDtoFromJSON = PredictionsCountDtoFromJSON;
18
+ exports.PredictionsCountDtoFromJSONTyped = PredictionsCountDtoFromJSONTyped;
19
+ exports.PredictionsCountDtoToJSON = PredictionsCountDtoToJSON;
20
+ exports.PredictionsCountDtoToJSONTyped = PredictionsCountDtoToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PredictionsCountDto interface.
23
+ */
24
+ function instanceOfPredictionsCountDto(value) {
25
+ if (!('total' in value) || value['total'] === undefined)
26
+ return false;
27
+ if (!('unique_users' in value) || value['unique_users'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function PredictionsCountDtoFromJSON(json) {
32
+ return PredictionsCountDtoFromJSONTyped(json, false);
33
+ }
34
+ function PredictionsCountDtoFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'total': json['total'],
40
+ 'unique_users': json['unique_users'],
41
+ };
42
+ }
43
+ function PredictionsCountDtoToJSON(json) {
44
+ return PredictionsCountDtoToJSONTyped(json, false);
45
+ }
46
+ function PredictionsCountDtoToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'total': value['total'],
52
+ 'unique_users': value['unique_users'],
53
+ };
54
+ }
55
+ //# sourceMappingURL=PredictionsCountDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PredictionsCountDto.js","sourceRoot":"","sources":["../../src/models/PredictionsCountDto.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,sEAIC;AAED,kEAEC;AAED,4EASC;AAED,8DAEC;AAED,wEAUC;AAtCD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,cAAc,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC;KACvC,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;KACxC,CAAC;AACN,CAAC"}
@@ -0,0 +1,99 @@
1
+ /**
2
+ * Khronos API Documentation
3
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Prediction } from './Prediction';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProcessedPredictions
17
+ */
18
+ export interface ProcessedPredictions {
19
+ /**
20
+ * Unique identifier for the processing record
21
+ * @type {string}
22
+ * @memberof ProcessedPredictions
23
+ */
24
+ id: string;
25
+ /**
26
+ * ID of the associated prediction
27
+ * @type {string}
28
+ * @memberof ProcessedPredictions
29
+ */
30
+ prediction_id: string;
31
+ /**
32
+ * The associated prediction
33
+ * @type {Prediction}
34
+ * @memberof ProcessedPredictions
35
+ */
36
+ prediction: Prediction;
37
+ /**
38
+ * Type of processing (e.g., "leaderboard")
39
+ * @type {ProcessedPredictionsProcessTypeEnum}
40
+ * @memberof ProcessedPredictions
41
+ */
42
+ process_type: ProcessedPredictionsProcessTypeEnum;
43
+ /**
44
+ * Timestamp of when the prediction was processed
45
+ * @type {Date}
46
+ * @memberof ProcessedPredictions
47
+ */
48
+ processed_at: Date;
49
+ /**
50
+ * Status of the processing. New records default to IN_PROGRESS
51
+ * @type {ProcessedPredictionsStatusEnum}
52
+ * @memberof ProcessedPredictions
53
+ */
54
+ status: ProcessedPredictionsStatusEnum;
55
+ /**
56
+ * Any additional processing details or metadata
57
+ * @type {object}
58
+ * @memberof ProcessedPredictions
59
+ */
60
+ details: object;
61
+ /**
62
+ * Timestamp of when the record was created
63
+ * @type {Date}
64
+ * @memberof ProcessedPredictions
65
+ */
66
+ created_at: Date;
67
+ /**
68
+ * Timestamp of when the record was last updated
69
+ * @type {Date}
70
+ * @memberof ProcessedPredictions
71
+ */
72
+ updated_at: Date;
73
+ }
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const ProcessedPredictionsProcessTypeEnum: {
78
+ readonly PropResult: "prop_result";
79
+ readonly Leaderboard: "leaderboard";
80
+ };
81
+ export type ProcessedPredictionsProcessTypeEnum = typeof ProcessedPredictionsProcessTypeEnum[keyof typeof ProcessedPredictionsProcessTypeEnum];
82
+ /**
83
+ * @export
84
+ */
85
+ export declare const ProcessedPredictionsStatusEnum: {
86
+ readonly Success: "success";
87
+ readonly Failure: "failure";
88
+ readonly InProgress: "in_progress";
89
+ };
90
+ export type ProcessedPredictionsStatusEnum = typeof ProcessedPredictionsStatusEnum[keyof typeof ProcessedPredictionsStatusEnum];
91
+ /**
92
+ * Check if a given object implements the ProcessedPredictions interface.
93
+ */
94
+ export declare function instanceOfProcessedPredictions(value: object): value is ProcessedPredictions;
95
+ export declare function ProcessedPredictionsFromJSON(json: any): ProcessedPredictions;
96
+ export declare function ProcessedPredictionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessedPredictions;
97
+ export declare function ProcessedPredictionsToJSON(json: any): ProcessedPredictions;
98
+ export declare function ProcessedPredictionsToJSONTyped(value?: ProcessedPredictions | null, ignoreDiscriminator?: boolean): any;
99
+ //# sourceMappingURL=ProcessedPredictions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessedPredictions.d.ts","sourceRoot":"","sources":["../../src/models/ProcessedPredictions.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;;;OAIG;IACH,YAAY,EAAE,mCAAmC,CAAC;IAClD;;;;OAIG;IACH,YAAY,EAAE,IAAI,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,8BAA8B,CAAC;IACvC;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,IAAI,CAAC;CACpB;AAGD;;GAEG;AACH,eAAO,MAAM,mCAAmC;;;CAGtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAE/I;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAW3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAgB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiB9H"}
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Khronos API Documentation
6
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProcessedPredictionsStatusEnum = exports.ProcessedPredictionsProcessTypeEnum = void 0;
17
+ exports.instanceOfProcessedPredictions = instanceOfProcessedPredictions;
18
+ exports.ProcessedPredictionsFromJSON = ProcessedPredictionsFromJSON;
19
+ exports.ProcessedPredictionsFromJSONTyped = ProcessedPredictionsFromJSONTyped;
20
+ exports.ProcessedPredictionsToJSON = ProcessedPredictionsToJSON;
21
+ exports.ProcessedPredictionsToJSONTyped = ProcessedPredictionsToJSONTyped;
22
+ const Prediction_1 = require("./Prediction");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ProcessedPredictionsProcessTypeEnum = {
27
+ PropResult: 'prop_result',
28
+ Leaderboard: 'leaderboard'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.ProcessedPredictionsStatusEnum = {
34
+ Success: 'success',
35
+ Failure: 'failure',
36
+ InProgress: 'in_progress'
37
+ };
38
+ /**
39
+ * Check if a given object implements the ProcessedPredictions interface.
40
+ */
41
+ function instanceOfProcessedPredictions(value) {
42
+ if (!('id' in value) || value['id'] === undefined)
43
+ return false;
44
+ if (!('prediction_id' in value) || value['prediction_id'] === undefined)
45
+ return false;
46
+ if (!('prediction' in value) || value['prediction'] === undefined)
47
+ return false;
48
+ if (!('process_type' in value) || value['process_type'] === undefined)
49
+ return false;
50
+ if (!('processed_at' in value) || value['processed_at'] === undefined)
51
+ return false;
52
+ if (!('status' in value) || value['status'] === undefined)
53
+ return false;
54
+ if (!('details' in value) || value['details'] === undefined)
55
+ return false;
56
+ if (!('created_at' in value) || value['created_at'] === undefined)
57
+ return false;
58
+ if (!('updated_at' in value) || value['updated_at'] === undefined)
59
+ return false;
60
+ return true;
61
+ }
62
+ function ProcessedPredictionsFromJSON(json) {
63
+ return ProcessedPredictionsFromJSONTyped(json, false);
64
+ }
65
+ function ProcessedPredictionsFromJSONTyped(json, ignoreDiscriminator) {
66
+ if (json == null) {
67
+ return json;
68
+ }
69
+ return {
70
+ 'id': json['id'],
71
+ 'prediction_id': json['prediction_id'],
72
+ 'prediction': (0, Prediction_1.PredictionFromJSON)(json['prediction']),
73
+ 'process_type': json['process_type'],
74
+ 'processed_at': (new Date(json['processed_at'])),
75
+ 'status': json['status'],
76
+ 'details': json['details'],
77
+ 'created_at': (new Date(json['created_at'])),
78
+ 'updated_at': (new Date(json['updated_at'])),
79
+ };
80
+ }
81
+ function ProcessedPredictionsToJSON(json) {
82
+ return ProcessedPredictionsToJSONTyped(json, false);
83
+ }
84
+ function ProcessedPredictionsToJSONTyped(value, ignoreDiscriminator = false) {
85
+ if (value == null) {
86
+ return value;
87
+ }
88
+ return {
89
+ 'id': value['id'],
90
+ 'prediction_id': value['prediction_id'],
91
+ 'prediction': (0, Prediction_1.PredictionToJSON)(value['prediction']),
92
+ 'process_type': value['process_type'],
93
+ 'processed_at': value['processed_at'].toISOString(),
94
+ 'status': value['status'],
95
+ 'details': value['details'],
96
+ 'created_at': value['created_at'].toISOString(),
97
+ 'updated_at': value['updated_at'].toISOString(),
98
+ };
99
+ }
100
+ //# sourceMappingURL=ProcessedPredictions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessedPredictions.js","sourceRoot":"","sources":["../../src/models/ProcessedPredictions.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiGH,wEAWC;AAED,oEAEC;AAED,8EAgBC;AAED,gEAEC;AAED,0EAiBC;AArJD,6CAKsB;AAiEtB;;GAEG;AACU,QAAA,mCAAmC,GAAG;IAC/C,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,aAAa;CACpB,CAAC;AAGX;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC1C,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;CACnB,CAAC;AAIX;;GAEG;AACH,SAAgB,8BAA8B,CAAC,KAAa;IACxD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,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C;AACN,CAAC"}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Khronos API Documentation
3
+ * Khronos is a sports-focused API that integrates with my other app, Pluto for Discord.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PropOutcomeSideDto } from './PropOutcomeSideDto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProcessedPropDto
17
+ */
18
+ export interface ProcessedPropDto {
19
+ /**
20
+ * Event ID
21
+ * @type {string}
22
+ * @memberof ProcessedPropDto
23
+ */
24
+ event_id: string;
25
+ /**
26
+ * Game commence time (ISO 8601)
27
+ * @type {string}
28
+ * @memberof ProcessedPropDto
29
+ */
30
+ commence_time: string;
31
+ /**
32
+ * Home team name
33
+ * @type {string}
34
+ * @memberof ProcessedPropDto
35
+ */
36
+ home_team: string;
37
+ /**
38
+ * Away team name
39
+ * @type {string}
40
+ * @memberof ProcessedPropDto
41
+ */
42
+ away_team: string;
43
+ /**
44
+ * Sport title (e.g., "NBA", "NFL")
45
+ * @type {string}
46
+ * @memberof ProcessedPropDto
47
+ */
48
+ sport_title: string;
49
+ /**
50
+ * Market key (e.g., player_pass_tds, player_rush_yds)
51
+ * @type {string}
52
+ * @memberof ProcessedPropDto
53
+ */
54
+ market_key: string;
55
+ /**
56
+ * Bookmaker key (e.g., draftkings)
57
+ * @type {string}
58
+ * @memberof ProcessedPropDto
59
+ */
60
+ bookmaker_key: string;
61
+ /**
62
+ * Player name or outcome description
63
+ * @type {string}
64
+ * @memberof ProcessedPropDto
65
+ */
66
+ description: string;
67
+ /**
68
+ * Point value (e.g., 250.5 for over/under)
69
+ * @type {number}
70
+ * @memberof ProcessedPropDto
71
+ */
72
+ point: number;
73
+ /**
74
+ * Over outcome details
75
+ * @type {PropOutcomeSideDto}
76
+ * @memberof ProcessedPropDto
77
+ */
78
+ over: PropOutcomeSideDto;
79
+ /**
80
+ * Under outcome details
81
+ * @type {PropOutcomeSideDto}
82
+ * @memberof ProcessedPropDto
83
+ */
84
+ under: PropOutcomeSideDto;
85
+ }
86
+ /**
87
+ * Check if a given object implements the ProcessedPropDto interface.
88
+ */
89
+ export declare function instanceOfProcessedPropDto(value: object): value is ProcessedPropDto;
90
+ export declare function ProcessedPropDtoFromJSON(json: any): ProcessedPropDto;
91
+ export declare function ProcessedPropDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessedPropDto;
92
+ export declare function ProcessedPropDtoToJSON(json: any): ProcessedPropDto;
93
+ export declare function ProcessedPropDtoToJSONTyped(value?: ProcessedPropDto | null, ignoreDiscriminator?: boolean): any;
94
+ //# sourceMappingURL=ProcessedPropDto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProcessedPropDto.d.ts","sourceRoot":"","sources":["../../src/models/ProcessedPropDto.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;;;OAIG;IACH,KAAK,EAAE,kBAAkB,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAanF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAkBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAmBtH"}