@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,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 ImageURIOfTheCardArtCrop
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheCardArtCrop = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheCardArtCropFromJSON(json: any): ImageURIOfTheCardArtCrop {
|
|
24
|
-
return ImageURIOfTheCardArtCropFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheCardArtCropFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheCardArtCrop {
|
|
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 ImageURIOfTheCardArtCropToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheCardArtCropToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheCardArtCropToJSONTyped(value?: ImageURIOfTheCardArtCrop | 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 ImageURIOfTheFrontOfTheCardInLargeFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheFrontOfTheCardInLargeFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON(json: any): ImageURIOfTheFrontOfTheCardInLargeFormat {
|
|
24
|
-
return ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheFrontOfTheCardInLargeFormat {
|
|
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 ImageURIOfTheFrontOfTheCardInLargeFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped(value?: ImageURIOfTheFrontOfTheCardInLargeFormat | 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 ImageURIOfTheFrontOfTheCardInNormalFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheFrontOfTheCardInNormalFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON(json: any): ImageURIOfTheFrontOfTheCardInNormalFormat {
|
|
24
|
-
return ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheFrontOfTheCardInNormalFormat {
|
|
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 ImageURIOfTheFrontOfTheCardInNormalFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped(value?: ImageURIOfTheFrontOfTheCardInNormalFormat | 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 ImageURIOfTheFrontOfTheCardInPNGFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheFrontOfTheCardInPNGFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON(json: any): ImageURIOfTheFrontOfTheCardInPNGFormat {
|
|
24
|
-
return ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheFrontOfTheCardInPNGFormat {
|
|
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 ImageURIOfTheFrontOfTheCardInPNGFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped(value?: ImageURIOfTheFrontOfTheCardInPNGFormat | 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 ImageURIOfTheFrontOfTheCardInSmallFormat
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type ImageURIOfTheFrontOfTheCardInSmallFormat = string;
|
|
22
|
-
|
|
23
|
-
export function ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON(json: any): ImageURIOfTheFrontOfTheCardInSmallFormat {
|
|
24
|
-
return ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageURIOfTheFrontOfTheCardInSmallFormat {
|
|
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 ImageURIOfTheFrontOfTheCardInSmallFormatToJSON(json: any): any {
|
|
41
|
-
return ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped(value?: ImageURIOfTheFrontOfTheCardInSmallFormat | 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 LibraryStartingCardState
|
|
18
|
-
* State of the card in the library, if present.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type LibraryStartingCardState = string;
|
|
22
|
-
|
|
23
|
-
export function LibraryStartingCardStateFromJSON(json: any): LibraryStartingCardState {
|
|
24
|
-
return LibraryStartingCardStateFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function LibraryStartingCardStateFromJSONTyped(json: any, ignoreDiscriminator: boolean): LibraryStartingCardState {
|
|
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 LibraryStartingCardStateToJSON(json: any): any {
|
|
41
|
-
return LibraryStartingCardStateToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function LibraryStartingCardStateToJSONTyped(value?: LibraryStartingCardState | 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 PatchedVariantSuggestionRequestComment
|
|
18
|
-
* Comment written by the user that suggested this
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type PatchedVariantSuggestionRequestComment = string;
|
|
22
|
-
|
|
23
|
-
export function PatchedVariantSuggestionRequestCommentFromJSON(json: any): PatchedVariantSuggestionRequestComment {
|
|
24
|
-
return PatchedVariantSuggestionRequestCommentFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function PatchedVariantSuggestionRequestCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestComment {
|
|
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 PatchedVariantSuggestionRequestCommentToJSON(json: any): any {
|
|
41
|
-
return PatchedVariantSuggestionRequestCommentToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PatchedVariantSuggestionRequestCommentToJSONTyped(value?: PatchedVariantSuggestionRequestComment | 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 PatchedVariantSuggestionRequestEasyPrerequisites
|
|
18
|
-
* Easily achievable prerequisites for this combo.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type PatchedVariantSuggestionRequestEasyPrerequisites = string;
|
|
22
|
-
|
|
23
|
-
export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestEasyPrerequisites {
|
|
24
|
-
return PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestEasyPrerequisites {
|
|
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 PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(json: any): any {
|
|
41
|
-
return PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestEasyPrerequisites | 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 PatchedVariantSuggestionRequestManaNeeded
|
|
18
|
-
* Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type PatchedVariantSuggestionRequestManaNeeded = string;
|
|
22
|
-
|
|
23
|
-
export function PatchedVariantSuggestionRequestManaNeededFromJSON(json: any): PatchedVariantSuggestionRequestManaNeeded {
|
|
24
|
-
return PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestManaNeeded {
|
|
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 PatchedVariantSuggestionRequestManaNeededToJSON(json: any): any {
|
|
41
|
-
return PatchedVariantSuggestionRequestManaNeededToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PatchedVariantSuggestionRequestManaNeededToJSONTyped(value?: PatchedVariantSuggestionRequestManaNeeded | 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 PatchedVariantSuggestionRequestNotablePrerequisites
|
|
18
|
-
* Notable prerequisites for this combo.
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type PatchedVariantSuggestionRequestNotablePrerequisites = string;
|
|
22
|
-
|
|
23
|
-
export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestNotablePrerequisites {
|
|
24
|
-
return PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestNotablePrerequisites {
|
|
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 PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(json: any): any {
|
|
41
|
-
return PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestNotablePrerequisites | 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 PatchedVariantUpdateSuggestionRequestSolution
|
|
18
|
-
* Description of the solution
|
|
19
|
-
* @export
|
|
20
|
-
*/
|
|
21
|
-
export type PatchedVariantUpdateSuggestionRequestSolution = string;
|
|
22
|
-
|
|
23
|
-
export function PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json: any): PatchedVariantUpdateSuggestionRequestSolution {
|
|
24
|
-
return PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export function PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantUpdateSuggestionRequestSolution {
|
|
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 PatchedVariantUpdateSuggestionRequestSolutionToJSON(json: any): any {
|
|
41
|
-
return PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(value?: PatchedVariantUpdateSuggestionRequestSolution | 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
|
-
|