@space-cow-media/spellbook-client 6.4.0 → 7.0.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/CardListFromUrlApi.d.ts +1 -1
- package/dist/apis/CardListFromUrlApi.js +1 -1
- package/dist/apis/CardsApi.d.ts +7 -7
- package/dist/apis/CardsApi.js +4 -4
- 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/ExplainQueryApi.d.ts +1 -1
- package/dist/apis/ExplainQueryApi.js +1 -1
- package/dist/apis/FeaturesApi.d.ts +2 -2
- package/dist/apis/FeaturesApi.js +1 -1
- package/dist/apis/FindMyCombosApi.d.ts +1 -1
- package/dist/apis/FindMyCombosApi.js +1 -1
- package/dist/apis/PropertiesApi.d.ts +1 -1
- package/dist/apis/PropertiesApi.js +1 -1
- package/dist/apis/TemplatesApi.d.ts +5 -5
- package/dist/apis/TemplatesApi.js +4 -4
- 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/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/VariantAliasesApi.d.ts +1 -1
- package/dist/apis/VariantAliasesApi.js +1 -1
- package/dist/apis/VariantSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantSuggestionsApi.js +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.d.ts +1 -1
- package/dist/apis/VariantUpdateSuggestionsApi.js +1 -1
- package/dist/apis/VariantsApi.d.ts +1 -1
- package/dist/apis/VariantsApi.js +1 -1
- package/dist/models/BattlefieldStartingCardState.d.ts +1 -1
- package/dist/models/BattlefieldStartingCardState.js +1 -1
- package/dist/models/BracketTagEnum.d.ts +1 -1
- package/dist/models/BracketTagEnum.js +1 -1
- package/dist/models/Card.d.ts +1 -1
- package/dist/models/Card.js +1 -1
- package/dist/models/CardDetail.d.ts +37 -1
- package/dist/models/CardDetail.js +37 -1
- package/dist/models/CardDetail.js.map +1 -1
- package/dist/models/CardInDeck.d.ts +1 -1
- package/dist/models/CardInDeck.js +1 -1
- package/dist/models/CardInDeckRequest.d.ts +1 -1
- package/dist/models/CardInDeckRequest.js +1 -1
- package/dist/models/CardInVariant.d.ts +1 -1
- package/dist/models/CardInVariant.js +1 -1
- package/dist/models/CardLegalities.d.ts +1 -1
- package/dist/models/CardLegalities.js +1 -1
- package/dist/models/CardPrices.d.ts +1 -1
- package/dist/models/CardPrices.js +1 -1
- package/dist/models/CardUsedInVariantSuggestion.d.ts +1 -1
- package/dist/models/CardUsedInVariantSuggestion.js +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/CardUsedInVariantSuggestionRequest.js +1 -1
- package/dist/models/ClassifiedCard.d.ts +1 -1
- package/dist/models/ClassifiedCard.js +1 -1
- package/dist/models/ClassifiedVariant.d.ts +1 -1
- package/dist/models/ClassifiedVariant.js +1 -1
- package/dist/models/ColorEnum.d.ts +1 -1
- package/dist/models/ColorEnum.js +1 -1
- package/dist/models/Combo.d.ts +1 -1
- package/dist/models/Combo.js +1 -1
- package/dist/models/Deck.d.ts +1 -1
- package/dist/models/Deck.js +1 -1
- package/dist/models/DeckRequest.d.ts +1 -1
- package/dist/models/DeckRequest.js +1 -1
- package/dist/models/EstimateBracketResult.d.ts +1 -6
- package/dist/models/EstimateBracketResult.js +1 -6
- package/dist/models/EstimateBracketResult.js.map +1 -1
- package/dist/models/ExileStartingCardState.d.ts +1 -1
- package/dist/models/ExileStartingCardState.js +1 -1
- package/dist/models/Feature.d.ts +1 -1
- package/dist/models/Feature.js +1 -1
- package/dist/models/FeatureOfCard.d.ts +1 -1
- package/dist/models/FeatureOfCard.js +1 -1
- package/dist/models/FeatureProducedByVariant.d.ts +1 -1
- package/dist/models/FeatureProducedByVariant.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestion.js +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/FeatureProducedInVariantSuggestionRequest.js +1 -1
- package/dist/models/FeatureStatusEnum.d.ts +1 -1
- package/dist/models/FeatureStatusEnum.js +1 -1
- package/dist/models/FindMyCombosResponse.d.ts +1 -1
- package/dist/models/FindMyCombosResponse.js +1 -1
- package/dist/models/GraveyardStartingCardState.d.ts +1 -1
- package/dist/models/GraveyardStartingCardState.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardArtCrop.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInLargeFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInNormalFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInPNGFormat.js +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheBackOfTheCardInSmallFormat.js +1 -1
- package/dist/models/ImageURIOfTheCardArtCrop.d.ts +1 -1
- package/dist/models/ImageURIOfTheCardArtCrop.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInLargeFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInNormalFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInPNGFormat.js +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.d.ts +1 -1
- package/dist/models/ImageURIOfTheFrontOfTheCardInSmallFormat.js +1 -1
- package/dist/models/InvalidUrlResponse.d.ts +1 -1
- package/dist/models/InvalidUrlResponse.js +1 -1
- package/dist/models/KindEnum.d.ts +1 -1
- package/dist/models/KindEnum.js +1 -1
- package/dist/models/LayoutRotationEnum.d.ts +1 -1
- package/dist/models/LayoutRotationEnum.js +1 -1
- package/dist/models/LibraryStartingCardState.d.ts +1 -1
- package/dist/models/LibraryStartingCardState.js +1 -1
- package/dist/models/PaginatedCardDetailList.d.ts +1 -1
- package/dist/models/PaginatedCardDetailList.js +1 -1
- package/dist/models/PaginatedFeatureList.d.ts +1 -1
- package/dist/models/PaginatedFeatureList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseList.js +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.d.ts +1 -1
- package/dist/models/PaginatedFindMyCombosResponseListResults.js +1 -1
- package/dist/models/PaginatedTemplateList.d.ts +1 -1
- package/dist/models/PaginatedTemplateList.js +1 -1
- package/dist/models/PaginatedUserDetailList.d.ts +1 -1
- package/dist/models/PaginatedUserDetailList.js +1 -1
- package/dist/models/PaginatedVariantAliasList.d.ts +1 -1
- package/dist/models/PaginatedVariantAliasList.js +1 -1
- package/dist/models/PaginatedVariantList.d.ts +1 -1
- package/dist/models/PaginatedVariantList.js +1 -1
- package/dist/models/PaginatedVariantSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantSuggestionList.js +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.d.ts +1 -1
- package/dist/models/PaginatedVariantUpdateSuggestionList.js +1 -1
- package/dist/models/PaginatedWebsitePropertyList.d.ts +1 -1
- package/dist/models/PaginatedWebsitePropertyList.js +1 -1
- package/dist/models/PatchedUserDetailRequest.d.ts +1 -1
- package/dist/models/PatchedUserDetailRequest.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequest.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestComment.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestEasyPrerequisites.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestManaNeeded.js +1 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.d.ts +1 -1
- package/dist/models/PatchedVariantSuggestionRequestNotablePrerequisites.js +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.d.ts +1 -1
- package/dist/models/PatchedVariantUpdateSuggestionRequestSolution.js +1 -1
- package/dist/models/QueryExplanation.d.ts +1 -1
- package/dist/models/QueryExplanation.js +1 -1
- package/dist/models/QueryExplanationValidationError.d.ts +1 -1
- package/dist/models/QueryExplanationValidationError.js +1 -1
- package/dist/models/SuggestionStatusEnum.d.ts +1 -1
- package/dist/models/SuggestionStatusEnum.js +1 -1
- package/dist/models/Template.d.ts +3 -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/TemplateRequiredInVariantSuggestion.d.ts +3 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js.map +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +3 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js.map +1 -1
- package/dist/models/TokenObtainPair.d.ts +1 -1
- package/dist/models/TokenObtainPair.js +1 -1
- package/dist/models/TokenObtainPairRequest.d.ts +1 -1
- package/dist/models/TokenObtainPairRequest.js +1 -1
- package/dist/models/TokenRefresh.d.ts +1 -1
- package/dist/models/TokenRefresh.js +1 -1
- package/dist/models/TokenRefreshRequest.d.ts +1 -1
- package/dist/models/TokenRefreshRequest.js +1 -1
- package/dist/models/TokenVerifyRequest.d.ts +1 -1
- package/dist/models/TokenVerifyRequest.js +1 -1
- package/dist/models/User.d.ts +1 -1
- package/dist/models/User.js +1 -1
- package/dist/models/UserDetail.d.ts +1 -1
- package/dist/models/UserDetail.js +1 -1
- package/dist/models/UserDetailRequest.d.ts +1 -1
- package/dist/models/UserDetailRequest.js +1 -1
- package/dist/models/UserRequest.d.ts +1 -1
- package/dist/models/UserRequest.js +1 -1
- package/dist/models/Variant.d.ts +1 -1
- package/dist/models/Variant.js +1 -1
- package/dist/models/VariantAlias.d.ts +1 -1
- package/dist/models/VariantAlias.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionIssue.js +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantInVariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/VariantLegalities.d.ts +1 -1
- package/dist/models/VariantLegalities.js +1 -1
- package/dist/models/VariantPrices.d.ts +1 -1
- package/dist/models/VariantPrices.js +1 -1
- package/dist/models/VariantStatusEnum.d.ts +1 -1
- package/dist/models/VariantStatusEnum.js +1 -1
- package/dist/models/VariantSuggestion.d.ts +1 -1
- package/dist/models/VariantSuggestion.js +1 -1
- package/dist/models/VariantSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantSuggestionRequest.js +1 -1
- package/dist/models/VariantUpdateSuggestion.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestion.js +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/VariantUpdateSuggestionRequest.js +1 -1
- package/dist/models/VariantsQueryValidationError.d.ts +1 -1
- package/dist/models/VariantsQueryValidationError.js +1 -1
- package/dist/models/WebsiteProperty.d.ts +1 -1
- package/dist/models/WebsiteProperty.js +1 -1
- package/dist/models/WebsitePropertyValue.d.ts +1 -1
- package/dist/models/WebsitePropertyValue.js +1 -1
- package/dist/models/ZoneLocationsEnum.d.ts +1 -1
- package/dist/models/ZoneLocationsEnum.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +16 -2
- package/dist/runtime.js +81 -2
- package/dist/runtime.js.map +1 -1
- package/package.json +1 -1
- package/spellbook-client/apis/CardListFromTextApi.ts +1 -1
- package/spellbook-client/apis/CardListFromUrlApi.ts +1 -1
- package/spellbook-client/apis/CardsApi.ts +11 -11
- package/spellbook-client/apis/DefaultApi.ts +1 -1
- package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
- package/spellbook-client/apis/ExplainQueryApi.ts +1 -1
- package/spellbook-client/apis/FeaturesApi.ts +2 -2
- package/spellbook-client/apis/FindMyCombosApi.ts +1 -1
- package/spellbook-client/apis/PropertiesApi.ts +1 -1
- package/spellbook-client/apis/TemplatesApi.ts +9 -9
- 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/CardDetail.md +18 -0
- package/spellbook-client/docs/CardsApi.md +7 -7
- package/spellbook-client/docs/EstimateBracketResult.md +0 -2
- package/spellbook-client/docs/FeaturesApi.md +2 -2
- package/spellbook-client/docs/TemplatesApi.md +4 -4
- package/spellbook-client/models/BattlefieldStartingCardState.ts +1 -1
- package/spellbook-client/models/BracketTagEnum.ts +1 -1
- package/spellbook-client/models/Card.ts +1 -1
- package/spellbook-client/models/CardDetail.ts +64 -1
- 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 +1 -1
- package/spellbook-client/models/CardUsedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/ClassifiedCard.ts +1 -1
- package/spellbook-client/models/ClassifiedVariant.ts +1 -1
- package/spellbook-client/models/ColorEnum.ts +1 -1
- package/spellbook-client/models/Combo.ts +1 -1
- package/spellbook-client/models/Deck.ts +1 -1
- package/spellbook-client/models/DeckRequest.ts +1 -1
- package/spellbook-client/models/EstimateBracketResult.ts +1 -15
- package/spellbook-client/models/ExileStartingCardState.ts +1 -1
- package/spellbook-client/models/Feature.ts +1 -1
- package/spellbook-client/models/FeatureOfCard.ts +1 -1
- 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 +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardArtCrop.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInLargeFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInNormalFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInPNGFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheBackOfTheCardInSmallFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheCardArtCrop.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInLargeFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInNormalFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInPNGFormat.ts +1 -1
- package/spellbook-client/models/ImageURIOfTheFrontOfTheCardInSmallFormat.ts +1 -1
- package/spellbook-client/models/InvalidUrlResponse.ts +1 -1
- package/spellbook-client/models/KindEnum.ts +1 -1
- package/spellbook-client/models/LayoutRotationEnum.ts +1 -1
- package/spellbook-client/models/LibraryStartingCardState.ts +1 -1
- package/spellbook-client/models/PaginatedCardDetailList.ts +1 -1
- package/spellbook-client/models/PaginatedFeatureList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseList.ts +1 -1
- package/spellbook-client/models/PaginatedFindMyCombosResponseListResults.ts +1 -1
- package/spellbook-client/models/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 +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestComment.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestEasyPrerequisites.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestManaNeeded.ts +1 -1
- package/spellbook-client/models/PatchedVariantSuggestionRequestNotablePrerequisites.ts +1 -1
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/PatchedVariantUpdateSuggestionRequestSolution.ts +1 -1
- package/spellbook-client/models/QueryExplanation.ts +1 -1
- package/spellbook-client/models/QueryExplanationValidationError.ts +1 -1
- package/spellbook-client/models/SuggestionStatusEnum.ts +1 -1
- package/spellbook-client/models/Template.ts +3 -1
- package/spellbook-client/models/TemplateInVariant.ts +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestion.ts +3 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +3 -1
- 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 +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestionIssue.ts +1 -1
- package/spellbook-client/models/VariantInVariantUpdateSuggestionRequest.ts +1 -1
- 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 +1 -1
- package/spellbook-client/models/VariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestion.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantsQueryValidationError.ts +1 -1
- package/spellbook-client/models/WebsiteProperty.ts +1 -1
- package/spellbook-client/models/WebsitePropertyValue.ts +1 -1
- package/spellbook-client/models/ZoneLocationsEnum.ts +1 -1
- package/spellbook-client/models/index.ts +0 -1
- package/spellbook-client/runtime.ts +81 -3
- package/dist/models/ClassifiedTemplate.d.ts +0 -43
- package/dist/models/ClassifiedTemplate.js +0 -57
- package/dist/models/ClassifiedTemplate.js.map +0 -1
- package/spellbook-client/docs/ClassifiedTemplate.md +0 -40
- package/spellbook-client/models/ClassifiedTemplate.ts +0 -93
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 7.0.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -491,11 +491,89 @@ export class VoidApiResponse {
|
|
|
491
491
|
export class BlobApiResponse {
|
|
492
492
|
constructor(public raw: Response) {}
|
|
493
493
|
|
|
494
|
-
|
|
495
|
-
|
|
494
|
+
/**
|
|
495
|
+
* The body as a File named after the Content-Disposition header, so that a download keeps the
|
|
496
|
+
* name the server gave it. A File is a Blob: callers reading a Blob are unaffected, and the name
|
|
497
|
+
* is empty when the server did not send one. Runtimes without a global File (Node.js before 20)
|
|
498
|
+
* keep receiving the bare Blob.
|
|
499
|
+
*/
|
|
500
|
+
async value(): Promise<File> {
|
|
501
|
+
const blob = await this.raw.blob();
|
|
502
|
+
if (typeof File === 'undefined') {
|
|
503
|
+
return blob as File;
|
|
504
|
+
}
|
|
505
|
+
return new File([blob], parseContentDispositionFilename(this.raw.headers) ?? '', { type: blob.type });
|
|
496
506
|
};
|
|
497
507
|
}
|
|
498
508
|
|
|
509
|
+
/**
|
|
510
|
+
* The file name advertised by a Content-Disposition header (RFC 6266): the RFC 5987 encoded
|
|
511
|
+
* `filename*` parameter first, then the plain `filename` as a quoted-string or a token. Parameters
|
|
512
|
+
* are split on `;` outside quoted-strings and matched by name case-insensitively. Any directory
|
|
513
|
+
* part is dropped so that the name is safe to write to disk as is; undefined when no usable name
|
|
514
|
+
* is advertised.
|
|
515
|
+
*/
|
|
516
|
+
export function parseContentDispositionFilename(headers: Headers): string | undefined {
|
|
517
|
+
const value = headers.get('Content-Disposition');
|
|
518
|
+
if (!value) {
|
|
519
|
+
return undefined;
|
|
520
|
+
}
|
|
521
|
+
const params = parseHeaderParameters(value);
|
|
522
|
+
const encoded = params.get('filename*');
|
|
523
|
+
if (encoded !== undefined) {
|
|
524
|
+
const extValue = /^utf-8'[^']*'(.*)$/i.exec(encoded);
|
|
525
|
+
if (extValue) {
|
|
526
|
+
try {
|
|
527
|
+
return basename(decodeURIComponent(extValue[1]));
|
|
528
|
+
} catch {
|
|
529
|
+
// malformed percent-encoding: fall through to the plain form
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
const plain = params.get('filename');
|
|
534
|
+
return plain === undefined ? undefined : basename(plain);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* The `name=value` parameters of a header value, split on `;` outside quoted-strings. Names are
|
|
539
|
+
* lower-cased, quoted-string values are unquoted with their backslash escapes resolved, and the
|
|
540
|
+
* first occurrence of a name wins.
|
|
541
|
+
*/
|
|
542
|
+
function parseHeaderParameters(value: string): Map<string, string> {
|
|
543
|
+
const params = new Map<string, string>();
|
|
544
|
+
let start = 0;
|
|
545
|
+
let quoted = false;
|
|
546
|
+
for (let i = 0; i <= value.length; i++) {
|
|
547
|
+
const c = value[i];
|
|
548
|
+
if (i === value.length || (c === ';' && !quoted)) {
|
|
549
|
+
const part = value.slice(start, i);
|
|
550
|
+
const eq = part.indexOf('=');
|
|
551
|
+
if (eq !== -1) {
|
|
552
|
+
const name = part.slice(0, eq).trim().toLowerCase();
|
|
553
|
+
let raw = part.slice(eq + 1).trim();
|
|
554
|
+
if (raw.startsWith('"')) {
|
|
555
|
+
raw = raw.slice(1, raw.length > 1 && raw.endsWith('"') ? -1 : undefined).replace(/\\(.)/g, '$1');
|
|
556
|
+
}
|
|
557
|
+
if (name && !params.has(name)) {
|
|
558
|
+
params.set(name, raw);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
start = i + 1;
|
|
562
|
+
} else if (c === '"') {
|
|
563
|
+
quoted = !quoted;
|
|
564
|
+
} else if (c === '\\' && quoted) {
|
|
565
|
+
i++;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
return params;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/** The last path segment of a file name, or undefined when nothing usable is left. */
|
|
572
|
+
function basename(name: string): string | undefined {
|
|
573
|
+
const base = name.slice(Math.max(name.lastIndexOf('/'), name.lastIndexOf('\\')) + 1).trim();
|
|
574
|
+
return base === '' || base === '.' || base === '..' ? undefined : base;
|
|
575
|
+
}
|
|
576
|
+
|
|
499
577
|
export class TextApiResponse {
|
|
500
578
|
constructor(public raw: Response) {}
|
|
501
579
|
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Commander Spellbook API
|
|
3
|
-
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 6.4.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Template } from './Template.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ClassifiedTemplate
|
|
17
|
-
*/
|
|
18
|
-
export interface ClassifiedTemplate {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
template: Template;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
quantity: number;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
massLandDenial: boolean;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
extraTurn: boolean;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ClassifiedTemplate interface.
|
|
38
|
-
*/
|
|
39
|
-
export declare function instanceOfClassifiedTemplate(value: object): value is ClassifiedTemplate;
|
|
40
|
-
export declare function ClassifiedTemplateFromJSON(json: any): ClassifiedTemplate;
|
|
41
|
-
export declare function ClassifiedTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifiedTemplate;
|
|
42
|
-
export declare function ClassifiedTemplateToJSON(json: any): ClassifiedTemplate;
|
|
43
|
-
export declare function ClassifiedTemplateToJSONTyped(value?: ClassifiedTemplate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
5
|
-
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 6.4.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
|
-
import { TemplateFromJSON, TemplateToJSON, } from './Template.js';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the ClassifiedTemplate interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfClassifiedTemplate(value) {
|
|
19
|
-
if (!('template' in value) || value['template'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('massLandDenial' in value) || value['massLandDenial'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
if (!('extraTurn' in value) || value['extraTurn'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function ClassifiedTemplateFromJSON(json) {
|
|
30
|
-
return ClassifiedTemplateFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function ClassifiedTemplateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'template': TemplateFromJSON(json['template']),
|
|
38
|
-
'quantity': json['quantity'],
|
|
39
|
-
'massLandDenial': json['massLandDenial'],
|
|
40
|
-
'extraTurn': json['extraTurn'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export function ClassifiedTemplateToJSON(json) {
|
|
44
|
-
return ClassifiedTemplateToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
export function ClassifiedTemplateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'template': TemplateToJSON(value['template']),
|
|
52
|
-
'quantity': value['quantity'],
|
|
53
|
-
'massLandDenial': value['massLandDenial'],
|
|
54
|
-
'extraTurn': value['extraTurn'],
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=ClassifiedTemplate.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClassifiedTemplate.js","sourceRoot":"","sources":["../../spellbook-client/models/ClassifiedTemplate.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,gBAAgB,EAEhB,cAAc,GAEjB,MAAM,eAAe,CAAC;AA0BvB;;GAEG;AACH,MAAM,UAAU,4BAA4B,CAAC,KAAa;IACtD,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC9C,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACxC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,KAAiC,EAAE,mBAAmB,GAAY,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,cAAc,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC7C,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;KAClC,CAAC;AACN,CAAC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# ClassifiedTemplate
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`template` | [Template](Template.md)
|
|
10
|
-
`quantity` | number
|
|
11
|
-
`massLandDenial` | boolean
|
|
12
|
-
`extraTurn` | boolean
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import type { ClassifiedTemplate } from ''
|
|
18
|
-
|
|
19
|
-
// TODO: Update the object below with actual values
|
|
20
|
-
const example = {
|
|
21
|
-
"template": null,
|
|
22
|
-
"quantity": null,
|
|
23
|
-
"massLandDenial": null,
|
|
24
|
-
"extraTurn": null,
|
|
25
|
-
} satisfies ClassifiedTemplate
|
|
26
|
-
|
|
27
|
-
console.log(example)
|
|
28
|
-
|
|
29
|
-
// Convert the instance to a JSON string
|
|
30
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
-
console.log(exampleJSON)
|
|
32
|
-
|
|
33
|
-
// Parse the JSON string back to an object
|
|
34
|
-
const exampleParsed = JSON.parse(exampleJSON) as ClassifiedTemplate
|
|
35
|
-
console.log(exampleParsed)
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Commander Spellbook API
|
|
5
|
-
* API for Commander Spellbook, the combo database engine for Magic: The Gathering. ## Bulk data Please do not use this API to export the whole dataset: consuming hundreds of result pages every time costs you time and us a ton of resources. Every variant, together with the variant aliases, is published as a single JSON document, refreshed periodically: * [/variants.json.gz](/variants.json.gz) — gzipped, prefer this one * [/variants.json](/variants.json) — uncompressed The document holds the `timestamp` it was built at, the `version` that built it, and the `variants` and `aliases` arrays, whose items have the very same shape as the `/variants/` and `/variant-aliases/` responses. Fetch it on a schedule of your own and read it locally. ## Using this API Make sparse, unauthenticated requests, with the general guideline of a few HTTP calls per user interaction with your tool. * Name your service, optionally with a version, in the [User-Agent](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/User-Agent#library_and_net_tool_ua_strings) header. * You may be rate limited: 80 requests per minute should be a safe rate, and clients should always handle `429 Too Many Requests` responses. * Responses use camelCase keys. * A TypeScript client is published on npm as [`@space-cow-media/spellbook-client`](https://www.npmjs.com/package/@space-cow-media/spellbook-client). Please credit us, and link back to []() where applicable. Thanks!
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 6.4.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime.js';
|
|
16
|
-
import type { Template } from './Template.js';
|
|
17
|
-
import {
|
|
18
|
-
TemplateFromJSON,
|
|
19
|
-
TemplateFromJSONTyped,
|
|
20
|
-
TemplateToJSON,
|
|
21
|
-
TemplateToJSONTyped,
|
|
22
|
-
} from './Template.js';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ClassifiedTemplate
|
|
28
|
-
*/
|
|
29
|
-
export interface ClassifiedTemplate {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
template: Template;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
quantity: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
massLandDenial: boolean;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
extraTurn: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the ClassifiedTemplate interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfClassifiedTemplate(value: object): value is ClassifiedTemplate {
|
|
52
|
-
if (!('template' in value) || value['template'] === undefined) return false;
|
|
53
|
-
if (!('quantity' in value) || value['quantity'] === undefined) return false;
|
|
54
|
-
if (!('massLandDenial' in value) || value['massLandDenial'] === undefined) return false;
|
|
55
|
-
if (!('extraTurn' in value) || value['extraTurn'] === undefined) return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ClassifiedTemplateFromJSON(json: any): ClassifiedTemplate {
|
|
60
|
-
return ClassifiedTemplateFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ClassifiedTemplateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ClassifiedTemplate {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'template': TemplateFromJSON(json['template']),
|
|
70
|
-
'quantity': json['quantity'],
|
|
71
|
-
'massLandDenial': json['massLandDenial'],
|
|
72
|
-
'extraTurn': json['extraTurn'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function ClassifiedTemplateToJSON(json: any): ClassifiedTemplate {
|
|
77
|
-
return ClassifiedTemplateToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function ClassifiedTemplateToJSONTyped(value?: ClassifiedTemplate | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'template': TemplateToJSON(value['template']),
|
|
88
|
-
'quantity': value['quantity'],
|
|
89
|
-
'massLandDenial': value['massLandDenial'],
|
|
90
|
-
'extraTurn': value['extraTurn'],
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
|