@space-cow-media/spellbook-client 7.0.6 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (425) hide show
  1. package/dist/apis/CardListFromTextApi.d.ts +1 -1
  2. package/dist/apis/CardListFromTextApi.js +1 -1
  3. package/dist/apis/CardListFromUrlApi.d.ts +1 -1
  4. package/dist/apis/CardListFromUrlApi.js +1 -1
  5. package/dist/apis/CardsApi.d.ts +1 -1
  6. package/dist/apis/CardsApi.js +1 -1
  7. package/dist/apis/DefaultApi.d.ts +1 -1
  8. package/dist/apis/DefaultApi.js +1 -1
  9. package/dist/apis/EstimateBracketApi.d.ts +1 -1
  10. package/dist/apis/EstimateBracketApi.js +1 -1
  11. package/dist/apis/ExplainQueryApi.d.ts +1 -1
  12. package/dist/apis/ExplainQueryApi.js +1 -1
  13. package/dist/apis/FeaturesApi.d.ts +1 -1
  14. package/dist/apis/FeaturesApi.js +1 -1
  15. package/dist/apis/FindMyCombosApi.d.ts +1 -1
  16. package/dist/apis/FindMyCombosApi.js +1 -1
  17. package/dist/apis/PropertiesApi.d.ts +1 -1
  18. package/dist/apis/PropertiesApi.js +1 -1
  19. package/dist/apis/SaltVotesApi.d.ts +127 -0
  20. package/dist/apis/SaltVotesApi.js +289 -0
  21. package/dist/apis/SaltVotesApi.js.map +1 -0
  22. package/dist/apis/TemplatesApi.d.ts +1 -1
  23. package/dist/apis/TemplatesApi.js +1 -1
  24. package/dist/apis/TokenApi.d.ts +1 -1
  25. package/dist/apis/TokenApi.js +1 -1
  26. package/dist/apis/UsersApi.d.ts +1 -1
  27. package/dist/apis/UsersApi.js +1 -1
  28. package/dist/apis/VariantAliasesApi.d.ts +1 -1
  29. package/dist/apis/VariantAliasesApi.js +1 -1
  30. package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
  31. package/dist/apis/VariantSuggestionsApi.js +1 -1
  32. package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
  33. package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
  34. package/dist/apis/VariantsApi.d.ts +1 -1
  35. package/dist/apis/VariantsApi.js +1 -1
  36. package/dist/apis/index.d.ts +1 -0
  37. package/dist/apis/index.js +1 -0
  38. package/dist/apis/index.js.map +1 -1
  39. package/dist/models/BracketTagEnum.d.ts +1 -1
  40. package/dist/models/BracketTagEnum.js +1 -1
  41. package/dist/models/Card.d.ts +11 -21
  42. package/dist/models/Card.js +21 -31
  43. package/dist/models/Card.js.map +1 -1
  44. package/dist/models/CardDetail.d.ts +13 -23
  45. package/dist/models/CardDetail.js +23 -33
  46. package/dist/models/CardDetail.js.map +1 -1
  47. package/dist/models/CardInDeck.d.ts +1 -1
  48. package/dist/models/CardInDeck.js +1 -1
  49. package/dist/models/CardInDeckRequest.d.ts +1 -1
  50. package/dist/models/CardInDeckRequest.js +1 -1
  51. package/dist/models/CardInVariant.d.ts +1 -1
  52. package/dist/models/CardInVariant.js +1 -1
  53. package/dist/models/CardLegalities.d.ts +1 -1
  54. package/dist/models/CardLegalities.js +1 -1
  55. package/dist/models/CardPrices.d.ts +1 -1
  56. package/dist/models/CardPrices.js +1 -1
  57. package/dist/models/CardUsedInVariantSuggestion.d.ts +9 -13
  58. package/dist/models/CardUsedInVariantSuggestion.js +9 -13
  59. package/dist/models/CardUsedInVariantSuggestion.js.map +1 -1
  60. package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +9 -13
  61. package/dist/models/CardUsedInVariantSuggestionRequest.js +9 -13
  62. package/dist/models/CardUsedInVariantSuggestionRequest.js.map +1 -1
  63. package/dist/models/ClassifiedCard.d.ts +1 -1
  64. package/dist/models/ClassifiedCard.js +1 -1
  65. package/dist/models/ClassifiedVariant.d.ts +1 -1
  66. package/dist/models/ClassifiedVariant.js +1 -1
  67. package/dist/models/ColorEnum.d.ts +1 -1
  68. package/dist/models/ColorEnum.js +1 -1
  69. package/dist/models/Combo.d.ts +1 -1
  70. package/dist/models/Combo.js +1 -1
  71. package/dist/models/Deck.d.ts +1 -1
  72. package/dist/models/Deck.js +1 -1
  73. package/dist/models/DeckRequest.d.ts +1 -1
  74. package/dist/models/DeckRequest.js +1 -1
  75. package/dist/models/EstimateBracketResult.d.ts +1 -1
  76. package/dist/models/EstimateBracketResult.js +1 -1
  77. package/dist/models/Feature.d.ts +1 -1
  78. package/dist/models/Feature.js +1 -1
  79. package/dist/models/FeatureOfCard.d.ts +9 -13
  80. package/dist/models/FeatureOfCard.js +9 -13
  81. package/dist/models/FeatureOfCard.js.map +1 -1
  82. package/dist/models/FeatureProducedByVariant.d.ts +1 -1
  83. package/dist/models/FeatureProducedByVariant.js +1 -1
  84. package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
  85. package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
  86. package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
  87. package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
  88. package/dist/models/FeatureStatusEnum.d.ts +1 -1
  89. package/dist/models/FeatureStatusEnum.js +1 -1
  90. package/dist/models/FindMyCombosResponse.d.ts +1 -1
  91. package/dist/models/FindMyCombosResponse.js +1 -1
  92. package/dist/models/InvalidUrlResponse.d.ts +1 -1
  93. package/dist/models/InvalidUrlResponse.js +1 -1
  94. package/dist/models/KindEnum.d.ts +1 -1
  95. package/dist/models/KindEnum.js +1 -1
  96. package/dist/models/LayoutRotationEnum.d.ts +1 -1
  97. package/dist/models/LayoutRotationEnum.js +1 -1
  98. package/dist/models/PaginatedCardDetailList.d.ts +1 -1
  99. package/dist/models/PaginatedCardDetailList.js +1 -1
  100. package/dist/models/PaginatedFeatureList.d.ts +1 -1
  101. package/dist/models/PaginatedFeatureList.js +1 -1
  102. package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
  103. package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
  104. package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
  105. package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
  106. package/dist/models/{WebsitePropertyValue.d.ts → PaginatedSaltVoteList.d.ts} +30 -8
  107. package/{spellbook-client/models/GraveyardStartingCardState.ts → dist/models/PaginatedSaltVoteList.js} +34 -33
  108. package/dist/models/PaginatedSaltVoteList.js.map +1 -0
  109. package/dist/models/PaginatedTemplateList.d.ts +1 -1
  110. package/dist/models/PaginatedTemplateList.js +1 -1
  111. package/dist/models/PaginatedUserDetailList.d.ts +1 -1
  112. package/dist/models/PaginatedUserDetailList.js +1 -1
  113. package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
  114. package/dist/models/PaginatedVariantAliasList.js +1 -1
  115. package/dist/models/PaginatedVariantList.d.ts +1 -1
  116. package/dist/models/PaginatedVariantList.js +1 -1
  117. package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
  118. package/dist/models/PaginatedVariantSuggestionList.js +1 -1
  119. package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
  120. package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
  121. package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
  122. package/dist/models/PaginatedWebsitePropertyList.js +1 -1
  123. package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
  124. package/dist/models/PatchedUserDetailRequest.js +1 -1
  125. package/dist/models/PatchedVariantSuggestionRequest.d.ts +9 -13
  126. package/dist/models/PatchedVariantSuggestionRequest.js +9 -13
  127. package/dist/models/PatchedVariantSuggestionRequest.js.map +1 -1
  128. package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +5 -7
  129. package/dist/models/PatchedVariantUpdateSuggestionRequest.js +5 -7
  130. package/dist/models/PatchedVariantUpdateSuggestionRequest.js.map +1 -1
  131. package/dist/models/ProducedManaEnum.d.ts +1 -1
  132. package/dist/models/ProducedManaEnum.js +1 -1
  133. package/dist/models/QueryExplanation.d.ts +1 -1
  134. package/dist/models/QueryExplanation.js +1 -1
  135. package/dist/models/QueryExplanationValidationError.d.ts +1 -1
  136. package/dist/models/QueryExplanationValidationError.js +1 -1
  137. package/dist/models/{ImageURIOfTheBackOfTheCardInNormalFormat.d.ts → SaltVote.d.ts} +36 -7
  138. package/{spellbook-client/models/PatchedVariantSuggestionRequestComment.ts → dist/models/SaltVote.js} +37 -33
  139. package/dist/models/SaltVote.js.map +1 -0
  140. package/dist/models/{ImageURIOfTheBackOfTheCardInLargeFormat.d.ts → SaltVoteRequest.d.ts} +16 -7
  141. package/dist/models/{WebsitePropertyValue.js → SaltVoteRequest.js} +22 -22
  142. package/dist/models/SaltVoteRequest.js.map +1 -0
  143. package/dist/models/SuggestionStatusEnum.d.ts +1 -1
  144. package/dist/models/SuggestionStatusEnum.js +1 -1
  145. package/dist/models/Template.d.ts +1 -1
  146. package/dist/models/Template.js +1 -1
  147. package/dist/models/TemplateInVariant.d.ts +1 -1
  148. package/dist/models/TemplateInVariant.js +1 -1
  149. package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +9 -13
  150. package/dist/models/TemplateRequiredInVariantSuggestion.js +9 -13
  151. package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
  152. package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +9 -13
  153. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +9 -13
  154. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +1 -1
  155. package/dist/models/TokenObtainPair.d.ts +1 -1
  156. package/dist/models/TokenObtainPair.js +1 -1
  157. package/dist/models/TokenObtainPairRequest.d.ts +1 -1
  158. package/dist/models/TokenObtainPairRequest.js +1 -1
  159. package/dist/models/TokenRefresh.d.ts +1 -1
  160. package/dist/models/TokenRefresh.js +1 -1
  161. package/dist/models/TokenRefreshRequest.d.ts +1 -1
  162. package/dist/models/TokenRefreshRequest.js +1 -1
  163. package/dist/models/TokenVerifyRequest.d.ts +1 -1
  164. package/dist/models/TokenVerifyRequest.js +1 -1
  165. package/dist/models/User.d.ts +1 -1
  166. package/dist/models/User.js +1 -1
  167. package/dist/models/UserDetail.d.ts +1 -1
  168. package/dist/models/UserDetail.js +1 -1
  169. package/dist/models/UserDetailRequest.d.ts +1 -1
  170. package/dist/models/UserDetailRequest.js +1 -1
  171. package/dist/models/UserRequest.d.ts +1 -1
  172. package/dist/models/UserRequest.js +1 -1
  173. package/dist/models/Variant.d.ts +10 -2
  174. package/dist/models/Variant.js +7 -1
  175. package/dist/models/Variant.js.map +1 -1
  176. package/dist/models/VariantAlias.d.ts +1 -1
  177. package/dist/models/VariantAlias.js +1 -1
  178. package/dist/models/VariantInVariantUpdateSuggestion.d.ts +3 -4
  179. package/dist/models/VariantInVariantUpdateSuggestion.js +3 -4
  180. package/dist/models/VariantInVariantUpdateSuggestion.js.map +1 -1
  181. package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +3 -4
  182. package/dist/models/VariantInVariantUpdateSuggestionRequest.js +3 -4
  183. package/dist/models/VariantInVariantUpdateSuggestionRequest.js.map +1 -1
  184. package/dist/models/VariantLegalities.d.ts +1 -1
  185. package/dist/models/VariantLegalities.js +1 -1
  186. package/dist/models/VariantPrices.d.ts +1 -1
  187. package/dist/models/VariantPrices.js +1 -1
  188. package/dist/models/VariantStatusEnum.d.ts +1 -1
  189. package/dist/models/VariantStatusEnum.js +1 -1
  190. package/dist/models/VariantSuggestion.d.ts +9 -13
  191. package/dist/models/VariantSuggestion.js +9 -13
  192. package/dist/models/VariantSuggestion.js.map +1 -1
  193. package/dist/models/VariantSuggestionRequest.d.ts +9 -13
  194. package/dist/models/VariantSuggestionRequest.js +9 -13
  195. package/dist/models/VariantSuggestionRequest.js.map +1 -1
  196. package/dist/models/VariantUpdateSuggestion.d.ts +5 -7
  197. package/dist/models/VariantUpdateSuggestion.js +5 -7
  198. package/dist/models/VariantUpdateSuggestion.js.map +1 -1
  199. package/dist/models/VariantUpdateSuggestionRequest.d.ts +5 -7
  200. package/dist/models/VariantUpdateSuggestionRequest.js +5 -7
  201. package/dist/models/VariantUpdateSuggestionRequest.js.map +1 -1
  202. package/dist/models/VariantsQueryValidationError.d.ts +1 -1
  203. package/dist/models/VariantsQueryValidationError.js +1 -1
  204. package/dist/models/WebsiteProperty.d.ts +3 -4
  205. package/dist/models/WebsiteProperty.js +3 -4
  206. package/dist/models/WebsiteProperty.js.map +1 -1
  207. package/dist/models/ZoneLocationsEnum.d.ts +1 -1
  208. package/dist/models/ZoneLocationsEnum.js +1 -1
  209. package/dist/models/index.d.ts +3 -21
  210. package/dist/models/index.js +3 -21
  211. package/dist/models/index.js.map +1 -1
  212. package/dist/runtime.d.ts +1 -1
  213. package/dist/runtime.js +1 -1
  214. package/package.json +1 -1
  215. package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
  216. package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
  217. package/spellbook-client/apis/CardsApi.ts +1 -1
  218. package/spellbook-client/apis/DefaultApi.ts +1 -1
  219. package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
  220. package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
  221. package/spellbook-client/apis/FeaturesApi.ts +1 -1
  222. package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
  223. package/spellbook-client/apis/PropertiesApi.ts +1 -1
  224. package/spellbook-client/apis/SaltVotesApi.ts +386 -0
  225. package/spellbook-client/apis/TemplatesApi.ts +1 -1
  226. package/spellbook-client/apis/TokenApi.ts +1 -1
  227. package/spellbook-client/apis/UsersApi.ts +1 -1
  228. package/spellbook-client/apis/VariantAliasesApi.ts +1 -1
  229. package/spellbook-client/apis/VariantSuggestionsApi.ts +1 -1
  230. package/spellbook-client/apis/VariantUpdateSuggestionsApi.ts +1 -1
  231. package/spellbook-client/apis/VariantsApi.ts +1 -1
  232. package/spellbook-client/apis/index.ts +1 -0
  233. package/spellbook-client/docs/Card.md +10 -10
  234. package/spellbook-client/docs/CardDetail.md +10 -10
  235. package/spellbook-client/docs/CardUsedInVariantSuggestion.md +4 -4
  236. package/spellbook-client/docs/CardUsedInVariantSuggestionRequest.md +4 -4
  237. package/spellbook-client/docs/FeatureOfCard.md +4 -4
  238. package/spellbook-client/docs/{ImageURIOfTheBackOfTheCardInNormalFormat.md → PaginatedSaltVoteList.md} +12 -4
  239. package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +4 -4
  240. package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +2 -2
  241. package/spellbook-client/docs/{BattlefieldStartingCardState.md → SaltVote.md} +16 -5
  242. package/spellbook-client/docs/{ImageURIOfTheCardArtCrop.md → SaltVoteRequest.md} +6 -4
  243. package/spellbook-client/docs/SaltVotesApi.md +406 -0
  244. package/spellbook-client/docs/TemplateRequiredInVariantSuggestion.md +4 -4
  245. package/spellbook-client/docs/TemplateRequiredInVariantSuggestionRequest.md +4 -4
  246. package/spellbook-client/docs/Variant.md +4 -0
  247. package/spellbook-client/docs/VariantInVariantUpdateSuggestion.md +1 -1
  248. package/spellbook-client/docs/VariantInVariantUpdateSuggestionRequest.md +1 -1
  249. package/spellbook-client/docs/VariantSuggestion.md +4 -4
  250. package/spellbook-client/docs/VariantSuggestionRequest.md +4 -4
  251. package/spellbook-client/docs/VariantUpdateSuggestion.md +2 -2
  252. package/spellbook-client/docs/VariantUpdateSuggestionRequest.md +2 -2
  253. package/spellbook-client/docs/WebsiteProperty.md +1 -1
  254. package/spellbook-client/models/BracketTagEnum.ts +1 -1
  255. package/spellbook-client/models/Card.ts +31 -101
  256. package/spellbook-client/models/CardDetail.ts +45 -115
  257. package/spellbook-client/models/CardInDeck.ts +1 -1
  258. package/spellbook-client/models/CardInDeckRequest.ts +1 -1
  259. package/spellbook-client/models/CardInVariant.ts +1 -1
  260. package/spellbook-client/models/CardLegalities.ts +1 -1
  261. package/spellbook-client/models/CardPrices.ts +1 -1
  262. package/spellbook-client/models/CardUsedInVariantSuggestion.ts +17 -45
  263. package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +17 -45
  264. package/spellbook-client/models/ClassifiedCard.ts +1 -1
  265. package/spellbook-client/models/ClassifiedVariant.ts +1 -1
  266. package/spellbook-client/models/ColorEnum.ts +1 -1
  267. package/spellbook-client/models/Combo.ts +1 -1
  268. package/spellbook-client/models/Deck.ts +1 -1
  269. package/spellbook-client/models/DeckRequest.ts +1 -1
  270. package/spellbook-client/models/EstimateBracketResult.ts +1 -1
  271. package/spellbook-client/models/Feature.ts +1 -1
  272. package/spellbook-client/models/FeatureOfCard.ts +17 -45
  273. package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
  274. package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
  275. package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
  276. package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
  277. package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
  278. package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
  279. package/spellbook-client/models/KindEnum.ts +1 -1
  280. package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
  281. package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
  282. package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
  283. package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
  284. package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
  285. package/spellbook-client/models/PaginatedSaltVoteList.ts +93 -0
  286. package/spellbook-client/models/PaginatedTemplateList.ts +1 -1
  287. package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
  288. package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
  289. package/spellbook-client/models/PaginatedVariantList.ts +1 -1
  290. package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
  291. package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
  292. package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
  293. package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
  294. package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +17 -45
  295. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +9 -23
  296. package/spellbook-client/models/ProducedManaEnum.ts +1 -1
  297. package/spellbook-client/models/QueryExplanation.ts +1 -1
  298. package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
  299. package/spellbook-client/models/SaltVote.ts +94 -0
  300. package/spellbook-client/models/{ImageURIOfTheCardArtCrop.ts → SaltVoteRequest.ts} +32 -24
  301. package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
  302. package/spellbook-client/models/Template.ts +1 -1
  303. package/spellbook-client/models/TemplateInVariant.ts +1 -1
  304. package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +17 -45
  305. package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +17 -45
  306. package/spellbook-client/models/TokenObtainPair.ts +1 -1
  307. package/spellbook-client/models/TokenObtainPairRequest.ts +1 -1
  308. package/spellbook-client/models/TokenRefresh.ts +1 -1
  309. package/spellbook-client/models/TokenRefreshRequest.ts +1 -1
  310. package/spellbook-client/models/TokenVerifyRequest.ts +1 -1
  311. package/spellbook-client/models/User.ts +1 -1
  312. package/spellbook-client/models/UserDetail.ts +1 -1
  313. package/spellbook-client/models/UserDetailRequest.ts +1 -1
  314. package/spellbook-client/models/UserRequest.ts +1 -1
  315. package/spellbook-client/models/Variant.ts +14 -2
  316. package/spellbook-client/models/VariantAlias.ts +1 -1
  317. package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +5 -13
  318. package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +5 -13
  319. package/spellbook-client/models/VariantLegalities.ts +1 -1
  320. package/spellbook-client/models/VariantPrices.ts +1 -1
  321. package/spellbook-client/models/VariantStatusEnum.ts +1 -1
  322. package/spellbook-client/models/VariantSuggestion.ts +17 -45
  323. package/spellbook-client/models/VariantSuggestionRequest.ts +17 -45
  324. package/spellbook-client/models/VariantUpdateSuggestion.ts +9 -23
  325. package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +9 -23
  326. package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
  327. package/spellbook-client/models/WebsiteProperty.ts +5 -13
  328. package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
  329. package/spellbook-client/models/index.ts +3 -21
  330. package/spellbook-client/runtime.ts +1 -1
  331. package/dist/models/BattlefieldStartingCardState.d.ts +0 -21
  332. package/dist/models/BattlefieldStartingCardState.js +0 -44
  333. package/dist/models/BattlefieldStartingCardState.js.map +0 -1
  334. package/dist/models/ExileStartingCardState.d.ts +0 -21
  335. package/dist/models/ExileStartingCardState.js +0 -44
  336. package/dist/models/ExileStartingCardState.js.map +0 -1
  337. package/dist/models/GraveyardStartingCardState.d.ts +0 -21
  338. package/dist/models/GraveyardStartingCardState.js +0 -44
  339. package/dist/models/GraveyardStartingCardState.js.map +0 -1
  340. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +0 -21
  341. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +0 -44
  342. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js.map +0 -1
  343. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +0 -44
  344. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js.map +0 -1
  345. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +0 -44
  346. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js.map +0 -1
  347. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +0 -21
  348. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +0 -44
  349. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js.map +0 -1
  350. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +0 -21
  351. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +0 -44
  352. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js.map +0 -1
  353. package/dist/models/ImageURIOfTheCardArtCrop.d.ts +0 -21
  354. package/dist/models/ImageURIOfTheCardArtCrop.js +0 -44
  355. package/dist/models/ImageURIOfTheCardArtCrop.js.map +0 -1
  356. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +0 -21
  357. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +0 -44
  358. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js.map +0 -1
  359. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +0 -21
  360. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +0 -44
  361. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js.map +0 -1
  362. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +0 -21
  363. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +0 -44
  364. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js.map +0 -1
  365. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +0 -21
  366. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +0 -44
  367. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js.map +0 -1
  368. package/dist/models/LibraryStartingCardState.d.ts +0 -21
  369. package/dist/models/LibraryStartingCardState.js +0 -44
  370. package/dist/models/LibraryStartingCardState.js.map +0 -1
  371. package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +0 -21
  372. package/dist/models/PatchedVariantSuggestionRequestComment.js +0 -44
  373. package/dist/models/PatchedVariantSuggestionRequestComment.js.map +0 -1
  374. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +0 -21
  375. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +0 -44
  376. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js.map +0 -1
  377. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +0 -21
  378. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +0 -44
  379. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js.map +0 -1
  380. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +0 -21
  381. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +0 -44
  382. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js.map +0 -1
  383. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +0 -21
  384. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +0 -44
  385. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js.map +0 -1
  386. package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +0 -21
  387. package/dist/models/VariantInVariantUpdateSuggestionIssue.js +0 -44
  388. package/dist/models/VariantInVariantUpdateSuggestionIssue.js.map +0 -1
  389. package/dist/models/WebsitePropertyValue.js.map +0 -1
  390. package/spellbook-client/docs/ExileStartingCardState.md +0 -33
  391. package/spellbook-client/docs/GraveyardStartingCardState.md +0 -33
  392. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardArtCrop.md +0 -32
  393. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInLargeFormat.md +0 -32
  394. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInPNGFormat.md +0 -32
  395. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInSmallFormat.md +0 -32
  396. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInLargeFormat.md +0 -32
  397. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInNormalFormat.md +0 -32
  398. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInPNGFormat.md +0 -32
  399. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInSmallFormat.md +0 -32
  400. package/spellbook-client/docs/LibraryStartingCardState.md +0 -33
  401. package/spellbook-client/docs/PatchedVariantSuggestionRequestComment.md +0 -33
  402. package/spellbook-client/docs/PatchedVariantSuggestionRequestEasyPrerequisites.md +0 -33
  403. package/spellbook-client/docs/PatchedVariantSuggestionRequestManaNeeded.md +0 -33
  404. package/spellbook-client/docs/PatchedVariantSuggestionRequestNotablePrerequisites.md +0 -33
  405. package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequestSolution.md +0 -33
  406. package/spellbook-client/docs/VariantInVariantUpdateSuggestionIssue.md +0 -33
  407. package/spellbook-client/docs/WebsitePropertyValue.md +0 -33
  408. package/spellbook-client/models/BattlefieldStartingCardState.ts +0 -56
  409. package/spellbook-client/models/ExileStartingCardState.ts +0 -56
  410. package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +0 -56
  411. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +0 -56
  412. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +0 -56
  413. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +0 -56
  414. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +0 -56
  415. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +0 -56
  416. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +0 -56
  417. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +0 -56
  418. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +0 -56
  419. package/spellbook-client/models/LibraryStartingCardState.ts +0 -56
  420. package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +0 -56
  421. package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +0 -56
  422. package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +0 -56
  423. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +0 -56
  424. package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +0 -56
  425. package/spellbook-client/models/WebsitePropertyValue.ts +0 -56
@@ -2,19 +2,15 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
13
12
  import type { CardUsedInVariantSuggestionRequest } from './CardUsedInVariantSuggestionRequest.js';
14
13
  import type { FeatureProducedInVariantSuggestionRequest } from './FeatureProducedInVariantSuggestionRequest.js';
15
- import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
16
- import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
17
- import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
18
14
  import type { TemplateRequiredInVariantSuggestionRequest } from './TemplateRequiredInVariantSuggestionRequest.js';
19
15
  /**
20
16
  *
@@ -39,17 +35,17 @@ export interface PatchedVariantSuggestionRequest {
39
35
  */
40
36
  variantOf?: string | null;
41
37
  /**
42
- *
38
+ * Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
43
39
  */
44
- manaNeeded?: PatchedVariantSuggestionRequestManaNeeded;
40
+ manaNeeded?: string;
45
41
  /**
46
- *
42
+ * Easily achievable prerequisites for this combo.
47
43
  */
48
- easyPrerequisites?: PatchedVariantSuggestionRequestEasyPrerequisites;
44
+ easyPrerequisites?: string;
49
45
  /**
50
- *
46
+ * Notable prerequisites for this combo.
51
47
  */
52
- notablePrerequisites?: PatchedVariantSuggestionRequestNotablePrerequisites;
48
+ notablePrerequisites?: string;
53
49
  /**
54
50
  * Long description, in steps
55
51
  */
@@ -59,9 +55,9 @@ export interface PatchedVariantSuggestionRequest {
59
55
  */
60
56
  spoiler?: boolean;
61
57
  /**
62
- *
58
+ * Comment written by the user that suggested this
63
59
  */
64
- comment?: PatchedVariantSuggestionRequestComment;
60
+ comment?: string;
65
61
  }
66
62
  /**
67
63
  * Check if a given object implements the PatchedVariantSuggestionRequest interface.
@@ -4,19 +4,15 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON, PatchedVariantSuggestionRequestNotablePrerequisitesToJSON, } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
15
14
  import { CardUsedInVariantSuggestionRequestFromJSON, CardUsedInVariantSuggestionRequestToJSON, } from './CardUsedInVariantSuggestionRequest.js';
16
15
  import { FeatureProducedInVariantSuggestionRequestFromJSON, FeatureProducedInVariantSuggestionRequestToJSON, } from './FeatureProducedInVariantSuggestionRequest.js';
17
- import { PatchedVariantSuggestionRequestCommentFromJSON, PatchedVariantSuggestionRequestCommentToJSON, } from './PatchedVariantSuggestionRequestComment.js';
18
- import { PatchedVariantSuggestionRequestManaNeededFromJSON, PatchedVariantSuggestionRequestManaNeededToJSON, } from './PatchedVariantSuggestionRequestManaNeeded.js';
19
- import { PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON, PatchedVariantSuggestionRequestEasyPrerequisitesToJSON, } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
20
16
  import { TemplateRequiredInVariantSuggestionRequestFromJSON, TemplateRequiredInVariantSuggestionRequestToJSON, } from './TemplateRequiredInVariantSuggestionRequest.js';
21
17
  /**
22
18
  * Check if a given object implements the PatchedVariantSuggestionRequest interface.
@@ -36,12 +32,12 @@ export function PatchedVariantSuggestionRequestFromJSONTyped(json, ignoreDiscrim
36
32
  'requires': json['requires'] == null ? undefined : (json['requires'].map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
37
33
  'produces': json['produces'] == null ? undefined : (json['produces'].map(FeatureProducedInVariantSuggestionRequestFromJSON)),
38
34
  'variantOf': json['variantOf'] === undefined ? undefined : json['variantOf'] === null ? null : json['variantOf'],
39
- 'manaNeeded': json['manaNeeded'] == null ? undefined : PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
40
- 'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
41
- 'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
35
+ 'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
36
+ 'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
37
+ 'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
42
38
  'description': json['description'] == null ? undefined : json['description'],
43
39
  'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
44
- 'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
40
+ 'comment': json['comment'] == null ? undefined : json['comment'],
45
41
  };
46
42
  }
47
43
  export function PatchedVariantSuggestionRequestToJSON(json) {
@@ -56,12 +52,12 @@ export function PatchedVariantSuggestionRequestToJSONTyped(value, ignoreDiscrimi
56
52
  'requires': value['requires'] == null ? undefined : (value['requires'].map(TemplateRequiredInVariantSuggestionRequestToJSON)),
57
53
  'produces': value['produces'] == null ? undefined : (value['produces'].map(FeatureProducedInVariantSuggestionRequestToJSON)),
58
54
  'variantOf': value['variantOf'],
59
- 'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
60
- 'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
61
- 'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
55
+ 'manaNeeded': value['manaNeeded'],
56
+ 'easyPrerequisites': value['easyPrerequisites'],
57
+ 'notablePrerequisites': value['notablePrerequisites'],
62
58
  'description': value['description'],
63
59
  'spoiler': value['spoiler'],
64
- 'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
60
+ 'comment': value['comment'],
65
61
  };
66
62
  }
67
63
  //# sourceMappingURL=PatchedVariantSuggestionRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PatchedVariantSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/PatchedVariantSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,2DAA2D,EAE3D,yDAAyD,GAE5D,MAAM,0DAA0D,CAAC;AAElE,OAAO,EACH,0CAA0C,EAE1C,wCAAwC,GAE3C,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACH,iDAAiD,EAEjD,+CAA+C,GAElD,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACH,8CAA8C,EAE9C,4CAA4C,GAE/C,MAAM,6CAA6C,CAAC;AAErD,OAAO,EACH,iDAAiD,EAEjD,+CAA+C,GAElD,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACH,wDAAwD,EAExD,sDAAsD,GAEzD,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EACH,kDAAkD,EAElD,gDAAgD,GAEnD,MAAM,iDAAiD,CAAC;AAkDzD;;GAEG;AACH,MAAM,UAAU,yCAAyC,CAAC,KAAa;IACnE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,IAAS,EAAE,mBAA4B;IAChG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,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AAsB,EAAE,yDAAyD,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAChH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,SAAS,EAAE,4CAA4C,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KAC5E,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"PatchedVariantSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/PatchedVariantSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,0CAA0C,EAE1C,wCAAwC,GAE3C,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACH,iDAAiD,EAEjD,+CAA+C,GAElD,MAAM,gDAAgD,CAAC;AAExD,OAAO,EACH,kDAAkD,EAElD,gDAAgD,GAEnD,MAAM,iDAAiD,CAAC;AAkDzD;;GAEG;AACH,MAAM,UAAU,yCAAyC,CAAC,KAAa;IACnE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,IAAS,EAAE,mBAA4B;IAChG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAC;QACzH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,UAAU,CAAgB,CAAC,GA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AE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,KAA8C,EAAE,mBAAmB,GAAY,KAAK;IAC3I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,MAAM,CAAgB,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAC;QACzH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;QAC7I,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,+CAA+C,CAAC,CAAC;QAC5I,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,sBAAsB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACrD,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,8 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { KindEnum } from './KindEnum.js';
13
- import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
14
- import type { PatchedVariantUpdateSuggestionRequestSolution } from './PatchedVariantUpdateSuggestionRequestSolution.js';
15
13
  import type { VariantInVariantUpdateSuggestionRequest } from './VariantInVariantUpdateSuggestionRequest.js';
16
14
  /**
17
15
  *
@@ -40,13 +38,13 @@ export interface PatchedVariantUpdateSuggestionRequest {
40
38
  */
41
39
  issue?: string;
42
40
  /**
43
- *
41
+ * Description of the solution
44
42
  */
45
- solution?: PatchedVariantUpdateSuggestionRequestSolution;
43
+ solution?: string;
46
44
  /**
47
- *
45
+ * Comment written by the user that suggested this
48
46
  */
49
- comment?: PatchedVariantSuggestionRequestComment;
47
+ comment?: string;
50
48
  }
51
49
  /**
52
50
  * Check if a given object implements the PatchedVariantUpdateSuggestionRequest interface.
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,8 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { KindEnumFromJSON, KindEnumToJSON, } from './KindEnum.js';
15
- import { PatchedVariantSuggestionRequestCommentFromJSON, PatchedVariantSuggestionRequestCommentToJSON, } from './PatchedVariantSuggestionRequestComment.js';
16
- import { PatchedVariantUpdateSuggestionRequestSolutionFromJSON, PatchedVariantUpdateSuggestionRequestSolutionToJSON, } from './PatchedVariantUpdateSuggestionRequestSolution.js';
17
15
  import { VariantInVariantUpdateSuggestionRequestFromJSON, VariantInVariantUpdateSuggestionRequestToJSON, } from './VariantInVariantUpdateSuggestionRequest.js';
18
16
  /**
19
17
  * Check if a given object implements the PatchedVariantUpdateSuggestionRequest interface.
@@ -32,8 +30,8 @@ export function PatchedVariantUpdateSuggestionRequestFromJSONTyped(json, ignoreD
32
30
  'kind': json['kind'] == null ? undefined : KindEnumFromJSON(json['kind']),
33
31
  'variants': json['variants'] == null ? undefined : (json['variants'].map(VariantInVariantUpdateSuggestionRequestFromJSON)),
34
32
  'issue': json['issue'] == null ? undefined : json['issue'],
35
- 'solution': json['solution'] == null ? undefined : PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json['solution']),
36
- 'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
33
+ 'solution': json['solution'] == null ? undefined : json['solution'],
34
+ 'comment': json['comment'] == null ? undefined : json['comment'],
37
35
  };
38
36
  }
39
37
  export function PatchedVariantUpdateSuggestionRequestToJSON(json) {
@@ -47,8 +45,8 @@ export function PatchedVariantUpdateSuggestionRequestToJSONTyped(value, ignoreDi
47
45
  'kind': KindEnumToJSON(value['kind']),
48
46
  'variants': value['variants'] == null ? undefined : (value['variants'].map(VariantInVariantUpdateSuggestionRequestToJSON)),
49
47
  'issue': value['issue'],
50
- 'solution': PatchedVariantUpdateSuggestionRequestSolutionToJSON(value['solution']),
51
- 'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
48
+ 'solution': value['solution'],
49
+ 'comment': value['comment'],
52
50
  };
53
51
  }
54
52
  //# sourceMappingURL=PatchedVariantUpdateSuggestionRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PatchedVariantUpdateSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,gBAAgB,EAEhB,cAAc,GAEjB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,8CAA8C,EAE9C,4CAA4C,GAE/C,MAAM,6CAA6C,CAAC;AAErD,OAAO,EACH,qDAAqD,EAErD,mDAAmD,GAEtD,MAAM,oDAAoD,CAAC;A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;AACzE,CAAC;AAED,MAAM,UAAU,gDAAgD,CAAC,KAAoD,EAAE,mBAAmB,GAAY,KAAK;IACvJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACrC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAgB,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;QAC1I,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,UAAU,EAAE,mDAAmD,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAClF,SAAS,EAAE,4CAA4C,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KAC5E,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"PatchedVariantUpdateSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,gBAAgB,EAEhB,cAAc,GAEjB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,+CAA+C,EAE/C,6CAA6C,GAEhD,MAAM,8CAA8C,CAAC;AAwCtD;;GAEG;AACH,MAAM,UAAU,+CAA+C,CAAC,KAAa;IACzE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,MAAM,UAAU,kDAAkD,CAAC,IAAS,EAAE,mBAA4B;IACtG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,M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E,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;KAC9B,CAAC;AACN,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,12 +10,41 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * @type ImageURIOfTheBackOfTheCardInNormalFormat
14
13
  *
15
14
  * @export
15
+ * @interface SaltVote
16
16
  */
17
- export type ImageURIOfTheBackOfTheCardInNormalFormat = string;
18
- export declare function ImageURIOfTheBackOfTheCardInNormalFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInNormalFormat;
19
- export declare function ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInNormalFormat;
20
- export declare function ImageURIOfTheBackOfTheCardInNormalFormatToJSON(json: any): any;
21
- export declare function ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInNormalFormat | null, ignoreDiscriminator?: boolean): any;
17
+ export interface SaltVote {
18
+ /**
19
+ *
20
+ */
21
+ readonly variant: string;
22
+ /**
23
+ *
24
+ */
25
+ score: number;
26
+ /**
27
+ *
28
+ */
29
+ readonly created: Date;
30
+ /**
31
+ *
32
+ */
33
+ readonly updated: Date;
34
+ /**
35
+ * Average score of the recent votes on the variant, however few
36
+ */
37
+ readonly average: number | null;
38
+ /**
39
+ * Number of recent votes on the variant
40
+ */
41
+ readonly voteCount: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the SaltVote interface.
45
+ */
46
+ export declare function instanceOfSaltVote(value: object): value is SaltVote;
47
+ export declare function SaltVoteFromJSON(json: any): SaltVote;
48
+ export declare function SaltVoteFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaltVote;
49
+ export declare function SaltVoteToJSON(json: any): SaltVote;
50
+ export declare function SaltVoteToJSONTyped(value?: Omit<SaltVote, 'variant' | 'created' | 'updated' | 'average' | 'voteCount'> | null, ignoreDiscriminator?: boolean): any;
@@ -4,53 +4,57 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
8
- *
7
+ * The version of the OpenAPI document: 7.1.1
8
+ *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
-
15
- import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
14
+ import { parseDateTime } from '../runtime.js';
16
15
  /**
17
- * @type PatchedVariantSuggestionRequestComment
18
- * Comment written by the user that suggested this
19
- * @export
16
+ * Check if a given object implements the SaltVote interface.
20
17
  */
21
- export type PatchedVariantSuggestionRequestComment = string;
22
-
23
- export function PatchedVariantSuggestionRequestCommentFromJSON(json: any): PatchedVariantSuggestionRequestComment {
24
- return PatchedVariantSuggestionRequestCommentFromJSONTyped(json, false);
18
+ export function instanceOfSaltVote(value) {
19
+ if (!('variant' in value) || value['variant'] === undefined)
20
+ return false;
21
+ if (!('score' in value) || value['score'] === undefined)
22
+ return false;
23
+ if (!('created' in value) || value['created'] === undefined)
24
+ return false;
25
+ if (!('updated' in value) || value['updated'] === undefined)
26
+ return false;
27
+ if (!('average' in value) || value['average'] === undefined)
28
+ return false;
29
+ if (!('voteCount' in value) || value['voteCount'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ export function SaltVoteFromJSON(json) {
34
+ return SaltVoteFromJSONTyped(json, false);
25
35
  }
26
-
27
- export function PatchedVariantSuggestionRequestCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestComment {
36
+ export function SaltVoteFromJSONTyped(json, ignoreDiscriminator) {
28
37
  if (json == null) {
29
38
  return json;
30
39
  }
31
- if (typeof json === 'string') {
32
- return json;
33
- }
34
- if (typeof json === 'string') {
35
- return json;
36
- }
37
- return {} as any;
40
+ return {
41
+ 'variant': json['variant'],
42
+ 'score': json['score'],
43
+ 'created': (json['created'] == null ? json['created'] : parseDateTime(json['created'])),
44
+ 'updated': (json['updated'] == null ? json['updated'] : parseDateTime(json['updated'])),
45
+ 'average': json['average'],
46
+ 'voteCount': json['voteCount'],
47
+ };
38
48
  }
39
-
40
- export function PatchedVariantSuggestionRequestCommentToJSON(json: any): any {
41
- return PatchedVariantSuggestionRequestCommentToJSONTyped(json, false);
49
+ export function SaltVoteToJSON(json) {
50
+ return SaltVoteToJSONTyped(json, false);
42
51
  }
43
-
44
- export function PatchedVariantSuggestionRequestCommentToJSONTyped(value?: PatchedVariantSuggestionRequestComment | null, ignoreDiscriminator: boolean = false): any {
52
+ export function SaltVoteToJSONTyped(value, ignoreDiscriminator = false) {
45
53
  if (value == null) {
46
54
  return value;
47
55
  }
48
- if (typeof value === 'string') {
49
- return value;
50
- }
51
- if (typeof value === 'string') {
52
- return value;
53
- }
54
- return {};
56
+ return {
57
+ 'score': value['score'],
58
+ };
55
59
  }
56
-
60
+ //# sourceMappingURL=SaltVote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SaltVote.js","sourceRoot":"","sources":["../../spellbook-client/models/SaltVote.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAEH,OAAO,EAAwB,aAAa,EAAoC,MAAM,eAAe,CAAC;AAiCtG;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAa;IAC5C,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS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,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,KAAkF,EAAE,mBAAmB,GAAY,KAAK;IACxJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,12 +10,21 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * @type ImageURIOfTheBackOfTheCardInLargeFormat
14
13
  *
15
14
  * @export
15
+ * @interface SaltVoteRequest
16
16
  */
17
- export type ImageURIOfTheBackOfTheCardInLargeFormat = string;
18
- export declare function ImageURIOfTheBackOfTheCardInLargeFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInLargeFormat;
19
- export declare function ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInLargeFormat;
20
- export declare function ImageURIOfTheBackOfTheCardInLargeFormatToJSON(json: any): any;
21
- export declare function ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInLargeFormat | null, ignoreDiscriminator?: boolean): any;
17
+ export interface SaltVoteRequest {
18
+ /**
19
+ *
20
+ */
21
+ score: number;
22
+ }
23
+ /**
24
+ * Check if a given object implements the SaltVoteRequest interface.
25
+ */
26
+ export declare function instanceOfSaltVoteRequest(value: object): value is SaltVoteRequest;
27
+ export declare function SaltVoteRequestFromJSON(json: any): SaltVoteRequest;
28
+ export declare function SaltVoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaltVoteRequest;
29
+ export declare function SaltVoteRequestToJSON(json: any): SaltVoteRequest;
30
+ export declare function SaltVoteRequestToJSONTyped(value?: SaltVoteRequest | null, ignoreDiscriminator?: boolean): any;
@@ -4,41 +4,41 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export function WebsitePropertyValueFromJSON(json) {
15
- return WebsitePropertyValueFromJSONTyped(json, false);
14
+ /**
15
+ * Check if a given object implements the SaltVoteRequest interface.
16
+ */
17
+ export function instanceOfSaltVoteRequest(value) {
18
+ if (!('score' in value) || value['score'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function SaltVoteRequestFromJSON(json) {
23
+ return SaltVoteRequestFromJSONTyped(json, false);
16
24
  }
17
- export function WebsitePropertyValueFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function SaltVoteRequestFromJSONTyped(json, ignoreDiscriminator) {
18
26
  if (json == null) {
19
27
  return json;
20
28
  }
21
- if (typeof json === 'string') {
22
- return json;
23
- }
24
- if (typeof json === 'string') {
25
- return json;
26
- }
27
- return {};
29
+ return {
30
+ 'score': json['score'],
31
+ };
28
32
  }
29
- export function WebsitePropertyValueToJSON(json) {
30
- return WebsitePropertyValueToJSONTyped(json, false);
33
+ export function SaltVoteRequestToJSON(json) {
34
+ return SaltVoteRequestToJSONTyped(json, false);
31
35
  }
32
- export function WebsitePropertyValueToJSONTyped(value, ignoreDiscriminator = false) {
36
+ export function SaltVoteRequestToJSONTyped(value, ignoreDiscriminator = false) {
33
37
  if (value == null) {
34
38
  return value;
35
39
  }
36
- if (typeof value === 'string') {
37
- return value;
38
- }
39
- if (typeof value === 'string') {
40
- return value;
41
- }
42
- return {};
40
+ return {
41
+ 'score': value['score'],
42
+ };
43
43
  }
44
- //# sourceMappingURL=WebsitePropertyValue.js.map
44
+ //# sourceMappingURL=SaltVoteRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SaltVoteRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/SaltVoteRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAeH;;GAEG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAa;IACnD,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,IAAS,EAAE,mBAA4B;IAChF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,KAA8B,EAAE,mBAAmB,GAAY,KAAK;IAC3G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 7.0.6
7
+ * The version of the OpenAPI document: 7.1.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 7.0.6
5
+ * The version of the OpenAPI document: 7.1.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).