@space-cow-media/spellbook-client 6.5.0 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/dist/apis/CardListFromTextApi.d.ts +1 -1
  2. package/dist/apis/CardListFromTextApi.js +1 -1
  3. package/dist/apis/CardListFromUrlApi.d.ts +1 -1
  4. package/dist/apis/CardListFromUrlApi.js +1 -1
  5. package/dist/apis/CardsApi.d.ts +11 -7
  6. package/dist/apis/CardsApi.js +7 -4
  7. package/dist/apis/CardsApi.js.map +1 -1
  8. package/dist/apis/DefaultApi.d.ts +1 -1
  9. package/dist/apis/DefaultApi.js +1 -1
  10. package/dist/apis/EstimateBracketApi.d.ts +1 -1
  11. package/dist/apis/EstimateBracketApi.js +1 -1
  12. package/dist/apis/ExplainQueryApi.d.ts +1 -1
  13. package/dist/apis/ExplainQueryApi.js +1 -1
  14. package/dist/apis/FeaturesApi.d.ts +2 -2
  15. package/dist/apis/FeaturesApi.js +1 -1
  16. package/dist/apis/FindMyCombosApi.d.ts +1 -1
  17. package/dist/apis/FindMyCombosApi.js +1 -1
  18. package/dist/apis/PropertiesApi.d.ts +1 -1
  19. package/dist/apis/PropertiesApi.js +1 -1
  20. package/dist/apis/TemplatesApi.d.ts +5 -5
  21. package/dist/apis/TemplatesApi.js +4 -4
  22. package/dist/apis/TemplatesApi.js.map +1 -1
  23. package/dist/apis/TokenApi.d.ts +1 -1
  24. package/dist/apis/TokenApi.js +1 -1
  25. package/dist/apis/UsersApi.d.ts +1 -1
  26. package/dist/apis/UsersApi.js +1 -1
  27. package/dist/apis/VariantAliasesApi.d.ts +1 -1
  28. package/dist/apis/VariantAliasesApi.js +1 -1
  29. package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
  30. package/dist/apis/VariantSuggestionsApi.js +1 -1
  31. package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
  32. package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
  33. package/dist/apis/VariantsApi.d.ts +1 -1
  34. package/dist/apis/VariantsApi.js +1 -1
  35. package/dist/models/BattlefieldStartingCardState.d.ts +1 -1
  36. package/dist/models/BattlefieldStartingCardState.js +1 -1
  37. package/dist/models/BracketTagEnum.d.ts +1 -1
  38. package/dist/models/BracketTagEnum.js +1 -1
  39. package/dist/models/Card.d.ts +1 -1
  40. package/dist/models/Card.js +1 -1
  41. package/dist/models/CardDetail.d.ts +37 -1
  42. package/dist/models/CardDetail.js +37 -1
  43. package/dist/models/CardDetail.js.map +1 -1
  44. package/dist/models/CardInDeck.d.ts +1 -1
  45. package/dist/models/CardInDeck.js +1 -1
  46. package/dist/models/CardInDeckRequest.d.ts +1 -1
  47. package/dist/models/CardInDeckRequest.js +1 -1
  48. package/dist/models/CardInVariant.d.ts +1 -1
  49. package/dist/models/CardInVariant.js +1 -1
  50. package/dist/models/CardLegalities.d.ts +1 -1
  51. package/dist/models/CardLegalities.js +1 -1
  52. package/dist/models/CardPrices.d.ts +1 -1
  53. package/dist/models/CardPrices.js +1 -1
  54. package/dist/models/CardUsedInVariantSuggestion.d.ts +1 -1
  55. package/dist/models/CardUsedInVariantSuggestion.js +1 -1
  56. package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +1 -1
  57. package/dist/models/CardUsedInVariantSuggestionRequest.js +1 -1
  58. package/dist/models/ClassifiedCard.d.ts +1 -1
  59. package/dist/models/ClassifiedCard.js +1 -1
  60. package/dist/models/ClassifiedVariant.d.ts +1 -1
  61. package/dist/models/ClassifiedVariant.js +1 -1
  62. package/dist/models/ColorEnum.d.ts +1 -1
  63. package/dist/models/ColorEnum.js +1 -1
  64. package/dist/models/Combo.d.ts +1 -1
  65. package/dist/models/Combo.js +1 -1
  66. package/dist/models/Deck.d.ts +1 -1
  67. package/dist/models/Deck.js +1 -1
  68. package/dist/models/DeckRequest.d.ts +1 -1
  69. package/dist/models/DeckRequest.js +1 -1
  70. package/dist/models/EstimateBracketResult.d.ts +1 -6
  71. package/dist/models/EstimateBracketResult.js +1 -6
  72. package/dist/models/EstimateBracketResult.js.map +1 -1
  73. package/dist/models/ExileStartingCardState.d.ts +1 -1
  74. package/dist/models/ExileStartingCardState.js +1 -1
  75. package/dist/models/Feature.d.ts +1 -1
  76. package/dist/models/Feature.js +1 -1
  77. package/dist/models/FeatureOfCard.d.ts +1 -1
  78. package/dist/models/FeatureOfCard.js +1 -1
  79. package/dist/models/FeatureProducedByVariant.d.ts +1 -1
  80. package/dist/models/FeatureProducedByVariant.js +1 -1
  81. package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
  82. package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
  83. package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
  84. package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
  85. package/dist/models/FeatureStatusEnum.d.ts +1 -1
  86. package/dist/models/FeatureStatusEnum.js +1 -1
  87. package/dist/models/FindMyCombosResponse.d.ts +1 -1
  88. package/dist/models/FindMyCombosResponse.js +1 -1
  89. package/dist/models/GraveyardStartingCardState.d.ts +1 -1
  90. package/dist/models/GraveyardStartingCardState.js +1 -1
  91. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +1 -1
  92. package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +1 -1
  93. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +1 -1
  94. package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +1 -1
  95. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +1 -1
  96. package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +1 -1
  97. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +1 -1
  98. package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +1 -1
  99. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +1 -1
  100. package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +1 -1
  101. package/dist/models/ImageURIOfTheCardArtCrop.d.ts +1 -1
  102. package/dist/models/ImageURIOfTheCardArtCrop.js +1 -1
  103. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +1 -1
  104. package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +1 -1
  105. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +1 -1
  106. package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +1 -1
  107. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +1 -1
  108. package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +1 -1
  109. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +1 -1
  110. package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +1 -1
  111. package/dist/models/InvalidUrlResponse.d.ts +1 -1
  112. package/dist/models/InvalidUrlResponse.js +1 -1
  113. package/dist/models/KindEnum.d.ts +1 -1
  114. package/dist/models/KindEnum.js +1 -1
  115. package/dist/models/LayoutRotationEnum.d.ts +1 -1
  116. package/dist/models/LayoutRotationEnum.js +1 -1
  117. package/dist/models/LibraryStartingCardState.d.ts +1 -1
  118. package/dist/models/LibraryStartingCardState.js +1 -1
  119. package/dist/models/PaginatedCardDetailList.d.ts +1 -1
  120. package/dist/models/PaginatedCardDetailList.js +1 -1
  121. package/dist/models/PaginatedFeatureList.d.ts +1 -1
  122. package/dist/models/PaginatedFeatureList.js +1 -1
  123. package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
  124. package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
  125. package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
  126. package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
  127. package/dist/models/PaginatedTemplateList.d.ts +1 -1
  128. package/dist/models/PaginatedTemplateList.js +1 -1
  129. package/dist/models/PaginatedUserDetailList.d.ts +1 -1
  130. package/dist/models/PaginatedUserDetailList.js +1 -1
  131. package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
  132. package/dist/models/PaginatedVariantAliasList.js +1 -1
  133. package/dist/models/PaginatedVariantList.d.ts +1 -1
  134. package/dist/models/PaginatedVariantList.js +1 -1
  135. package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
  136. package/dist/models/PaginatedVariantSuggestionList.js +1 -1
  137. package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
  138. package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
  139. package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
  140. package/dist/models/PaginatedWebsitePropertyList.js +1 -1
  141. package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
  142. package/dist/models/PatchedUserDetailRequest.js +1 -1
  143. package/dist/models/PatchedVariantSuggestionRequest.d.ts +1 -1
  144. package/dist/models/PatchedVariantSuggestionRequest.js +1 -1
  145. package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +1 -1
  146. package/dist/models/PatchedVariantSuggestionRequestComment.js +1 -1
  147. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +1 -1
  148. package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +1 -1
  149. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +1 -1
  150. package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +1 -1
  151. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +1 -1
  152. package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +1 -1
  153. package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +1 -1
  154. package/dist/models/PatchedVariantUpdateSuggestionRequest.js +1 -1
  155. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +1 -1
  156. package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +1 -1
  157. package/dist/models/QueryExplanation.d.ts +1 -1
  158. package/dist/models/QueryExplanation.js +1 -1
  159. package/dist/models/QueryExplanationValidationError.d.ts +1 -1
  160. package/dist/models/QueryExplanationValidationError.js +1 -1
  161. package/dist/models/SuggestionStatusEnum.d.ts +1 -1
  162. package/dist/models/SuggestionStatusEnum.js +1 -1
  163. package/dist/models/Template.d.ts +3 -1
  164. package/dist/models/Template.js +1 -1
  165. package/dist/models/Template.js.map +1 -1
  166. package/dist/models/TemplateInVariant.d.ts +1 -1
  167. package/dist/models/TemplateInVariant.js +1 -1
  168. package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +3 -1
  169. package/dist/models/TemplateRequiredInVariantSuggestion.js +1 -1
  170. package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
  171. package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +3 -1
  172. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +1 -1
  173. package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +1 -1
  174. package/dist/models/TokenObtainPair.d.ts +1 -1
  175. package/dist/models/TokenObtainPair.js +1 -1
  176. package/dist/models/TokenObtainPairRequest.d.ts +1 -1
  177. package/dist/models/TokenObtainPairRequest.js +1 -1
  178. package/dist/models/TokenRefresh.d.ts +1 -1
  179. package/dist/models/TokenRefresh.js +1 -1
  180. package/dist/models/TokenRefreshRequest.d.ts +1 -1
  181. package/dist/models/TokenRefreshRequest.js +1 -1
  182. package/dist/models/TokenVerifyRequest.d.ts +1 -1
  183. package/dist/models/TokenVerifyRequest.js +1 -1
  184. package/dist/models/User.d.ts +1 -1
  185. package/dist/models/User.js +1 -1
  186. package/dist/models/UserDetail.d.ts +1 -1
  187. package/dist/models/UserDetail.js +1 -1
  188. package/dist/models/UserDetailRequest.d.ts +1 -1
  189. package/dist/models/UserDetailRequest.js +1 -1
  190. package/dist/models/UserRequest.d.ts +1 -1
  191. package/dist/models/UserRequest.js +1 -1
  192. package/dist/models/Variant.d.ts +1 -1
  193. package/dist/models/Variant.js +1 -1
  194. package/dist/models/VariantAlias.d.ts +1 -1
  195. package/dist/models/VariantAlias.js +1 -1
  196. package/dist/models/VariantInVariantUpdateSuggestion.d.ts +1 -1
  197. package/dist/models/VariantInVariantUpdateSuggestion.js +1 -1
  198. package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +1 -1
  199. package/dist/models/VariantInVariantUpdateSuggestionIssue.js +1 -1
  200. package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +1 -1
  201. package/dist/models/VariantInVariantUpdateSuggestionRequest.js +1 -1
  202. package/dist/models/VariantLegalities.d.ts +1 -1
  203. package/dist/models/VariantLegalities.js +1 -1
  204. package/dist/models/VariantPrices.d.ts +1 -1
  205. package/dist/models/VariantPrices.js +1 -1
  206. package/dist/models/VariantStatusEnum.d.ts +1 -1
  207. package/dist/models/VariantStatusEnum.js +1 -1
  208. package/dist/models/VariantSuggestion.d.ts +1 -1
  209. package/dist/models/VariantSuggestion.js +1 -1
  210. package/dist/models/VariantSuggestionRequest.d.ts +1 -1
  211. package/dist/models/VariantSuggestionRequest.js +1 -1
  212. package/dist/models/VariantUpdateSuggestion.d.ts +1 -1
  213. package/dist/models/VariantUpdateSuggestion.js +1 -1
  214. package/dist/models/VariantUpdateSuggestionRequest.d.ts +1 -1
  215. package/dist/models/VariantUpdateSuggestionRequest.js +1 -1
  216. package/dist/models/VariantsQueryValidationError.d.ts +1 -1
  217. package/dist/models/VariantsQueryValidationError.js +1 -1
  218. package/dist/models/WebsiteProperty.d.ts +1 -1
  219. package/dist/models/WebsiteProperty.js +1 -1
  220. package/dist/models/WebsitePropertyValue.d.ts +1 -1
  221. package/dist/models/WebsitePropertyValue.js +1 -1
  222. package/dist/models/ZoneLocationsEnum.d.ts +1 -1
  223. package/dist/models/ZoneLocationsEnum.js +1 -1
  224. package/dist/models/index.d.ts +0 -1
  225. package/dist/models/index.js +0 -1
  226. package/dist/models/index.js.map +1 -1
  227. package/dist/runtime.d.ts +16 -2
  228. package/dist/runtime.js +81 -2
  229. package/dist/runtime.js.map +1 -1
  230. package/package.json +1 -1
  231. package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
  232. package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
  233. package/spellbook-client/apis/CardsApi.ts +19 -11
  234. package/spellbook-client/apis/DefaultApi.ts +1 -1
  235. package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
  236. package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
  237. package/spellbook-client/apis/FeaturesApi.ts +2 -2
  238. package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
  239. package/spellbook-client/apis/PropertiesApi.ts +1 -1
  240. package/spellbook-client/apis/TemplatesApi.ts +9 -9
  241. package/spellbook-client/apis/TokenApi.ts +1 -1
  242. package/spellbook-client/apis/UsersApi.ts +1 -1
  243. package/spellbook-client/apis/VariantAliasesApi.ts +1 -1
  244. package/spellbook-client/apis/VariantSuggestionsApi.ts +1 -1
  245. package/spellbook-client/apis/VariantUpdateSuggestionsApi.ts +1 -1
  246. package/spellbook-client/apis/VariantsApi.ts +1 -1
  247. package/spellbook-client/docs/CardDetail.md +18 -0
  248. package/spellbook-client/docs/CardsApi.md +10 -7
  249. package/spellbook-client/docs/EstimateBracketResult.md +0 -2
  250. package/spellbook-client/docs/FeaturesApi.md +2 -2
  251. package/spellbook-client/docs/TemplatesApi.md +4 -4
  252. package/spellbook-client/models/BattlefieldStartingCardState.ts +1 -1
  253. package/spellbook-client/models/BracketTagEnum.ts +1 -1
  254. package/spellbook-client/models/Card.ts +1 -1
  255. package/spellbook-client/models/CardDetail.ts +64 -1
  256. package/spellbook-client/models/CardInDeck.ts +1 -1
  257. package/spellbook-client/models/CardInDeckRequest.ts +1 -1
  258. package/spellbook-client/models/CardInVariant.ts +1 -1
  259. package/spellbook-client/models/CardLegalities.ts +1 -1
  260. package/spellbook-client/models/CardPrices.ts +1 -1
  261. package/spellbook-client/models/CardUsedInVariantSuggestion.ts +1 -1
  262. package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +1 -1
  263. package/spellbook-client/models/ClassifiedCard.ts +1 -1
  264. package/spellbook-client/models/ClassifiedVariant.ts +1 -1
  265. package/spellbook-client/models/ColorEnum.ts +1 -1
  266. package/spellbook-client/models/Combo.ts +1 -1
  267. package/spellbook-client/models/Deck.ts +1 -1
  268. package/spellbook-client/models/DeckRequest.ts +1 -1
  269. package/spellbook-client/models/EstimateBracketResult.ts +1 -15
  270. package/spellbook-client/models/ExileStartingCardState.ts +1 -1
  271. package/spellbook-client/models/Feature.ts +1 -1
  272. package/spellbook-client/models/FeatureOfCard.ts +1 -1
  273. package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
  274. package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
  275. package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
  276. package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
  277. package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
  278. package/spellbook-client/models/GraveyardStartingCardState.ts +1 -1
  279. package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +1 -1
  280. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +1 -1
  281. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +1 -1
  282. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +1 -1
  283. package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +1 -1
  284. package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +1 -1
  285. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +1 -1
  286. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +1 -1
  287. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +1 -1
  288. package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +1 -1
  289. package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
  290. package/spellbook-client/models/KindEnum.ts +1 -1
  291. package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
  292. package/spellbook-client/models/LibraryStartingCardState.ts +1 -1
  293. package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
  294. package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
  295. package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
  296. package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
  297. package/spellbook-client/models/PaginatedTemplateList.ts +1 -1
  298. package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
  299. package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
  300. package/spellbook-client/models/PaginatedVariantList.ts +1 -1
  301. package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
  302. package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
  303. package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
  304. package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
  305. package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +1 -1
  306. package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +1 -1
  307. package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +1 -1
  308. package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +1 -1
  309. package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +1 -1
  310. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +1 -1
  311. package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +1 -1
  312. package/spellbook-client/models/QueryExplanation.ts +1 -1
  313. package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
  314. package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
  315. package/spellbook-client/models/Template.ts +3 -1
  316. package/spellbook-client/models/TemplateInVariant.ts +1 -1
  317. package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +3 -1
  318. package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +3 -1
  319. package/spellbook-client/models/TokenObtainPair.ts +1 -1
  320. package/spellbook-client/models/TokenObtainPairRequest.ts +1 -1
  321. package/spellbook-client/models/TokenRefresh.ts +1 -1
  322. package/spellbook-client/models/TokenRefreshRequest.ts +1 -1
  323. package/spellbook-client/models/TokenVerifyRequest.ts +1 -1
  324. package/spellbook-client/models/User.ts +1 -1
  325. package/spellbook-client/models/UserDetail.ts +1 -1
  326. package/spellbook-client/models/UserDetailRequest.ts +1 -1
  327. package/spellbook-client/models/UserRequest.ts +1 -1
  328. package/spellbook-client/models/Variant.ts +1 -1
  329. package/spellbook-client/models/VariantAlias.ts +1 -1
  330. package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +1 -1
  331. package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +1 -1
  332. package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +1 -1
  333. package/spellbook-client/models/VariantLegalities.ts +1 -1
  334. package/spellbook-client/models/VariantPrices.ts +1 -1
  335. package/spellbook-client/models/VariantStatusEnum.ts +1 -1
  336. package/spellbook-client/models/VariantSuggestion.ts +1 -1
  337. package/spellbook-client/models/VariantSuggestionRequest.ts +1 -1
  338. package/spellbook-client/models/VariantUpdateSuggestion.ts +1 -1
  339. package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +1 -1
  340. package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
  341. package/spellbook-client/models/WebsiteProperty.ts +1 -1
  342. package/spellbook-client/models/WebsitePropertyValue.ts +1 -1
  343. package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
  344. package/spellbook-client/models/index.ts +0 -1
  345. package/spellbook-client/runtime.ts +81 -3
  346. package/dist/models/ClassifiedTemplate.d.ts +0 -43
  347. package/dist/models/ClassifiedTemplate.js +0 -57
  348. package/dist/models/ClassifiedTemplate.js.map +0 -1
  349. package/spellbook-client/docs/ClassifiedTemplate.md +0 -40
  350. package/spellbook-client/models/ClassifiedTemplate.ts +0 -93
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,6 @@ export * from './CardPrices.js';
10
10
  export * from './CardUsedInVariantSuggestion.js';
11
11
  export * from './CardUsedInVariantSuggestionRequest.js';
12
12
  export * from './ClassifiedCard.js';
13
- export * from './ClassifiedTemplate.js';
14
13
  export * from './ClassifiedVariant.js';
15
14
  export * from './ColorEnum.js';
16
15
  export * from './Combo.js';
@@ -12,7 +12,6 @@ export * from './CardPrices.js';
12
12
  export * from './CardUsedInVariantSuggestion.js';
13
13
  export * from './CardUsedInVariantSuggestionRequest.js';
14
14
  export * from './ClassifiedCard.js';
15
- export * from './ClassifiedTemplate.js';
16
15
  export * from './ClassifiedVariant.js';
17
16
  export * from './ColorEnum.js';
18
17
  export * from './Combo.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../spellbook-client/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC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AAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0DAA0D,CAAC;AACzE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,oDAAoD,CAAC;AACnE,cAAc,uBAAuB,CAAC;AACtC,cAAc,sCAAsC,CAAC;AACrD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC"}
package/dist/runtime.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Commander Spellbook API
3
3
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
4
4
  *
5
- * The version of the OpenAPI document: 6.5.0
5
+ * The version of the OpenAPI document: 7.0.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -187,8 +187,22 @@ export declare class VoidApiResponse {
187
187
  export declare class BlobApiResponse {
188
188
  raw: Response;
189
189
  constructor(raw: Response);
190
- value(): Promise<Blob>;
190
+ /**
191
+ * The body as a File named after the Content-Disposition header, so that a download keeps the
192
+ * name the server gave it. A File is a Blob: callers reading a Blob are unaffected, and the name
193
+ * is empty when the server did not send one. Runtimes without a global File (Node.js before 20)
194
+ * keep receiving the bare Blob.
195
+ */
196
+ value(): Promise<File>;
191
197
  }
198
+ /**
199
+ * The file name advertised by a Content-Disposition header (RFC 6266): the RFC 5987 encoded
200
+ * `filename*` parameter first, then the plain `filename` as a quoted-string or a token. Parameters
201
+ * are split on `;` outside quoted-strings and matched by name case-insensitively. Any directory
202
+ * part is dropped so that the name is safe to write to disk as is; undefined when no usable name
203
+ * is advertised.
204
+ */
205
+ export declare function parseContentDispositionFilename(headers: Headers): string | undefined;
192
206
  export declare class TextApiResponse {
193
207
  raw: Response;
194
208
  constructor(raw: Response);
package/dist/runtime.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -380,13 +380,92 @@ export class BlobApiResponse {
380
380
  constructor(raw) {
381
381
  this.raw = raw;
382
382
  }
383
+ /**
384
+ * The body as a File named after the Content-Disposition header, so that a download keeps the
385
+ * name the server gave it. A File is a Blob: callers reading a Blob are unaffected, and the name
386
+ * is empty when the server did not send one. Runtimes without a global File (Node.js before 20)
387
+ * keep receiving the bare Blob.
388
+ */
383
389
  value() {
384
390
  return __awaiter(this, void 0, void 0, function* () {
385
- return yield this.raw.blob();
391
+ var _a;
392
+ const blob = yield this.raw.blob();
393
+ if (typeof File === 'undefined') {
394
+ return blob;
395
+ }
396
+ return new File([blob], (_a = parseContentDispositionFilename(this.raw.headers)) !== null && _a !== void 0 ? _a : '', { type: blob.type });
386
397
  });
387
398
  }
388
399
  ;
389
400
  }
401
+ /**
402
+ * The file name advertised by a Content-Disposition header (RFC 6266): the RFC 5987 encoded
403
+ * `filename*` parameter first, then the plain `filename` as a quoted-string or a token. Parameters
404
+ * are split on `;` outside quoted-strings and matched by name case-insensitively. Any directory
405
+ * part is dropped so that the name is safe to write to disk as is; undefined when no usable name
406
+ * is advertised.
407
+ */
408
+ export function parseContentDispositionFilename(headers) {
409
+ const value = headers.get('Content-Disposition');
410
+ if (!value) {
411
+ return undefined;
412
+ }
413
+ const params = parseHeaderParameters(value);
414
+ const encoded = params.get('filename*');
415
+ if (encoded !== undefined) {
416
+ const extValue = /^utf-8'[^']*'(.*)$/i.exec(encoded);
417
+ if (extValue) {
418
+ try {
419
+ return basename(decodeURIComponent(extValue[1]));
420
+ }
421
+ catch (_a) {
422
+ // malformed percent-encoding: fall through to the plain form
423
+ }
424
+ }
425
+ }
426
+ const plain = params.get('filename');
427
+ return plain === undefined ? undefined : basename(plain);
428
+ }
429
+ /**
430
+ * The `name=value` parameters of a header value, split on `;` outside quoted-strings. Names are
431
+ * lower-cased, quoted-string values are unquoted with their backslash escapes resolved, and the
432
+ * first occurrence of a name wins.
433
+ */
434
+ function parseHeaderParameters(value) {
435
+ const params = new Map();
436
+ let start = 0;
437
+ let quoted = false;
438
+ for (let i = 0; i <= value.length; i++) {
439
+ const c = value[i];
440
+ if (i === value.length || (c === ';' && !quoted)) {
441
+ const part = value.slice(start, i);
442
+ const eq = part.indexOf('=');
443
+ if (eq !== -1) {
444
+ const name = part.slice(0, eq).trim().toLowerCase();
445
+ let raw = part.slice(eq + 1).trim();
446
+ if (raw.startsWith('"')) {
447
+ raw = raw.slice(1, raw.length > 1 && raw.endsWith('"') ? -1 : undefined).replace(/\\(.)/g, '$1');
448
+ }
449
+ if (name && !params.has(name)) {
450
+ params.set(name, raw);
451
+ }
452
+ }
453
+ start = i + 1;
454
+ }
455
+ else if (c === '"') {
456
+ quoted = !quoted;
457
+ }
458
+ else if (c === '\\' && quoted) {
459
+ i++;
460
+ }
461
+ }
462
+ return params;
463
+ }
464
+ /** The last path segment of a file name, or undefined when nothing usable is left. */
465
+ function basename(name) {
466
+ const base = name.slice(Math.max(name.lastIndexOf('/'), name.lastIndexOf('\\')) + 1).trim();
467
+ return base === '' || base === '.' || base === '..' ? undefined : base;
468
+ }
390
469
  export class TextApiResponse {
391
470
  constructor(raw) {
392
471
  this.raw = raw;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../spellbook-client/runtime.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAehE,MAAM,OAAO,aAAa;IACtB,YAAoB,aAAa,GAA4B,EAAE;6BAA3C,aAAa;IAAiC,CAAC;IAEnE,IAAI,MAAM,CAAC,aAA4B;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IACzF,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;IACvC,CAAC;IAED,IAAI,UAAU;QACV,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,IAAI,EAAE,CAAC;IAC/C,CAAC;IAED,IAAI,oBAAoB;QACpB,OAAO,IAAI,CAAC,aAAa,CAAC,oBAAoB,IAAI,WAAW,CAAC;IAClE,CAAC;IAED,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;IACvC,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QAClB,CAAC;aAAM,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;YACnB,MAAM,GAAG,CAAC,MAAM,CAAC;QACrB,CAAC;aAAM,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,EAAE,CAAC;YAC9B,CAAC,EAAE,CAAC;QACR,CAAC;IACL,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,sFAAsF;AACtF,SAAS,QAAQ,CAAC,IAAY;IAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC5F,OAAO,IAAI,KAAK,EAAE,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3E,CAAC;AAED,MAAM,OAAO,eAAe;IACxB,YAAmB,GAAa;mBAAb,GAAG;IAAa,CAAC;IAE9B,KAAK;;YACP,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QACjC,CAAC;KAAA;IAAA,CAAC;CACL"}
package/package.json CHANGED
@@ -33,5 +33,5 @@
33
33
  "build": "tsc",
34
34
  "watch": "tsc -w"
35
35
  },
36
- "version": "6.5.0"
36
+ "version": "7.0.1"
37
37
  }
@@ -4,7 +4,7 @@
4
4
  * Commander Spellbook API
5
5
  * API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
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. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
6
6
  *
7
- * The version of the OpenAPI document: 6.5.0
7
+ * The version of the OpenAPI document: 7.0.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).