@space-cow-media/spellbook-client 5.5.3 → 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,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime.js';
|
|
16
|
+
import type { PatchedVariantSuggestionRequestNotablePrerequisites } from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
17
|
+
import {
|
|
18
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON,
|
|
19
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesFromJSONTyped,
|
|
20
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSON,
|
|
21
|
+
PatchedVariantSuggestionRequestNotablePrerequisitesToJSONTyped,
|
|
22
|
+
} from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
16
23
|
import type { CardUsedInVariantSuggestionRequest } from './CardUsedInVariantSuggestionRequest.js';
|
|
17
24
|
import {
|
|
18
25
|
CardUsedInVariantSuggestionRequestFromJSON,
|
|
@@ -27,6 +34,27 @@ import {
|
|
|
27
34
|
FeatureProducedInVariantSuggestionRequestToJSON,
|
|
28
35
|
FeatureProducedInVariantSuggestionRequestToJSONTyped,
|
|
29
36
|
} from './FeatureProducedInVariantSuggestionRequest.js';
|
|
37
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
38
|
+
import {
|
|
39
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
40
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
41
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
42
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
43
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
44
|
+
import type { PatchedVariantSuggestionRequestManaNeeded } from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
45
|
+
import {
|
|
46
|
+
PatchedVariantSuggestionRequestManaNeededFromJSON,
|
|
47
|
+
PatchedVariantSuggestionRequestManaNeededFromJSONTyped,
|
|
48
|
+
PatchedVariantSuggestionRequestManaNeededToJSON,
|
|
49
|
+
PatchedVariantSuggestionRequestManaNeededToJSONTyped,
|
|
50
|
+
} from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
51
|
+
import type { PatchedVariantSuggestionRequestEasyPrerequisites } from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
52
|
+
import {
|
|
53
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON,
|
|
54
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesFromJSONTyped,
|
|
55
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSON,
|
|
56
|
+
PatchedVariantSuggestionRequestEasyPrerequisitesToJSONTyped,
|
|
57
|
+
} from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
30
58
|
import type { TemplateRequiredInVariantSuggestionRequest } from './TemplateRequiredInVariantSuggestionRequest.js';
|
|
31
59
|
import {
|
|
32
60
|
TemplateRequiredInVariantSuggestionRequestFromJSON,
|
|
@@ -66,23 +94,23 @@ export interface VariantSuggestionRequest {
|
|
|
66
94
|
*/
|
|
67
95
|
variantOf?: string | null;
|
|
68
96
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {
|
|
97
|
+
*
|
|
98
|
+
* @type {PatchedVariantSuggestionRequestManaNeeded}
|
|
71
99
|
* @memberof VariantSuggestionRequest
|
|
72
100
|
*/
|
|
73
|
-
manaNeeded?:
|
|
101
|
+
manaNeeded?: PatchedVariantSuggestionRequestManaNeeded;
|
|
74
102
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {
|
|
103
|
+
*
|
|
104
|
+
* @type {PatchedVariantSuggestionRequestEasyPrerequisites}
|
|
77
105
|
* @memberof VariantSuggestionRequest
|
|
78
106
|
*/
|
|
79
|
-
easyPrerequisites?:
|
|
107
|
+
easyPrerequisites?: PatchedVariantSuggestionRequestEasyPrerequisites;
|
|
80
108
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {
|
|
109
|
+
*
|
|
110
|
+
* @type {PatchedVariantSuggestionRequestNotablePrerequisites}
|
|
83
111
|
* @memberof VariantSuggestionRequest
|
|
84
112
|
*/
|
|
85
|
-
notablePrerequisites?:
|
|
113
|
+
notablePrerequisites?: PatchedVariantSuggestionRequestNotablePrerequisites;
|
|
86
114
|
/**
|
|
87
115
|
* Long description, in steps
|
|
88
116
|
* @type {string}
|
|
@@ -96,11 +124,11 @@ export interface VariantSuggestionRequest {
|
|
|
96
124
|
*/
|
|
97
125
|
spoiler?: boolean;
|
|
98
126
|
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {
|
|
127
|
+
*
|
|
128
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
101
129
|
* @memberof VariantSuggestionRequest
|
|
102
130
|
*/
|
|
103
|
-
comment?:
|
|
131
|
+
comment?: PatchedVariantSuggestionRequestComment;
|
|
104
132
|
}
|
|
105
133
|
|
|
106
134
|
/**
|
|
@@ -128,12 +156,12 @@ export function VariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
128
156
|
'requires': ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
|
|
129
157
|
'produces': ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestFromJSON)),
|
|
130
158
|
'variantOf': json['variantOf'] === undefined ? undefined : json['variantOf'] === null ? null : json['variantOf'],
|
|
131
|
-
'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
|
|
132
|
-
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
|
|
133
|
-
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
|
|
159
|
+
'manaNeeded': json['manaNeeded'] == null ? undefined : PatchedVariantSuggestionRequestManaNeededFromJSON(json['manaNeeded']),
|
|
160
|
+
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestEasyPrerequisitesFromJSON(json['easyPrerequisites']),
|
|
161
|
+
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : PatchedVariantSuggestionRequestNotablePrerequisitesFromJSON(json['notablePrerequisites']),
|
|
134
162
|
'description': json['description'],
|
|
135
163
|
'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
|
|
136
|
-
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
164
|
+
'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
137
165
|
};
|
|
138
166
|
}
|
|
139
167
|
|
|
@@ -152,12 +180,12 @@ export function VariantSuggestionRequestToJSONTyped(value?: VariantSuggestionReq
|
|
|
152
180
|
'requires': ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestToJSON)),
|
|
153
181
|
'produces': ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestToJSON)),
|
|
154
182
|
'variantOf': value['variantOf'],
|
|
155
|
-
'manaNeeded': value['manaNeeded'],
|
|
156
|
-
'easyPrerequisites': value['easyPrerequisites'],
|
|
157
|
-
'notablePrerequisites': value['notablePrerequisites'],
|
|
183
|
+
'manaNeeded': PatchedVariantSuggestionRequestManaNeededToJSON(value['manaNeeded']),
|
|
184
|
+
'easyPrerequisites': PatchedVariantSuggestionRequestEasyPrerequisitesToJSON(value['easyPrerequisites']),
|
|
185
|
+
'notablePrerequisites': PatchedVariantSuggestionRequestNotablePrerequisitesToJSON(value['notablePrerequisites']),
|
|
158
186
|
'description': value['description'],
|
|
159
187
|
'spoiler': value['spoiler'],
|
|
160
|
-
'comment': value['comment'],
|
|
188
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
161
189
|
};
|
|
162
190
|
}
|
|
163
191
|
|
|
@@ -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).
|
|
@@ -27,6 +27,20 @@ import {
|
|
|
27
27
|
KindEnumToJSON,
|
|
28
28
|
KindEnumToJSONTyped,
|
|
29
29
|
} from './KindEnum.js';
|
|
30
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
31
|
+
import {
|
|
32
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
33
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
34
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
35
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
36
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
37
|
+
import type { PatchedVariantUpdateSuggestionRequestSolution } from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
38
|
+
import {
|
|
39
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSON,
|
|
40
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped,
|
|
41
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSON,
|
|
42
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped,
|
|
43
|
+
} from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
30
44
|
import type { SuggestionStatusEnum } from './SuggestionStatusEnum.js';
|
|
31
45
|
import {
|
|
32
46
|
SuggestionStatusEnumFromJSON,
|
|
@@ -93,17 +107,17 @@ export interface VariantUpdateSuggestion {
|
|
|
93
107
|
*/
|
|
94
108
|
issue: string;
|
|
95
109
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {
|
|
110
|
+
*
|
|
111
|
+
* @type {PatchedVariantUpdateSuggestionRequestSolution}
|
|
98
112
|
* @memberof VariantUpdateSuggestion
|
|
99
113
|
*/
|
|
100
|
-
solution:
|
|
114
|
+
solution: PatchedVariantUpdateSuggestionRequestSolution;
|
|
101
115
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {
|
|
116
|
+
*
|
|
117
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
104
118
|
* @memberof VariantUpdateSuggestion
|
|
105
119
|
*/
|
|
106
|
-
comment:
|
|
120
|
+
comment: PatchedVariantSuggestionRequestComment;
|
|
107
121
|
/**
|
|
108
122
|
*
|
|
109
123
|
* @type {User}
|
|
@@ -151,8 +165,8 @@ export function VariantUpdateSuggestionFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
151
165
|
'kind': KindEnumFromJSON(json['kind']),
|
|
152
166
|
'variants': ((json['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionFromJSON)),
|
|
153
167
|
'issue': json['issue'],
|
|
154
|
-
'solution': json['solution'],
|
|
155
|
-
'comment': json['comment'],
|
|
168
|
+
'solution': PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json['solution']),
|
|
169
|
+
'comment': PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
156
170
|
'suggestedBy': UserFromJSON(json['suggestedBy']),
|
|
157
171
|
'created': (new Date(json['created'])),
|
|
158
172
|
};
|
|
@@ -172,8 +186,8 @@ export function VariantUpdateSuggestionToJSONTyped(value?: Omit<VariantUpdateSug
|
|
|
172
186
|
'kind': KindEnumToJSON(value['kind']),
|
|
173
187
|
'variants': ((value['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionToJSON)),
|
|
174
188
|
'issue': value['issue'],
|
|
175
|
-
'solution': value['solution'],
|
|
176
|
-
'comment': value['comment'],
|
|
189
|
+
'solution': PatchedVariantUpdateSuggestionRequestSolutionToJSON(value['solution']),
|
|
190
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
177
191
|
};
|
|
178
192
|
}
|
|
179
193
|
|
|
@@ -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,20 @@ import {
|
|
|
20
20
|
KindEnumToJSON,
|
|
21
21
|
KindEnumToJSONTyped,
|
|
22
22
|
} from './KindEnum.js';
|
|
23
|
+
import type { PatchedVariantSuggestionRequestComment } from './PatchedVariantSuggestionRequestComment.js';
|
|
24
|
+
import {
|
|
25
|
+
PatchedVariantSuggestionRequestCommentFromJSON,
|
|
26
|
+
PatchedVariantSuggestionRequestCommentFromJSONTyped,
|
|
27
|
+
PatchedVariantSuggestionRequestCommentToJSON,
|
|
28
|
+
PatchedVariantSuggestionRequestCommentToJSONTyped,
|
|
29
|
+
} from './PatchedVariantSuggestionRequestComment.js';
|
|
30
|
+
import type { PatchedVariantUpdateSuggestionRequestSolution } from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
31
|
+
import {
|
|
32
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSON,
|
|
33
|
+
PatchedVariantUpdateSuggestionRequestSolutionFromJSONTyped,
|
|
34
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSON,
|
|
35
|
+
PatchedVariantUpdateSuggestionRequestSolutionToJSONTyped,
|
|
36
|
+
} from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
23
37
|
import type { VariantInVariantUpdateSuggestionRequest } from './VariantInVariantUpdateSuggestionRequest.js';
|
|
24
38
|
import {
|
|
25
39
|
VariantInVariantUpdateSuggestionRequestFromJSON,
|
|
@@ -61,17 +75,17 @@ export interface VariantUpdateSuggestionRequest {
|
|
|
61
75
|
*/
|
|
62
76
|
issue: string;
|
|
63
77
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {
|
|
78
|
+
*
|
|
79
|
+
* @type {PatchedVariantUpdateSuggestionRequestSolution}
|
|
66
80
|
* @memberof VariantUpdateSuggestionRequest
|
|
67
81
|
*/
|
|
68
|
-
solution?:
|
|
82
|
+
solution?: PatchedVariantUpdateSuggestionRequestSolution;
|
|
69
83
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {
|
|
84
|
+
*
|
|
85
|
+
* @type {PatchedVariantSuggestionRequestComment}
|
|
72
86
|
* @memberof VariantUpdateSuggestionRequest
|
|
73
87
|
*/
|
|
74
|
-
comment?:
|
|
88
|
+
comment?: PatchedVariantSuggestionRequestComment;
|
|
75
89
|
}
|
|
76
90
|
|
|
77
91
|
|
|
@@ -98,8 +112,8 @@ export function VariantUpdateSuggestionRequestFromJSONTyped(json: any, ignoreDis
|
|
|
98
112
|
'kind': KindEnumFromJSON(json['kind']),
|
|
99
113
|
'variants': json['variants'] == null ? undefined : ((json['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestFromJSON)),
|
|
100
114
|
'issue': json['issue'],
|
|
101
|
-
'solution': json['solution'] == null ? undefined : json['solution'],
|
|
102
|
-
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
115
|
+
'solution': json['solution'] == null ? undefined : PatchedVariantUpdateSuggestionRequestSolutionFromJSON(json['solution']),
|
|
116
|
+
'comment': json['comment'] == null ? undefined : PatchedVariantSuggestionRequestCommentFromJSON(json['comment']),
|
|
103
117
|
};
|
|
104
118
|
}
|
|
105
119
|
|
|
@@ -117,8 +131,8 @@ export function VariantUpdateSuggestionRequestToJSONTyped(value?: VariantUpdateS
|
|
|
117
131
|
'kind': KindEnumToJSON(value['kind']),
|
|
118
132
|
'variants': value['variants'] == null ? undefined : ((value['variants'] as Array<any>).map(VariantInVariantUpdateSuggestionRequestToJSON)),
|
|
119
133
|
'issue': value['issue'],
|
|
120
|
-
'solution': value['solution'],
|
|
121
|
-
'comment': value['comment'],
|
|
134
|
+
'solution': PatchedVariantUpdateSuggestionRequestSolutionToJSON(value['solution']),
|
|
135
|
+
'comment': PatchedVariantSuggestionRequestCommentToJSON(value['comment']),
|
|
122
136
|
};
|
|
123
137
|
}
|
|
124
138
|
|
|
@@ -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 { WebsitePropertyValue } from './WebsitePropertyValue.js';
|
|
17
|
+
import {
|
|
18
|
+
WebsitePropertyValueFromJSON,
|
|
19
|
+
WebsitePropertyValueFromJSONTyped,
|
|
20
|
+
WebsitePropertyValueToJSON,
|
|
21
|
+
WebsitePropertyValueToJSONTyped,
|
|
22
|
+
} from './WebsitePropertyValue.js';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -26,11 +34,11 @@ export interface WebsiteProperty {
|
|
|
26
34
|
*/
|
|
27
35
|
readonly key: string;
|
|
28
36
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {
|
|
37
|
+
*
|
|
38
|
+
* @type {WebsitePropertyValue}
|
|
31
39
|
* @memberof WebsiteProperty
|
|
32
40
|
*/
|
|
33
|
-
value:
|
|
41
|
+
value: WebsitePropertyValue;
|
|
34
42
|
}
|
|
35
43
|
|
|
36
44
|
/**
|
|
@@ -53,7 +61,7 @@ export function WebsitePropertyFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
53
61
|
return {
|
|
54
62
|
|
|
55
63
|
'key': json['key'],
|
|
56
|
-
'value': json['value'],
|
|
64
|
+
'value': WebsitePropertyValueFromJSON(json['value']),
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -68,7 +76,7 @@ export function WebsitePropertyToJSONTyped(value?: Omit<WebsiteProperty, 'key'>
|
|
|
68
76
|
|
|
69
77
|
return {
|
|
70
78
|
|
|
71
|
-
'value': value['value'],
|
|
79
|
+
'value': WebsitePropertyValueToJSON(value['value']),
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
|
|
@@ -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 WebsitePropertyValue
|
|
17
|
+
* Comma-separated list of values
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type WebsitePropertyValue = string;
|
|
21
|
+
|
|
22
|
+
export function WebsitePropertyValueFromJSON(json: any): WebsitePropertyValue {
|
|
23
|
+
return WebsitePropertyValueFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export function WebsitePropertyValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebsitePropertyValue {
|
|
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 WebsitePropertyValueToJSON(json: any): any {
|
|
40
|
+
return WebsitePropertyValueToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function WebsitePropertyValueToJSONTyped(value?: WebsitePropertyValue | 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).
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './BattlefieldStartingCardState.js';
|
|
3
4
|
export * from './BracketTagEnum.js';
|
|
4
5
|
export * from './Card.js';
|
|
5
6
|
export * from './CardDetail.js';
|
|
@@ -18,6 +19,7 @@ export * from './Combo.js';
|
|
|
18
19
|
export * from './Deck.js';
|
|
19
20
|
export * from './DeckRequest.js';
|
|
20
21
|
export * from './EstimateBracketResult.js';
|
|
22
|
+
export * from './ExileStartingCardState.js';
|
|
21
23
|
export * from './Feature.js';
|
|
22
24
|
export * from './FeatureOfCard.js';
|
|
23
25
|
export * from './FeatureProducedByVariant.js';
|
|
@@ -25,9 +27,21 @@ export * from './FeatureProducedInVariantSuggestion.js';
|
|
|
25
27
|
export * from './FeatureProducedInVariantSuggestionRequest.js';
|
|
26
28
|
export * from './FeatureStatusEnum.js';
|
|
27
29
|
export * from './FindMyCombosResponse.js';
|
|
30
|
+
export * from './GraveyardStartingCardState.js';
|
|
31
|
+
export * from './ImageURIOfTheBackOfTheCardArtCrop.js';
|
|
32
|
+
export * from './ImageURIOfTheBackOfTheCardInLargeFormat.js';
|
|
33
|
+
export * from './ImageURIOfTheBackOfTheCardInNormalFormat.js';
|
|
34
|
+
export * from './ImageURIOfTheBackOfTheCardInPNGFormat.js';
|
|
35
|
+
export * from './ImageURIOfTheBackOfTheCardInSmallFormat.js';
|
|
36
|
+
export * from './ImageURIOfTheCardArtCrop.js';
|
|
37
|
+
export * from './ImageURIOfTheFrontOfTheCardInLargeFormat.js';
|
|
38
|
+
export * from './ImageURIOfTheFrontOfTheCardInNormalFormat.js';
|
|
39
|
+
export * from './ImageURIOfTheFrontOfTheCardInPNGFormat.js';
|
|
40
|
+
export * from './ImageURIOfTheFrontOfTheCardInSmallFormat.js';
|
|
28
41
|
export * from './InvalidUrlResponse.js';
|
|
29
42
|
export * from './KindEnum.js';
|
|
30
43
|
export * from './LayoutRotationEnum.js';
|
|
44
|
+
export * from './LibraryStartingCardState.js';
|
|
31
45
|
export * from './PaginatedCardDetailList.js';
|
|
32
46
|
export * from './PaginatedFeatureList.js';
|
|
33
47
|
export * from './PaginatedFindMyCombosResponseList.js';
|
|
@@ -41,7 +55,12 @@ export * from './PaginatedVariantUpdateSuggestionList.js';
|
|
|
41
55
|
export * from './PaginatedWebsitePropertyList.js';
|
|
42
56
|
export * from './PatchedUserDetailRequest.js';
|
|
43
57
|
export * from './PatchedVariantSuggestionRequest.js';
|
|
58
|
+
export * from './PatchedVariantSuggestionRequestComment.js';
|
|
59
|
+
export * from './PatchedVariantSuggestionRequestEasyPrerequisites.js';
|
|
60
|
+
export * from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
61
|
+
export * from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
44
62
|
export * from './PatchedVariantUpdateSuggestionRequest.js';
|
|
63
|
+
export * from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
45
64
|
export * from './SuggestionStatusEnum.js';
|
|
46
65
|
export * from './Template.js';
|
|
47
66
|
export * from './TemplateInVariant.js';
|
|
@@ -59,6 +78,7 @@ export * from './UserRequest.js';
|
|
|
59
78
|
export * from './Variant.js';
|
|
60
79
|
export * from './VariantAlias.js';
|
|
61
80
|
export * from './VariantInVariantUpdateSuggestion.js';
|
|
81
|
+
export * from './VariantInVariantUpdateSuggestionIssue.js';
|
|
62
82
|
export * from './VariantInVariantUpdateSuggestionRequest.js';
|
|
63
83
|
export * from './VariantLegalities.js';
|
|
64
84
|
export * from './VariantPrices.js';
|
|
@@ -69,4 +89,5 @@ export * from './VariantUpdateSuggestion.js';
|
|
|
69
89
|
export * from './VariantUpdateSuggestionRequest.js';
|
|
70
90
|
export * from './VariantsQueryValidationError.js';
|
|
71
91
|
export * from './WebsiteProperty.js';
|
|
92
|
+
export * from './WebsitePropertyValue.js';
|
|
72
93
|
export * from './ZoneLocationsEnum.js';
|
|
@@ -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).
|