@space-cow-media/spellbook-client 5.5.2 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/CardListFromTextApi.d.ts +1 -1
- package/dist/apis/CardListFromTextApi.js +1 -1
- package/dist/apis/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.0
|
|
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 TemplateRequiredInVariantSuggestionRequest {
|
|
|
59
87
|
*/
|
|
60
88
|
zoneLocations: Array<ZoneLocationsEnum>;
|
|
61
89
|
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {
|
|
90
|
+
*
|
|
91
|
+
* @type {BattlefieldStartingCardState}
|
|
64
92
|
* @memberof TemplateRequiredInVariantSuggestionRequest
|
|
65
93
|
*/
|
|
66
|
-
battlefieldCardState?:
|
|
94
|
+
battlefieldCardState?: BattlefieldStartingCardState;
|
|
67
95
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {
|
|
96
|
+
*
|
|
97
|
+
* @type {ExileStartingCardState}
|
|
70
98
|
* @memberof TemplateRequiredInVariantSuggestionRequest
|
|
71
99
|
*/
|
|
72
|
-
exileCardState?:
|
|
100
|
+
exileCardState?: ExileStartingCardState;
|
|
73
101
|
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {
|
|
102
|
+
*
|
|
103
|
+
* @type {LibraryStartingCardState}
|
|
76
104
|
* @memberof TemplateRequiredInVariantSuggestionRequest
|
|
77
105
|
*/
|
|
78
|
-
libraryCardState?:
|
|
106
|
+
libraryCardState?: LibraryStartingCardState;
|
|
79
107
|
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {
|
|
108
|
+
*
|
|
109
|
+
* @type {GraveyardStartingCardState}
|
|
82
110
|
* @memberof TemplateRequiredInVariantSuggestionRequest
|
|
83
111
|
*/
|
|
84
|
-
graveyardCardState?:
|
|
112
|
+
graveyardCardState?: GraveyardStartingCardState;
|
|
85
113
|
/**
|
|
86
114
|
* Does the card have to be a commander?
|
|
87
115
|
* @type {boolean}
|
|
@@ -113,10 +141,10 @@ export function TemplateRequiredInVariantSuggestionRequestFromJSONTyped(json: an
|
|
|
113
141
|
'quantity': json['quantity'] == null ? undefined : json['quantity'],
|
|
114
142
|
'scryfallQuery': json['scryfallQuery'] === undefined ? undefined : json['scryfallQuery'] === null ? null : json['scryfallQuery'],
|
|
115
143
|
'zoneLocations': ((json['zoneLocations'] as Array<any>).map(ZoneLocationsEnumFromJSON)),
|
|
116
|
-
'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : json['battlefieldCardState'],
|
|
117
|
-
'exileCardState': json['exileCardState'] == null ? undefined : json['exileCardState'],
|
|
118
|
-
'libraryCardState': json['libraryCardState'] == null ? undefined : json['libraryCardState'],
|
|
119
|
-
'graveyardCardState': json['graveyardCardState'] == null ? undefined : json['graveyardCardState'],
|
|
144
|
+
'battlefieldCardState': json['battlefieldCardState'] == null ? undefined : BattlefieldStartingCardStateFromJSON(json['battlefieldCardState']),
|
|
145
|
+
'exileCardState': json['exileCardState'] == null ? undefined : ExileStartingCardStateFromJSON(json['exileCardState']),
|
|
146
|
+
'libraryCardState': json['libraryCardState'] == null ? undefined : LibraryStartingCardStateFromJSON(json['libraryCardState']),
|
|
147
|
+
'graveyardCardState': json['graveyardCardState'] == null ? undefined : GraveyardStartingCardStateFromJSON(json['graveyardCardState']),
|
|
120
148
|
'mustBeCommander': json['mustBeCommander'] == null ? undefined : json['mustBeCommander'],
|
|
121
149
|
};
|
|
122
150
|
}
|
|
@@ -136,10 +164,10 @@ export function TemplateRequiredInVariantSuggestionRequestToJSONTyped(value?: Te
|
|
|
136
164
|
'quantity': value['quantity'],
|
|
137
165
|
'scryfallQuery': value['scryfallQuery'],
|
|
138
166
|
'zoneLocations': ((value['zoneLocations'] as Array<any>).map(ZoneLocationsEnumToJSON)),
|
|
139
|
-
'battlefieldCardState': value['battlefieldCardState'],
|
|
140
|
-
'exileCardState': value['exileCardState'],
|
|
141
|
-
'libraryCardState': value['libraryCardState'],
|
|
142
|
-
'graveyardCardState': value['graveyardCardState'],
|
|
167
|
+
'battlefieldCardState': BattlefieldStartingCardStateToJSON(value['battlefieldCardState']),
|
|
168
|
+
'exileCardState': ExileStartingCardStateToJSON(value['exileCardState']),
|
|
169
|
+
'libraryCardState': LibraryStartingCardStateToJSON(value['libraryCardState']),
|
|
170
|
+
'graveyardCardState': GraveyardStartingCardStateToJSON(value['graveyardCardState']),
|
|
143
171
|
'mustBeCommander': value['mustBeCommander'],
|
|
144
172
|
};
|
|
145
173
|
}
|
|
@@ -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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { VariantInVariantUpdateSuggestionIssue } from './VariantInVariantUpdateSuggestionIssue.js';
|
|
17
|
+
import {
|
|
18
|
+
VariantInVariantUpdateSuggestionIssueFromJSON,
|
|
19
|
+
VariantInVariantUpdateSuggestionIssueFromJSONTyped,
|
|
20
|
+
VariantInVariantUpdateSuggestionIssueToJSON,
|
|
21
|
+
VariantInVariantUpdateSuggestionIssueToJSONTyped,
|
|
22
|
+
} from './VariantInVariantUpdateSuggestionIssue.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -26,11 +34,11 @@ export interface VariantInVariantUpdateSuggestion {
|
|
|
26
34
|
*/
|
|
27
35
|
variant: string;
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {
|
|
37
|
+
*
|
|
38
|
+
* @type {VariantInVariantUpdateSuggestionIssue}
|
|
31
39
|
* @memberof VariantInVariantUpdateSuggestion
|
|
32
40
|
*/
|
|
33
|
-
issue:
|
|
41
|
+
issue: VariantInVariantUpdateSuggestionIssue;
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
/**
|
|
@@ -53,7 +61,7 @@ export function VariantInVariantUpdateSuggestionFromJSONTyped(json: any, ignoreD
|
|
|
53
61
|
return {
|
|
54
62
|
|
|
55
63
|
'variant': json['variant'],
|
|
56
|
-
'issue': json['issue'],
|
|
64
|
+
'issue': VariantInVariantUpdateSuggestionIssueFromJSON(json['issue']),
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -69,7 +77,7 @@ export function VariantInVariantUpdateSuggestionToJSONTyped(value?: VariantInVar
|
|
|
69
77
|
return {
|
|
70
78
|
|
|
71
79
|
'variant': value['variant'],
|
|
72
|
-
'issue': value['issue'],
|
|
80
|
+
'issue': VariantInVariantUpdateSuggestionIssueToJSON(value['issue']),
|
|
73
81
|
};
|
|
74
82
|
}
|
|
75
83
|
|
|
@@ -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.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @type VariantInVariantUpdateSuggestionIssue
|
|
17
|
+
* Description of the issue specific for this variant
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type VariantInVariantUpdateSuggestionIssue = string;
|
|
21
|
+
|
|
22
|
+
export function VariantInVariantUpdateSuggestionIssueFromJSON(json: any): VariantInVariantUpdateSuggestionIssue {
|
|
23
|
+
return VariantInVariantUpdateSuggestionIssueFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function VariantInVariantUpdateSuggestionIssueFromJSONTyped(json: any, ignoreDiscriminator: boolean): VariantInVariantUpdateSuggestionIssue {
|
|
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 VariantInVariantUpdateSuggestionIssueToJSON(json: any): any {
|
|
40
|
+
return VariantInVariantUpdateSuggestionIssueToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function VariantInVariantUpdateSuggestionIssueToJSONTyped(value?: VariantInVariantUpdateSuggestionIssue | 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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { VariantInVariantUpdateSuggestionIssue } from './VariantInVariantUpdateSuggestionIssue.js';
|
|
17
|
+
import {
|
|
18
|
+
VariantInVariantUpdateSuggestionIssueFromJSON,
|
|
19
|
+
VariantInVariantUpdateSuggestionIssueFromJSONTyped,
|
|
20
|
+
VariantInVariantUpdateSuggestionIssueToJSON,
|
|
21
|
+
VariantInVariantUpdateSuggestionIssueToJSONTyped,
|
|
22
|
+
} from './VariantInVariantUpdateSuggestionIssue.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -26,11 +34,11 @@ export interface VariantInVariantUpdateSuggestionRequest {
|
|
|
26
34
|
*/
|
|
27
35
|
variant: string;
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {
|
|
37
|
+
*
|
|
38
|
+
* @type {VariantInVariantUpdateSuggestionIssue}
|
|
31
39
|
* @memberof VariantInVariantUpdateSuggestionRequest
|
|
32
40
|
*/
|
|
33
|
-
issue?:
|
|
41
|
+
issue?: VariantInVariantUpdateSuggestionIssue;
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
/**
|
|
@@ -52,7 +60,7 @@ export function VariantInVariantUpdateSuggestionRequestFromJSONTyped(json: any,
|
|
|
52
60
|
return {
|
|
53
61
|
|
|
54
62
|
'variant': json['variant'],
|
|
55
|
-
'issue': json['issue'] == null ? undefined : json['issue'],
|
|
63
|
+
'issue': json['issue'] == null ? undefined : VariantInVariantUpdateSuggestionIssueFromJSON(json['issue']),
|
|
56
64
|
};
|
|
57
65
|
}
|
|
58
66
|
|
|
@@ -68,7 +76,7 @@ export function VariantInVariantUpdateSuggestionRequestToJSONTyped(value?: Varia
|
|
|
68
76
|
return {
|
|
69
77
|
|
|
70
78
|
'variant': value['variant'],
|
|
71
|
-
'issue': value['issue'],
|
|
79
|
+
'issue': VariantInVariantUpdateSuggestionIssueToJSON(value['issue']),
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
|
|
@@ -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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.
|
|
7
|
+
* The version of the OpenAPI document: 5.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
FeatureProducedInVariantSuggestionToJSON,
|
|
21
21
|
FeatureProducedInVariantSuggestionToJSONTyped,
|
|
22
22
|
} from './FeatureProducedInVariantSuggestion.js';
|
|
23
|
+
import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
24
|
+
import {
|
|
25
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON,
|
|
26
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped,
|
|
27
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSON,
|
|
28
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped,
|
|
29
|
+
} from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
23
30
|
import type { User } from './User.js';
|
|
24
31
|
import {
|
|
25
32
|
UserFromJSON,
|
|
@@ -34,6 +41,20 @@ import {
|
|
|
34
41
|
CardUsedInVariantSuggestionToJSON,
|
|
35
42
|
CardUsedInVariantSuggestionToJSONTyped,
|
|
36
43
|
} from './CardUsedInVariantSuggestion.js';
|
|
44
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
45
|
+
import {
|
|
46
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
47
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
48
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
49
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
50
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
51
|
+
import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
52
|
+
import {
|
|
53
|
+
PatchedVariantSuggestionRequestManaNeededFromJSON,
|
|
54
|
+
PatchedVariantSuggestionRequestManaNeededFromJSONTyped,
|
|
55
|
+
PatchedVariantSuggestionRequestManaNeededToJSON,
|
|
56
|
+
PatchedVariantSuggestionRequestManaNeededToJSONTyped,
|
|
57
|
+
} from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
37
58
|
import type { TemplateRequiredInVariantSuggestion } from './TemplateRequiredInVariantSuggestion.js';
|
|
38
59
|
import {
|
|
39
60
|
TemplateRequiredInVariantSuggestionFromJSON,
|
|
@@ -41,6 +62,13 @@ import {
|
|
|
41
62
|
TemplateRequiredInVariantSuggestionToJSON,
|
|
42
63
|
TemplateRequiredInVariantSuggestionToJSONTyped,
|
|
43
64
|
} from './TemplateRequiredInVariantSuggestion.js';
|
|
65
|
+
import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
66
|
+
import {
|
|
67
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON,
|
|
68
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped,
|
|
69
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSON,
|
|
70
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped,
|
|
71
|
+
} from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
44
72
|
import type { SuggestionStatusEnum } from './SuggestionStatusEnum.js';
|
|
45
73
|
import {
|
|
46
74
|
SuggestionStatusEnumFromJSON,
|
|
@@ -98,23 +126,23 @@ export interface VariantSuggestion {
|
|
|
98
126
|
*/
|
|
99
127
|
variantOf: string | null;
|
|
100
128
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {
|
|
129
|
+
*
|
|
130
|
+
* @type {PatchedVariantSuggestionRequestManaNeeded}
|
|
103
131
|
* @memberof VariantSuggestion
|
|
104
132
|
*/
|
|
105
|
-
manaNeeded:
|
|
133
|
+
manaNeeded: PatchedVariantSuggestionRequestManaNeeded;
|
|
106
134
|
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {
|
|
135
|
+
*
|
|
136
|
+
* @type {PatchedVariantSuggestionRequestEasyPrerequisites}
|
|
109
137
|
* @memberof VariantSuggestion
|
|
110
138
|
*/
|
|
111
|
-
easyPrerequisites:
|
|
139
|
+
easyPrerequisites: PatchedVariantSuggestionRequestEasyPrerequisites;
|
|
112
140
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {
|
|
141
|
+
*
|
|
142
|
+
* @type {PatchedVariantSuggestionRequestNotablePrerequisites}
|
|
115
143
|
* @memberof VariantSuggestion
|
|
116
144
|
*/
|
|
117
|
-
notablePrerequisites:
|
|
145
|
+
notablePrerequisites: PatchedVariantSuggestionRequestNotablePrerequisites;
|
|
118
146
|
/**
|
|
119
147
|
* Long description, in steps
|
|
120
148
|
* @type {string}
|
|
@@ -128,11 +156,11 @@ export interface VariantSuggestion {
|
|
|
128
156
|
*/
|
|
129
157
|
spoiler: boolean;
|
|
130
158
|
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {
|
|
159
|
+
*
|
|
160
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
133
161
|
* @memberof VariantSuggestion
|
|
134
162
|
*/
|
|
135
|
-
comment:
|
|
163
|
+
comment: PatchedVariantSuggestionRequestComment;
|
|
136
164
|
/**
|
|
137
165
|
*
|
|
138
166
|
* @type {User}
|
|
@@ -186,12 +214,12 @@ export function VariantSuggestionFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
186
214
|
'requires': ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionFromJSON)),
|
|
187
215
|
'produces': ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionFromJSON)),
|
|
188
216
|
'variantOf': json['variantOf'],
|
|
189
|
-
'manaNeeded': json['manaNeeded'],
|
|
190
|
-
'easyPrerequisites': json['easyPrerequisites'],
|
|
191
|
-
'notablePrerequisites': json['notablePrerequisites'],
|
|
217
|
+
'manaNeeded': PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
|
|
218
|
+
'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
|
|
219
|
+
'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
|
|
192
220
|
'description': json['description'],
|
|
193
221
|
'spoiler': json['spoiler'],
|
|
194
|
-
'comment': json['comment'],
|
|
222
|
+
'comment': PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
195
223
|
'suggestedBy': UserFromJSON(json['suggestedBy']),
|
|
196
224
|
'created': (new Date(json['created'])),
|
|
197
225
|
};
|
|
@@ -212,12 +240,12 @@ export function VariantSuggestionToJSONTyped(value?: Omit<VariantSuggestion, 'id
|
|
|
212
240
|
'requires': ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionToJSON)),
|
|
213
241
|
'produces': ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionToJSON)),
|
|
214
242
|
'variantOf': value['variantOf'],
|
|
215
|
-
'manaNeeded': value['manaNeeded'],
|
|
216
|
-
'easyPrerequisites': value['easyPrerequisites'],
|
|
217
|
-
'notablePrerequisites': value['notablePrerequisites'],
|
|
243
|
+
'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
|
|
244
|
+
'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
|
|
245
|
+
'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
|
|
218
246
|
'description': value['description'],
|
|
219
247
|
'spoiler': value['spoiler'],
|
|
220
|
-
'comment': value['comment'],
|
|
248
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
221
249
|
};
|
|
222
250
|
}
|
|
223
251
|
|