@space-cow-media/spellbook-client 7.1.0 → 7.1.2
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.
- package/dist/apis/CardListFromTextApi.d.ts +1 -1
- package/dist/apis/CardListFromTextApi.js +1 -1
- package/dist/apis/CardListFromUrlApi.d.ts +1 -1
- package/dist/apis/CardListFromUrlApi.js +1 -1
- package/dist/apis/CardsApi.d.ts +1 -1
- package/dist/apis/CardsApi.js +1 -1
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/EstimateBracketApi.d.ts +1 -1
- package/dist/apis/EstimateBracketApi.js +1 -1
- package/dist/apis/ExplainQueryApi.d.ts +1 -1
- package/dist/apis/ExplainQueryApi.js +1 -1
- package/dist/apis/FeaturesApi.d.ts +1 -1
- package/dist/apis/FeaturesApi.js +1 -1
- package/dist/apis/FindMyCombosApi.d.ts +1 -1
- package/dist/apis/FindMyCombosApi.js +1 -1
- package/dist/apis/PropertiesApi.d.ts +1 -1
- package/dist/apis/PropertiesApi.js +1 -1
- package/dist/apis/SaltVotesApi.d.ts +1 -1
- package/dist/apis/SaltVotesApi.js +1 -1
- package/dist/apis/TemplatesApi.d.ts +1 -1
- package/dist/apis/TemplatesApi.js +1 -1
- package/dist/apis/TokenApi.d.ts +1 -1
- package/dist/apis/TokenApi.js +1 -1
- package/dist/apis/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/VariantAliasesApi.d.ts +1 -1
- package/dist/apis/VariantAliasesApi.js +1 -1
- package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantSuggestionsApi.js +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +1 -1
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +11 -21
- package/dist/models/Card.js +21 -31
- package/dist/models/Card.js.map +1 -1
- package/dist/models/CardDetail.d.ts +13 -23
- package/dist/models/CardDetail.js +23 -33
- package/dist/models/CardDetail.js.map +1 -1
- package/dist/models/CardInDeck.d.ts +1 -1
- package/dist/models/CardInDeck.js +1 -1
- package/dist/models/CardInDeckRequest.d.ts +1 -1
- package/dist/models/CardInDeckRequest.js +1 -1
- package/dist/models/CardInVariant.d.ts +1 -1
- package/dist/models/CardInVariant.js +1 -1
- package/dist/models/CardLegalities.d.ts +1 -1
- package/dist/models/CardLegalities.js +1 -1
- package/dist/models/CardPrices.d.ts +1 -1
- package/dist/models/CardPrices.js +1 -1
- package/dist/models/CardUsedInVariantSuggestion.d.ts +9 -13
- package/dist/models/CardUsedInVariantSuggestion.js +9 -13
- package/dist/models/CardUsedInVariantSuggestion.js.map +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +9 -13
- package/dist/models/CardUsedInVariantSuggestionRequest.js +9 -13
- package/dist/models/CardUsedInVariantSuggestionRequest.js.map +1 -1
- package/dist/models/ClassifiedCard.d.ts +1 -1
- package/dist/models/ClassifiedCard.js +1 -1
- package/dist/models/ClassifiedVariant.d.ts +1 -1
- package/dist/models/ClassifiedVariant.js +1 -1
- package/dist/models/ColorEnum.d.ts +1 -1
- package/dist/models/ColorEnum.js +1 -1
- package/dist/models/Combo.d.ts +1 -1
- package/dist/models/Combo.js +1 -1
- package/dist/models/Deck.d.ts +1 -1
- package/dist/models/Deck.js +1 -1
- package/dist/models/DeckRequest.d.ts +1 -1
- package/dist/models/DeckRequest.js +1 -1
- package/dist/models/EstimateBracketResult.d.ts +1 -1
- package/dist/models/EstimateBracketResult.js +1 -1
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/FeatureOfCard.d.ts +9 -13
- package/dist/models/FeatureOfCard.js +9 -13
- package/dist/models/FeatureOfCard.js.map +1 -1
- package/dist/models/FeatureProducedByVariant.d.ts +1 -1
- package/dist/models/FeatureProducedByVariant.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
- package/dist/models/FeatureStatusEnum.d.ts +1 -1
- package/dist/models/FeatureStatusEnum.js +1 -1
- package/dist/models/FindMyCombosResponse.d.ts +1 -1
- package/dist/models/FindMyCombosResponse.js +1 -1
- package/dist/models/InvalidUrlResponse.d.ts +1 -1
- package/dist/models/InvalidUrlResponse.js +1 -1
- package/dist/models/KindEnum.d.ts +1 -1
- package/dist/models/KindEnum.js +1 -1
- package/dist/models/LayoutRotationEnum.d.ts +1 -1
- package/dist/models/LayoutRotationEnum.js +1 -1
- package/dist/models/PaginatedCardDetailList.d.ts +1 -1
- package/dist/models/PaginatedCardDetailList.js +1 -1
- package/dist/models/PaginatedFeatureList.d.ts +1 -1
- package/dist/models/PaginatedFeatureList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
- package/dist/models/PaginatedSaltVoteList.d.ts +1 -1
- package/dist/models/PaginatedSaltVoteList.js +1 -1
- package/dist/models/PaginatedTemplateList.d.ts +1 -1
- package/dist/models/PaginatedTemplateList.js +1 -1
- package/dist/models/PaginatedUserDetailList.d.ts +1 -1
- package/dist/models/PaginatedUserDetailList.js +1 -1
- package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
- package/dist/models/PaginatedVariantAliasList.js +1 -1
- package/dist/models/PaginatedVariantList.d.ts +1 -1
- package/dist/models/PaginatedVariantList.js +1 -1
- package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantSuggestionList.js +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
- package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
- package/dist/models/PaginatedWebsitePropertyList.js +1 -1
- package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
- package/dist/models/PatchedUserDetailRequest.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.d.ts +9 -13
- package/dist/models/PatchedVariantSuggestionRequest.js +9 -13
- package/dist/models/PatchedVariantSuggestionRequest.js.map +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +5 -7
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +5 -7
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/ProducedManaEnum.d.ts +1 -1
- package/dist/models/ProducedManaEnum.js +1 -1
- package/dist/models/QueryExplanation.d.ts +1 -1
- package/dist/models/QueryExplanation.js +1 -1
- package/dist/models/QueryExplanationValidationError.d.ts +1 -1
- package/dist/models/QueryExplanationValidationError.js +1 -1
- package/dist/models/SaltVote.d.ts +1 -1
- package/dist/models/SaltVote.js +1 -1
- package/dist/models/SaltVoteRequest.d.ts +1 -1
- package/dist/models/SaltVoteRequest.js +1 -1
- package/dist/models/SuggestionStatusEnum.d.ts +1 -1
- package/dist/models/SuggestionStatusEnum.js +1 -1
- package/dist/models/Template.d.ts +1 -1
- package/dist/models/Template.js +1 -1
- package/dist/models/TemplateInVariant.d.ts +1 -1
- package/dist/models/TemplateInVariant.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestion.js +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +9 -13
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +1 -1
- package/dist/models/TokenObtainPair.d.ts +1 -1
- package/dist/models/TokenObtainPair.js +1 -1
- package/dist/models/TokenObtainPairRequest.d.ts +1 -1
- package/dist/models/TokenObtainPairRequest.js +1 -1
- package/dist/models/TokenRefresh.d.ts +1 -1
- package/dist/models/TokenRefresh.js +1 -1
- package/dist/models/TokenRefreshRequest.d.ts +1 -1
- package/dist/models/TokenRefreshRequest.js +1 -1
- package/dist/models/TokenVerifyRequest.d.ts +1 -1
- package/dist/models/TokenVerifyRequest.js +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/UserDetail.d.ts +1 -1
- package/dist/models/UserDetail.js +1 -1
- package/dist/models/UserDetailRequest.d.ts +1 -1
- package/dist/models/UserDetailRequest.js +1 -1
- package/dist/models/UserRequest.d.ts +1 -1
- package/dist/models/UserRequest.js +1 -1
- package/dist/models/Variant.d.ts +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/VariantAlias.d.ts +1 -1
- package/dist/models/VariantAlias.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.d.ts +3 -4
- package/dist/models/VariantInVariantUpdateSuggestion.js +3 -4
- package/dist/models/VariantInVariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +3 -4
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +3 -4
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/VariantLegalities.d.ts +1 -1
- package/dist/models/VariantLegalities.js +1 -1
- package/dist/models/VariantPrices.d.ts +1 -1
- package/dist/models/VariantPrices.js +1 -1
- package/dist/models/VariantStatusEnum.d.ts +1 -1
- package/dist/models/VariantStatusEnum.js +1 -1
- package/dist/models/VariantSuggestion.d.ts +9 -13
- package/dist/models/VariantSuggestion.js +9 -13
- package/dist/models/VariantSuggestion.js.map +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +9 -13
- package/dist/models/VariantSuggestionRequest.js +9 -13
- package/dist/models/VariantSuggestionRequest.js.map +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +5 -7
- package/dist/models/VariantUpdateSuggestion.js +5 -7
- package/dist/models/VariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +5 -7
- package/dist/models/VariantUpdateSuggestionRequest.js +5 -7
- package/dist/models/VariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/VariantsQueryValidationError.d.ts +1 -1
- package/dist/models/VariantsQueryValidationError.js +1 -1
- package/dist/models/WebsiteProperty.d.ts +3 -4
- package/dist/models/WebsiteProperty.js +3 -4
- package/dist/models/WebsiteProperty.js.map +1 -1
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +0 -21
- package/dist/models/index.js +0 -21
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +17 -10
- package/dist/runtime.js +40 -59
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -1
- package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
- package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
- package/spellbook-client/apis/CardsApi.ts +1 -1
- package/spellbook-client/apis/DefaultApi.ts +1 -1
- package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
- package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
- package/spellbook-client/apis/FeaturesApi.ts +1 -1
- package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
- package/spellbook-client/apis/PropertiesApi.ts +1 -1
- package/spellbook-client/apis/SaltVotesApi.ts +1 -1
- package/spellbook-client/apis/TemplatesApi.ts +1 -1
- package/spellbook-client/apis/TokenApi.ts +1 -1
- package/spellbook-client/apis/UsersApi.ts +1 -1
- package/spellbook-client/apis/VariantAliasesApi.ts +1 -1
- package/spellbook-client/apis/VariantSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/VariantUpdateSuggestionsApi.ts +1 -1
- package/spellbook-client/apis/VariantsApi.ts +1 -1
- package/spellbook-client/docs/Card.md +10 -10
- package/spellbook-client/docs/CardDetail.md +10 -10
- package/spellbook-client/docs/CardUsedInVariantSuggestion.md +4 -4
- package/spellbook-client/docs/CardUsedInVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/FeatureOfCard.md +4 -4
- package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +2 -2
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestion.md +4 -4
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/VariantInVariantUpdateSuggestion.md +1 -1
- package/spellbook-client/docs/VariantInVariantUpdateSuggestionRequest.md +1 -1
- package/spellbook-client/docs/VariantSuggestion.md +4 -4
- package/spellbook-client/docs/VariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/VariantUpdateSuggestion.md +2 -2
- package/spellbook-client/docs/VariantUpdateSuggestionRequest.md +2 -2
- package/spellbook-client/docs/WebsiteProperty.md +1 -1
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +31 -101
- package/spellbook-client/models/CardDetail.ts +45 -115
- package/spellbook-client/models/CardInDeck.ts +1 -1
- package/spellbook-client/models/CardInDeckRequest.ts +1 -1
- package/spellbook-client/models/CardInVariant.ts +1 -1
- package/spellbook-client/models/CardLegalities.ts +1 -1
- package/spellbook-client/models/CardPrices.ts +1 -1
- package/spellbook-client/models/CardUsedInVariantSuggestion.ts +17 -45
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/ClassifiedCard.ts +1 -1
- package/spellbook-client/models/ClassifiedVariant.ts +1 -1
- package/spellbook-client/models/ColorEnum.ts +1 -1
- package/spellbook-client/models/Combo.ts +1 -1
- package/spellbook-client/models/Deck.ts +1 -1
- package/spellbook-client/models/DeckRequest.ts +1 -1
- package/spellbook-client/models/EstimateBracketResult.ts +1 -1
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +17 -45
- package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
- package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
- package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
- package/spellbook-client/models/KindEnum.ts +1 -1
- package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
- package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
- package/spellbook-client/models/PaginatedSaltVoteList.ts +1 -1
- package/spellbook-client/models/PaginatedTemplateList.ts +1 -1
- package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +9 -23
- package/spellbook-client/models/ProducedManaEnum.ts +1 -1
- package/spellbook-client/models/QueryExplanation.ts +1 -1
- package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
- package/spellbook-client/models/SaltVote.ts +1 -1
- package/spellbook-client/models/SaltVoteRequest.ts +1 -1
- package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/Template.ts +1 -1
- package/spellbook-client/models/TemplateInVariant.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +17 -45
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/TokenObtainPair.ts +1 -1
- package/spellbook-client/models/TokenObtainPairRequest.ts +1 -1
- package/spellbook-client/models/TokenRefresh.ts +1 -1
- package/spellbook-client/models/TokenRefreshRequest.ts +1 -1
- package/spellbook-client/models/TokenVerifyRequest.ts +1 -1
- package/spellbook-client/models/User.ts +1 -1
- package/spellbook-client/models/UserDetail.ts +1 -1
- package/spellbook-client/models/UserDetailRequest.ts +1 -1
- package/spellbook-client/models/UserRequest.ts +1 -1
- package/spellbook-client/models/Variant.ts +1 -1
- package/spellbook-client/models/VariantAlias.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestion.ts +5 -13
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +5 -13
- package/spellbook-client/models/VariantLegalities.ts +1 -1
- package/spellbook-client/models/VariantPrices.ts +1 -1
- package/spellbook-client/models/VariantStatusEnum.ts +1 -1
- package/spellbook-client/models/VariantSuggestion.ts +17 -45
- package/spellbook-client/models/VariantSuggestionRequest.ts +17 -45
- package/spellbook-client/models/VariantUpdateSuggestion.ts +9 -23
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +9 -23
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +5 -13
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +0 -21
- package/spellbook-client/runtime.ts +47 -58
- package/dist/models/BattlefieldStartingCardState.d.ts +0 -21
- package/dist/models/BattlefieldStartingCardState.js +0 -44
- package/dist/models/BattlefieldStartingCardState.js.map +0 -1
- package/dist/models/ExileStartingCardState.d.ts +0 -21
- package/dist/models/ExileStartingCardState.js +0 -44
- package/dist/models/ExileStartingCardState.js.map +0 -1
- package/dist/models/GraveyardStartingCardState.d.ts +0 -21
- package/dist/models/GraveyardStartingCardState.js +0 -44
- package/dist/models/GraveyardStartingCardState.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +0 -44
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheCardArtCrop.d.ts +0 -21
- package/dist/models/ImageURIOfTheCardArtCrop.js +0 -44
- package/dist/models/ImageURIOfTheCardArtCrop.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js.map +0 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +0 -21
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +0 -44
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js.map +0 -1
- package/dist/models/LibraryStartingCardState.d.ts +0 -21
- package/dist/models/LibraryStartingCardState.js +0 -44
- package/dist/models/LibraryStartingCardState.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestComment.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestComment.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js.map +0 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +0 -21
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +0 -44
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js.map +0 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +0 -21
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +0 -44
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js.map +0 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +0 -21
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js +0 -44
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js.map +0 -1
- package/dist/models/WebsitePropertyValue.d.ts +0 -21
- package/dist/models/WebsitePropertyValue.js +0 -44
- package/dist/models/WebsitePropertyValue.js.map +0 -1
- package/spellbook-client/docs/BattlefieldStartingCardState.md +0 -33
- package/spellbook-client/docs/ExileStartingCardState.md +0 -33
- package/spellbook-client/docs/GraveyardStartingCardState.md +0 -33
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardArtCrop.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInLargeFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInNormalFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInPNGFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInSmallFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheCardArtCrop.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInLargeFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInNormalFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInPNGFormat.md +0 -32
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInSmallFormat.md +0 -32
- package/spellbook-client/docs/LibraryStartingCardState.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestComment.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestEasyPrerequisites.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestManaNeeded.md +0 -33
- package/spellbook-client/docs/PatchedVariantSuggestionRequestNotablePrerequisites.md +0 -33
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequestSolution.md +0 -33
- package/spellbook-client/docs/VariantInVariantUpdateSuggestionIssue.md +0 -33
- package/spellbook-client/docs/WebsitePropertyValue.md +0 -33
- package/spellbook-client/models/BattlefieldStartingCardState.ts +0 -56
- package/spellbook-client/models/ExileStartingCardState.ts +0 -56
- package/spellbook-client/models/GraveyardStartingCardState.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +0 -56
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +0 -56
- package/spellbook-client/models/LibraryStartingCardState.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +0 -56
- package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +0 -56
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +0 -56
- package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +0 -56
- package/spellbook-client/models/WebsitePropertyValue.ts +0 -56
|
@@ -10,12 +10,12 @@ Name | Type
|
|
|
10
10
|
`requires` | [Array<TemplateRequiredInVariantSuggestionRequest>](TemplateRequiredInVariantSuggestionRequest.md)
|
|
11
11
|
`produces` | [Array<FeatureProducedInVariantSuggestionRequest>](FeatureProducedInVariantSuggestionRequest.md)
|
|
12
12
|
`variantOf` | string
|
|
13
|
-
`manaNeeded` |
|
|
14
|
-
`easyPrerequisites` |
|
|
15
|
-
`notablePrerequisites` |
|
|
13
|
+
`manaNeeded` | string
|
|
14
|
+
`easyPrerequisites` | string
|
|
15
|
+
`notablePrerequisites` | string
|
|
16
16
|
`description` | string
|
|
17
17
|
`spoiler` | boolean
|
|
18
|
-
`comment` |
|
|
18
|
+
`comment` | string
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -9,8 +9,8 @@ Name | Type
|
|
|
9
9
|
`kind` | [KindEnum](KindEnum.md)
|
|
10
10
|
`variants` | [Array<VariantInVariantUpdateSuggestionRequest>](VariantInVariantUpdateSuggestionRequest.md)
|
|
11
11
|
`issue` | string
|
|
12
|
-
`solution` |
|
|
13
|
-
`comment` |
|
|
12
|
+
`solution` | string
|
|
13
|
+
`comment` | string
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -10,10 +10,10 @@ Name | Type
|
|
|
10
10
|
`quantity` | number
|
|
11
11
|
`scryfallQuery` | string
|
|
12
12
|
`zoneLocations` | [Array<ZoneLocationsEnum>](ZoneLocationsEnum.md)
|
|
13
|
-
`battlefieldCardState` |
|
|
14
|
-
`exileCardState` |
|
|
15
|
-
`libraryCardState` |
|
|
16
|
-
`graveyardCardState` |
|
|
13
|
+
`battlefieldCardState` | string
|
|
14
|
+
`exileCardState` | string
|
|
15
|
+
`libraryCardState` | string
|
|
16
|
+
`graveyardCardState` | string
|
|
17
17
|
`mustBeCommander` | boolean
|
|
18
18
|
|
|
19
19
|
## Example
|
|
@@ -10,10 +10,10 @@ Name | Type
|
|
|
10
10
|
`quantity` | number
|
|
11
11
|
`scryfallQuery` | string
|
|
12
12
|
`zoneLocations` | [Array<ZoneLocationsEnum>](ZoneLocationsEnum.md)
|
|
13
|
-
`battlefieldCardState` |
|
|
14
|
-
`exileCardState` |
|
|
15
|
-
`libraryCardState` |
|
|
16
|
-
`graveyardCardState` |
|
|
13
|
+
`battlefieldCardState` | string
|
|
14
|
+
`exileCardState` | string
|
|
15
|
+
`libraryCardState` | string
|
|
16
|
+
`graveyardCardState` | string
|
|
17
17
|
`mustBeCommander` | boolean
|
|
18
18
|
|
|
19
19
|
## Example
|
|
@@ -12,12 +12,12 @@ Name | Type
|
|
|
12
12
|
`requires` | [Array<TemplateRequiredInVariantSuggestion>](TemplateRequiredInVariantSuggestion.md)
|
|
13
13
|
`produces` | [Array<FeatureProducedInVariantSuggestion>](FeatureProducedInVariantSuggestion.md)
|
|
14
14
|
`variantOf` | string
|
|
15
|
-
`manaNeeded` |
|
|
16
|
-
`easyPrerequisites` |
|
|
17
|
-
`notablePrerequisites` |
|
|
15
|
+
`manaNeeded` | string
|
|
16
|
+
`easyPrerequisites` | string
|
|
17
|
+
`notablePrerequisites` | string
|
|
18
18
|
`description` | string
|
|
19
19
|
`spoiler` | boolean
|
|
20
|
-
`comment` |
|
|
20
|
+
`comment` | string
|
|
21
21
|
`suggestedBy` | [User](User.md)
|
|
22
22
|
`created` | Date
|
|
23
23
|
|
|
@@ -10,12 +10,12 @@ Name | Type
|
|
|
10
10
|
`requires` | [Array<TemplateRequiredInVariantSuggestionRequest>](TemplateRequiredInVariantSuggestionRequest.md)
|
|
11
11
|
`produces` | [Array<FeatureProducedInVariantSuggestionRequest>](FeatureProducedInVariantSuggestionRequest.md)
|
|
12
12
|
`variantOf` | string
|
|
13
|
-
`manaNeeded` |
|
|
14
|
-
`easyPrerequisites` |
|
|
15
|
-
`notablePrerequisites` |
|
|
13
|
+
`manaNeeded` | string
|
|
14
|
+
`easyPrerequisites` | string
|
|
15
|
+
`notablePrerequisites` | string
|
|
16
16
|
`description` | string
|
|
17
17
|
`spoiler` | boolean
|
|
18
|
-
`comment` |
|
|
18
|
+
`comment` | string
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -11,8 +11,8 @@ Name | Type
|
|
|
11
11
|
`kind` | [KindEnum](KindEnum.md)
|
|
12
12
|
`variants` | [Array<VariantInVariantUpdateSuggestion>](VariantInVariantUpdateSuggestion.md)
|
|
13
13
|
`issue` | string
|
|
14
|
-
`solution` |
|
|
15
|
-
`comment` |
|
|
14
|
+
`solution` | string
|
|
15
|
+
`comment` | string
|
|
16
16
|
`suggestedBy` | [User](User.md)
|
|
17
17
|
`created` | Date
|
|
18
18
|
|
|
@@ -9,8 +9,8 @@ Name | Type
|
|
|
9
9
|
`kind` | [KindEnum](KindEnum.md)
|
|
10
10
|
`variants` | [Array<VariantInVariantUpdateSuggestionRequest>](VariantInVariantUpdateSuggestionRequest.md)
|
|
11
11
|
`issue` | string
|
|
12
|
-
`solution` |
|
|
13
|
-
`comment` |
|
|
12
|
+
`solution` | string
|
|
13
|
+
`comment` | string
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.2
|
|
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: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,76 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type { ImageURIOfTheBackOfTheCardInPNGFormat } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
17
|
-
import {
|
|
18
|
-
ImageURIOfTheBackOfTheCardInPNGFormatFromJSON,
|
|
19
|
-
ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped,
|
|
20
|
-
ImageURIOfTheBackOfTheCardInPNGFormatToJSON,
|
|
21
|
-
ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped,
|
|
22
|
-
} from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
23
|
-
import type { ImageURIOfTheFrontOfTheCardInLargeFormat } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
24
|
-
import {
|
|
25
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON,
|
|
26
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped,
|
|
27
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatToJSON,
|
|
28
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped,
|
|
29
|
-
} from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
30
|
-
import type { ImageURIOfTheFrontOfTheCardInPNGFormat } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
31
|
-
import {
|
|
32
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON,
|
|
33
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped,
|
|
34
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatToJSON,
|
|
35
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped,
|
|
36
|
-
} from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
37
|
-
import type { ImageURIOfTheBackOfTheCardArtCrop } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
38
|
-
import {
|
|
39
|
-
ImageURIOfTheBackOfTheCardArtCropFromJSON,
|
|
40
|
-
ImageURIOfTheBackOfTheCardArtCropFromJSONTyped,
|
|
41
|
-
ImageURIOfTheBackOfTheCardArtCropToJSON,
|
|
42
|
-
ImageURIOfTheBackOfTheCardArtCropToJSONTyped,
|
|
43
|
-
} from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
44
|
-
import type { ImageURIOfTheBackOfTheCardInLargeFormat } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
45
|
-
import {
|
|
46
|
-
ImageURIOfTheBackOfTheCardInLargeFormatFromJSON,
|
|
47
|
-
ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped,
|
|
48
|
-
ImageURIOfTheBackOfTheCardInLargeFormatToJSON,
|
|
49
|
-
ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped,
|
|
50
|
-
} from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
51
|
-
import type { ImageURIOfTheFrontOfTheCardInNormalFormat } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
52
|
-
import {
|
|
53
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON,
|
|
54
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped,
|
|
55
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatToJSON,
|
|
56
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped,
|
|
57
|
-
} from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
58
|
-
import type { ImageURIOfTheFrontOfTheCardInSmallFormat } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
59
|
-
import {
|
|
60
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON,
|
|
61
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped,
|
|
62
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatToJSON,
|
|
63
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped,
|
|
64
|
-
} from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
65
|
-
import type { ImageURIOfTheBackOfTheCardInSmallFormat } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
66
|
-
import {
|
|
67
|
-
ImageURIOfTheBackOfTheCardInSmallFormatFromJSON,
|
|
68
|
-
ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped,
|
|
69
|
-
ImageURIOfTheBackOfTheCardInSmallFormatToJSON,
|
|
70
|
-
ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped,
|
|
71
|
-
} from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
72
|
-
import type { ImageURIOfTheBackOfTheCardInNormalFormat } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
73
|
-
import {
|
|
74
|
-
ImageURIOfTheBackOfTheCardInNormalFormatFromJSON,
|
|
75
|
-
ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped,
|
|
76
|
-
ImageURIOfTheBackOfTheCardInNormalFormatToJSON,
|
|
77
|
-
ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped,
|
|
78
|
-
} from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
79
|
-
import type { ImageURIOfTheCardArtCrop } from './ImageURIOfTheCardArtCrop.js';
|
|
80
|
-
import {
|
|
81
|
-
ImageURIOfTheCardArtCropFromJSON,
|
|
82
|
-
ImageURIOfTheCardArtCropFromJSONTyped,
|
|
83
|
-
ImageURIOfTheCardArtCropToJSON,
|
|
84
|
-
ImageURIOfTheCardArtCropToJSONTyped,
|
|
85
|
-
} from './ImageURIOfTheCardArtCrop.js';
|
|
86
16
|
import type { LayoutRotationEnum } from './LayoutRotationEnum.js';
|
|
87
17
|
import {
|
|
88
18
|
LayoutRotationEnumFromJSON,
|
|
@@ -124,23 +54,23 @@ export interface Card {
|
|
|
124
54
|
/**
|
|
125
55
|
*
|
|
126
56
|
*/
|
|
127
|
-
imageUriFrontPng:
|
|
57
|
+
imageUriFrontPng: string | null;
|
|
128
58
|
/**
|
|
129
59
|
*
|
|
130
60
|
*/
|
|
131
|
-
imageUriFrontLarge:
|
|
61
|
+
imageUriFrontLarge: string | null;
|
|
132
62
|
/**
|
|
133
63
|
*
|
|
134
64
|
*/
|
|
135
|
-
imageUriFrontNormal:
|
|
65
|
+
imageUriFrontNormal: string | null;
|
|
136
66
|
/**
|
|
137
67
|
*
|
|
138
68
|
*/
|
|
139
|
-
imageUriFrontSmall:
|
|
69
|
+
imageUriFrontSmall: string | null;
|
|
140
70
|
/**
|
|
141
71
|
*
|
|
142
72
|
*/
|
|
143
|
-
imageUriFrontArtCrop:
|
|
73
|
+
imageUriFrontArtCrop: string | null;
|
|
144
74
|
/**
|
|
145
75
|
*
|
|
146
76
|
*/
|
|
@@ -148,23 +78,23 @@ export interface Card {
|
|
|
148
78
|
/**
|
|
149
79
|
*
|
|
150
80
|
*/
|
|
151
|
-
imageUriBackPng:
|
|
81
|
+
imageUriBackPng: string | null;
|
|
152
82
|
/**
|
|
153
83
|
*
|
|
154
84
|
*/
|
|
155
|
-
imageUriBackLarge:
|
|
85
|
+
imageUriBackLarge: string | null;
|
|
156
86
|
/**
|
|
157
87
|
*
|
|
158
88
|
*/
|
|
159
|
-
imageUriBackNormal:
|
|
89
|
+
imageUriBackNormal: string | null;
|
|
160
90
|
/**
|
|
161
91
|
*
|
|
162
92
|
*/
|
|
163
|
-
imageUriBackSmall:
|
|
93
|
+
imageUriBackSmall: string | null;
|
|
164
94
|
/**
|
|
165
95
|
*
|
|
166
96
|
*/
|
|
167
|
-
imageUriBackArtCrop:
|
|
97
|
+
imageUriBackArtCrop: string | null;
|
|
168
98
|
}
|
|
169
99
|
|
|
170
100
|
|
|
@@ -209,17 +139,17 @@ export function CardFromJSONTyped(json: any, ignoreDiscriminator: boolean): Card
|
|
|
209
139
|
'spoiler': json['spoiler'],
|
|
210
140
|
'faces': json['faces'],
|
|
211
141
|
'typeLine': json['typeLine'],
|
|
212
|
-
'imageUriFrontPng':
|
|
213
|
-
'imageUriFrontLarge':
|
|
214
|
-
'imageUriFrontNormal':
|
|
215
|
-
'imageUriFrontSmall':
|
|
216
|
-
'imageUriFrontArtCrop':
|
|
142
|
+
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
143
|
+
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
144
|
+
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
145
|
+
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
146
|
+
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
217
147
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
218
|
-
'imageUriBackPng':
|
|
219
|
-
'imageUriBackLarge':
|
|
220
|
-
'imageUriBackNormal':
|
|
221
|
-
'imageUriBackSmall':
|
|
222
|
-
'imageUriBackArtCrop':
|
|
148
|
+
'imageUriBackPng': json['imageUriBackPng'],
|
|
149
|
+
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
150
|
+
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
151
|
+
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
152
|
+
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
223
153
|
};
|
|
224
154
|
}
|
|
225
155
|
|
|
@@ -239,17 +169,17 @@ export function CardToJSONTyped(value?: Omit<Card, 'id'> | null, ignoreDiscrimin
|
|
|
239
169
|
'spoiler': value['spoiler'],
|
|
240
170
|
'faces': value['faces'],
|
|
241
171
|
'typeLine': value['typeLine'],
|
|
242
|
-
'imageUriFrontPng':
|
|
243
|
-
'imageUriFrontLarge':
|
|
244
|
-
'imageUriFrontNormal':
|
|
245
|
-
'imageUriFrontSmall':
|
|
246
|
-
'imageUriFrontArtCrop':
|
|
172
|
+
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
173
|
+
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
174
|
+
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
175
|
+
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
176
|
+
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
247
177
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
248
|
-
'imageUriBackPng':
|
|
249
|
-
'imageUriBackLarge':
|
|
250
|
-
'imageUriBackNormal':
|
|
251
|
-
'imageUriBackSmall':
|
|
252
|
-
'imageUriBackArtCrop':
|
|
178
|
+
'imageUriBackPng': value['imageUriBackPng'],
|
|
179
|
+
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
180
|
+
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
181
|
+
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
182
|
+
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
253
183
|
};
|
|
254
184
|
}
|
|
255
185
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,48 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type { ImageURIOfTheFrontOfTheCardInLargeFormat } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
17
|
-
import {
|
|
18
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON,
|
|
19
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped,
|
|
20
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatToJSON,
|
|
21
|
-
ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped,
|
|
22
|
-
} from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
23
|
-
import type { ImageURIOfTheFrontOfTheCardInPNGFormat } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
24
|
-
import {
|
|
25
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON,
|
|
26
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped,
|
|
27
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatToJSON,
|
|
28
|
-
ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped,
|
|
29
|
-
} from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
30
|
-
import type { ImageURIOfTheBackOfTheCardInLargeFormat } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
31
|
-
import {
|
|
32
|
-
ImageURIOfTheBackOfTheCardInLargeFormatFromJSON,
|
|
33
|
-
ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped,
|
|
34
|
-
ImageURIOfTheBackOfTheCardInLargeFormatToJSON,
|
|
35
|
-
ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped,
|
|
36
|
-
} from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
37
|
-
import type { CardLegalities } from './CardLegalities.js';
|
|
38
|
-
import {
|
|
39
|
-
CardLegalitiesFromJSON,
|
|
40
|
-
CardLegalitiesFromJSONTyped,
|
|
41
|
-
CardLegalitiesToJSON,
|
|
42
|
-
CardLegalitiesToJSONTyped,
|
|
43
|
-
} from './CardLegalities.js';
|
|
44
|
-
import type { CardPrices } from './CardPrices.js';
|
|
45
|
-
import {
|
|
46
|
-
CardPricesFromJSON,
|
|
47
|
-
CardPricesFromJSONTyped,
|
|
48
|
-
CardPricesToJSON,
|
|
49
|
-
CardPricesToJSONTyped,
|
|
50
|
-
} from './CardPrices.js';
|
|
51
|
-
import type { ImageURIOfTheBackOfTheCardInPNGFormat } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
52
|
-
import {
|
|
53
|
-
ImageURIOfTheBackOfTheCardInPNGFormatFromJSON,
|
|
54
|
-
ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped,
|
|
55
|
-
ImageURIOfTheBackOfTheCardInPNGFormatToJSON,
|
|
56
|
-
ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped,
|
|
57
|
-
} from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
58
16
|
import type { ProducedManaEnum } from './ProducedManaEnum.js';
|
|
59
17
|
import {
|
|
60
18
|
ProducedManaEnumFromJSON,
|
|
@@ -62,48 +20,6 @@ import {
|
|
|
62
20
|
ProducedManaEnumToJSON,
|
|
63
21
|
ProducedManaEnumToJSONTyped,
|
|
64
22
|
} from './ProducedManaEnum.js';
|
|
65
|
-
import type { ImageURIOfTheBackOfTheCardArtCrop } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
66
|
-
import {
|
|
67
|
-
ImageURIOfTheBackOfTheCardArtCropFromJSON,
|
|
68
|
-
ImageURIOfTheBackOfTheCardArtCropFromJSONTyped,
|
|
69
|
-
ImageURIOfTheBackOfTheCardArtCropToJSON,
|
|
70
|
-
ImageURIOfTheBackOfTheCardArtCropToJSONTyped,
|
|
71
|
-
} from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
72
|
-
import type { ImageURIOfTheFrontOfTheCardInNormalFormat } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
73
|
-
import {
|
|
74
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON,
|
|
75
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped,
|
|
76
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatToJSON,
|
|
77
|
-
ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped,
|
|
78
|
-
} from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
79
|
-
import type { ImageURIOfTheFrontOfTheCardInSmallFormat } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
80
|
-
import {
|
|
81
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON,
|
|
82
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped,
|
|
83
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatToJSON,
|
|
84
|
-
ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped,
|
|
85
|
-
} from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
86
|
-
import type { ImageURIOfTheBackOfTheCardInSmallFormat } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
87
|
-
import {
|
|
88
|
-
ImageURIOfTheBackOfTheCardInSmallFormatFromJSON,
|
|
89
|
-
ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped,
|
|
90
|
-
ImageURIOfTheBackOfTheCardInSmallFormatToJSON,
|
|
91
|
-
ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped,
|
|
92
|
-
} from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
93
|
-
import type { ImageURIOfTheBackOfTheCardInNormalFormat } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
94
|
-
import {
|
|
95
|
-
ImageURIOfTheBackOfTheCardInNormalFormatFromJSON,
|
|
96
|
-
ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped,
|
|
97
|
-
ImageURIOfTheBackOfTheCardInNormalFormatToJSON,
|
|
98
|
-
ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped,
|
|
99
|
-
} from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
100
|
-
import type { ImageURIOfTheCardArtCrop } from './ImageURIOfTheCardArtCrop.js';
|
|
101
|
-
import {
|
|
102
|
-
ImageURIOfTheCardArtCropFromJSON,
|
|
103
|
-
ImageURIOfTheCardArtCropFromJSONTyped,
|
|
104
|
-
ImageURIOfTheCardArtCropToJSON,
|
|
105
|
-
ImageURIOfTheCardArtCropToJSONTyped,
|
|
106
|
-
} from './ImageURIOfTheCardArtCrop.js';
|
|
107
23
|
import type { ColorEnum } from './ColorEnum.js';
|
|
108
24
|
import {
|
|
109
25
|
ColorEnumFromJSON,
|
|
@@ -125,6 +41,20 @@ import {
|
|
|
125
41
|
LayoutRotationEnumToJSON,
|
|
126
42
|
LayoutRotationEnumToJSONTyped,
|
|
127
43
|
} from './LayoutRotationEnum.js';
|
|
44
|
+
import type { CardLegalities } from './CardLegalities.js';
|
|
45
|
+
import {
|
|
46
|
+
CardLegalitiesFromJSON,
|
|
47
|
+
CardLegalitiesFromJSONTyped,
|
|
48
|
+
CardLegalitiesToJSON,
|
|
49
|
+
CardLegalitiesToJSONTyped,
|
|
50
|
+
} from './CardLegalities.js';
|
|
51
|
+
import type { CardPrices } from './CardPrices.js';
|
|
52
|
+
import {
|
|
53
|
+
CardPricesFromJSON,
|
|
54
|
+
CardPricesFromJSONTyped,
|
|
55
|
+
CardPricesToJSON,
|
|
56
|
+
CardPricesToJSONTyped,
|
|
57
|
+
} from './CardPrices.js';
|
|
128
58
|
|
|
129
59
|
/**
|
|
130
60
|
*
|
|
@@ -247,23 +177,23 @@ export interface CardDetail {
|
|
|
247
177
|
/**
|
|
248
178
|
*
|
|
249
179
|
*/
|
|
250
|
-
imageUriFrontPng:
|
|
180
|
+
imageUriFrontPng: string | null;
|
|
251
181
|
/**
|
|
252
182
|
*
|
|
253
183
|
*/
|
|
254
|
-
imageUriFrontLarge:
|
|
184
|
+
imageUriFrontLarge: string | null;
|
|
255
185
|
/**
|
|
256
186
|
*
|
|
257
187
|
*/
|
|
258
|
-
imageUriFrontNormal:
|
|
188
|
+
imageUriFrontNormal: string | null;
|
|
259
189
|
/**
|
|
260
190
|
*
|
|
261
191
|
*/
|
|
262
|
-
imageUriFrontSmall:
|
|
192
|
+
imageUriFrontSmall: string | null;
|
|
263
193
|
/**
|
|
264
194
|
*
|
|
265
195
|
*/
|
|
266
|
-
imageUriFrontArtCrop:
|
|
196
|
+
imageUriFrontArtCrop: string | null;
|
|
267
197
|
/**
|
|
268
198
|
*
|
|
269
199
|
*/
|
|
@@ -271,23 +201,23 @@ export interface CardDetail {
|
|
|
271
201
|
/**
|
|
272
202
|
*
|
|
273
203
|
*/
|
|
274
|
-
imageUriBackPng:
|
|
204
|
+
imageUriBackPng: string | null;
|
|
275
205
|
/**
|
|
276
206
|
*
|
|
277
207
|
*/
|
|
278
|
-
imageUriBackLarge:
|
|
208
|
+
imageUriBackLarge: string | null;
|
|
279
209
|
/**
|
|
280
210
|
*
|
|
281
211
|
*/
|
|
282
|
-
imageUriBackNormal:
|
|
212
|
+
imageUriBackNormal: string | null;
|
|
283
213
|
/**
|
|
284
214
|
*
|
|
285
215
|
*/
|
|
286
|
-
imageUriBackSmall:
|
|
216
|
+
imageUriBackSmall: string | null;
|
|
287
217
|
/**
|
|
288
218
|
*
|
|
289
219
|
*/
|
|
290
|
-
imageUriBackArtCrop:
|
|
220
|
+
imageUriBackArtCrop: string | null;
|
|
291
221
|
/**
|
|
292
222
|
*
|
|
293
223
|
*/
|
|
@@ -391,17 +321,17 @@ export function CardDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
391
321
|
'tutor': json['tutor'],
|
|
392
322
|
'massLandDenial': json['massLandDenial'],
|
|
393
323
|
'extraTurn': json['extraTurn'],
|
|
394
|
-
'imageUriFrontPng':
|
|
395
|
-
'imageUriFrontLarge':
|
|
396
|
-
'imageUriFrontNormal':
|
|
397
|
-
'imageUriFrontSmall':
|
|
398
|
-
'imageUriFrontArtCrop':
|
|
324
|
+
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
325
|
+
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
326
|
+
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
327
|
+
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
328
|
+
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
399
329
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
400
|
-
'imageUriBackPng':
|
|
401
|
-
'imageUriBackLarge':
|
|
402
|
-
'imageUriBackNormal':
|
|
403
|
-
'imageUriBackSmall':
|
|
404
|
-
'imageUriBackArtCrop':
|
|
330
|
+
'imageUriBackPng': json['imageUriBackPng'],
|
|
331
|
+
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
332
|
+
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
333
|
+
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
334
|
+
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
405
335
|
'features': ((json['features'] as Array<any>).map(FeatureOfCardFromJSON)),
|
|
406
336
|
'legalities': CardLegalitiesFromJSON(json['legalities']),
|
|
407
337
|
'prices': CardPricesFromJSON(json['prices']),
|
|
@@ -445,17 +375,17 @@ export function CardDetailToJSONTyped(value?: Omit<CardDetail, 'id'|'variantCoun
|
|
|
445
375
|
'tutor': value['tutor'],
|
|
446
376
|
'massLandDenial': value['massLandDenial'],
|
|
447
377
|
'extraTurn': value['extraTurn'],
|
|
448
|
-
'imageUriFrontPng':
|
|
449
|
-
'imageUriFrontLarge':
|
|
450
|
-
'imageUriFrontNormal':
|
|
451
|
-
'imageUriFrontSmall':
|
|
452
|
-
'imageUriFrontArtCrop':
|
|
378
|
+
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
379
|
+
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
380
|
+
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
381
|
+
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
382
|
+
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
453
383
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
454
|
-
'imageUriBackPng':
|
|
455
|
-
'imageUriBackLarge':
|
|
456
|
-
'imageUriBackNormal':
|
|
457
|
-
'imageUriBackSmall':
|
|
458
|
-
'imageUriBackArtCrop':
|
|
384
|
+
'imageUriBackPng': value['imageUriBackPng'],
|
|
385
|
+
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
386
|
+
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
387
|
+
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
388
|
+
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
459
389
|
};
|
|
460
390
|
}
|
|
461
391
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.2
|
|
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: 7.1.
|
|
7
|
+
* The version of the OpenAPI document: 7.1.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|