@space-cow-media/spellbook-client 5.5.3 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/CardListFromTextApi.d.ts +1 -1
- package/dist/apis/CardListFromTextApi.js +1 -1
- package/dist/apis/CardListFromTextApi.js.map +1 -1
- package/dist/apis/CardListFromUrlApi.d.ts +1 -1
- package/dist/apis/CardListFromUrlApi.js +1 -1
- package/dist/apis/CardListFromUrlApi.js.map +1 -1
- package/dist/apis/CardsApi.d.ts +1 -1
- package/dist/apis/CardsApi.js +1 -1
- package/dist/apis/CardsApi.js.map +1 -1
- package/dist/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/apis/EstimateBracketApi.d.ts +1 -1
- package/dist/apis/EstimateBracketApi.js +1 -1
- package/dist/apis/EstimateBracketApi.js.map +1 -1
- package/dist/apis/FeaturesApi.d.ts +1 -1
- package/dist/apis/FeaturesApi.js +1 -1
- package/dist/apis/FeaturesApi.js.map +1 -1
- package/dist/apis/FindMyCombosApi.d.ts +1 -1
- package/dist/apis/FindMyCombosApi.js +1 -1
- package/dist/apis/FindMyCombosApi.js.map +1 -1
- package/dist/apis/PropertiesApi.d.ts +1 -1
- package/dist/apis/PropertiesApi.js +1 -1
- package/dist/apis/PropertiesApi.js.map +1 -1
- package/dist/apis/TemplatesApi.d.ts +1 -1
- package/dist/apis/TemplatesApi.js +1 -1
- package/dist/apis/TemplatesApi.js.map +1 -1
- package/dist/apis/TokenApi.d.ts +1 -1
- package/dist/apis/TokenApi.js +1 -1
- package/dist/apis/TokenApi.js.map +1 -1
- package/dist/apis/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/UsersApi.js.map +1 -1
- package/dist/apis/VariantAliasesApi.d.ts +1 -1
- package/dist/apis/VariantAliasesApi.js +1 -1
- package/dist/apis/VariantAliasesApi.js.map +1 -1
- package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantSuggestionsApi.js +1 -1
- package/dist/apis/VariantSuggestionsApi.js.map +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js.map +1 -1
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +1 -1
- package/dist/apis/VariantsApi.js.map +1 -1
- package/dist/models/BattlefieldStartingCardState.d.ts +21 -0
- package/dist/models/BattlefieldStartingCardState.js +44 -0
- package/dist/models/BattlefieldStartingCardState.js.map +1 -0
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +31 -21
- package/dist/models/Card.js +31 -21
- package/dist/models/Card.js.map +1 -1
- package/dist/models/CardDetail.d.ts +33 -23
- package/dist/models/CardDetail.js +33 -23
- 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/CardInDeck.js.map +1 -1
- package/dist/models/CardInDeckRequest.d.ts +1 -1
- package/dist/models/CardInDeckRequest.js +1 -1
- package/dist/models/CardInDeckRequest.js.map +1 -1
- package/dist/models/CardInVariant.d.ts +1 -1
- package/dist/models/CardInVariant.js +1 -1
- package/dist/models/CardInVariant.js.map +1 -1
- package/dist/models/CardLegalities.d.ts +1 -1
- package/dist/models/CardLegalities.js +1 -1
- package/dist/models/CardLegalities.js.map +1 -1
- package/dist/models/CardPrices.d.ts +1 -1
- package/dist/models/CardPrices.js +1 -1
- package/dist/models/CardPrices.js.map +1 -1
- package/dist/models/CardUsedInVariantSuggestion.d.ts +17 -13
- package/dist/models/CardUsedInVariantSuggestion.js +13 -9
- package/dist/models/CardUsedInVariantSuggestion.js.map +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +17 -13
- package/dist/models/CardUsedInVariantSuggestionRequest.js +13 -9
- 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/ClassifiedCard.js.map +1 -1
- package/dist/models/ClassifiedTemplate.d.ts +1 -1
- package/dist/models/ClassifiedTemplate.js +1 -1
- package/dist/models/ClassifiedTemplate.js.map +1 -1
- package/dist/models/ClassifiedVariant.d.ts +1 -1
- package/dist/models/ClassifiedVariant.js +1 -1
- package/dist/models/ClassifiedVariant.js.map +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/Combo.js.map +1 -1
- package/dist/models/Deck.d.ts +1 -1
- package/dist/models/Deck.js +1 -1
- package/dist/models/Deck.js.map +1 -1
- package/dist/models/DeckRequest.d.ts +1 -1
- package/dist/models/DeckRequest.js +1 -1
- package/dist/models/DeckRequest.js.map +1 -1
- package/dist/models/EstimateBracketResult.d.ts +1 -1
- package/dist/models/EstimateBracketResult.js +1 -1
- package/dist/models/EstimateBracketResult.js.map +1 -1
- package/dist/models/ExileStartingCardState.d.ts +21 -0
- package/dist/models/ExileStartingCardState.js +44 -0
- package/dist/models/ExileStartingCardState.js.map +1 -0
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/Feature.js.map +1 -1
- package/dist/models/FeatureOfCard.d.ts +17 -13
- package/dist/models/FeatureOfCard.js +13 -9
- 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/FeatureProducedByVariant.js.map +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.js.map +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.js.map +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/FindMyCombosResponse.js.map +1 -1
- package/dist/models/GraveyardStartingCardState.d.ts +21 -0
- package/dist/models/GraveyardStartingCardState.js +44 -0
- package/dist/models/GraveyardStartingCardState.js.map +1 -0
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +21 -0
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +44 -0
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js.map +1 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +44 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +44 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +44 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +44 -0
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheCardArtCrop.d.ts +21 -0
- package/dist/models/ImageURIOfTheCardArtCrop.js +44 -0
- package/dist/models/ImageURIOfTheCardArtCrop.js.map +1 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +44 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +44 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +44 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js.map +1 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +21 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +44 -0
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js.map +1 -0
- package/dist/models/InvalidUrlResponse.d.ts +1 -1
- package/dist/models/InvalidUrlResponse.js +1 -1
- package/dist/models/InvalidUrlResponse.js.map +1 -1
- package/dist/models/KindEnum.d.ts +1 -1
- package/dist/models/KindEnum.js +1 -1
- package/dist/models/LayoutRotationEnum.d.ts +1 -1
- package/dist/models/LayoutRotationEnum.js +1 -1
- package/dist/models/LibraryStartingCardState.d.ts +21 -0
- package/dist/models/LibraryStartingCardState.js +44 -0
- package/dist/models/LibraryStartingCardState.js.map +1 -0
- package/dist/models/PaginatedCardDetailList.d.ts +1 -1
- package/dist/models/PaginatedCardDetailList.js +1 -1
- package/dist/models/PaginatedCardDetailList.js.map +1 -1
- package/dist/models/PaginatedFeatureList.d.ts +1 -1
- package/dist/models/PaginatedFeatureList.js +1 -1
- package/dist/models/PaginatedFeatureList.js.map +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.js.map +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.js.map +1 -1
- package/dist/models/PaginatedTemplateList.d.ts +1 -1
- package/dist/models/PaginatedTemplateList.js +1 -1
- package/dist/models/PaginatedTemplateList.js.map +1 -1
- package/dist/models/PaginatedUserDetailList.d.ts +1 -1
- package/dist/models/PaginatedUserDetailList.js +1 -1
- package/dist/models/PaginatedUserDetailList.js.map +1 -1
- package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
- package/dist/models/PaginatedVariantAliasList.js +1 -1
- package/dist/models/PaginatedVariantAliasList.js.map +1 -1
- package/dist/models/PaginatedVariantList.d.ts +1 -1
- package/dist/models/PaginatedVariantList.js +1 -1
- package/dist/models/PaginatedVariantList.js.map +1 -1
- package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantSuggestionList.js +1 -1
- package/dist/models/PaginatedVariantSuggestionList.js.map +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.js.map +1 -1
- package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
- package/dist/models/PaginatedWebsitePropertyList.js +1 -1
- package/dist/models/PaginatedWebsitePropertyList.js.map +1 -1
- package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
- package/dist/models/PatchedUserDetailRequest.js +1 -1
- package/dist/models/PatchedUserDetailRequest.js.map +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.d.ts +17 -13
- package/dist/models/PatchedVariantSuggestionRequest.js +13 -9
- package/dist/models/PatchedVariantSuggestionRequest.js.map +1 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +21 -0
- package/dist/models/PatchedVariantSuggestionRequestComment.js +44 -0
- package/dist/models/PatchedVariantSuggestionRequestComment.js.map +1 -0
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +21 -0
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +44 -0
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js.map +1 -0
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +21 -0
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +44 -0
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js.map +1 -0
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +21 -0
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +44 -0
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js.map +1 -0
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +9 -7
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +7 -5
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js.map +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +21 -0
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +44 -0
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js.map +1 -0
- 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/Template.js.map +1 -1
- package/dist/models/TemplateInVariant.d.ts +1 -1
- package/dist/models/TemplateInVariant.js +1 -1
- package/dist/models/TemplateInVariant.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +17 -13
- package/dist/models/TemplateRequiredInVariantSuggestion.js +13 -9
- package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +17 -13
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +13 -9
- 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/TokenObtainPair.js.map +1 -1
- package/dist/models/TokenObtainPairRequest.d.ts +1 -1
- package/dist/models/TokenObtainPairRequest.js +1 -1
- package/dist/models/TokenObtainPairRequest.js.map +1 -1
- package/dist/models/TokenRefresh.d.ts +1 -1
- package/dist/models/TokenRefresh.js +1 -1
- package/dist/models/TokenRefresh.js.map +1 -1
- package/dist/models/TokenRefreshRequest.d.ts +1 -1
- package/dist/models/TokenRefreshRequest.js +1 -1
- package/dist/models/TokenRefreshRequest.js.map +1 -1
- package/dist/models/TokenVerifyRequest.d.ts +1 -1
- package/dist/models/TokenVerifyRequest.js +1 -1
- package/dist/models/TokenVerifyRequest.js.map +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/User.js.map +1 -1
- package/dist/models/UserDetail.d.ts +1 -1
- package/dist/models/UserDetail.js +1 -1
- package/dist/models/UserDetail.js.map +1 -1
- package/dist/models/UserDetailRequest.d.ts +1 -1
- package/dist/models/UserDetailRequest.js +1 -1
- package/dist/models/UserDetailRequest.js.map +1 -1
- package/dist/models/UserRequest.d.ts +1 -1
- package/dist/models/UserRequest.js +1 -1
- package/dist/models/UserRequest.js.map +1 -1
- package/dist/models/Variant.d.ts +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/Variant.js.map +1 -1
- package/dist/models/VariantAlias.d.ts +1 -1
- package/dist/models/VariantAlias.js +1 -1
- package/dist/models/VariantAlias.js.map +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.d.ts +5 -4
- package/dist/models/VariantInVariantUpdateSuggestion.js +4 -3
- package/dist/models/VariantInVariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +21 -0
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js +44 -0
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js.map +1 -0
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +5 -4
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +4 -3
- 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/VariantLegalities.js.map +1 -1
- package/dist/models/VariantPrices.d.ts +1 -1
- package/dist/models/VariantPrices.js +1 -1
- package/dist/models/VariantPrices.js.map +1 -1
- package/dist/models/VariantStatusEnum.d.ts +1 -1
- package/dist/models/VariantStatusEnum.js +1 -1
- package/dist/models/VariantSuggestion.d.ts +17 -13
- package/dist/models/VariantSuggestion.js +13 -9
- package/dist/models/VariantSuggestion.js.map +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +17 -13
- package/dist/models/VariantSuggestionRequest.js +13 -9
- package/dist/models/VariantSuggestionRequest.js.map +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +9 -7
- package/dist/models/VariantUpdateSuggestion.js +7 -5
- package/dist/models/VariantUpdateSuggestion.js.map +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +9 -7
- package/dist/models/VariantUpdateSuggestionRequest.js +7 -5
- 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/VariantsQueryValidationError.js.map +1 -1
- package/dist/models/WebsiteProperty.d.ts +5 -4
- package/dist/models/WebsiteProperty.js +4 -3
- package/dist/models/WebsiteProperty.js.map +1 -1
- package/dist/models/WebsitePropertyValue.d.ts +21 -0
- package/dist/models/WebsitePropertyValue.js +44 -0
- package/dist/models/WebsitePropertyValue.js.map +1 -0
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +2 -2
- 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/FeaturesApi.ts +1 -1
- package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
- package/spellbook-client/apis/PropertiesApi.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/BattlefieldStartingCardState.md +33 -0
- 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/ExileStartingCardState.md +33 -0
- package/spellbook-client/docs/FeatureOfCard.md +4 -4
- package/spellbook-client/docs/GraveyardStartingCardState.md +33 -0
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardArtCrop.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInLargeFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInNormalFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInPNGFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheBackOfTheCardInSmallFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheCardArtCrop.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInLargeFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInNormalFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInPNGFormat.md +32 -0
- package/spellbook-client/docs/ImageURIOfTheFrontOfTheCardInSmallFormat.md +32 -0
- package/spellbook-client/docs/LibraryStartingCardState.md +33 -0
- package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +4 -4
- package/spellbook-client/docs/PatchedVariantSuggestionRequestComment.md +33 -0
- package/spellbook-client/docs/PatchedVariantSuggestionRequestEasyPrerequisites.md +33 -0
- package/spellbook-client/docs/PatchedVariantSuggestionRequestManaNeeded.md +33 -0
- package/spellbook-client/docs/PatchedVariantSuggestionRequestNotablePrerequisites.md +33 -0
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +2 -2
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequestSolution.md +33 -0
- 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/VariantInVariantUpdateSuggestionIssue.md +33 -0
- 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/docs/WebsitePropertyValue.md +33 -0
- package/spellbook-client/models/BattlefieldStartingCardState.ts +55 -0
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +111 -41
- package/spellbook-client/models/CardDetail.ts +125 -55
- 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 +49 -21
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +49 -21
- package/spellbook-client/models/ClassifiedCard.ts +1 -1
- package/spellbook-client/models/ClassifiedTemplate.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/ExileStartingCardState.ts +55 -0
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +49 -21
- package/spellbook-client/models/FeatureProducedByVariant.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/FeatureProducedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/FeatureStatusEnum.ts +1 -1
- package/spellbook-client/models/FindMyCombosResponse.ts +1 -1
- package/spellbook-client/models/GraveyardStartingCardState.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +55 -0
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +55 -0
- package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
- package/spellbook-client/models/KindEnum.ts +1 -1
- package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
- package/spellbook-client/models/LibraryStartingCardState.ts +55 -0
- package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
- package/spellbook-client/models/PaginatedTemplateList.ts +1 -1
- package/spellbook-client/models/PaginatedUserDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantAliasList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedVariantUpdateSuggestionList.ts +1 -1
- package/spellbook-client/models/PaginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/PatchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequest.ts +49 -21
- package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +55 -0
- package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +55 -0
- package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +55 -0
- package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +55 -0
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +25 -11
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +55 -0
- 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 +49 -21
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +49 -21
- 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 +14 -6
- package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +55 -0
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +14 -6
- 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 +49 -21
- package/spellbook-client/models/VariantSuggestionRequest.ts +49 -21
- package/spellbook-client/models/VariantUpdateSuggestion.ts +25 -11
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +25 -11
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +14 -6
- package/spellbook-client/models/WebsitePropertyValue.ts +55 -0
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +21 -0
- package/spellbook-client/runtime.ts +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
17
|
+
import {
|
|
18
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON,
|
|
19
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped,
|
|
20
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSON,
|
|
21
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped,
|
|
22
|
+
} from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
16
23
|
import type { CardUsedInVariantSuggestionRequest } from './CardUsedInVariantSuggestionRequest.js';
|
|
17
24
|
import {
|
|
18
25
|
CardUsedInVariantSuggestionRequestFromJSON,
|
|
@@ -27,6 +34,27 @@ import {
|
|
|
27
34
|
FeatureProducedInVariantSuggestionRequestToJSON,
|
|
28
35
|
FeatureProducedInVariantSuggestionRequestToJSONTyped,
|
|
29
36
|
} from './FeatureProducedInVariantSuggestionRequest.js';
|
|
37
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
38
|
+
import {
|
|
39
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
40
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
41
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
42
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
43
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
44
|
+
import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
45
|
+
import {
|
|
46
|
+
PatchedVariantSuggestionRequestManaNeededFromJSON,
|
|
47
|
+
PatchedVariantSuggestionRequestManaNeededFromJSONTyped,
|
|
48
|
+
PatchedVariantSuggestionRequestManaNeededToJSON,
|
|
49
|
+
PatchedVariantSuggestionRequestManaNeededToJSONTyped,
|
|
50
|
+
} from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
51
|
+
import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
52
|
+
import {
|
|
53
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON,
|
|
54
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped,
|
|
55
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSON,
|
|
56
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped,
|
|
57
|
+
} from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
30
58
|
import type { TemplateRequiredInVariantSuggestionRequest } from './TemplateRequiredInVariantSuggestionRequest.js';
|
|
31
59
|
import {
|
|
32
60
|
TemplateRequiredInVariantSuggestionRequestFromJSON,
|
|
@@ -66,23 +94,23 @@ export interface PatchedVariantSuggestionRequest {
|
|
|
66
94
|
*/
|
|
67
95
|
variantOf?: string | null;
|
|
68
96
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {
|
|
97
|
+
*
|
|
98
|
+
* @type {PatchedVariantSuggestionRequestManaNeeded}
|
|
71
99
|
* @memberof PatchedVariantSuggestionRequest
|
|
72
100
|
*/
|
|
73
|
-
manaNeeded?:
|
|
101
|
+
manaNeeded?: PatchedVariantSuggestionRequestManaNeeded;
|
|
74
102
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {
|
|
103
|
+
*
|
|
104
|
+
* @type {PatchedVariantSuggestionRequestEasyPrerequisites}
|
|
77
105
|
* @memberof PatchedVariantSuggestionRequest
|
|
78
106
|
*/
|
|
79
|
-
easyPrerequisites?:
|
|
107
|
+
easyPrerequisites?: PatchedVariantSuggestionRequestEasyPrerequisites;
|
|
80
108
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {
|
|
109
|
+
*
|
|
110
|
+
* @type {PatchedVariantSuggestionRequestNotablePrerequisites}
|
|
83
111
|
* @memberof PatchedVariantSuggestionRequest
|
|
84
112
|
*/
|
|
85
|
-
notablePrerequisites?:
|
|
113
|
+
notablePrerequisites?: PatchedVariantSuggestionRequestNotablePrerequisites;
|
|
86
114
|
/**
|
|
87
115
|
* Long description, in steps
|
|
88
116
|
* @type {string}
|
|
@@ -96,11 +124,11 @@ export interface PatchedVariantSuggestionRequest {
|
|
|
96
124
|
*/
|
|
97
125
|
spoiler?: boolean;
|
|
98
126
|
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {
|
|
127
|
+
*
|
|
128
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
101
129
|
* @memberof PatchedVariantSuggestionRequest
|
|
102
130
|
*/
|
|
103
|
-
comment?:
|
|
131
|
+
comment?: PatchedVariantSuggestionRequestComment;
|
|
104
132
|
}
|
|
105
133
|
|
|
106
134
|
/**
|
|
@@ -124,12 +152,12 @@ export function PatchedVariantSuggestionRequestFromJSONTyped(json: any, ignoreDi
|
|
|
124
152
|
'requires': json['requires'] == null ? undefined : ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
|
|
125
153
|
'produces': json['produces'] == null ? undefined : ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestFromJSON)),
|
|
126
154
|
'variantOf': json['variantOf'] === undefined ? undefined : json['variantOf'] === null ? null : json['variantOf'],
|
|
127
|
-
'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
|
|
128
|
-
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
|
|
129
|
-
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
|
|
155
|
+
'manaNeeded': json['manaNeeded'] == null ? undefined : PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
|
|
156
|
+
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
|
|
157
|
+
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
|
|
130
158
|
'description': json['description'] == null ? undefined : json['description'],
|
|
131
159
|
'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
|
|
132
|
-
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
160
|
+
'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
133
161
|
};
|
|
134
162
|
}
|
|
135
163
|
|
|
@@ -148,12 +176,12 @@ export function PatchedVariantSuggestionRequestToJSONTyped(value?: PatchedVarian
|
|
|
148
176
|
'requires': value['requires'] == null ? undefined : ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestToJSON)),
|
|
149
177
|
'produces': value['produces'] == null ? undefined : ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestToJSON)),
|
|
150
178
|
'variantOf': value['variantOf'],
|
|
151
|
-
'manaNeeded': value['manaNeeded'],
|
|
152
|
-
'easyPrerequisites': value['easyPrerequisites'],
|
|
153
|
-
'notablePrerequisites': value['notablePrerequisites'],
|
|
179
|
+
'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
|
|
180
|
+
'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
|
|
181
|
+
'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
|
|
154
182
|
'description': value['description'],
|
|
155
183
|
'spoiler': value['spoiler'],
|
|
156
|
-
'comment': value['comment'],
|
|
184
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
157
185
|
};
|
|
158
186
|
}
|
|
159
187
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
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
|
+
/**
|
|
16
|
+
* @type PatchedVariantSuggestionRequestComment
|
|
17
|
+
* Comment written by the user that suggested this
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type PatchedVariantSuggestionRequestComment = string;
|
|
21
|
+
|
|
22
|
+
export function PatchedVariantSuggestionRequestCommentFromJSON(json: any): PatchedVariantSuggestionRequestComment {
|
|
23
|
+
return PatchedVariantSuggestionRequestCommentFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function PatchedVariantSuggestionRequestCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestComment {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'string') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json === 'string') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {} as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PatchedVariantSuggestionRequestCommentToJSON(json: any): any {
|
|
40
|
+
return PatchedVariantSuggestionRequestCommentToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PatchedVariantSuggestionRequestCommentToJSONTyped(value?: PatchedVariantSuggestionRequestComment | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value === 'string') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if (typeof value === 'string') {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
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
|
+
/**
|
|
16
|
+
* @type PatchedVariantSuggestionRequestEasyPrerequisites
|
|
17
|
+
* Easily achievable prerequisites for this combo.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type PatchedVariantSuggestionRequestEasyPrerequisites = string;
|
|
21
|
+
|
|
22
|
+
export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestEasyPrerequisites {
|
|
23
|
+
return PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestEasyPrerequisites {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'string') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json === 'string') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {} as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(json: any): any {
|
|
40
|
+
return PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestEasyPrerequisites | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value === 'string') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if (typeof value === 'string') {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
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
|
+
/**
|
|
16
|
+
* @type PatchedVariantSuggestionRequestManaNeeded
|
|
17
|
+
* Mana needed for this combo. Use the {1}{W}{U}{B}{R}{G}{B/P}... format.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type PatchedVariantSuggestionRequestManaNeeded = string;
|
|
21
|
+
|
|
22
|
+
export function PatchedVariantSuggestionRequestManaNeededFromJSON(json: any): PatchedVariantSuggestionRequestManaNeeded {
|
|
23
|
+
return PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function PatchedVariantSuggestionRequestManaNeededFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestManaNeeded {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'string') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json === 'string') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {} as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PatchedVariantSuggestionRequestManaNeededToJSON(json: any): any {
|
|
40
|
+
return PatchedVariantSuggestionRequestManaNeededToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PatchedVariantSuggestionRequestManaNeededToJSONTyped(value?: PatchedVariantSuggestionRequestManaNeeded | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value === 'string') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if (typeof value === 'string') {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
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
|
+
/**
|
|
16
|
+
* @type PatchedVariantSuggestionRequestNotablePrerequisites
|
|
17
|
+
* Notable prerequisites for this combo.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type PatchedVariantSuggestionRequestNotablePrerequisites = string;
|
|
21
|
+
|
|
22
|
+
export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json: any): PatchedVariantSuggestionRequestNotablePrerequisites {
|
|
23
|
+
return PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantSuggestionRequestNotablePrerequisites {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'string') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json === 'string') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {} as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(json: any): any {
|
|
40
|
+
return PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped(value?: PatchedVariantSuggestionRequestNotablePrerequisites | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value === 'string') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if (typeof value === 'string') {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,20 @@ import {
|
|
|
20
20
|
KindEnumToJSON,
|
|
21
21
|
KindEnumToJSONTyped,
|
|
22
22
|
} from './KindEnum.js';
|
|
23
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
24
|
+
import {
|
|
25
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
26
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
27
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
28
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
29
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
30
|
+
import type { PatchedVariantUpdateSuggestionRequestSolution } from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
31
|
+
import {
|
|
32
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSON,
|
|
33
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped,
|
|
34
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSON,
|
|
35
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped,
|
|
36
|
+
} from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
23
37
|
import type { VariantInVariantUpdateSuggestionRequest } from './VariantInVariantUpdateSuggestionRequest.js';
|
|
24
38
|
import {
|
|
25
39
|
VariantInVariantUpdateSuggestionRequestFromJSON,
|
|
@@ -61,17 +75,17 @@ export interface PatchedVariantUpdateSuggestionRequest {
|
|
|
61
75
|
*/
|
|
62
76
|
issue?: string;
|
|
63
77
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {
|
|
78
|
+
*
|
|
79
|
+
* @type {PatchedVariantUpdateSuggestionRequestSolution}
|
|
66
80
|
* @memberof PatchedVariantUpdateSuggestionRequest
|
|
67
81
|
*/
|
|
68
|
-
solution?:
|
|
82
|
+
solution?: PatchedVariantUpdateSuggestionRequestSolution;
|
|
69
83
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {
|
|
84
|
+
*
|
|
85
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
72
86
|
* @memberof PatchedVariantUpdateSuggestionRequest
|
|
73
87
|
*/
|
|
74
|
-
comment?:
|
|
88
|
+
comment?: PatchedVariantSuggestionRequestComment;
|
|
75
89
|
}
|
|
76
90
|
|
|
77
91
|
|
|
@@ -96,8 +110,8 @@ export function PatchedVariantUpdateSuggestionRequestFromJSONTyped(json: any, ig
|
|
|
96
110
|
'kind': json['kind'] == null ? undefined : KindEnumFromJSON(json['kind']),
|
|
97
111
|
'variants': json['variants'] == null ? undefined : ((json['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestFromJSON)),
|
|
98
112
|
'issue': json['issue'] == null ? undefined : json['issue'],
|
|
99
|
-
'solution': json['solution'] == null ? undefined : json['solution'],
|
|
100
|
-
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
113
|
+
'solution': json['solution'] == null ? undefined : PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json['solution']),
|
|
114
|
+
'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
101
115
|
};
|
|
102
116
|
}
|
|
103
117
|
|
|
@@ -115,8 +129,8 @@ export function PatchedVariantUpdateSuggestionRequestToJSONTyped(value?: Patched
|
|
|
115
129
|
'kind': KindEnumToJSON(value['kind']),
|
|
116
130
|
'variants': value['variants'] == null ? undefined : ((value['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestToJSON)),
|
|
117
131
|
'issue': value['issue'],
|
|
118
|
-
'solution': value['solution'],
|
|
119
|
-
'comment': value['comment'],
|
|
132
|
+
'solution': PatchedVariantUpdateSuggestionRequestSolutionToJSON(value['solution']),
|
|
133
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
120
134
|
};
|
|
121
135
|
}
|
|
122
136
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
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
|
+
/**
|
|
16
|
+
* @type PatchedVariantUpdateSuggestionRequestSolution
|
|
17
|
+
* Description of the solution
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type PatchedVariantUpdateSuggestionRequestSolution = string;
|
|
21
|
+
|
|
22
|
+
export function PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json: any): PatchedVariantUpdateSuggestionRequestSolution {
|
|
23
|
+
return PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedVariantUpdateSuggestionRequestSolution {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
if (typeof json === 'string') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
if (typeof json === 'string') {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {} as any;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function PatchedVariantUpdateSuggestionRequestSolutionToJSON(json: any): any {
|
|
40
|
+
return PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped(value?: PatchedVariantUpdateSuggestionRequestSolution | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
if (typeof value === 'string') {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
if (typeof value === 'string') {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {};
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,34 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { BattlefieldStartingCardState } from './BattlefieldStartingCardState.js';
|
|
17
|
+
import {
|
|
18
|
+
BattlefieldStartingCardStateFromJSON,
|
|
19
|
+
BattlefieldStartingCardStateFromJSONTyped,
|
|
20
|
+
BattlefieldStartingCardStateToJSON,
|
|
21
|
+
BattlefieldStartingCardStateToJSONTyped,
|
|
22
|
+
} from './BattlefieldStartingCardState.js';
|
|
23
|
+
import type { GraveyardStartingCardState } from './GraveyardStartingCardState.js';
|
|
24
|
+
import {
|
|
25
|
+
GraveyardStartingCardStateFromJSON,
|
|
26
|
+
GraveyardStartingCardStateFromJSONTyped,
|
|
27
|
+
GraveyardStartingCardStateToJSON,
|
|
28
|
+
GraveyardStartingCardStateToJSONTyped,
|
|
29
|
+
} from './GraveyardStartingCardState.js';
|
|
30
|
+
import type { LibraryStartingCardState } from './LibraryStartingCardState.js';
|
|
31
|
+
import {
|
|
32
|
+
LibraryStartingCardStateFromJSON,
|
|
33
|
+
LibraryStartingCardStateFromJSONTyped,
|
|
34
|
+
LibraryStartingCardStateToJSON,
|
|
35
|
+
LibraryStartingCardStateToJSONTyped,
|
|
36
|
+
} from './LibraryStartingCardState.js';
|
|
37
|
+
import type { ExileStartingCardState } from './ExileStartingCardState.js';
|
|
38
|
+
import {
|
|
39
|
+
ExileStartingCardStateFromJSON,
|
|
40
|
+
ExileStartingCardStateFromJSONTyped,
|
|
41
|
+
ExileStartingCardStateToJSON,
|
|
42
|
+
ExileStartingCardStateToJSONTyped,
|
|
43
|
+
} from './ExileStartingCardState.js';
|
|
16
44
|
import type { ZoneLocationsEnum } from './ZoneLocationsEnum.js';
|
|
17
45
|
import {
|
|
18
46
|
ZoneLocationsEnumFromJSON,
|
|
@@ -59,29 +87,29 @@ export interface TemplateRequiredInVariantSuggestion {
|
|
|
59
87
|
*/
|
|
60
88
|
zoneLocations: Array<ZoneLocationsEnum>;
|
|
61
89
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {
|
|
90
|
+
*
|
|
91
|
+
* @type {BattlefieldStartingCardState}
|
|
64
92
|
* @memberof TemplateRequiredInVariantSuggestion
|
|
65
93
|
*/
|
|
66
|
-
battlefieldCardState:
|
|
94
|
+
battlefieldCardState: BattlefieldStartingCardState;
|
|
67
95
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {
|
|
96
|
+
*
|
|
97
|
+
* @type {ExileStartingCardState}
|
|
70
98
|
* @memberof TemplateRequiredInVariantSuggestion
|
|
71
99
|
*/
|
|
72
|
-
exileCardState:
|
|
100
|
+
exileCardState: ExileStartingCardState;
|
|
73
101
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {
|
|
102
|
+
*
|
|
103
|
+
* @type {LibraryStartingCardState}
|
|
76
104
|
* @memberof TemplateRequiredInVariantSuggestion
|
|
77
105
|
*/
|
|
78
|
-
libraryCardState:
|
|
106
|
+
libraryCardState: LibraryStartingCardState;
|
|
79
107
|
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {
|
|
108
|
+
*
|
|
109
|
+
* @type {GraveyardStartingCardState}
|
|
82
110
|
* @memberof TemplateRequiredInVariantSuggestion
|
|
83
111
|
*/
|
|
84
|
-
graveyardCardState:
|
|
112
|
+
graveyardCardState: GraveyardStartingCardState;
|
|
85
113
|
/**
|
|
86
114
|
* Does the card have to be a commander?
|
|
87
115
|
* @type {boolean}
|
|
@@ -120,10 +148,10 @@ export function TemplateRequiredInVariantSuggestionFromJSONTyped(json: any, igno
|
|
|
120
148
|
'quantity': json['quantity'],
|
|
121
149
|
'scryfallQuery': json['scryfallQuery'],
|
|
122
150
|
'zoneLocations': ((json['zoneLocations'] as Array<any>).map(ZoneLocationsEnumFromJSON)),
|
|
123
|
-
'battlefieldCardState': json['battlefieldCardState'],
|
|
124
|
-
'exileCardState': json['exileCardState'],
|
|
125
|
-
'libraryCardState': json['libraryCardState'],
|
|
126
|
-
'graveyardCardState': json['graveyardCardState'],
|
|
151
|
+
'battlefieldCardState': BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
|
|
152
|
+
'exileCardState': ExileStartingCardStateFromJSON(json['exileCardState']),
|
|
153
|
+
'libraryCardState': LibraryStartingCardStateFromJSON(json['libraryCardState']),
|
|
154
|
+
'graveyardCardState': GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
|
|
127
155
|
'mustBeCommander': json['mustBeCommander'],
|
|
128
156
|
};
|
|
129
157
|
}
|
|
@@ -143,10 +171,10 @@ export function TemplateRequiredInVariantSuggestionToJSONTyped(value?: TemplateR
|
|
|
143
171
|
'quantity': value['quantity'],
|
|
144
172
|
'scryfallQuery': value['scryfallQuery'],
|
|
145
173
|
'zoneLocations': ((value['zoneLocations'] as Array<any>).map(ZoneLocationsEnumToJSON)),
|
|
146
|
-
'battlefieldCardState': value['battlefieldCardState'],
|
|
147
|
-
'exileCardState': value['exileCardState'],
|
|
148
|
-
'libraryCardState': value['libraryCardState'],
|
|
149
|
-
'graveyardCardState': value['graveyardCardState'],
|
|
174
|
+
'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
|
|
175
|
+
'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
|
|
176
|
+
'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
|
|
177
|
+
'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
|
|
150
178
|
'mustBeCommander': value['mustBeCommander'],
|
|
151
179
|
};
|
|
152
180
|
}
|