@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
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PatchedVariantSuggestionRequestManaNeeded
|
|
3
|
-
|
|
4
|
-
Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { PatchedVariantSuggestionRequestManaNeeded } from ''
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies PatchedVariantSuggestionRequestManaNeeded
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as PatchedVariantSuggestionRequestManaNeeded
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PatchedVariantSuggestionRequestNotablePrerequisites
|
|
3
|
-
|
|
4
|
-
Notable prerequisites for this combo.
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { PatchedVariantSuggestionRequestNotablePrerequisites } from ''
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies PatchedVariantSuggestionRequestNotablePrerequisites
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as PatchedVariantSuggestionRequestNotablePrerequisites
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PatchedVariantUpdateSuggestionRequestSolution
|
|
3
|
-
|
|
4
|
-
Description of the solution
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { PatchedVariantUpdateSuggestionRequestSolution } from ''
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies PatchedVariantUpdateSuggestionRequestSolution
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as PatchedVariantUpdateSuggestionRequestSolution
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# VariantInVariantUpdateSuggestionIssue
|
|
3
|
-
|
|
4
|
-
Description of the issue specific for this variant
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { VariantInVariantUpdateSuggestionIssue } from ''
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies VariantInVariantUpdateSuggestionIssue
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as VariantInVariantUpdateSuggestionIssue
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# WebsitePropertyValue
|
|
3
|
-
|
|
4
|
-
Comma-separated list of values
|
|
5
|
-
|
|
6
|
-
## Properties
|
|
7
|
-
|
|
8
|
-
Name | Type
|
|
9
|
-
------------ | -------------
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { WebsitePropertyValue } from ''
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
} satisfies WebsitePropertyValue
|
|
19
|
-
|
|
20
|
-
console.log(example)
|
|
21
|
-
|
|
22
|
-
// Convert the instance to a JSON string
|
|
23
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
-
console.log(exampleJSON)
|
|
25
|
-
|
|
26
|
-
// Parse the JSON string back to an object
|
|
27
|
-
const exampleParsed = JSON.parse(exampleJSON) as WebsitePropertyValue
|
|
28
|
-
console.log(exampleParsed)
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type BattlefieldStartingCardState
|
|
18
|
-
* State of the card on the battlefield, if present.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type BattlefieldStartingCardState = string;
|
|
22
|
-
|
|
23
|
-
export function BattlefieldStartingCardStateFromJSON(json: any): BattlefieldStartingCardState {
|
|
24
|
-
return BattlefieldStartingCardStateFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function BattlefieldStartingCardStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): BattlefieldStartingCardState {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function BattlefieldStartingCardStateToJSON(json: any): any {
|
|
41
|
-
return BattlefieldStartingCardStateToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function BattlefieldStartingCardStateToJSONTyped(value?: BattlefieldStartingCardState | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ExileStartingCardState
|
|
18
|
-
* State of the card in exile, if present.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ExileStartingCardState = string;
|
|
22
|
-
|
|
23
|
-
export function ExileStartingCardStateFromJSON(json: any): ExileStartingCardState {
|
|
24
|
-
return ExileStartingCardStateFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ExileStartingCardStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExileStartingCardState {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ExileStartingCardStateToJSON(json: any): any {
|
|
41
|
-
return ExileStartingCardStateToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ExileStartingCardStateToJSONTyped(value?: ExileStartingCardState | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type GraveyardStartingCardState
|
|
18
|
-
* State of the card in the graveyard, if present.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type GraveyardStartingCardState = string;
|
|
22
|
-
|
|
23
|
-
export function GraveyardStartingCardStateFromJSON(json: any): GraveyardStartingCardState {
|
|
24
|
-
return GraveyardStartingCardStateFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function GraveyardStartingCardStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): GraveyardStartingCardState {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function GraveyardStartingCardStateToJSON(json: any): any {
|
|
41
|
-
return GraveyardStartingCardStateToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function GraveyardStartingCardStateToJSONTyped(value?: GraveyardStartingCardState | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ImageURIOfTheBackOfTheCardArtCrop
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheBackOfTheCardArtCrop = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheBackOfTheCardArtCropFromJSON(json: any): ImageURIOfTheBackOfTheCardArtCrop {
|
|
24
|
-
return ImageURIOfTheBackOfTheCardArtCropFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheBackOfTheCardArtCropFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardArtCrop {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ImageURIOfTheBackOfTheCardArtCropToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheBackOfTheCardArtCropToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheBackOfTheCardArtCropToJSONTyped(value?: ImageURIOfTheBackOfTheCardArtCrop | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ImageURIOfTheBackOfTheCardInLargeFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheBackOfTheCardInLargeFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheBackOfTheCardInLargeFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInLargeFormat {
|
|
24
|
-
return ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInLargeFormat {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ImageURIOfTheBackOfTheCardInLargeFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInLargeFormat | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ImageURIOfTheBackOfTheCardInNormalFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheBackOfTheCardInNormalFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheBackOfTheCardInNormalFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInNormalFormat {
|
|
24
|
-
return ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInNormalFormat {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ImageURIOfTheBackOfTheCardInNormalFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInNormalFormat | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ImageURIOfTheBackOfTheCardInPNGFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheBackOfTheCardInPNGFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheBackOfTheCardInPNGFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInPNGFormat {
|
|
24
|
-
return ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInPNGFormat {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ImageURIOfTheBackOfTheCardInPNGFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInPNGFormat | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
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
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 7.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime.js';
|
|
16
|
-
/**
|
|
17
|
-
* @type ImageURIOfTheBackOfTheCardInSmallFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheBackOfTheCardInSmallFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheBackOfTheCardInSmallFormatFromJSON(json: any): ImageURIOfTheBackOfTheCardInSmallFormat {
|
|
24
|
-
return ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheBackOfTheCardInSmallFormat {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (typeof json === 'string') {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
if (typeof json === 'string') {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {} as any;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function ImageURIOfTheBackOfTheCardInSmallFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped(value?: ImageURIOfTheBackOfTheCardInSmallFormat | null, ignoreDiscriminator: boolean = false): any {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
if (typeof value === 'string') {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value === 'string') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
|