@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,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime.js';
16
+ import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
17
+ import {
18
+ PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON,
19
+ PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped,
20
+ PatchedVariantSuggestionRequestNotablePrerequisitesToJSON,
21
+ PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped,
22
+ } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
16
23
  import type { CardUsedInVariantSuggestionRequest } from './CardUsedInVariantSuggestionRequest.js';
17
24
  import {
18
25
  CardUsedInVariantSuggestionRequestFromJSON,
@@ -27,6 +34,27 @@ import {
27
34
  FeatureProducedInVariantSuggestionRequestToJSON,
28
35
  FeatureProducedInVariantSuggestionRequestToJSONTyped,
29
36
  } from './FeatureProducedInVariantSuggestionRequest.js';
37
+ import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
38
+ import {
39
+ PatchedVariantSuggestionRequestCommentFromJSON,
40
+ PatchedVariantSuggestionRequestCommentFromJSONTyped,
41
+ PatchedVariantSuggestionRequestCommentToJSON,
42
+ PatchedVariantSuggestionRequestCommentToJSONTyped,
43
+ } from './PatchedVariantSuggestionRequestComment.js';
44
+ import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
45
+ import {
46
+ PatchedVariantSuggestionRequestManaNeededFromJSON,
47
+ PatchedVariantSuggestionRequestManaNeededFromJSONTyped,
48
+ PatchedVariantSuggestionRequestManaNeededToJSON,
49
+ PatchedVariantSuggestionRequestManaNeededToJSONTyped,
50
+ } from './PatchedVariantSuggestionRequestManaNeeded.js';
51
+ import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
52
+ import {
53
+ PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON,
54
+ PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped,
55
+ PatchedVariantSuggestionRequestEasyPrerequisitesToJSON,
56
+ PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped,
57
+ } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
30
58
  import type { TemplateRequiredInVariantSuggestionRequest } from './TemplateRequiredInVariantSuggestionRequest.js';
31
59
  import {
32
60
  TemplateRequiredInVariantSuggestionRequestFromJSON,
@@ -66,23 +94,23 @@ export interface PatchedVariantSuggestionRequest {
66
94
  */
67
95
  variantOf?: string | null;
68
96
  /**
69
- * Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
70
- * @type {string}
97
+ *
98
+ * @type {PatchedVariantSuggestionRequestManaNeeded}
71
99
  * @memberof PatchedVariantSuggestionRequest
72
100
  */
73
- manaNeeded?: string;
101
+ manaNeeded?: PatchedVariantSuggestionRequestManaNeeded;
74
102
  /**
75
- * Easily achievable prerequisites for this combo.
76
- * @type {string}
103
+ *
104
+ * @type {PatchedVariantSuggestionRequestEasyPrerequisites}
77
105
  * @memberof PatchedVariantSuggestionRequest
78
106
  */
79
- easyPrerequisites?: string;
107
+ easyPrerequisites?: PatchedVariantSuggestionRequestEasyPrerequisites;
80
108
  /**
81
- * Notable prerequisites for this combo.
82
- * @type {string}
109
+ *
110
+ * @type {PatchedVariantSuggestionRequestNotablePrerequisites}
83
111
  * @memberof PatchedVariantSuggestionRequest
84
112
  */
85
- notablePrerequisites?: string;
113
+ notablePrerequisites?: PatchedVariantSuggestionRequestNotablePrerequisites;
86
114
  /**
87
115
  * Long description, in steps
88
116
  * @type {string}
@@ -96,11 +124,11 @@ export interface PatchedVariantSuggestionRequest {
96
124
  */
97
125
  spoiler?: boolean;
98
126
  /**
99
- * Comment written by the user that suggested this
100
- * @type {string}
127
+ *
128
+ * @type {PatchedVariantSuggestionRequestComment}
101
129
  * @memberof PatchedVariantSuggestionRequest
102
130
  */
103
- comment?: string;
131
+ comment?: PatchedVariantSuggestionRequestComment;
104
132
  }
105
133
 
106
134
  /**
@@ -124,12 +152,12 @@ export function PatchedVariantSuggestionRequestFromJSONTyped(json: any, ignoreDi
124
152
  'requires': json['requires'] == null ? undefined : ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
125
153
  'produces': json['produces'] == null ? undefined : ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestFromJSON)),
126
154
  'variantOf': json['variantOf'] === undefined ? undefined : json['variantOf'] === null ? null : json['variantOf'],
127
- 'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
128
- 'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
129
- 'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
155
+ 'manaNeeded': json['manaNeeded'] == null ? undefined : PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
156
+ 'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
157
+ 'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
130
158
  'description': json['description'] == null ? undefined : json['description'],
131
159
  'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
132
- 'comment': json['comment'] == null ? undefined : json['comment'],
160
+ 'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
133
161
  };
134
162
  }
135
163
 
@@ -148,12 +176,12 @@ export function PatchedVariantSuggestionRequestToJSONTyped(value?: PatchedVarian
148
176
  'requires': value['requires'] == null ? undefined : ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestToJSON)),
149
177
  'produces': value['produces'] == null ? undefined : ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestToJSON)),
150
178
  'variantOf': value['variantOf'],
151
- 'manaNeeded': value['manaNeeded'],
152
- 'easyPrerequisites': value['easyPrerequisites'],
153
- 'notablePrerequisites': value['notablePrerequisites'],
179
+ 'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
180
+ 'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
181
+ 'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
154
182
  'description': value['description'],
155
183
  'spoiler': value['spoiler'],
156
- 'comment': value['comment'],
184
+ 'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
157
185
  };
158
186
  }
159
187
 
@@ -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 PatchedVariantSuggestionRequestComment
17
+ * Comment written by the user that suggested this
18
+ * @export
19
+ */
20
+ export type PatchedVariantSuggestionRequestComment = string;
21
+
22
+ export function PatchedVariantSuggestionRequestCommentFromJSON(json: any): PatchedVariantSuggestionRequestComment {
23
+ return PatchedVariantSuggestionRequestCommentFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function PatchedVariantSuggestionRequestCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestComment {
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 PatchedVariantSuggestionRequestCommentToJSON(json: any): any {
40
+ return PatchedVariantSuggestionRequestCommentToJSONTyped(json, false);
41
+ }
42
+
43
+ export function PatchedVariantSuggestionRequestCommentToJSONTyped(value?: PatchedVariantSuggestionRequestComment | 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
+
@@ -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 PatchedVariantSuggestionRequestEasyPrerequisites
17
+ * Easily achievable prerequisites for this combo.
18
+ * @export
19
+ */
20
+ export type PatchedVariantSuggestionRequestEasyPrerequisites = string;
21
+
22
+ export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestEasyPrerequisites {
23
+ return PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestEasyPrerequisites {
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 PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(json: any): any {
40
+ return PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(json, false);
41
+ }
42
+
43
+ export function PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestEasyPrerequisites | 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
+
@@ -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 PatchedVariantSuggestionRequestManaNeeded
17
+ * Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
18
+ * @export
19
+ */
20
+ export type PatchedVariantSuggestionRequestManaNeeded = string;
21
+
22
+ export function PatchedVariantSuggestionRequestManaNeededFromJSON(json: any): PatchedVariantSuggestionRequestManaNeeded {
23
+ return PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestManaNeeded {
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 PatchedVariantSuggestionRequestManaNeededToJSON(json: any): any {
40
+ return PatchedVariantSuggestionRequestManaNeededToJSONTyped(json, false);
41
+ }
42
+
43
+ export function PatchedVariantSuggestionRequestManaNeededToJSONTyped(value?: PatchedVariantSuggestionRequestManaNeeded | 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
+
@@ -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 PatchedVariantSuggestionRequestNotablePrerequisites
17
+ * Notable prerequisites for this combo.
18
+ * @export
19
+ */
20
+ export type PatchedVariantSuggestionRequestNotablePrerequisites = string;
21
+
22
+ export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestNotablePrerequisites {
23
+ return PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestNotablePrerequisites {
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 PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(json: any): any {
40
+ return PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(json, false);
41
+ }
42
+
43
+ export function PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestNotablePrerequisites | 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).
@@ -20,6 +20,20 @@ import {
20
20
  KindEnumToJSON,
21
21
  KindEnumToJSONTyped,
22
22
  } from './KindEnum.js';
23
+ import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
24
+ import {
25
+ PatchedVariantSuggestionRequestCommentFromJSON,
26
+ PatchedVariantSuggestionRequestCommentFromJSONTyped,
27
+ PatchedVariantSuggestionRequestCommentToJSON,
28
+ PatchedVariantSuggestionRequestCommentToJSONTyped,
29
+ } from './PatchedVariantSuggestionRequestComment.js';
30
+ import type { PatchedVariantUpdateSuggestionRequestSolution } from './PatchedVariantUpdateSuggestionRequestSolution.js';
31
+ import {
32
+ PatchedVariantUpdateSuggestionRequestSolutionFromJSON,
33
+ PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped,
34
+ PatchedVariantUpdateSuggestionRequestSolutionToJSON,
35
+ PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped,
36
+ } from './PatchedVariantUpdateSuggestionRequestSolution.js';
23
37
  import type { VariantInVariantUpdateSuggestionRequest } from './VariantInVariantUpdateSuggestionRequest.js';
24
38
  import {
25
39
  VariantInVariantUpdateSuggestionRequestFromJSON,
@@ -61,17 +75,17 @@ export interface PatchedVariantUpdateSuggestionRequest {
61
75
  */
62
76
  issue?: string;
63
77
  /**
64
- * Description of the solution
65
- * @type {string}
78
+ *
79
+ * @type {PatchedVariantUpdateSuggestionRequestSolution}
66
80
  * @memberof PatchedVariantUpdateSuggestionRequest
67
81
  */
68
- solution?: string;
82
+ solution?: PatchedVariantUpdateSuggestionRequestSolution;
69
83
  /**
70
- * Comment written by the user that suggested this
71
- * @type {string}
84
+ *
85
+ * @type {PatchedVariantSuggestionRequestComment}
72
86
  * @memberof PatchedVariantUpdateSuggestionRequest
73
87
  */
74
- comment?: string;
88
+ comment?: PatchedVariantSuggestionRequestComment;
75
89
  }
76
90
 
77
91
 
@@ -96,8 +110,8 @@ export function PatchedVariantUpdateSuggestionRequestFromJSONTyped(json: any, ig
96
110
  'kind': json['kind'] == null ? undefined : KindEnumFromJSON(json['kind']),
97
111
  'variants': json['variants'] == null ? undefined : ((json['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestFromJSON)),
98
112
  'issue': json['issue'] == null ? undefined : json['issue'],
99
- 'solution': json['solution'] == null ? undefined : json['solution'],
100
- 'comment': json['comment'] == null ? undefined : json['comment'],
113
+ 'solution': json['solution'] == null ? undefined : PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json['solution']),
114
+ 'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
101
115
  };
102
116
  }
103
117
 
@@ -115,8 +129,8 @@ export function PatchedVariantUpdateSuggestionRequestToJSONTyped(value?: Patched
115
129
  'kind': KindEnumToJSON(value['kind']),
116
130
  'variants': value['variants'] == null ? undefined : ((value['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestToJSON)),
117
131
  'issue': value['issue'],
118
- 'solution': value['solution'],
119
- 'comment': value['comment'],
132
+ 'solution': PatchedVariantUpdateSuggestionRequestSolutionToJSON(value['solution']),
133
+ 'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
120
134
  };
121
135
  }
122
136
 
@@ -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 PatchedVariantUpdateSuggestionRequestSolution
17
+ * Description of the solution
18
+ * @export
19
+ */
20
+ export type PatchedVariantUpdateSuggestionRequestSolution = string;
21
+
22
+ export function PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json: any): PatchedVariantUpdateSuggestionRequestSolution {
23
+ return PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json, false);
24
+ }
25
+
26
+ export function PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantUpdateSuggestionRequestSolution {
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 PatchedVariantUpdateSuggestionRequestSolutionToJSON(json: any): any {
40
+ return PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(json, false);
41
+ }
42
+
43
+ export function PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(value?: PatchedVariantUpdateSuggestionRequestSolution | 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).
@@ -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,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 TemplateRequiredInVariantSuggestion {
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 TemplateRequiredInVariantSuggestion
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 TemplateRequiredInVariantSuggestion
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 TemplateRequiredInVariantSuggestion
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 TemplateRequiredInVariantSuggestion
83
111
  */
84
- graveyardCardState: string;
112
+ graveyardCardState: GraveyardStartingCardState;
85
113
  /**
86
114
  * Does the card have to be a commander?
87
115
  * @type {boolean}
@@ -120,10 +148,10 @@ export function TemplateRequiredInVariantSuggestionFromJSONTyped(json: any, igno
120
148
  'quantity': json['quantity'],
121
149
  'scryfallQuery': json['scryfallQuery'],
122
150
  'zoneLocations': ((json['zoneLocations'] as Array<any>).map(ZoneLocationsEnumFromJSON)),
123
- 'battlefieldCardState': json['battlefieldCardState'],
124
- 'exileCardState': json['exileCardState'],
125
- 'libraryCardState': json['libraryCardState'],
126
- 'graveyardCardState': json['graveyardCardState'],
151
+ 'battlefieldCardState': BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
152
+ 'exileCardState': ExileStartingCardStateFromJSON(json['exileCardState']),
153
+ 'libraryCardState': LibraryStartingCardStateFromJSON(json['libraryCardState']),
154
+ 'graveyardCardState': GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
127
155
  'mustBeCommander': json['mustBeCommander'],
128
156
  };
129
157
  }
@@ -143,10 +171,10 @@ export function TemplateRequiredInVariantSuggestionToJSONTyped(value?: TemplateR
143
171
  'quantity': value['quantity'],
144
172
  'scryfallQuery': value['scryfallQuery'],
145
173
  'zoneLocations': ((value['zoneLocations'] as Array<any>).map(ZoneLocationsEnumToJSON)),
146
- 'battlefieldCardState': value['battlefieldCardState'],
147
- 'exileCardState': value['exileCardState'],
148
- 'libraryCardState': value['libraryCardState'],
149
- 'graveyardCardState': value['graveyardCardState'],
174
+ 'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
175
+ 'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
176
+ 'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
177
+ 'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
150
178
  'mustBeCommander': value['mustBeCommander'],
151
179
  };
152
180
  }