@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,76 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { ImageURIOfTheBackOfTheCardInPNGFormat } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
17
|
+
import {
|
|
18
|
+
ImageURIOfTheBackOfTheCardInPNGFormatFromJSON,
|
|
19
|
+
ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped,
|
|
20
|
+
ImageURIOfTheBackOfTheCardInPNGFormatToJSON,
|
|
21
|
+
ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped,
|
|
22
|
+
} from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
23
|
+
import type { ImageURIOfTheFrontOfTheCardInLargeFormat } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
24
|
+
import {
|
|
25
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON,
|
|
26
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped,
|
|
27
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatToJSON,
|
|
28
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped,
|
|
29
|
+
} from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
30
|
+
import type { ImageURIOfTheFrontOfTheCardInPNGFormat } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
31
|
+
import {
|
|
32
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON,
|
|
33
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped,
|
|
34
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatToJSON,
|
|
35
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped,
|
|
36
|
+
} from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
37
|
+
import type { ImageURIOfTheBackOfTheCardArtCrop } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
38
|
+
import {
|
|
39
|
+
ImageURIOfTheBackOfTheCardArtCropFromJSON,
|
|
40
|
+
ImageURIOfTheBackOfTheCardArtCropFromJSONTyped,
|
|
41
|
+
ImageURIOfTheBackOfTheCardArtCropToJSON,
|
|
42
|
+
ImageURIOfTheBackOfTheCardArtCropToJSONTyped,
|
|
43
|
+
} from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
44
|
+
import type { ImageURIOfTheBackOfTheCardInLargeFormat } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
45
|
+
import {
|
|
46
|
+
ImageURIOfTheBackOfTheCardInLargeFormatFromJSON,
|
|
47
|
+
ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped,
|
|
48
|
+
ImageURIOfTheBackOfTheCardInLargeFormatToJSON,
|
|
49
|
+
ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped,
|
|
50
|
+
} from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
51
|
+
import type { ImageURIOfTheFrontOfTheCardInNormalFormat } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
52
|
+
import {
|
|
53
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON,
|
|
54
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped,
|
|
55
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatToJSON,
|
|
56
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped,
|
|
57
|
+
} from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
58
|
+
import type { ImageURIOfTheFrontOfTheCardInSmallFormat } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
59
|
+
import {
|
|
60
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON,
|
|
61
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped,
|
|
62
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatToJSON,
|
|
63
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped,
|
|
64
|
+
} from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
65
|
+
import type { ImageURIOfTheBackOfTheCardInSmallFormat } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
66
|
+
import {
|
|
67
|
+
ImageURIOfTheBackOfTheCardInSmallFormatFromJSON,
|
|
68
|
+
ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped,
|
|
69
|
+
ImageURIOfTheBackOfTheCardInSmallFormatToJSON,
|
|
70
|
+
ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped,
|
|
71
|
+
} from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
72
|
+
import type { ImageURIOfTheBackOfTheCardInNormalFormat } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
73
|
+
import {
|
|
74
|
+
ImageURIOfTheBackOfTheCardInNormalFormatFromJSON,
|
|
75
|
+
ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped,
|
|
76
|
+
ImageURIOfTheBackOfTheCardInNormalFormatToJSON,
|
|
77
|
+
ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped,
|
|
78
|
+
} from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
79
|
+
import type { ImageURIOfTheCardArtCrop } from './ImageURIOfTheCardArtCrop.js';
|
|
80
|
+
import {
|
|
81
|
+
ImageURIOfTheCardArtCropFromJSON,
|
|
82
|
+
ImageURIOfTheCardArtCropFromJSONTyped,
|
|
83
|
+
ImageURIOfTheCardArtCropToJSON,
|
|
84
|
+
ImageURIOfTheCardArtCropToJSONTyped,
|
|
85
|
+
} from './ImageURIOfTheCardArtCrop.js';
|
|
16
86
|
import type { LayoutRotationEnum } from './LayoutRotationEnum.js';
|
|
17
87
|
import {
|
|
18
88
|
LayoutRotationEnumFromJSON,
|
|
@@ -59,34 +129,34 @@ export interface Card {
|
|
|
59
129
|
typeLine: string;
|
|
60
130
|
/**
|
|
61
131
|
*
|
|
62
|
-
* @type {
|
|
132
|
+
* @type {ImageURIOfTheFrontOfTheCardInPNGFormat}
|
|
63
133
|
* @memberof Card
|
|
64
134
|
*/
|
|
65
|
-
imageUriFrontPng:
|
|
135
|
+
imageUriFrontPng: ImageURIOfTheFrontOfTheCardInPNGFormat | null;
|
|
66
136
|
/**
|
|
67
137
|
*
|
|
68
|
-
* @type {
|
|
138
|
+
* @type {ImageURIOfTheFrontOfTheCardInLargeFormat}
|
|
69
139
|
* @memberof Card
|
|
70
140
|
*/
|
|
71
|
-
imageUriFrontLarge:
|
|
141
|
+
imageUriFrontLarge: ImageURIOfTheFrontOfTheCardInLargeFormat | null;
|
|
72
142
|
/**
|
|
73
143
|
*
|
|
74
|
-
* @type {
|
|
144
|
+
* @type {ImageURIOfTheFrontOfTheCardInNormalFormat}
|
|
75
145
|
* @memberof Card
|
|
76
146
|
*/
|
|
77
|
-
imageUriFrontNormal:
|
|
147
|
+
imageUriFrontNormal: ImageURIOfTheFrontOfTheCardInNormalFormat | null;
|
|
78
148
|
/**
|
|
79
149
|
*
|
|
80
|
-
* @type {
|
|
150
|
+
* @type {ImageURIOfTheFrontOfTheCardInSmallFormat}
|
|
81
151
|
* @memberof Card
|
|
82
152
|
*/
|
|
83
|
-
imageUriFrontSmall:
|
|
153
|
+
imageUriFrontSmall: ImageURIOfTheFrontOfTheCardInSmallFormat | null;
|
|
84
154
|
/**
|
|
85
155
|
*
|
|
86
|
-
* @type {
|
|
156
|
+
* @type {ImageURIOfTheCardArtCrop}
|
|
87
157
|
* @memberof Card
|
|
88
158
|
*/
|
|
89
|
-
imageUriFrontArtCrop:
|
|
159
|
+
imageUriFrontArtCrop: ImageURIOfTheCardArtCrop | null;
|
|
90
160
|
/**
|
|
91
161
|
*
|
|
92
162
|
* @type {LayoutRotationEnum}
|
|
@@ -95,34 +165,34 @@ export interface Card {
|
|
|
95
165
|
layoutRotationFront: LayoutRotationEnum | null;
|
|
96
166
|
/**
|
|
97
167
|
*
|
|
98
|
-
* @type {
|
|
168
|
+
* @type {ImageURIOfTheBackOfTheCardInPNGFormat}
|
|
99
169
|
* @memberof Card
|
|
100
170
|
*/
|
|
101
|
-
imageUriBackPng:
|
|
171
|
+
imageUriBackPng: ImageURIOfTheBackOfTheCardInPNGFormat | null;
|
|
102
172
|
/**
|
|
103
173
|
*
|
|
104
|
-
* @type {
|
|
174
|
+
* @type {ImageURIOfTheBackOfTheCardInLargeFormat}
|
|
105
175
|
* @memberof Card
|
|
106
176
|
*/
|
|
107
|
-
imageUriBackLarge:
|
|
177
|
+
imageUriBackLarge: ImageURIOfTheBackOfTheCardInLargeFormat | null;
|
|
108
178
|
/**
|
|
109
179
|
*
|
|
110
|
-
* @type {
|
|
180
|
+
* @type {ImageURIOfTheBackOfTheCardInNormalFormat}
|
|
111
181
|
* @memberof Card
|
|
112
182
|
*/
|
|
113
|
-
imageUriBackNormal:
|
|
183
|
+
imageUriBackNormal: ImageURIOfTheBackOfTheCardInNormalFormat | null;
|
|
114
184
|
/**
|
|
115
185
|
*
|
|
116
|
-
* @type {
|
|
186
|
+
* @type {ImageURIOfTheBackOfTheCardInSmallFormat}
|
|
117
187
|
* @memberof Card
|
|
118
188
|
*/
|
|
119
|
-
imageUriBackSmall:
|
|
189
|
+
imageUriBackSmall: ImageURIOfTheBackOfTheCardInSmallFormat | null;
|
|
120
190
|
/**
|
|
121
191
|
*
|
|
122
|
-
* @type {
|
|
192
|
+
* @type {ImageURIOfTheBackOfTheCardArtCrop}
|
|
123
193
|
* @memberof Card
|
|
124
194
|
*/
|
|
125
|
-
imageUriBackArtCrop:
|
|
195
|
+
imageUriBackArtCrop: ImageURIOfTheBackOfTheCardArtCrop | null;
|
|
126
196
|
}
|
|
127
197
|
|
|
128
198
|
|
|
@@ -165,17 +235,17 @@ export function CardFromJSONTyped(json: any, ignoreDiscriminator: boolean): Card
|
|
|
165
235
|
'oracleId': json['oracleId'],
|
|
166
236
|
'spoiler': json['spoiler'],
|
|
167
237
|
'typeLine': json['typeLine'],
|
|
168
|
-
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
169
|
-
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
170
|
-
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
171
|
-
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
172
|
-
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
238
|
+
'imageUriFrontPng': ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON(json['imageUriFrontPng']),
|
|
239
|
+
'imageUriFrontLarge': ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON(json['imageUriFrontLarge']),
|
|
240
|
+
'imageUriFrontNormal': ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON(json['imageUriFrontNormal']),
|
|
241
|
+
'imageUriFrontSmall': ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON(json['imageUriFrontSmall']),
|
|
242
|
+
'imageUriFrontArtCrop': ImageURIOfTheCardArtCropFromJSON(json['imageUriFrontArtCrop']),
|
|
173
243
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
174
|
-
'imageUriBackPng': json['imageUriBackPng'],
|
|
175
|
-
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
176
|
-
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
177
|
-
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
178
|
-
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
244
|
+
'imageUriBackPng': ImageURIOfTheBackOfTheCardInPNGFormatFromJSON(json['imageUriBackPng']),
|
|
245
|
+
'imageUriBackLarge': ImageURIOfTheBackOfTheCardInLargeFormatFromJSON(json['imageUriBackLarge']),
|
|
246
|
+
'imageUriBackNormal': ImageURIOfTheBackOfTheCardInNormalFormatFromJSON(json['imageUriBackNormal']),
|
|
247
|
+
'imageUriBackSmall': ImageURIOfTheBackOfTheCardInSmallFormatFromJSON(json['imageUriBackSmall']),
|
|
248
|
+
'imageUriBackArtCrop': ImageURIOfTheBackOfTheCardArtCropFromJSON(json['imageUriBackArtCrop']),
|
|
179
249
|
};
|
|
180
250
|
}
|
|
181
251
|
|
|
@@ -194,17 +264,17 @@ export function CardToJSONTyped(value?: Omit<Card, 'id'> | null, ignoreDiscrimin
|
|
|
194
264
|
'oracleId': value['oracleId'],
|
|
195
265
|
'spoiler': value['spoiler'],
|
|
196
266
|
'typeLine': value['typeLine'],
|
|
197
|
-
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
198
|
-
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
199
|
-
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
200
|
-
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
201
|
-
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
267
|
+
'imageUriFrontPng': ImageURIOfTheFrontOfTheCardInPNGFormatToJSON(value['imageUriFrontPng']),
|
|
268
|
+
'imageUriFrontLarge': ImageURIOfTheFrontOfTheCardInLargeFormatToJSON(value['imageUriFrontLarge']),
|
|
269
|
+
'imageUriFrontNormal': ImageURIOfTheFrontOfTheCardInNormalFormatToJSON(value['imageUriFrontNormal']),
|
|
270
|
+
'imageUriFrontSmall': ImageURIOfTheFrontOfTheCardInSmallFormatToJSON(value['imageUriFrontSmall']),
|
|
271
|
+
'imageUriFrontArtCrop': ImageURIOfTheCardArtCropToJSON(value['imageUriFrontArtCrop']),
|
|
202
272
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
203
|
-
'imageUriBackPng': value['imageUriBackPng'],
|
|
204
|
-
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
205
|
-
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
206
|
-
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
207
|
-
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
273
|
+
'imageUriBackPng': ImageURIOfTheBackOfTheCardInPNGFormatToJSON(value['imageUriBackPng']),
|
|
274
|
+
'imageUriBackLarge': ImageURIOfTheBackOfTheCardInLargeFormatToJSON(value['imageUriBackLarge']),
|
|
275
|
+
'imageUriBackNormal': ImageURIOfTheBackOfTheCardInNormalFormatToJSON(value['imageUriBackNormal']),
|
|
276
|
+
'imageUriBackSmall': ImageURIOfTheBackOfTheCardInSmallFormatToJSON(value['imageUriBackSmall']),
|
|
277
|
+
'imageUriBackArtCrop': ImageURIOfTheBackOfTheCardArtCropToJSON(value['imageUriBackArtCrop']),
|
|
208
278
|
};
|
|
209
279
|
}
|
|
210
280
|
|
|
@@ -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,90 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { ImageURIOfTheFrontOfTheCardInLargeFormat } from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
17
|
+
import {
|
|
18
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON,
|
|
19
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatFromJSONTyped,
|
|
20
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatToJSON,
|
|
21
|
+
ImageURIOfTheFrontOfTheCardInLargeFormatToJSONTyped,
|
|
22
|
+
} from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
23
|
+
import type { ImageURIOfTheFrontOfTheCardInPNGFormat } from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
24
|
+
import {
|
|
25
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON,
|
|
26
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatFromJSONTyped,
|
|
27
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatToJSON,
|
|
28
|
+
ImageURIOfTheFrontOfTheCardInPNGFormatToJSONTyped,
|
|
29
|
+
} from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
30
|
+
import type { ImageURIOfTheBackOfTheCardInLargeFormat } from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
31
|
+
import {
|
|
32
|
+
ImageURIOfTheBackOfTheCardInLargeFormatFromJSON,
|
|
33
|
+
ImageURIOfTheBackOfTheCardInLargeFormatFromJSONTyped,
|
|
34
|
+
ImageURIOfTheBackOfTheCardInLargeFormatToJSON,
|
|
35
|
+
ImageURIOfTheBackOfTheCardInLargeFormatToJSONTyped,
|
|
36
|
+
} from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
37
|
+
import type { CardLegalities } from './CardLegalities.js';
|
|
38
|
+
import {
|
|
39
|
+
CardLegalitiesFromJSON,
|
|
40
|
+
CardLegalitiesFromJSONTyped,
|
|
41
|
+
CardLegalitiesToJSON,
|
|
42
|
+
CardLegalitiesToJSONTyped,
|
|
43
|
+
} from './CardLegalities.js';
|
|
44
|
+
import type { CardPrices } from './CardPrices.js';
|
|
45
|
+
import {
|
|
46
|
+
CardPricesFromJSON,
|
|
47
|
+
CardPricesFromJSONTyped,
|
|
48
|
+
CardPricesToJSON,
|
|
49
|
+
CardPricesToJSONTyped,
|
|
50
|
+
} from './CardPrices.js';
|
|
51
|
+
import type { ImageURIOfTheBackOfTheCardInPNGFormat } from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
52
|
+
import {
|
|
53
|
+
ImageURIOfTheBackOfTheCardInPNGFormatFromJSON,
|
|
54
|
+
ImageURIOfTheBackOfTheCardInPNGFormatFromJSONTyped,
|
|
55
|
+
ImageURIOfTheBackOfTheCardInPNGFormatToJSON,
|
|
56
|
+
ImageURIOfTheBackOfTheCardInPNGFormatToJSONTyped,
|
|
57
|
+
} from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
58
|
+
import type { ImageURIOfTheBackOfTheCardArtCrop } from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
59
|
+
import {
|
|
60
|
+
ImageURIOfTheBackOfTheCardArtCropFromJSON,
|
|
61
|
+
ImageURIOfTheBackOfTheCardArtCropFromJSONTyped,
|
|
62
|
+
ImageURIOfTheBackOfTheCardArtCropToJSON,
|
|
63
|
+
ImageURIOfTheBackOfTheCardArtCropToJSONTyped,
|
|
64
|
+
} from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
65
|
+
import type { ImageURIOfTheFrontOfTheCardInNormalFormat } from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
66
|
+
import {
|
|
67
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON,
|
|
68
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatFromJSONTyped,
|
|
69
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatToJSON,
|
|
70
|
+
ImageURIOfTheFrontOfTheCardInNormalFormatToJSONTyped,
|
|
71
|
+
} from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
72
|
+
import type { ImageURIOfTheFrontOfTheCardInSmallFormat } from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
73
|
+
import {
|
|
74
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON,
|
|
75
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatFromJSONTyped,
|
|
76
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatToJSON,
|
|
77
|
+
ImageURIOfTheFrontOfTheCardInSmallFormatToJSONTyped,
|
|
78
|
+
} from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
79
|
+
import type { ImageURIOfTheBackOfTheCardInSmallFormat } from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
80
|
+
import {
|
|
81
|
+
ImageURIOfTheBackOfTheCardInSmallFormatFromJSON,
|
|
82
|
+
ImageURIOfTheBackOfTheCardInSmallFormatFromJSONTyped,
|
|
83
|
+
ImageURIOfTheBackOfTheCardInSmallFormatToJSON,
|
|
84
|
+
ImageURIOfTheBackOfTheCardInSmallFormatToJSONTyped,
|
|
85
|
+
} from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
86
|
+
import type { ImageURIOfTheBackOfTheCardInNormalFormat } from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
87
|
+
import {
|
|
88
|
+
ImageURIOfTheBackOfTheCardInNormalFormatFromJSON,
|
|
89
|
+
ImageURIOfTheBackOfTheCardInNormalFormatFromJSONTyped,
|
|
90
|
+
ImageURIOfTheBackOfTheCardInNormalFormatToJSON,
|
|
91
|
+
ImageURIOfTheBackOfTheCardInNormalFormatToJSONTyped,
|
|
92
|
+
} from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
93
|
+
import type { ImageURIOfTheCardArtCrop } from './ImageURIOfTheCardArtCrop.js';
|
|
94
|
+
import {
|
|
95
|
+
ImageURIOfTheCardArtCropFromJSON,
|
|
96
|
+
ImageURIOfTheCardArtCropFromJSONTyped,
|
|
97
|
+
ImageURIOfTheCardArtCropToJSON,
|
|
98
|
+
ImageURIOfTheCardArtCropToJSONTyped,
|
|
99
|
+
} from './ImageURIOfTheCardArtCrop.js';
|
|
16
100
|
import type { ColorEnum } from './ColorEnum.js';
|
|
17
101
|
import {
|
|
18
102
|
ColorEnumFromJSON,
|
|
@@ -34,20 +118,6 @@ import {
|
|
|
34
118
|
LayoutRotationEnumToJSON,
|
|
35
119
|
LayoutRotationEnumToJSONTyped,
|
|
36
120
|
} from './LayoutRotationEnum.js';
|
|
37
|
-
import type { CardLegalities } from './CardLegalities.js';
|
|
38
|
-
import {
|
|
39
|
-
CardLegalitiesFromJSON,
|
|
40
|
-
CardLegalitiesFromJSONTyped,
|
|
41
|
-
CardLegalitiesToJSON,
|
|
42
|
-
CardLegalitiesToJSONTyped,
|
|
43
|
-
} from './CardLegalities.js';
|
|
44
|
-
import type { CardPrices } from './CardPrices.js';
|
|
45
|
-
import {
|
|
46
|
-
CardPricesFromJSON,
|
|
47
|
-
CardPricesFromJSONTyped,
|
|
48
|
-
CardPricesToJSON,
|
|
49
|
-
CardPricesToJSONTyped,
|
|
50
|
-
} from './CardPrices.js';
|
|
51
121
|
|
|
52
122
|
/**
|
|
53
123
|
*
|
|
@@ -165,34 +235,34 @@ export interface CardDetail {
|
|
|
165
235
|
extraTurn: boolean;
|
|
166
236
|
/**
|
|
167
237
|
*
|
|
168
|
-
* @type {
|
|
238
|
+
* @type {ImageURIOfTheFrontOfTheCardInPNGFormat}
|
|
169
239
|
* @memberof CardDetail
|
|
170
240
|
*/
|
|
171
|
-
imageUriFrontPng:
|
|
241
|
+
imageUriFrontPng: ImageURIOfTheFrontOfTheCardInPNGFormat | null;
|
|
172
242
|
/**
|
|
173
243
|
*
|
|
174
|
-
* @type {
|
|
244
|
+
* @type {ImageURIOfTheFrontOfTheCardInLargeFormat}
|
|
175
245
|
* @memberof CardDetail
|
|
176
246
|
*/
|
|
177
|
-
imageUriFrontLarge:
|
|
247
|
+
imageUriFrontLarge: ImageURIOfTheFrontOfTheCardInLargeFormat | null;
|
|
178
248
|
/**
|
|
179
249
|
*
|
|
180
|
-
* @type {
|
|
250
|
+
* @type {ImageURIOfTheFrontOfTheCardInNormalFormat}
|
|
181
251
|
* @memberof CardDetail
|
|
182
252
|
*/
|
|
183
|
-
imageUriFrontNormal:
|
|
253
|
+
imageUriFrontNormal: ImageURIOfTheFrontOfTheCardInNormalFormat | null;
|
|
184
254
|
/**
|
|
185
255
|
*
|
|
186
|
-
* @type {
|
|
256
|
+
* @type {ImageURIOfTheFrontOfTheCardInSmallFormat}
|
|
187
257
|
* @memberof CardDetail
|
|
188
258
|
*/
|
|
189
|
-
imageUriFrontSmall:
|
|
259
|
+
imageUriFrontSmall: ImageURIOfTheFrontOfTheCardInSmallFormat | null;
|
|
190
260
|
/**
|
|
191
261
|
*
|
|
192
|
-
* @type {
|
|
262
|
+
* @type {ImageURIOfTheCardArtCrop}
|
|
193
263
|
* @memberof CardDetail
|
|
194
264
|
*/
|
|
195
|
-
imageUriFrontArtCrop:
|
|
265
|
+
imageUriFrontArtCrop: ImageURIOfTheCardArtCrop | null;
|
|
196
266
|
/**
|
|
197
267
|
*
|
|
198
268
|
* @type {LayoutRotationEnum}
|
|
@@ -201,34 +271,34 @@ export interface CardDetail {
|
|
|
201
271
|
layoutRotationFront: LayoutRotationEnum | null;
|
|
202
272
|
/**
|
|
203
273
|
*
|
|
204
|
-
* @type {
|
|
274
|
+
* @type {ImageURIOfTheBackOfTheCardInPNGFormat}
|
|
205
275
|
* @memberof CardDetail
|
|
206
276
|
*/
|
|
207
|
-
imageUriBackPng:
|
|
277
|
+
imageUriBackPng: ImageURIOfTheBackOfTheCardInPNGFormat | null;
|
|
208
278
|
/**
|
|
209
279
|
*
|
|
210
|
-
* @type {
|
|
280
|
+
* @type {ImageURIOfTheBackOfTheCardInLargeFormat}
|
|
211
281
|
* @memberof CardDetail
|
|
212
282
|
*/
|
|
213
|
-
imageUriBackLarge:
|
|
283
|
+
imageUriBackLarge: ImageURIOfTheBackOfTheCardInLargeFormat | null;
|
|
214
284
|
/**
|
|
215
285
|
*
|
|
216
|
-
* @type {
|
|
286
|
+
* @type {ImageURIOfTheBackOfTheCardInNormalFormat}
|
|
217
287
|
* @memberof CardDetail
|
|
218
288
|
*/
|
|
219
|
-
imageUriBackNormal:
|
|
289
|
+
imageUriBackNormal: ImageURIOfTheBackOfTheCardInNormalFormat | null;
|
|
220
290
|
/**
|
|
221
291
|
*
|
|
222
|
-
* @type {
|
|
292
|
+
* @type {ImageURIOfTheBackOfTheCardInSmallFormat}
|
|
223
293
|
* @memberof CardDetail
|
|
224
294
|
*/
|
|
225
|
-
imageUriBackSmall:
|
|
295
|
+
imageUriBackSmall: ImageURIOfTheBackOfTheCardInSmallFormat | null;
|
|
226
296
|
/**
|
|
227
297
|
*
|
|
228
|
-
* @type {
|
|
298
|
+
* @type {ImageURIOfTheBackOfTheCardArtCrop}
|
|
229
299
|
* @memberof CardDetail
|
|
230
300
|
*/
|
|
231
|
-
imageUriBackArtCrop:
|
|
301
|
+
imageUriBackArtCrop: ImageURIOfTheBackOfTheCardArtCrop | null;
|
|
232
302
|
/**
|
|
233
303
|
*
|
|
234
304
|
* @type {Array<FeatureOfCard>}
|
|
@@ -318,17 +388,17 @@ export function CardDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
318
388
|
'tutor': json['tutor'],
|
|
319
389
|
'massLandDenial': json['massLandDenial'],
|
|
320
390
|
'extraTurn': json['extraTurn'],
|
|
321
|
-
'imageUriFrontPng': json['imageUriFrontPng'],
|
|
322
|
-
'imageUriFrontLarge': json['imageUriFrontLarge'],
|
|
323
|
-
'imageUriFrontNormal': json['imageUriFrontNormal'],
|
|
324
|
-
'imageUriFrontSmall': json['imageUriFrontSmall'],
|
|
325
|
-
'imageUriFrontArtCrop': json['imageUriFrontArtCrop'],
|
|
391
|
+
'imageUriFrontPng': ImageURIOfTheFrontOfTheCardInPNGFormatFromJSON(json['imageUriFrontPng']),
|
|
392
|
+
'imageUriFrontLarge': ImageURIOfTheFrontOfTheCardInLargeFormatFromJSON(json['imageUriFrontLarge']),
|
|
393
|
+
'imageUriFrontNormal': ImageURIOfTheFrontOfTheCardInNormalFormatFromJSON(json['imageUriFrontNormal']),
|
|
394
|
+
'imageUriFrontSmall': ImageURIOfTheFrontOfTheCardInSmallFormatFromJSON(json['imageUriFrontSmall']),
|
|
395
|
+
'imageUriFrontArtCrop': ImageURIOfTheCardArtCropFromJSON(json['imageUriFrontArtCrop']),
|
|
326
396
|
'layoutRotationFront': LayoutRotationEnumFromJSON(json['layoutRotationFront']),
|
|
327
|
-
'imageUriBackPng': json['imageUriBackPng'],
|
|
328
|
-
'imageUriBackLarge': json['imageUriBackLarge'],
|
|
329
|
-
'imageUriBackNormal': json['imageUriBackNormal'],
|
|
330
|
-
'imageUriBackSmall': json['imageUriBackSmall'],
|
|
331
|
-
'imageUriBackArtCrop': json['imageUriBackArtCrop'],
|
|
397
|
+
'imageUriBackPng': ImageURIOfTheBackOfTheCardInPNGFormatFromJSON(json['imageUriBackPng']),
|
|
398
|
+
'imageUriBackLarge': ImageURIOfTheBackOfTheCardInLargeFormatFromJSON(json['imageUriBackLarge']),
|
|
399
|
+
'imageUriBackNormal': ImageURIOfTheBackOfTheCardInNormalFormatFromJSON(json['imageUriBackNormal']),
|
|
400
|
+
'imageUriBackSmall': ImageURIOfTheBackOfTheCardInSmallFormatFromJSON(json['imageUriBackSmall']),
|
|
401
|
+
'imageUriBackArtCrop': ImageURIOfTheBackOfTheCardArtCropFromJSON(json['imageUriBackArtCrop']),
|
|
332
402
|
'features': ((json['features'] as Array<any>).map(FeatureOfCardFromJSON)),
|
|
333
403
|
'legalities': CardLegalitiesFromJSON(json['legalities']),
|
|
334
404
|
'prices': CardPricesFromJSON(json['prices']),
|
|
@@ -362,17 +432,17 @@ export function CardDetailToJSONTyped(value?: Omit<CardDetail, 'id'|'variantCoun
|
|
|
362
432
|
'tutor': value['tutor'],
|
|
363
433
|
'massLandDenial': value['massLandDenial'],
|
|
364
434
|
'extraTurn': value['extraTurn'],
|
|
365
|
-
'imageUriFrontPng': value['imageUriFrontPng'],
|
|
366
|
-
'imageUriFrontLarge': value['imageUriFrontLarge'],
|
|
367
|
-
'imageUriFrontNormal': value['imageUriFrontNormal'],
|
|
368
|
-
'imageUriFrontSmall': value['imageUriFrontSmall'],
|
|
369
|
-
'imageUriFrontArtCrop': value['imageUriFrontArtCrop'],
|
|
435
|
+
'imageUriFrontPng': ImageURIOfTheFrontOfTheCardInPNGFormatToJSON(value['imageUriFrontPng']),
|
|
436
|
+
'imageUriFrontLarge': ImageURIOfTheFrontOfTheCardInLargeFormatToJSON(value['imageUriFrontLarge']),
|
|
437
|
+
'imageUriFrontNormal': ImageURIOfTheFrontOfTheCardInNormalFormatToJSON(value['imageUriFrontNormal']),
|
|
438
|
+
'imageUriFrontSmall': ImageURIOfTheFrontOfTheCardInSmallFormatToJSON(value['imageUriFrontSmall']),
|
|
439
|
+
'imageUriFrontArtCrop': ImageURIOfTheCardArtCropToJSON(value['imageUriFrontArtCrop']),
|
|
370
440
|
'layoutRotationFront': LayoutRotationEnumToJSON(value['layoutRotationFront']),
|
|
371
|
-
'imageUriBackPng': value['imageUriBackPng'],
|
|
372
|
-
'imageUriBackLarge': value['imageUriBackLarge'],
|
|
373
|
-
'imageUriBackNormal': value['imageUriBackNormal'],
|
|
374
|
-
'imageUriBackSmall': value['imageUriBackSmall'],
|
|
375
|
-
'imageUriBackArtCrop': value['imageUriBackArtCrop'],
|
|
441
|
+
'imageUriBackPng': ImageURIOfTheBackOfTheCardInPNGFormatToJSON(value['imageUriBackPng']),
|
|
442
|
+
'imageUriBackLarge': ImageURIOfTheBackOfTheCardInLargeFormatToJSON(value['imageUriBackLarge']),
|
|
443
|
+
'imageUriBackNormal': ImageURIOfTheBackOfTheCardInNormalFormatToJSON(value['imageUriBackNormal']),
|
|
444
|
+
'imageUriBackSmall': ImageURIOfTheBackOfTheCardInSmallFormatToJSON(value['imageUriBackSmall']),
|
|
445
|
+
'imageUriBackArtCrop': ImageURIOfTheBackOfTheCardArtCropToJSON(value['imageUriBackArtCrop']),
|
|
376
446
|
};
|
|
377
447
|
}
|
|
378
448
|
|
|
@@ -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).
|
|
@@ -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,
|
|
@@ -46,29 +74,29 @@ export interface CardUsedInVariantSuggestion {
|
|
|
46
74
|
*/
|
|
47
75
|
zoneLocations: Array<ZoneLocationsEnum>;
|
|
48
76
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {
|
|
77
|
+
*
|
|
78
|
+
* @type {BattlefieldStartingCardState}
|
|
51
79
|
* @memberof CardUsedInVariantSuggestion
|
|
52
80
|
*/
|
|
53
|
-
battlefieldCardState:
|
|
81
|
+
battlefieldCardState: BattlefieldStartingCardState;
|
|
54
82
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {
|
|
83
|
+
*
|
|
84
|
+
* @type {ExileStartingCardState}
|
|
57
85
|
* @memberof CardUsedInVariantSuggestion
|
|
58
86
|
*/
|
|
59
|
-
exileCardState:
|
|
87
|
+
exileCardState: ExileStartingCardState;
|
|
60
88
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {
|
|
89
|
+
*
|
|
90
|
+
* @type {LibraryStartingCardState}
|
|
63
91
|
* @memberof CardUsedInVariantSuggestion
|
|
64
92
|
*/
|
|
65
|
-
libraryCardState:
|
|
93
|
+
libraryCardState: LibraryStartingCardState;
|
|
66
94
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {
|
|
95
|
+
*
|
|
96
|
+
* @type {GraveyardStartingCardState}
|
|
69
97
|
* @memberof CardUsedInVariantSuggestion
|
|
70
98
|
*/
|
|
71
|
-
graveyardCardState:
|
|
99
|
+
graveyardCardState: GraveyardStartingCardState;
|
|
72
100
|
/**
|
|
73
101
|
* Does the card have to be a commander?
|
|
74
102
|
* @type {boolean}
|
|
@@ -105,10 +133,10 @@ export function CardUsedInVariantSuggestionFromJSONTyped(json: any, ignoreDiscri
|
|
|
105
133
|
'card': json['card'],
|
|
106
134
|
'quantity': json['quantity'],
|
|
107
135
|
'zoneLocations': ((json['zoneLocations'] as Array<any>).map(ZoneLocationsEnumFromJSON)),
|
|
108
|
-
'battlefieldCardState': json['battlefieldCardState'],
|
|
109
|
-
'exileCardState': json['exileCardState'],
|
|
110
|
-
'libraryCardState': json['libraryCardState'],
|
|
111
|
-
'graveyardCardState': json['graveyardCardState'],
|
|
136
|
+
'battlefieldCardState': BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
|
|
137
|
+
'exileCardState': ExileStartingCardStateFromJSON(json['exileCardState']),
|
|
138
|
+
'libraryCardState': LibraryStartingCardStateFromJSON(json['libraryCardState']),
|
|
139
|
+
'graveyardCardState': GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
|
|
112
140
|
'mustBeCommander': json['mustBeCommander'],
|
|
113
141
|
};
|
|
114
142
|
}
|
|
@@ -127,10 +155,10 @@ export function CardUsedInVariantSuggestionToJSONTyped(value?: CardUsedInVariant
|
|
|
127
155
|
'card': value['card'],
|
|
128
156
|
'quantity': value['quantity'],
|
|
129
157
|
'zoneLocations': ((value['zoneLocations'] as Array<any>).map(ZoneLocationsEnumToJSON)),
|
|
130
|
-
'battlefieldCardState': value['battlefieldCardState'],
|
|
131
|
-
'exileCardState': value['exileCardState'],
|
|
132
|
-
'libraryCardState': value['libraryCardState'],
|
|
133
|
-
'graveyardCardState': value['graveyardCardState'],
|
|
158
|
+
'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
|
|
159
|
+
'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
|
|
160
|
+
'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
|
|
161
|
+
'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
|
|
134
162
|
'mustBeCommander': value['mustBeCommander'],
|
|
135
163
|
};
|
|
136
164
|
}
|