@space-cow-media/spellbook-client 5.5.2 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/dist/apis/CardListFromTextApi.d.ts +1 -1
  2. package/dist/apis/CardListFromTextApi.js +1 -1
  3. package/dist/apis/CardListFromTextApi.js.map +1 -1
  4. package/dist/apis/CardListFromUrlApi.d.ts +1 -1
  5. package/dist/apis/CardListFromUrlApi.js +1 -1
  6. package/dist/apis/CardListFromUrlApi.js.map +1 -1
  7. package/dist/apis/CardsApi.d.ts +1 -1
  8. package/dist/apis/CardsApi.js +1 -1
  9. package/dist/apis/CardsApi.js.map +1 -1
  10. package/dist/apis/DefaultApi.d.ts +1 -1
  11. package/dist/apis/DefaultApi.js +1 -1
  12. package/dist/apis/EstimateBracketApi.d.ts +1 -1
  13. package/dist/apis/EstimateBracketApi.js +1 -1
  14. package/dist/apis/EstimateBracketApi.js.map +1 -1
  15. package/dist/apis/FeaturesApi.d.ts +1 -1
  16. package/dist/apis/FeaturesApi.js +1 -1
  17. package/dist/apis/FeaturesApi.js.map +1 -1
  18. package/dist/apis/FindMyCombosApi.d.ts +1 -1
  19. package/dist/apis/FindMyCombosApi.js +1 -1
  20. package/dist/apis/FindMyCombosApi.js.map +1 -1
  21. package/dist/apis/PropertiesApi.d.ts +1 -1
  22. package/dist/apis/PropertiesApi.js +1 -1
  23. package/dist/apis/PropertiesApi.js.map +1 -1
  24. package/dist/apis/TemplatesApi.d.ts +1 -1
  25. package/dist/apis/TemplatesApi.js +1 -1
  26. package/dist/apis/TemplatesApi.js.map +1 -1
  27. package/dist/apis/TokenApi.d.ts +1 -1
  28. package/dist/apis/TokenApi.js +1 -1
  29. package/dist/apis/TokenApi.js.map +1 -1
  30. package/dist/apis/UsersApi.d.ts +1 -1
  31. package/dist/apis/UsersApi.js +1 -1
  32. package/dist/apis/UsersApi.js.map +1 -1
  33. package/dist/apis/VariantAliasesApi.d.ts +1 -1
  34. package/dist/apis/VariantAliasesApi.js +1 -1
  35. package/dist/apis/VariantAliasesApi.js.map +1 -1
  36. package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
  37. package/dist/apis/VariantSuggestionsApi.js +1 -1
  38. package/dist/apis/VariantSuggestionsApi.js.map +1 -1
  39. package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
  40. package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
  41. package/dist/apis/VariantUpdateSuggestionsApi.js.map +1 -1
  42. package/dist/apis/VariantsApi.d.ts +1 -1
  43. package/dist/apis/VariantsApi.js +1 -1
  44. package/dist/apis/VariantsApi.js.map +1 -1
  45. package/dist/models/BattlefieldStartingCardState.d.ts +21 -0
  46. package/dist/models/BattlefieldStartingCardState.js +44 -0
  47. package/dist/models/BattlefieldStartingCardState.js.map +1 -0
  48. package/dist/models/BracketTagEnum.d.ts +1 -1
  49. package/dist/models/BracketTagEnum.js +1 -1
  50. package/dist/models/Card.d.ts +31 -21
  51. package/dist/models/Card.js +31 -21
  52. package/dist/models/Card.js.map +1 -1
  53. package/dist/models/CardDetail.d.ts +33 -23
  54. package/dist/models/CardDetail.js +33 -23
  55. package/dist/models/CardDetail.js.map +1 -1
  56. package/dist/models/CardInDeck.d.ts +1 -1
  57. package/dist/models/CardInDeck.js +1 -1
  58. package/dist/models/CardInDeck.js.map +1 -1
  59. package/dist/models/CardInDeckRequest.d.ts +1 -1
  60. package/dist/models/CardInDeckRequest.js +1 -1
  61. package/dist/models/CardInDeckRequest.js.map +1 -1
  62. package/dist/models/CardInVariant.d.ts +1 -1
  63. package/dist/models/CardInVariant.js +1 -1
  64. package/dist/models/CardInVariant.js.map +1 -1
  65. package/dist/models/CardLegalities.d.ts +1 -1
  66. package/dist/models/CardLegalities.js +1 -1
  67. package/dist/models/CardLegalities.js.map +1 -1
  68. package/dist/models/CardPrices.d.ts +1 -1
  69. package/dist/models/CardPrices.js +1 -1
  70. package/dist/models/CardPrices.js.map +1 -1
  71. package/dist/models/CardUsedInVariantSuggestion.d.ts +17 -13
  72. package/dist/models/CardUsedInVariantSuggestion.js +13 -9
  73. package/dist/models/CardUsedInVariantSuggestion.js.map +1 -1
  74. package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +17 -13
  75. package/dist/models/CardUsedInVariantSuggestionRequest.js +13 -9
  76. package/dist/models/CardUsedInVariantSuggestionRequest.js.map +1 -1
  77. package/dist/models/ClassifiedCard.d.ts +1 -1
  78. package/dist/models/ClassifiedCard.js +1 -1
  79. package/dist/models/ClassifiedCard.js.map +1 -1
  80. package/dist/models/ClassifiedTemplate.d.ts +1 -1
  81. package/dist/models/ClassifiedTemplate.js +1 -1
  82. package/dist/models/ClassifiedTemplate.js.map +1 -1
  83. package/dist/models/ClassifiedVariant.d.ts +1 -1
  84. package/dist/models/ClassifiedVariant.js +1 -1
  85. package/dist/models/ClassifiedVariant.js.map +1 -1
  86. package/dist/models/ColorEnum.d.ts +1 -1
  87. package/dist/models/ColorEnum.js +1 -1
  88. package/dist/models/Combo.d.ts +1 -1
  89. package/dist/models/Combo.js +1 -1
  90. package/dist/models/Combo.js.map +1 -1
  91. package/dist/models/Deck.d.ts +1 -1
  92. package/dist/models/Deck.js +1 -1
  93. package/dist/models/Deck.js.map +1 -1
  94. package/dist/models/DeckRequest.d.ts +1 -1
  95. package/dist/models/DeckRequest.js +1 -1
  96. package/dist/models/DeckRequest.js.map +1 -1
  97. package/dist/models/EstimateBracketResult.d.ts +1 -1
  98. package/dist/models/EstimateBracketResult.js +1 -1
  99. package/dist/models/EstimateBracketResult.js.map +1 -1
  100. package/dist/models/ExileStartingCardState.d.ts +21 -0
  101. package/dist/models/ExileStartingCardState.js +44 -0
  102. package/dist/models/ExileStartingCardState.js.map +1 -0
  103. package/dist/models/Feature.d.ts +1 -1
  104. package/dist/models/Feature.js +1 -1
  105. package/dist/models/Feature.js.map +1 -1
  106. package/dist/models/FeatureOfCard.d.ts +17 -13
  107. package/dist/models/FeatureOfCard.js +13 -9
  108. package/dist/models/FeatureOfCard.js.map +1 -1
  109. package/dist/models/FeatureProducedByVariant.d.ts +1 -1
  110. package/dist/models/FeatureProducedByVariant.js +1 -1
  111. package/dist/models/FeatureProducedByVariant.js.map +1 -1
  112. package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
  113. package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
  114. package/dist/models/FeatureProducedInVariantSuggestion.js.map +1 -1
  115. package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
  116. package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
  117. package/dist/models/FeatureProducedInVariantSuggestionRequest.js.map +1 -1
  118. package/dist/models/FeatureStatusEnum.d.ts +1 -1
  119. package/dist/models/FeatureStatusEnum.js +1 -1
  120. package/dist/models/FindMyCombosResponse.d.ts +1 -1
  121. package/dist/models/FindMyCombosResponse.js +1 -1
  122. package/dist/models/FindMyCombosResponse.js.map +1 -1
  123. package/dist/models/GraveyardStartingCardState.d.ts +21 -0
  124. package/dist/models/GraveyardStartingCardState.js +44 -0
  125. package/dist/models/GraveyardStartingCardState.js.map +1 -0
  126. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +21 -0
  127. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +44 -0
  128. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js.map +1 -0
  129. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +21 -0
  130. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +44 -0
  131. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js.map +1 -0
  132. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +21 -0
  133. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +44 -0
  134. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js.map +1 -0
  135. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +21 -0
  136. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +44 -0
  137. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js.map +1 -0
  138. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +21 -0
  139. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +44 -0
  140. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js.map +1 -0
  141. package/dist/models/ImageURIOfTheCardArtCrop.d.ts +21 -0
  142. package/dist/models/ImageURIOfTheCardArtCrop.js +44 -0
  143. package/dist/models/ImageURIOfTheCardArtCrop.js.map +1 -0
  144. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +21 -0
  145. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +44 -0
  146. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js.map +1 -0
  147. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +21 -0
  148. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +44 -0
  149. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js.map +1 -0
  150. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +21 -0
  151. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +44 -0
  152. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js.map +1 -0
  153. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +21 -0
  154. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +44 -0
  155. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js.map +1 -0
  156. package/dist/models/InvalidUrlResponse.d.ts +1 -1
  157. package/dist/models/InvalidUrlResponse.js +1 -1
  158. package/dist/models/InvalidUrlResponse.js.map +1 -1
  159. package/dist/models/KindEnum.d.ts +1 -1
  160. package/dist/models/KindEnum.js +1 -1
  161. package/dist/models/LayoutRotationEnum.d.ts +1 -1
  162. package/dist/models/LayoutRotationEnum.js +1 -1
  163. package/dist/models/LibraryStartingCardState.d.ts +21 -0
  164. package/dist/models/LibraryStartingCardState.js +44 -0
  165. package/dist/models/LibraryStartingCardState.js.map +1 -0
  166. package/dist/models/PaginatedCardDetailList.d.ts +1 -1
  167. package/dist/models/PaginatedCardDetailList.js +1 -1
  168. package/dist/models/PaginatedCardDetailList.js.map +1 -1
  169. package/dist/models/PaginatedFeatureList.d.ts +1 -1
  170. package/dist/models/PaginatedFeatureList.js +1 -1
  171. package/dist/models/PaginatedFeatureList.js.map +1 -1
  172. package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
  173. package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
  174. package/dist/models/PaginatedFindMyCombosResponseList.js.map +1 -1
  175. package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
  176. package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
  177. package/dist/models/PaginatedFindMyCombosResponseListResults.js.map +1 -1
  178. package/dist/models/PaginatedTemplateList.d.ts +1 -1
  179. package/dist/models/PaginatedTemplateList.js +1 -1
  180. package/dist/models/PaginatedTemplateList.js.map +1 -1
  181. package/dist/models/PaginatedUserDetailList.d.ts +1 -1
  182. package/dist/models/PaginatedUserDetailList.js +1 -1
  183. package/dist/models/PaginatedUserDetailList.js.map +1 -1
  184. package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
  185. package/dist/models/PaginatedVariantAliasList.js +1 -1
  186. package/dist/models/PaginatedVariantAliasList.js.map +1 -1
  187. package/dist/models/PaginatedVariantList.d.ts +1 -1
  188. package/dist/models/PaginatedVariantList.js +1 -1
  189. package/dist/models/PaginatedVariantList.js.map +1 -1
  190. package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
  191. package/dist/models/PaginatedVariantSuggestionList.js +1 -1
  192. package/dist/models/PaginatedVariantSuggestionList.js.map +1 -1
  193. package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
  194. package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
  195. package/dist/models/PaginatedVariantUpdateSuggestionList.js.map +1 -1
  196. package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
  197. package/dist/models/PaginatedWebsitePropertyList.js +1 -1
  198. package/dist/models/PaginatedWebsitePropertyList.js.map +1 -1
  199. package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
  200. package/dist/models/PatchedUserDetailRequest.js +1 -1
  201. package/dist/models/PatchedUserDetailRequest.js.map +1 -1
  202. package/dist/models/PatchedVariantSuggestionRequest.d.ts +17 -13
  203. package/dist/models/PatchedVariantSuggestionRequest.js +13 -9
  204. package/dist/models/PatchedVariantSuggestionRequest.js.map +1 -1
  205. package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +21 -0
  206. package/dist/models/PatchedVariantSuggestionRequestComment.js +44 -0
  207. package/dist/models/PatchedVariantSuggestionRequestComment.js.map +1 -0
  208. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +21 -0
  209. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +44 -0
  210. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js.map +1 -0
  211. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +21 -0
  212. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +44 -0
  213. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js.map +1 -0
  214. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +21 -0
  215. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +44 -0
  216. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js.map +1 -0
  217. package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +9 -7
  218. package/dist/models/PatchedVariantUpdateSuggestionRequest.js +7 -5
  219. package/dist/models/PatchedVariantUpdateSuggestionRequest.js.map +1 -1
  220. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +21 -0
  221. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +44 -0
  222. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js.map +1 -0
  223. package/dist/models/SuggestionStatusEnum.d.ts +1 -1
  224. package/dist/models/SuggestionStatusEnum.js +1 -1
  225. package/dist/models/Template.d.ts +1 -1
  226. package/dist/models/Template.js +1 -1
  227. package/dist/models/Template.js.map +1 -1
  228. package/dist/models/TemplateInVariant.d.ts +1 -1
  229. package/dist/models/TemplateInVariant.js +1 -1
  230. package/dist/models/TemplateInVariant.js.map +1 -1
  231. package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +17 -13
  232. package/dist/models/TemplateRequiredInVariantSuggestion.js +13 -9
  233. package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
  234. package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +17 -13
  235. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +13 -9
  236. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +1 -1
  237. package/dist/models/TokenObtainPair.d.ts +1 -1
  238. package/dist/models/TokenObtainPair.js +1 -1
  239. package/dist/models/TokenObtainPair.js.map +1 -1
  240. package/dist/models/TokenObtainPairRequest.d.ts +1 -1
  241. package/dist/models/TokenObtainPairRequest.js +1 -1
  242. package/dist/models/TokenObtainPairRequest.js.map +1 -1
  243. package/dist/models/TokenRefresh.d.ts +1 -1
  244. package/dist/models/TokenRefresh.js +1 -1
  245. package/dist/models/TokenRefresh.js.map +1 -1
  246. package/dist/models/TokenRefreshRequest.d.ts +1 -1
  247. package/dist/models/TokenRefreshRequest.js +1 -1
  248. package/dist/models/TokenRefreshRequest.js.map +1 -1
  249. package/dist/models/TokenVerifyRequest.d.ts +1 -1
  250. package/dist/models/TokenVerifyRequest.js +1 -1
  251. package/dist/models/TokenVerifyRequest.js.map +1 -1
  252. package/dist/models/User.d.ts +1 -1
  253. package/dist/models/User.js +1 -1
  254. package/dist/models/User.js.map +1 -1
  255. package/dist/models/UserDetail.d.ts +1 -1
  256. package/dist/models/UserDetail.js +1 -1
  257. package/dist/models/UserDetail.js.map +1 -1
  258. package/dist/models/UserDetailRequest.d.ts +1 -1
  259. package/dist/models/UserDetailRequest.js +1 -1
  260. package/dist/models/UserDetailRequest.js.map +1 -1
  261. package/dist/models/UserRequest.d.ts +1 -1
  262. package/dist/models/UserRequest.js +1 -1
  263. package/dist/models/UserRequest.js.map +1 -1
  264. package/dist/models/Variant.d.ts +1 -1
  265. package/dist/models/Variant.js +1 -1
  266. package/dist/models/Variant.js.map +1 -1
  267. package/dist/models/VariantAlias.d.ts +1 -1
  268. package/dist/models/VariantAlias.js +1 -1
  269. package/dist/models/VariantAlias.js.map +1 -1
  270. package/dist/models/VariantInVariantUpdateSuggestion.d.ts +5 -4
  271. package/dist/models/VariantInVariantUpdateSuggestion.js +4 -3
  272. package/dist/models/VariantInVariantUpdateSuggestion.js.map +1 -1
  273. package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +21 -0
  274. package/dist/models/VariantInVariantUpdateSuggestionIssue.js +44 -0
  275. package/dist/models/VariantInVariantUpdateSuggestionIssue.js.map +1 -0
  276. package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +5 -4
  277. package/dist/models/VariantInVariantUpdateSuggestionRequest.js +4 -3
  278. package/dist/models/VariantInVariantUpdateSuggestionRequest.js.map +1 -1
  279. package/dist/models/VariantLegalities.d.ts +1 -1
  280. package/dist/models/VariantLegalities.js +1 -1
  281. package/dist/models/VariantLegalities.js.map +1 -1
  282. package/dist/models/VariantPrices.d.ts +1 -1
  283. package/dist/models/VariantPrices.js +1 -1
  284. package/dist/models/VariantPrices.js.map +1 -1
  285. package/dist/models/VariantStatusEnum.d.ts +1 -1
  286. package/dist/models/VariantStatusEnum.js +1 -1
  287. package/dist/models/VariantSuggestion.d.ts +17 -13
  288. package/dist/models/VariantSuggestion.js +13 -9
  289. package/dist/models/VariantSuggestion.js.map +1 -1
  290. package/dist/models/VariantSuggestionRequest.d.ts +17 -13
  291. package/dist/models/VariantSuggestionRequest.js +13 -9
  292. package/dist/models/VariantSuggestionRequest.js.map +1 -1
  293. package/dist/models/VariantUpdateSuggestion.d.ts +9 -7
  294. package/dist/models/VariantUpdateSuggestion.js +7 -5
  295. package/dist/models/VariantUpdateSuggestion.js.map +1 -1
  296. package/dist/models/VariantUpdateSuggestionRequest.d.ts +9 -7
  297. package/dist/models/VariantUpdateSuggestionRequest.js +7 -5
  298. package/dist/models/VariantUpdateSuggestionRequest.js.map +1 -1
  299. package/dist/models/VariantsQueryValidationError.d.ts +1 -1
  300. package/dist/models/VariantsQueryValidationError.js +1 -1
  301. package/dist/models/VariantsQueryValidationError.js.map +1 -1
  302. package/dist/models/WebsiteProperty.d.ts +5 -4
  303. package/dist/models/WebsiteProperty.js +4 -3
  304. package/dist/models/WebsiteProperty.js.map +1 -1
  305. package/dist/models/WebsitePropertyValue.d.ts +21 -0
  306. package/dist/models/WebsitePropertyValue.js +44 -0
  307. package/dist/models/WebsitePropertyValue.js.map +1 -0
  308. package/dist/models/ZoneLocationsEnum.d.ts +1 -1
  309. package/dist/models/ZoneLocationsEnum.js +1 -1
  310. package/dist/models/index.d.ts +21 -0
  311. package/dist/models/index.js +21 -0
  312. package/dist/models/index.js.map +1 -1
  313. package/dist/runtime.d.ts +1 -1
  314. package/dist/runtime.js +1 -1
  315. package/dist/runtime.js.map +1 -1
  316. package/package.json +2 -2
  317. package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
  318. package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
  319. package/spellbook-client/apis/CardsApi.ts +1 -1
  320. package/spellbook-client/apis/DefaultApi.ts +1 -1
  321. package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
  322. package/spellbook-client/apis/FeaturesApi.ts +1 -1
  323. package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
  324. package/spellbook-client/apis/PropertiesApi.ts +1 -1
  325. package/spellbook-client/apis/TemplatesApi.ts +1 -1
  326. package/spellbook-client/apis/TokenApi.ts +1 -1
  327. package/spellbook-client/apis/UsersApi.ts +1 -1
  328. package/spellbook-client/apis/VariantAliasesApi.ts +1 -1
  329. package/spellbook-client/apis/VariantSuggestionsApi.ts +1 -1
  330. package/spellbook-client/apis/VariantUpdateSuggestionsApi.ts +1 -1
  331. package/spellbook-client/apis/VariantsApi.ts +1 -1
  332. package/spellbook-client/docs/BattlefieldStartingCardState.md +33 -0
  333. package/spellbook-client/docs/Card.md +10 -10
  334. package/spellbook-client/docs/CardDetail.md +10 -10
  335. package/spellbook-client/docs/CardUsedInVariantSuggestion.md +4 -4
  336. package/spellbook-client/docs/CardUsedInVariantSuggestionRequest.md +4 -4
  337. package/spellbook-client/docs/ExileStartingCardState.md +33 -0
  338. package/spellbook-client/docs/FeatureOfCard.md +4 -4
  339. package/spellbook-client/docs/GraveyardStartingCardState.md +33 -0
  340. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardArtCrop.md +32 -0
  341. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInLargeFormat.md +32 -0
  342. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInNormalFormat.md +32 -0
  343. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInPNGFormat.md +32 -0
  344. package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInSmallFormat.md +32 -0
  345. package/spellbook-client/docs/ImageURIOfTheCardArtCrop.md +32 -0
  346. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInLargeFormat.md +32 -0
  347. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInNormalFormat.md +32 -0
  348. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInPNGFormat.md +32 -0
  349. package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInSmallFormat.md +32 -0
  350. package/spellbook-client/docs/LibraryStartingCardState.md +33 -0
  351. package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +4 -4
  352. package/spellbook-client/docs/PatchedVariantSuggestionRequestComment.md +33 -0
  353. package/spellbook-client/docs/PatchedVariantSuggestionRequestEasyPrerequisites.md +33 -0
  354. package/spellbook-client/docs/PatchedVariantSuggestionRequestManaNeeded.md +33 -0
  355. package/spellbook-client/docs/PatchedVariantSuggestionRequestNotablePrerequisites.md +33 -0
  356. package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +2 -2
  357. package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequestSolution.md +33 -0
  358. package/spellbook-client/docs/TemplateRequiredInVariantSuggestion.md +4 -4
  359. package/spellbook-client/docs/TemplateRequiredInVariantSuggestionRequest.md +4 -4
  360. package/spellbook-client/docs/VariantInVariantUpdateSuggestion.md +1 -1
  361. package/spellbook-client/docs/VariantInVariantUpdateSuggestionIssue.md +33 -0
  362. package/spellbook-client/docs/VariantInVariantUpdateSuggestionRequest.md +1 -1
  363. package/spellbook-client/docs/VariantSuggestion.md +4 -4
  364. package/spellbook-client/docs/VariantSuggestionRequest.md +4 -4
  365. package/spellbook-client/docs/VariantUpdateSuggestion.md +2 -2
  366. package/spellbook-client/docs/VariantUpdateSuggestionRequest.md +2 -2
  367. package/spellbook-client/docs/WebsiteProperty.md +1 -1
  368. package/spellbook-client/docs/WebsitePropertyValue.md +33 -0
  369. package/spellbook-client/models/BattlefieldStartingCardState.ts +55 -0
  370. package/spellbook-client/models/BracketTagEnum.ts +1 -1
  371. package/spellbook-client/models/Card.ts +111 -41
  372. package/spellbook-client/models/CardDetail.ts +125 -55
  373. package/spellbook-client/models/CardInDeck.ts +1 -1
  374. package/spellbook-client/models/CardInDeckRequest.ts +1 -1
  375. package/spellbook-client/models/CardInVariant.ts +1 -1
  376. package/spellbook-client/models/CardLegalities.ts +1 -1
  377. package/spellbook-client/models/CardPrices.ts +1 -1
  378. package/spellbook-client/models/CardUsedInVariantSuggestion.ts +49 -21
  379. package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +49 -21
  380. package/spellbook-client/models/ClassifiedCard.ts +1 -1
  381. package/spellbook-client/models/ClassifiedTemplate.ts +1 -1
  382. package/spellbook-client/models/ClassifiedVariant.ts +1 -1
  383. package/spellbook-client/models/ColorEnum.ts +1 -1
  384. package/spellbook-client/models/Combo.ts +1 -1
  385. package/spellbook-client/models/Deck.ts +1 -1
  386. package/spellbook-client/models/DeckRequest.ts +1 -1
  387. package/spellbook-client/models/EstimateBracketResult.ts +1 -1
  388. package/spellbook-client/models/ExileStartingCardState.ts +55 -0
  389. package/spellbook-client/models/Feature.ts +1 -1
  390. package/spellbook-client/models/FeatureOfCard.ts +49 -21
  391. package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
  392. package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
  393. package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
  394. package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
  395. package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
  396. package/spellbook-client/models/GraveyardStartingCardState.ts +55 -0
  397. package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +55 -0
  398. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +55 -0
  399. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +55 -0
  400. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +55 -0
  401. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +55 -0
  402. package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +55 -0
  403. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +55 -0
  404. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +55 -0
  405. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +55 -0
  406. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +55 -0
  407. package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
  408. package/spellbook-client/models/KindEnum.ts +1 -1
  409. package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
  410. package/spellbook-client/models/LibraryStartingCardState.ts +55 -0
  411. package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
  412. package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
  413. package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
  414. package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
  415. package/spellbook-client/models/PaginatedTemplateList.ts +1 -1
  416. package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
  417. package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
  418. package/spellbook-client/models/PaginatedVariantList.ts +1 -1
  419. package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
  420. package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
  421. package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
  422. package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
  423. package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +49 -21
  424. package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +55 -0
  425. package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +55 -0
  426. package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +55 -0
  427. package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +55 -0
  428. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +25 -11
  429. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +55 -0
  430. package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
  431. package/spellbook-client/models/Template.ts +1 -1
  432. package/spellbook-client/models/TemplateInVariant.ts +1 -1
  433. package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +49 -21
  434. package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +49 -21
  435. package/spellbook-client/models/TokenObtainPair.ts +1 -1
  436. package/spellbook-client/models/TokenObtainPairRequest.ts +1 -1
  437. package/spellbook-client/models/TokenRefresh.ts +1 -1
  438. package/spellbook-client/models/TokenRefreshRequest.ts +1 -1
  439. package/spellbook-client/models/TokenVerifyRequest.ts +1 -1
  440. package/spellbook-client/models/User.ts +1 -1
  441. package/spellbook-client/models/UserDetail.ts +1 -1
  442. package/spellbook-client/models/UserDetailRequest.ts +1 -1
  443. package/spellbook-client/models/UserRequest.ts +1 -1
  444. package/spellbook-client/models/Variant.ts +1 -1
  445. package/spellbook-client/models/VariantAlias.ts +1 -1
  446. package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +14 -6
  447. package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +55 -0
  448. package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +14 -6
  449. package/spellbook-client/models/VariantLegalities.ts +1 -1
  450. package/spellbook-client/models/VariantPrices.ts +1 -1
  451. package/spellbook-client/models/VariantStatusEnum.ts +1 -1
  452. package/spellbook-client/models/VariantSuggestion.ts +49 -21
  453. package/spellbook-client/models/VariantSuggestionRequest.ts +49 -21
  454. package/spellbook-client/models/VariantUpdateSuggestion.ts +25 -11
  455. package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +25 -11
  456. package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
  457. package/spellbook-client/models/WebsiteProperty.ts +14 -6
  458. package/spellbook-client/models/WebsitePropertyValue.ts +55 -0
  459. package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
  460. package/spellbook-client/models/index.ts +21 -0
  461. package/spellbook-client/runtime.ts +1 -1
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,34 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { BattlefieldStartingCardState } from './BattlefieldStartingCardState.js';
17
+ import {
18
+ BattlefieldStartingCardStateFromJSON,
19
+ BattlefieldStartingCardStateFromJSONTyped,
20
+ BattlefieldStartingCardStateToJSON,
21
+ BattlefieldStartingCardStateToJSONTyped,
22
+ } from './BattlefieldStartingCardState.js';
23
+ import type { GraveyardStartingCardState } from './GraveyardStartingCardState.js';
24
+ import {
25
+ GraveyardStartingCardStateFromJSON,
26
+ GraveyardStartingCardStateFromJSONTyped,
27
+ GraveyardStartingCardStateToJSON,
28
+ GraveyardStartingCardStateToJSONTyped,
29
+ } from './GraveyardStartingCardState.js';
30
+ import type { LibraryStartingCardState } from './LibraryStartingCardState.js';
31
+ import {
32
+ LibraryStartingCardStateFromJSON,
33
+ LibraryStartingCardStateFromJSONTyped,
34
+ LibraryStartingCardStateToJSON,
35
+ LibraryStartingCardStateToJSONTyped,
36
+ } from './LibraryStartingCardState.js';
37
+ import type { ExileStartingCardState } from './ExileStartingCardState.js';
38
+ import {
39
+ ExileStartingCardStateFromJSON,
40
+ ExileStartingCardStateFromJSONTyped,
41
+ ExileStartingCardStateToJSON,
42
+ ExileStartingCardStateToJSONTyped,
43
+ } from './ExileStartingCardState.js';
16
44
  import type { ZoneLocationsEnum } from './ZoneLocationsEnum.js';
17
45
  import {
18
46
  ZoneLocationsEnumFromJSON,
@@ -59,29 +87,29 @@ export interface TemplateRequiredInVariantSuggestionRequest {
59
87
  */
60
88
  zoneLocations: Array<ZoneLocationsEnum>;
61
89
  /**
62
- * State of the card on the battlefield, if present.
63
- * @type {string}
90
+ *
91
+ * @type {BattlefieldStartingCardState}
64
92
  * @memberof TemplateRequiredInVariantSuggestionRequest
65
93
  */
66
- battlefieldCardState?: string;
94
+ battlefieldCardState?: BattlefieldStartingCardState;
67
95
  /**
68
- * State of the card in exile, if present.
69
- * @type {string}
96
+ *
97
+ * @type {ExileStartingCardState}
70
98
  * @memberof TemplateRequiredInVariantSuggestionRequest
71
99
  */
72
- exileCardState?: string;
100
+ exileCardState?: ExileStartingCardState;
73
101
  /**
74
- * State of the card in the library, if present.
75
- * @type {string}
102
+ *
103
+ * @type {LibraryStartingCardState}
76
104
  * @memberof TemplateRequiredInVariantSuggestionRequest
77
105
  */
78
- libraryCardState?: string;
106
+ libraryCardState?: LibraryStartingCardState;
79
107
  /**
80
- * State of the card in the graveyard, if present.
81
- * @type {string}
108
+ *
109
+ * @type {GraveyardStartingCardState}
82
110
  * @memberof TemplateRequiredInVariantSuggestionRequest
83
111
  */
84
- graveyardCardState?: string;
112
+ graveyardCardState?: GraveyardStartingCardState;
85
113
  /**
86
114
  * Does the card have to be a commander?
87
115
  * @type {boolean}
@@ -113,10 +141,10 @@ export function TemplateRequiredInVariantSuggestionRequestFromJSONTyped(json: an
113
141
  'quantity': json['quantity'] == null ? undefined : json['quantity'],
114
142
  'scryfallQuery': json['scryfallQuery'] === undefined ? undefined : json['scryfallQuery'] === null ? null : json['scryfallQuery'],
115
143
  'zoneLocations': ((json['zoneLocations'] as Array<any>).map(ZoneLocationsEnumFromJSON)),
116
- 'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : json['battlefieldCardState'],
117
- 'exileCardState': json['exileCardState'] == null ? undefined : json['exileCardState'],
118
- 'libraryCardState': json['libraryCardState'] == null ? undefined : json['libraryCardState'],
119
- 'graveyardCardState': json['graveyardCardState'] == null ? undefined : json['graveyardCardState'],
144
+ 'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
145
+ 'exileCardState': json['exileCardState'] == null ? undefined : ExileStartingCardStateFromJSON(json['exileCardState']),
146
+ 'libraryCardState': json['libraryCardState'] == null ? undefined : LibraryStartingCardStateFromJSON(json['libraryCardState']),
147
+ 'graveyardCardState': json['graveyardCardState'] == null ? undefined : GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
120
148
  'mustBeCommander': json['mustBeCommander'] == null ? undefined : json['mustBeCommander'],
121
149
  };
122
150
  }
@@ -136,10 +164,10 @@ export function TemplateRequiredInVariantSuggestionRequestToJSONTyped(value?: Te
136
164
  'quantity': value['quantity'],
137
165
  'scryfallQuery': value['scryfallQuery'],
138
166
  'zoneLocations': ((value['zoneLocations'] as Array<any>).map(ZoneLocationsEnumToJSON)),
139
- 'battlefieldCardState': value['battlefieldCardState'],
140
- 'exileCardState': value['exileCardState'],
141
- 'libraryCardState': value['libraryCardState'],
142
- 'graveyardCardState': value['graveyardCardState'],
167
+ 'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
168
+ 'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
169
+ 'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
170
+ 'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
143
171
  'mustBeCommander': value['mustBeCommander'],
144
172
  };
145
173
  }
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { VariantInVariantUpdateSuggestionIssue } from './VariantInVariantUpdateSuggestionIssue.js';
17
+ import {
18
+ VariantInVariantUpdateSuggestionIssueFromJSON,
19
+ VariantInVariantUpdateSuggestionIssueFromJSONTyped,
20
+ VariantInVariantUpdateSuggestionIssueToJSON,
21
+ VariantInVariantUpdateSuggestionIssueToJSONTyped,
22
+ } from './VariantInVariantUpdateSuggestionIssue.js';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -26,11 +34,11 @@ export interface VariantInVariantUpdateSuggestion {
26
34
  */
27
35
  variant: string;
28
36
  /**
29
- * Description of the issue specific for this variant
30
- * @type {string}
37
+ *
38
+ * @type {VariantInVariantUpdateSuggestionIssue}
31
39
  * @memberof VariantInVariantUpdateSuggestion
32
40
  */
33
- issue: string;
41
+ issue: VariantInVariantUpdateSuggestionIssue;
34
42
  }
35
43
 
36
44
  /**
@@ -53,7 +61,7 @@ export function VariantInVariantUpdateSuggestionFromJSONTyped(json: any, ignoreD
53
61
  return {
54
62
 
55
63
  'variant': json['variant'],
56
- 'issue': json['issue'],
64
+ 'issue': VariantInVariantUpdateSuggestionIssueFromJSON(json['issue']),
57
65
  };
58
66
  }
59
67
 
@@ -69,7 +77,7 @@ export function VariantInVariantUpdateSuggestionToJSONTyped(value?: VariantInVar
69
77
  return {
70
78
 
71
79
  'variant': value['variant'],
72
- 'issue': value['issue'],
80
+ 'issue': VariantInVariantUpdateSuggestionIssueToJSON(value['issue']),
73
81
  };
74
82
  }
75
83
 
@@ -0,0 +1,55 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Commander Spellbook API
5
+ * API for Commander Spellbook, the combo database engine for Magic: The Gathering
6
+ *
7
+ * The version of the OpenAPI document: 5.6.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ /**
16
+ * @type VariantInVariantUpdateSuggestionIssue
17
+ * Description of the issue specific for this variant
18
+ * @export
19
+ */
20
+ export type VariantInVariantUpdateSuggestionIssue = string;
21
+
22
+ export function VariantInVariantUpdateSuggestionIssueFromJSON(json: any): VariantInVariantUpdateSuggestionIssue {
23
+ return VariantInVariantUpdateSuggestionIssueFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function VariantInVariantUpdateSuggestionIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantInVariantUpdateSuggestionIssue {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ if (typeof json === 'string') {
31
+ return json;
32
+ }
33
+ if (typeof json === 'string') {
34
+ return json;
35
+ }
36
+ return {} as any;
37
+ }
38
+
39
+ export function VariantInVariantUpdateSuggestionIssueToJSON(json: any): any {
40
+ return VariantInVariantUpdateSuggestionIssueToJSONTyped(json, false);
41
+ }
42
+
43
+ export function VariantInVariantUpdateSuggestionIssueToJSONTyped(value?: VariantInVariantUpdateSuggestionIssue | null, ignoreDiscriminator: boolean = false): any {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ if (typeof value === 'string') {
48
+ return value;
49
+ }
50
+ if (typeof value === 'string') {
51
+ return value;
52
+ }
53
+ return {};
54
+ }
55
+
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { VariantInVariantUpdateSuggestionIssue } from './VariantInVariantUpdateSuggestionIssue.js';
17
+ import {
18
+ VariantInVariantUpdateSuggestionIssueFromJSON,
19
+ VariantInVariantUpdateSuggestionIssueFromJSONTyped,
20
+ VariantInVariantUpdateSuggestionIssueToJSON,
21
+ VariantInVariantUpdateSuggestionIssueToJSONTyped,
22
+ } from './VariantInVariantUpdateSuggestionIssue.js';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -26,11 +34,11 @@ export interface VariantInVariantUpdateSuggestionRequest {
26
34
  */
27
35
  variant: string;
28
36
  /**
29
- * Description of the issue specific for this variant
30
- * @type {string}
37
+ *
38
+ * @type {VariantInVariantUpdateSuggestionIssue}
31
39
  * @memberof VariantInVariantUpdateSuggestionRequest
32
40
  */
33
- issue?: string;
41
+ issue?: VariantInVariantUpdateSuggestionIssue;
34
42
  }
35
43
 
36
44
  /**
@@ -52,7 +60,7 @@ export function VariantInVariantUpdateSuggestionRequestFromJSONTyped(json: any,
52
60
  return {
53
61
 
54
62
  'variant': json['variant'],
55
- 'issue': json['issue'] == null ? undefined : json['issue'],
63
+ 'issue': json['issue'] == null ? undefined : VariantInVariantUpdateSuggestionIssueFromJSON(json['issue']),
56
64
  };
57
65
  }
58
66
 
@@ -68,7 +76,7 @@ export function VariantInVariantUpdateSuggestionRequestToJSONTyped(value?: Varia
68
76
  return {
69
77
 
70
78
  'variant': value['variant'],
71
- 'issue': value['issue'],
79
+ 'issue': VariantInVariantUpdateSuggestionIssueToJSON(value['issue']),
72
80
  };
73
81
  }
74
82
 
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * 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
6
6
  *
7
- * The version of the OpenAPI document: 5.5.2
7
+ * The version of the OpenAPI document: 5.6.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,6 +20,13 @@ import {
20
20
  FeatureProducedInVariantSuggestionToJSON,
21
21
  FeatureProducedInVariantSuggestionToJSONTyped,
22
22
  } from './FeatureProducedInVariantSuggestion.js';
23
+ import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
24
+ import {
25
+ PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON,
26
+ PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped,
27
+ PatchedVariantSuggestionRequestNotablePrerequisitesToJSON,
28
+ PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped,
29
+ } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
23
30
  import type { User } from './User.js';
24
31
  import {
25
32
  UserFromJSON,
@@ -34,6 +41,20 @@ import {
34
41
  CardUsedInVariantSuggestionToJSON,
35
42
  CardUsedInVariantSuggestionToJSONTyped,
36
43
  } from './CardUsedInVariantSuggestion.js';
44
+ import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
45
+ import {
46
+ PatchedVariantSuggestionRequestCommentFromJSON,
47
+ PatchedVariantSuggestionRequestCommentFromJSONTyped,
48
+ PatchedVariantSuggestionRequestCommentToJSON,
49
+ PatchedVariantSuggestionRequestCommentToJSONTyped,
50
+ } from './PatchedVariantSuggestionRequestComment.js';
51
+ import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
52
+ import {
53
+ PatchedVariantSuggestionRequestManaNeededFromJSON,
54
+ PatchedVariantSuggestionRequestManaNeededFromJSONTyped,
55
+ PatchedVariantSuggestionRequestManaNeededToJSON,
56
+ PatchedVariantSuggestionRequestManaNeededToJSONTyped,
57
+ } from './PatchedVariantSuggestionRequestManaNeeded.js';
37
58
  import type { TemplateRequiredInVariantSuggestion } from './TemplateRequiredInVariantSuggestion.js';
38
59
  import {
39
60
  TemplateRequiredInVariantSuggestionFromJSON,
@@ -41,6 +62,13 @@ import {
41
62
  TemplateRequiredInVariantSuggestionToJSON,
42
63
  TemplateRequiredInVariantSuggestionToJSONTyped,
43
64
  } from './TemplateRequiredInVariantSuggestion.js';
65
+ import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
66
+ import {
67
+ PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON,
68
+ PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped,
69
+ PatchedVariantSuggestionRequestEasyPrerequisitesToJSON,
70
+ PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped,
71
+ } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
44
72
  import type { SuggestionStatusEnum } from './SuggestionStatusEnum.js';
45
73
  import {
46
74
  SuggestionStatusEnumFromJSON,
@@ -98,23 +126,23 @@ export interface VariantSuggestion {
98
126
  */
99
127
  variantOf: string | null;
100
128
  /**
101
- * Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
102
- * @type {string}
129
+ *
130
+ * @type {PatchedVariantSuggestionRequestManaNeeded}
103
131
  * @memberof VariantSuggestion
104
132
  */
105
- manaNeeded: string;
133
+ manaNeeded: PatchedVariantSuggestionRequestManaNeeded;
106
134
  /**
107
- * Easily achievable prerequisites for this combo.
108
- * @type {string}
135
+ *
136
+ * @type {PatchedVariantSuggestionRequestEasyPrerequisites}
109
137
  * @memberof VariantSuggestion
110
138
  */
111
- easyPrerequisites: string;
139
+ easyPrerequisites: PatchedVariantSuggestionRequestEasyPrerequisites;
112
140
  /**
113
- * Notable prerequisites for this combo.
114
- * @type {string}
141
+ *
142
+ * @type {PatchedVariantSuggestionRequestNotablePrerequisites}
115
143
  * @memberof VariantSuggestion
116
144
  */
117
- notablePrerequisites: string;
145
+ notablePrerequisites: PatchedVariantSuggestionRequestNotablePrerequisites;
118
146
  /**
119
147
  * Long description, in steps
120
148
  * @type {string}
@@ -128,11 +156,11 @@ export interface VariantSuggestion {
128
156
  */
129
157
  spoiler: boolean;
130
158
  /**
131
- * Comment written by the user that suggested this
132
- * @type {string}
159
+ *
160
+ * @type {PatchedVariantSuggestionRequestComment}
133
161
  * @memberof VariantSuggestion
134
162
  */
135
- comment: string;
163
+ comment: PatchedVariantSuggestionRequestComment;
136
164
  /**
137
165
  *
138
166
  * @type {User}
@@ -186,12 +214,12 @@ export function VariantSuggestionFromJSONTyped(json: any, ignoreDiscriminator: b
186
214
  'requires': ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionFromJSON)),
187
215
  'produces': ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionFromJSON)),
188
216
  'variantOf': json['variantOf'],
189
- 'manaNeeded': json['manaNeeded'],
190
- 'easyPrerequisites': json['easyPrerequisites'],
191
- 'notablePrerequisites': json['notablePrerequisites'],
217
+ 'manaNeeded': PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
218
+ 'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
219
+ 'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
192
220
  'description': json['description'],
193
221
  'spoiler': json['spoiler'],
194
- 'comment': json['comment'],
222
+ 'comment': PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
195
223
  'suggestedBy': UserFromJSON(json['suggestedBy']),
196
224
  'created': (new Date(json['created'])),
197
225
  };
@@ -212,12 +240,12 @@ export function VariantSuggestionToJSONTyped(value?: Omit<VariantSuggestion, 'id
212
240
  'requires': ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionToJSON)),
213
241
  'produces': ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionToJSON)),
214
242
  'variantOf': value['variantOf'],
215
- 'manaNeeded': value['manaNeeded'],
216
- 'easyPrerequisites': value['easyPrerequisites'],
217
- 'notablePrerequisites': value['notablePrerequisites'],
243
+ 'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
244
+ 'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
245
+ 'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
218
246
  'description': value['description'],
219
247
  'spoiler': value['spoiler'],
220
- 'comment': value['comment'],
248
+ 'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
221
249
  };
222
250
  }
223
251