@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
@@ -4,17 +4,13 @@
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 { BattlefieldStartingCardStateFromJSON, BattlefieldStartingCardStateToJSON, } from './BattlefieldStartingCardState.js';
15
- import { GraveyardStartingCardStateFromJSON, GraveyardStartingCardStateToJSON, } from './GraveyardStartingCardState.js';
16
- import { LibraryStartingCardStateFromJSON, LibraryStartingCardStateToJSON, } from './LibraryStartingCardState.js';
17
- import { ExileStartingCardStateFromJSON, ExileStartingCardStateToJSON, } from './ExileStartingCardState.js';
18
14
  import { ZoneLocationsEnumFromJSON, ZoneLocationsEnumToJSON, } from './ZoneLocationsEnum.js';
19
15
  /**
20
16
  * Check if a given object implements the CardUsedInVariantSuggestion interface.
@@ -49,10 +45,10 @@ export function CardUsedInVariantSuggestionFromJSONTyped(json, ignoreDiscriminat
49
45
  'card': json['card'],
50
46
  'quantity': json['quantity'],
51
47
  'zoneLocations': (json['zoneLocations'].map(ZoneLocationsEnumFromJSON)),
52
- 'battlefieldCardState': BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
53
- 'exileCardState': ExileStartingCardStateFromJSON(json['exileCardState']),
54
- 'libraryCardState': LibraryStartingCardStateFromJSON(json['libraryCardState']),
55
- 'graveyardCardState': GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
48
+ 'battlefieldCardState': json['battlefieldCardState'],
49
+ 'exileCardState': json['exileCardState'],
50
+ 'libraryCardState': json['libraryCardState'],
51
+ 'graveyardCardState': json['graveyardCardState'],
56
52
  'mustBeCommander': json['mustBeCommander'],
57
53
  };
58
54
  }
@@ -67,10 +63,10 @@ export function CardUsedInVariantSuggestionToJSONTyped(value, ignoreDiscriminato
67
63
  'card': value['card'],
68
64
  'quantity': value['quantity'],
69
65
  'zoneLocations': (value['zoneLocations'].map(ZoneLocationsEnumToJSON)),
70
- 'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
71
- 'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
72
- 'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
73
- 'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
66
+ 'battlefieldCardState': value['battlefieldCardState'],
67
+ 'exileCardState': value['exileCardState'],
68
+ 'libraryCardState': value['libraryCardState'],
69
+ 'graveyardCardState': value['graveyardCardState'],
74
70
  'mustBeCommander': value['mustBeCommander'],
75
71
  };
76
72
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CardUsedInVariantSuggestion.js","sourceRoot":"","sources":["../../spellbook-client/models/CardUsedInVariantSuggestion.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,oCAAoC,EAEpC,kCAAkC,GAErC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACH,kCAAkC,EAElC,gCAAgC,GAEnC,MAAM,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AAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,eAAe,EAAE,CAAE,KAAK,CAAC,eAAe,CAAgB,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;QACtF,sBAAsB,EAAE,KAAK,CAAC,sBAAsB,CAAC;QACrD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;QACjD,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
@@ -2,17 +2,13 @@
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 { BattlefieldStartingCardState } from './BattlefieldStartingCardState.js';
13
- import type { GraveyardStartingCardState } from './GraveyardStartingCardState.js';
14
- import type { LibraryStartingCardState } from './LibraryStartingCardState.js';
15
- import type { ExileStartingCardState } from './ExileStartingCardState.js';
16
12
  import type { ZoneLocationsEnum } from './ZoneLocationsEnum.js';
17
13
  /**
18
14
  *
@@ -33,21 +29,21 @@ export interface CardUsedInVariantSuggestionRequest {
33
29
  */
34
30
  zoneLocations: Array<ZoneLocationsEnum>;
35
31
  /**
36
- *
32
+ * State of the card on the battlefield, if present.
37
33
  */
38
- battlefieldCardState?: BattlefieldStartingCardState;
34
+ battlefieldCardState?: string;
39
35
  /**
40
- *
36
+ * State of the card in exile, if present.
41
37
  */
42
- exileCardState?: ExileStartingCardState;
38
+ exileCardState?: string;
43
39
  /**
44
- *
40
+ * State of the card in the library, if present.
45
41
  */
46
- libraryCardState?: LibraryStartingCardState;
42
+ libraryCardState?: string;
47
43
  /**
48
- *
44
+ * State of the card in the graveyard, if present.
49
45
  */
50
- graveyardCardState?: GraveyardStartingCardState;
46
+ graveyardCardState?: string;
51
47
  /**
52
48
  * Does the card have to be a commander?
53
49
  */
@@ -4,17 +4,13 @@
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 { BattlefieldStartingCardStateFromJSON, BattlefieldStartingCardStateToJSON, } from './BattlefieldStartingCardState.js';
15
- import { GraveyardStartingCardStateFromJSON, GraveyardStartingCardStateToJSON, } from './GraveyardStartingCardState.js';
16
- import { LibraryStartingCardStateFromJSON, LibraryStartingCardStateToJSON, } from './LibraryStartingCardState.js';
17
- import { ExileStartingCardStateFromJSON, ExileStartingCardStateToJSON, } from './ExileStartingCardState.js';
18
14
  import { ZoneLocationsEnumFromJSON, ZoneLocationsEnumToJSON, } from './ZoneLocationsEnum.js';
19
15
  /**
20
16
  * Check if a given object implements the CardUsedInVariantSuggestionRequest interface.
@@ -37,10 +33,10 @@ export function CardUsedInVariantSuggestionRequestFromJSONTyped(json, ignoreDisc
37
33
  'card': json['card'],
38
34
  'quantity': json['quantity'] == null ? undefined : json['quantity'],
39
35
  'zoneLocations': (json['zoneLocations'].map(ZoneLocationsEnumFromJSON)),
40
- 'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
41
- 'exileCardState': json['exileCardState'] == null ? undefined : ExileStartingCardStateFromJSON(json['exileCardState']),
42
- 'libraryCardState': json['libraryCardState'] == null ? undefined : LibraryStartingCardStateFromJSON(json['libraryCardState']),
43
- 'graveyardCardState': json['graveyardCardState'] == null ? undefined : GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
36
+ 'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : json['battlefieldCardState'],
37
+ 'exileCardState': json['exileCardState'] == null ? undefined : json['exileCardState'],
38
+ 'libraryCardState': json['libraryCardState'] == null ? undefined : json['libraryCardState'],
39
+ 'graveyardCardState': json['graveyardCardState'] == null ? undefined : json['graveyardCardState'],
44
40
  'mustBeCommander': json['mustBeCommander'] == null ? undefined : json['mustBeCommander'],
45
41
  };
46
42
  }
@@ -55,10 +51,10 @@ export function CardUsedInVariantSuggestionRequestToJSONTyped(value, ignoreDiscr
55
51
  'card': value['card'],
56
52
  'quantity': value['quantity'],
57
53
  'zoneLocations': (value['zoneLocations'].map(ZoneLocationsEnumToJSON)),
58
- 'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
59
- 'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
60
- 'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
61
- 'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
54
+ 'battlefieldCardState': value['battlefieldCardState'],
55
+ 'exileCardState': value['exileCardState'],
56
+ 'libraryCardState': value['libraryCardState'],
57
+ 'graveyardCardState': value['graveyardCardState'],
62
58
  'mustBeCommander': value['mustBeCommander'],
63
59
  };
64
60
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CardUsedInVariantSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/CardUsedInVariantSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,oCAAoC,EAEpC,kCAAkC,GAErC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACH,kCAAkC,EAElC,gCAAgC,GAEnC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACH,gCAAgC,E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E,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"CardUsedInVariantSuggestionRequest.js","sourceRoot":"","sources":["../../spellbook-client/models/CardUsedInVariantSuggestionRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,yBAAyB,EAEzB,uBAAuB,GAE1B,MAAM,wBAAwB,CAAC;AA0ChC;;GAEG;AACH,MAAM,UAAU,4CAA4C,CAAC,KAAa;IACtE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,+CAA+C,CAAC,IAAS,EAAE,mBAA4B;IACnG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,eAAe,EAAE,CAAE,IAAI,CAAC,eAAe,CAAgB,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;QACvF,sBAAsB,EAAE,IAAI,CAAC,sBAAsB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC;QACvG,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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).
@@ -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).
@@ -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,18 +2,14 @@
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 { BattlefieldStartingCardState } from './BattlefieldStartingCardState.js';
13
- import type { GraveyardStartingCardState } from './GraveyardStartingCardState.js';
14
- import type { LibraryStartingCardState } from './LibraryStartingCardState.js';
15
12
  import type { Feature } from './Feature.js';
16
- import type { ExileStartingCardState } from './ExileStartingCardState.js';
17
13
  /**
18
14
  *
19
15
  * @export
@@ -37,21 +33,21 @@ export interface FeatureOfCard {
37
33
  */
38
34
  readonly zoneLocations: Array<string>;
39
35
  /**
40
- *
36
+ * State of the card on the battlefield, if present.
41
37
  */
42
- battlefieldCardState: BattlefieldStartingCardState;
38
+ battlefieldCardState: string;
43
39
  /**
44
- *
40
+ * State of the card in exile, if present.
45
41
  */
46
- exileCardState: ExileStartingCardState;
42
+ exileCardState: string;
47
43
  /**
48
- *
44
+ * State of the card in the library, if present.
49
45
  */
50
- libraryCardState: LibraryStartingCardState;
46
+ libraryCardState: string;
51
47
  /**
52
- *
48
+ * State of the card in the graveyard, if present.
53
49
  */
54
- graveyardCardState: GraveyardStartingCardState;
50
+ graveyardCardState: string;
55
51
  /**
56
52
  * Does the card have to be a commander?
57
53
  */
@@ -4,18 +4,14 @@
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 { BattlefieldStartingCardStateFromJSON, BattlefieldStartingCardStateToJSON, } from './BattlefieldStartingCardState.js';
15
- import { GraveyardStartingCardStateFromJSON, GraveyardStartingCardStateToJSON, } from './GraveyardStartingCardState.js';
16
- import { LibraryStartingCardStateFromJSON, LibraryStartingCardStateToJSON, } from './LibraryStartingCardState.js';
17
14
  import { FeatureFromJSON, } from './Feature.js';
18
- import { ExileStartingCardStateFromJSON, ExileStartingCardStateToJSON, } from './ExileStartingCardState.js';
19
15
  /**
20
16
  * Check if a given object implements the FeatureOfCard interface.
21
17
  */
@@ -52,10 +48,10 @@ export function FeatureOfCardFromJSONTyped(json, ignoreDiscriminator) {
52
48
  'feature': FeatureFromJSON(json['feature']),
53
49
  'quantity': json['quantity'],
54
50
  'zoneLocations': json['zoneLocations'],
55
- 'battlefieldCardState': BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
56
- 'exileCardState': ExileStartingCardStateFromJSON(json['exileCardState']),
57
- 'libraryCardState': LibraryStartingCardStateFromJSON(json['libraryCardState']),
58
- 'graveyardCardState': GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
51
+ 'battlefieldCardState': json['battlefieldCardState'],
52
+ 'exileCardState': json['exileCardState'],
53
+ 'libraryCardState': json['libraryCardState'],
54
+ 'graveyardCardState': json['graveyardCardState'],
59
55
  'mustBeCommander': json['mustBeCommander'],
60
56
  };
61
57
  }
@@ -68,10 +64,10 @@ export function FeatureOfCardToJSONTyped(value, ignoreDiscriminator = false) {
68
64
  }
69
65
  return {
70
66
  'quantity': value['quantity'],
71
- 'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
72
- 'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
73
- 'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
74
- 'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
67
+ 'battlefieldCardState': value['battlefieldCardState'],
68
+ 'exileCardState': value['exileCardState'],
69
+ 'libraryCardState': value['libraryCardState'],
70
+ 'graveyardCardState': value['graveyardCardState'],
75
71
  'mustBeCommander': value['mustBeCommander'],
76
72
  };
77
73
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureOfCard.js","sourceRoot":"","sources":["../../spellbook-client/models/FeatureOfCard.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,oCAAoC,EAEpC,kCAAkC,GAErC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACH,kCAAkC,EAElC,gCAAgC,GAEnC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACH,gCAAgC,EAEhC,8BAA8B,GAEjC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACH,eAAe,GAIlB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACH,8BAA8B,EAE9B,4BAA4B,GAE/B,MAAM,6BAA6B,CAAC;AA8CrC;;GAEG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK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,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).