@space-cow-media/spellbook-client 6.5.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +7 -7
- package/dist/apis/CardsApi.js +4 -4
- package/dist/apis/CardsApi.js.map +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 +2 -2
- 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/TemplatesApi.d.ts +5 -5
- package/dist/apis/TemplatesApi.js +4 -4
- package/dist/apis/TemplatesApi.js.map +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/BattlefieldStartingCardState.d.ts +1 -1
- package/dist/models/BattlefieldStartingCardState.js +1 -1
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +1 -1
- package/dist/models/Card.js +1 -1
- package/dist/models/CardDetail.d.ts +37 -1
- package/dist/models/CardDetail.js +37 -1
- 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 +1 -1
- package/dist/models/CardUsedInVariantSuggestion.js +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.js +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 -6
- package/dist/models/EstimateBracketResult.js +1 -6
- package/dist/models/EstimateBracketResult.js.map +1 -1
- package/dist/models/ExileStartingCardState.d.ts +1 -1
- package/dist/models/ExileStartingCardState.js +1 -1
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/FeatureOfCard.d.ts +1 -1
- package/dist/models/FeatureOfCard.js +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/GraveyardStartingCardState.d.ts +1 -1
- package/dist/models/GraveyardStartingCardState.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +1 -1
- package/dist/models/ImageURIOfTheCardArtCrop.d.ts +1 -1
- package/dist/models/ImageURIOfTheCardArtCrop.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.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/LibraryStartingCardState.d.ts +1 -1
- package/dist/models/LibraryStartingCardState.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/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 +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.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/SuggestionStatusEnum.d.ts +1 -1
- package/dist/models/SuggestionStatusEnum.js +1 -1
- package/dist/models/Template.d.ts +3 -1
- package/dist/models/Template.js +1 -1
- package/dist/models/Template.js.map +1 -1
- package/dist/models/TemplateInVariant.d.ts +1 -1
- package/dist/models/TemplateInVariant.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +3 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +3 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +1 -1
- 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 +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +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 +1 -1
- package/dist/models/VariantSuggestion.js +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantSuggestionRequest.js +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/VariantsQueryValidationError.d.ts +1 -1
- package/dist/models/VariantsQueryValidationError.js +1 -1
- package/dist/models/WebsiteProperty.d.ts +1 -1
- package/dist/models/WebsiteProperty.js +1 -1
- package/dist/models/WebsitePropertyValue.d.ts +1 -1
- package/dist/models/WebsitePropertyValue.js +1 -1
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +16 -2
- package/dist/runtime.js +81 -2
- 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 +11 -11
- 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 +2 -2
- package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
- package/spellbook-client/apis/PropertiesApi.ts +1 -1
- package/spellbook-client/apis/TemplatesApi.ts +9 -9
- 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/CardDetail.md +18 -0
- package/spellbook-client/docs/CardsApi.md +7 -7
- package/spellbook-client/docs/EstimateBracketResult.md +0 -2
- package/spellbook-client/docs/FeaturesApi.md +2 -2
- package/spellbook-client/docs/TemplatesApi.md +4 -4
- package/spellbook-client/models/BattlefieldStartingCardState.ts +1 -1
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +1 -1
- package/spellbook-client/models/CardDetail.ts +64 -1
- 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 +1 -1
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +1 -1
- 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 -15
- package/spellbook-client/models/ExileStartingCardState.ts +1 -1
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +1 -1
- 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/GraveyardStartingCardState.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.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/LibraryStartingCardState.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/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 +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +1 -1
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +1 -1
- package/spellbook-client/models/QueryExplanation.ts +1 -1
- package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
- package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/Template.ts +3 -1
- package/spellbook-client/models/TemplateInVariant.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +3 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +3 -1
- 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 +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +1 -1
- 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 +1 -1
- package/spellbook-client/models/VariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestion.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +1 -1
- package/spellbook-client/models/WebsitePropertyValue.ts +1 -1
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +0 -1
- package/spellbook-client/runtime.ts +81 -3
- package/dist/models/ClassifiedTemplate.d.ts +0 -43
- package/dist/models/ClassifiedTemplate.js +0 -57
- package/dist/models/ClassifiedTemplate.js.map +0 -1
- package/spellbook-client/docs/ClassifiedTemplate.md +0 -40
- package/spellbook-client/models/ClassifiedTemplate.ts +0 -93
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,10 @@ export interface CardsListRequest {
|
|
|
33
33
|
* Number of results to return per page.
|
|
34
34
|
*/
|
|
35
35
|
limit?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
matchedBy?: Array<number>;
|
|
36
40
|
/**
|
|
37
41
|
* The initial index from which to return the results.
|
|
38
42
|
*/
|
|
@@ -45,17 +49,13 @@ export interface CardsListRequest {
|
|
|
45
49
|
* A search query.
|
|
46
50
|
*/
|
|
47
51
|
q?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
replaces?: Array<number>;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export interface CardsRetrieveRequest {
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* The number of a curated card, or the Scryfall Oracle ID of any card.
|
|
57
57
|
*/
|
|
58
|
-
id:
|
|
58
|
+
id: string;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
@@ -77,6 +77,10 @@ export class CardsApi extends runtime.BaseAPI {
|
|
|
77
77
|
queryParameters['limit'] = requestParameters['limit'];
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
if (requestParameters['matchedBy'] != null) {
|
|
81
|
+
queryParameters['matchedBy'] = requestParameters['matchedBy'];
|
|
82
|
+
}
|
|
83
|
+
|
|
80
84
|
if (requestParameters['offset'] != null) {
|
|
81
85
|
queryParameters['offset'] = requestParameters['offset'];
|
|
82
86
|
}
|
|
@@ -89,10 +93,6 @@ export class CardsApi extends runtime.BaseAPI {
|
|
|
89
93
|
queryParameters['q'] = requestParameters['q'];
|
|
90
94
|
}
|
|
91
95
|
|
|
92
|
-
if (requestParameters['replaces'] != null) {
|
|
93
|
-
queryParameters['replaces'] = requestParameters['replaces'];
|
|
94
|
-
}
|
|
95
|
-
|
|
96
96
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
97
97
|
|
|
98
98
|
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
|
|
27
27
|
export interface FeaturesListRequest {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Filters for the features produced by the cards with the given numbers.
|
|
30
30
|
*/
|
|
31
31
|
cards?: Array<number>;
|
|
32
32
|
/**
|
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,10 @@ export interface TemplatesListRequest {
|
|
|
33
33
|
* Number of results to return per page.
|
|
34
34
|
*/
|
|
35
35
|
limit?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Filters for the templates standing for the given cards. The number of a curated card, or the Scryfall Oracle ID of any card.
|
|
38
|
+
*/
|
|
39
|
+
matches?: Array<string>;
|
|
36
40
|
/**
|
|
37
41
|
* The initial index from which to return the results.
|
|
38
42
|
*/
|
|
@@ -41,10 +45,6 @@ export interface TemplatesListRequest {
|
|
|
41
45
|
* A search query.
|
|
42
46
|
*/
|
|
43
47
|
q?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
replacements?: Array<number>;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export interface TemplatesRetrieveRequest {
|
|
@@ -73,6 +73,10 @@ export class TemplatesApi extends runtime.BaseAPI {
|
|
|
73
73
|
queryParameters['limit'] = requestParameters['limit'];
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
if (requestParameters['matches'] != null) {
|
|
77
|
+
queryParameters['matches'] = requestParameters['matches'];
|
|
78
|
+
}
|
|
79
|
+
|
|
76
80
|
if (requestParameters['offset'] != null) {
|
|
77
81
|
queryParameters['offset'] = requestParameters['offset'];
|
|
78
82
|
}
|
|
@@ -81,10 +85,6 @@ export class TemplatesApi extends runtime.BaseAPI {
|
|
|
81
85
|
queryParameters['q'] = requestParameters['q'];
|
|
82
86
|
}
|
|
83
87
|
|
|
84
|
-
if (requestParameters['replacements'] != null) {
|
|
85
|
-
queryParameters['replacements'] = requestParameters['replacements'];
|
|
86
|
-
}
|
|
87
|
-
|
|
88
88
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
89
89
|
|
|
90
90
|
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,6 +18,15 @@ Name | Type
|
|
|
18
18
|
`oracleText` | string
|
|
19
19
|
`keywords` | any
|
|
20
20
|
`manaValue` | number
|
|
21
|
+
`manaCost` | string
|
|
22
|
+
`power` | string
|
|
23
|
+
`toughness` | string
|
|
24
|
+
`loyalty` | string
|
|
25
|
+
`powerValue` | number
|
|
26
|
+
`toughnessValue` | number
|
|
27
|
+
`loyaltyValue` | number
|
|
28
|
+
`layout` | string
|
|
29
|
+
`producedMana` | any
|
|
21
30
|
`reserved` | boolean
|
|
22
31
|
`latestPrintingSet` | string
|
|
23
32
|
`reprinted` | boolean
|
|
@@ -59,6 +68,15 @@ const example = {
|
|
|
59
68
|
"oracleText": null,
|
|
60
69
|
"keywords": null,
|
|
61
70
|
"manaValue": null,
|
|
71
|
+
"manaCost": null,
|
|
72
|
+
"power": null,
|
|
73
|
+
"toughness": null,
|
|
74
|
+
"loyalty": null,
|
|
75
|
+
"powerValue": null,
|
|
76
|
+
"toughnessValue": null,
|
|
77
|
+
"loyaltyValue": null,
|
|
78
|
+
"layout": null,
|
|
79
|
+
"producedMana": null,
|
|
62
80
|
"reserved": null,
|
|
63
81
|
"latestPrintingSet": null,
|
|
64
82
|
"reprinted": null,
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|
|
12
12
|
## cardsList
|
|
13
13
|
|
|
14
|
-
> PaginatedCardDetailList cardsList(count, limit, offset, ordering, q
|
|
14
|
+
> PaginatedCardDetailList cardsList(count, limit, matchedBy, offset, ordering, q)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -42,14 +42,14 @@ async function example() {
|
|
|
42
42
|
count: true,
|
|
43
43
|
// number | Number of results to return per page. (optional)
|
|
44
44
|
limit: 56,
|
|
45
|
+
// Array<number> (optional)
|
|
46
|
+
matchedBy: ...,
|
|
45
47
|
// number | The initial index from which to return the results. (optional)
|
|
46
48
|
offset: 56,
|
|
47
49
|
// string | Which field to use when ordering the results. (optional)
|
|
48
50
|
ordering: ordering_example,
|
|
49
51
|
// string | A search query. (optional)
|
|
50
52
|
q: q_example,
|
|
51
|
-
// Array<number> (optional)
|
|
52
|
-
replaces: ...,
|
|
53
53
|
} satisfies CardsListRequest;
|
|
54
54
|
|
|
55
55
|
try {
|
|
@@ -71,10 +71,10 @@ example().catch(console.error);
|
|
|
71
71
|
|------------- | ------------- | ------------- | -------------|
|
|
72
72
|
| **count** | `boolean` | Set to true to enable count query. If false, count will be omitted. | [Optional] [Defaults to `false`] |
|
|
73
73
|
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
74
|
+
| **matchedBy** | `Array<number>` | | [Optional] |
|
|
74
75
|
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
75
76
|
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
76
77
|
| **q** | `string` | A search query. | [Optional] [Defaults to `undefined`] |
|
|
77
|
-
| **replaces** | `Array<number>` | | [Optional] |
|
|
78
78
|
|
|
79
79
|
### Return type
|
|
80
80
|
|
|
@@ -127,8 +127,8 @@ async function example() {
|
|
|
127
127
|
const api = new CardsApi(config);
|
|
128
128
|
|
|
129
129
|
const body = {
|
|
130
|
-
//
|
|
131
|
-
id:
|
|
130
|
+
// string | The number of a curated card, or the Scryfall Oracle ID of any card.
|
|
131
|
+
id: id_example,
|
|
132
132
|
} satisfies CardsRetrieveRequest;
|
|
133
133
|
|
|
134
134
|
try {
|
|
@@ -148,7 +148,7 @@ example().catch(console.error);
|
|
|
148
148
|
|
|
149
149
|
| Name | Type | Description | Notes |
|
|
150
150
|
|------------- | ------------- | ------------- | -------------|
|
|
151
|
-
| **id** | `
|
|
151
|
+
| **id** | `string` | The number of a curated card, or the Scryfall Oracle ID of any card. | [Defaults to `undefined`] |
|
|
152
152
|
|
|
153
153
|
### Return type
|
|
154
154
|
|
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`bracketTag` | [BracketTagEnum](BracketTagEnum.md)
|
|
10
10
|
`cards` | [Array<ClassifiedCard>](ClassifiedCard.md)
|
|
11
|
-
`templates` | [Array<ClassifiedTemplate>](ClassifiedTemplate.md)
|
|
12
11
|
`combos` | [Array<ClassifiedVariant>](ClassifiedVariant.md)
|
|
13
12
|
|
|
14
13
|
## Example
|
|
@@ -20,7 +19,6 @@ import type { EstimateBracketResult } from ''
|
|
|
20
19
|
const example = {
|
|
21
20
|
"bracketTag": null,
|
|
22
21
|
"cards": null,
|
|
23
|
-
"templates": null,
|
|
24
22
|
"combos": null,
|
|
25
23
|
} satisfies EstimateBracketResult
|
|
26
24
|
|
|
@@ -38,7 +38,7 @@ async function example() {
|
|
|
38
38
|
const api = new FeaturesApi(config);
|
|
39
39
|
|
|
40
40
|
const body = {
|
|
41
|
-
// Array<number> (optional)
|
|
41
|
+
// Array<number> | Filters for the features produced by the cards with the given numbers. (optional)
|
|
42
42
|
cards: ...,
|
|
43
43
|
// boolean | Set to true to enable count query. If false, count will be omitted. (optional)
|
|
44
44
|
count: true,
|
|
@@ -69,7 +69,7 @@ example().catch(console.error);
|
|
|
69
69
|
|
|
70
70
|
| Name | Type | Description | Notes |
|
|
71
71
|
|------------- | ------------- | ------------- | -------------|
|
|
72
|
-
| **cards** | `Array<number>` |
|
|
72
|
+
| **cards** | `Array<number>` | Filters for the features produced by the cards with the given numbers. | [Optional] |
|
|
73
73
|
| **count** | `boolean` | Set to true to enable count query. If false, count will be omitted. | [Optional] [Defaults to `false`] |
|
|
74
74
|
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
75
75
|
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
@@ -11,7 +11,7 @@ All URIs are relative to *http://localhost*
|
|
|
11
11
|
|
|
12
12
|
## templatesList
|
|
13
13
|
|
|
14
|
-
> PaginatedTemplateList templatesList(count, limit, offset, q
|
|
14
|
+
> PaginatedTemplateList templatesList(count, limit, matches, offset, q)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -42,12 +42,12 @@ async function example() {
|
|
|
42
42
|
count: true,
|
|
43
43
|
// number | Number of results to return per page. (optional)
|
|
44
44
|
limit: 56,
|
|
45
|
+
// Array<string> | Filters for the templates standing for the given cards. The number of a curated card, or the Scryfall Oracle ID of any card. (optional)
|
|
46
|
+
matches: ...,
|
|
45
47
|
// number | The initial index from which to return the results. (optional)
|
|
46
48
|
offset: 56,
|
|
47
49
|
// string | A search query. (optional)
|
|
48
50
|
q: q_example,
|
|
49
|
-
// Array<number> (optional)
|
|
50
|
-
replacements: ...,
|
|
51
51
|
} satisfies TemplatesListRequest;
|
|
52
52
|
|
|
53
53
|
try {
|
|
@@ -69,9 +69,9 @@ example().catch(console.error);
|
|
|
69
69
|
|------------- | ------------- | ------------- | -------------|
|
|
70
70
|
| **count** | `boolean` | Set to true to enable count query. If false, count will be omitted. | [Optional] [Defaults to `false`] |
|
|
71
71
|
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
72
|
+
| **matches** | `Array<string>` | Filters for the templates standing for the given cards. The number of a curated card, or the Scryfall Oracle ID of any card. | [Optional] |
|
|
72
73
|
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
73
74
|
| **q** | `string` | A search query. | [Optional] [Defaults to `undefined`] |
|
|
74
|
-
| **replacements** | `Array<number>` | | [Optional] |
|
|
75
75
|
|
|
76
76
|
### Return type
|
|
77
77
|
|
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -173,6 +173,42 @@ export interface CardDetail {
|
|
|
173
173
|
*
|
|
174
174
|
*/
|
|
175
175
|
manaValue: number;
|
|
176
|
+
/**
|
|
177
|
+
* Mana cost of the card, in the {1}{W}{U} format
|
|
178
|
+
*/
|
|
179
|
+
manaCost: string;
|
|
180
|
+
/**
|
|
181
|
+
* Power of the card, which can be a value such as * or 1+*
|
|
182
|
+
*/
|
|
183
|
+
power: string;
|
|
184
|
+
/**
|
|
185
|
+
* Toughness of the card, which can be a value such as * or 1+*
|
|
186
|
+
*/
|
|
187
|
+
toughness: string;
|
|
188
|
+
/**
|
|
189
|
+
* Starting loyalty of the card, which can be a value such as X
|
|
190
|
+
*/
|
|
191
|
+
loyalty: string;
|
|
192
|
+
/**
|
|
193
|
+
* Power as a number, when it is one, so that a search can compare it
|
|
194
|
+
*/
|
|
195
|
+
powerValue: number | null;
|
|
196
|
+
/**
|
|
197
|
+
* Toughness as a number, when it is one, so that a search can compare it
|
|
198
|
+
*/
|
|
199
|
+
toughnessValue: number | null;
|
|
200
|
+
/**
|
|
201
|
+
* Loyalty as a number, when it is one, so that a search can compare it
|
|
202
|
+
*/
|
|
203
|
+
loyaltyValue: number | null;
|
|
204
|
+
/**
|
|
205
|
+
* Scryfall layout of the card, such as normal, transform or adventure
|
|
206
|
+
*/
|
|
207
|
+
layout: string;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
*/
|
|
211
|
+
producedMana: any | null;
|
|
176
212
|
/**
|
|
177
213
|
* Whether this card is part of the Reserved List
|
|
178
214
|
*/
|
|
@@ -277,6 +313,15 @@ export function instanceOfCardDetail(value: object): value is CardDetail {
|
|
|
277
313
|
if (!('oracleText' in value) || value['oracleText'] === undefined) return false;
|
|
278
314
|
if (!('keywords' in value) || value['keywords'] === undefined) return false;
|
|
279
315
|
if (!('manaValue' in value) || value['manaValue'] === undefined) return false;
|
|
316
|
+
if (!('manaCost' in value) || value['manaCost'] === undefined) return false;
|
|
317
|
+
if (!('power' in value) || value['power'] === undefined) return false;
|
|
318
|
+
if (!('toughness' in value) || value['toughness'] === undefined) return false;
|
|
319
|
+
if (!('loyalty' in value) || value['loyalty'] === undefined) return false;
|
|
320
|
+
if (!('powerValue' in value) || value['powerValue'] === undefined) return false;
|
|
321
|
+
if (!('toughnessValue' in value) || value['toughnessValue'] === undefined) return false;
|
|
322
|
+
if (!('loyaltyValue' in value) || value['loyaltyValue'] === undefined) return false;
|
|
323
|
+
if (!('layout' in value) || value['layout'] === undefined) return false;
|
|
324
|
+
if (!('producedMana' in value) || value['producedMana'] === undefined) return false;
|
|
280
325
|
if (!('reserved' in value) || value['reserved'] === undefined) return false;
|
|
281
326
|
if (!('latestPrintingSet' in value) || value['latestPrintingSet'] === undefined) return false;
|
|
282
327
|
if (!('reprinted' in value) || value['reprinted'] === undefined) return false;
|
|
@@ -323,6 +368,15 @@ export function CardDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
323
368
|
'oracleText': json['oracleText'],
|
|
324
369
|
'keywords': json['keywords'],
|
|
325
370
|
'manaValue': json['manaValue'],
|
|
371
|
+
'manaCost': json['manaCost'],
|
|
372
|
+
'power': json['power'],
|
|
373
|
+
'toughness': json['toughness'],
|
|
374
|
+
'loyalty': json['loyalty'],
|
|
375
|
+
'powerValue': json['powerValue'],
|
|
376
|
+
'toughnessValue': json['toughnessValue'],
|
|
377
|
+
'loyaltyValue': json['loyaltyValue'],
|
|
378
|
+
'layout': json['layout'],
|
|
379
|
+
'producedMana': json['producedMana'],
|
|
326
380
|
'reserved': json['reserved'],
|
|
327
381
|
'latestPrintingSet': json['latestPrintingSet'],
|
|
328
382
|
'reprinted': json['reprinted'],
|
|
@@ -368,6 +422,15 @@ export function CardDetailToJSONTyped(value?: Omit<CardDetail, 'id'|'variantCoun
|
|
|
368
422
|
'oracleText': value['oracleText'],
|
|
369
423
|
'keywords': value['keywords'],
|
|
370
424
|
'manaValue': value['manaValue'],
|
|
425
|
+
'manaCost': value['manaCost'],
|
|
426
|
+
'power': value['power'],
|
|
427
|
+
'toughness': value['toughness'],
|
|
428
|
+
'loyalty': value['loyalty'],
|
|
429
|
+
'powerValue': value['powerValue'],
|
|
430
|
+
'toughnessValue': value['toughnessValue'],
|
|
431
|
+
'loyaltyValue': value['loyaltyValue'],
|
|
432
|
+
'layout': value['layout'],
|
|
433
|
+
'producedMana': value['producedMana'],
|
|
371
434
|
'reserved': value['reserved'],
|
|
372
435
|
'latestPrintingSet': value['latestPrintingSet'],
|
|
373
436
|
'reprinted': value['reprinted'],
|
|
@@ -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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## 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
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|