@space-cow-media/spellbook-client 5.8.2 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/CardListFromTextApi.d.ts +1 -1
- package/dist/apis/CardListFromTextApi.js +1 -1
- package/dist/apis/CardListFromUrlApi.d.ts +1 -1
- package/dist/apis/CardListFromUrlApi.js +1 -1
- package/dist/apis/CardsApi.d.ts +1 -1
- package/dist/apis/CardsApi.js +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 +34 -0
- package/dist/apis/ExplainQueryApi.js +76 -0
- package/dist/apis/ExplainQueryApi.js.map +1 -0
- package/dist/apis/FeaturesApi.d.ts +1 -1
- 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 +1 -1
- package/dist/apis/TemplatesApi.js +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/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +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 +1 -1
- package/dist/models/CardDetail.js +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/ClassifiedTemplate.d.ts +1 -1
- package/dist/models/ClassifiedTemplate.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 -1
- package/dist/models/EstimateBracketResult.js +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 +34 -0
- package/dist/models/QueryExplanation.js +48 -0
- package/dist/models/QueryExplanation.js.map +1 -0
- package/dist/models/QueryExplanationValidationError.d.ts +30 -0
- package/dist/models/QueryExplanationValidationError.js +44 -0
- package/dist/models/QueryExplanationValidationError.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/TemplateInVariant.d.ts +1 -1
- package/dist/models/TemplateInVariant.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.d.ts +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestion.js +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.d.ts +1 -1
- package/dist/models/TemplateRequiredInVariantSuggestionRequest.js +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 +2 -2
- package/dist/models/VariantSuggestion.js.map +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 +2 -2
- package/dist/models/VariantUpdateSuggestion.js.map +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 +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +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 +1 -1
- package/spellbook-client/apis/DefaultApi.ts +1 -1
- package/spellbook-client/apis/EstimateBracketApi.ts +1 -1
- package/spellbook-client/apis/ExplainQueryApi.ts +89 -0
- 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/apis/index.ts +1 -0
- package/spellbook-client/docs/ExplainQueryApi.md +84 -0
- package/spellbook-client/docs/QueryExplanation.md +36 -0
- package/spellbook-client/docs/QueryExplanationValidationError.md +34 -0
- 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 +1 -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/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 +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 +71 -0
- package/spellbook-client/models/QueryExplanationValidationError.ts +64 -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 +1 -1
- package/spellbook-client/models/TemplateRequiredInVariantSuggestionRequest.ts +1 -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 +2 -2
- package/spellbook-client/models/VariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/VariantUpdateSuggestion.ts +2 -2
- 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 +2 -0
- package/spellbook-client/runtime.ts +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* 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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/index.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ export * from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
|
59
59
|
export * from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
60
60
|
export * from './PatchedVariantUpdateSuggestionRequest.js';
|
|
61
61
|
export * from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
62
|
+
export * from './QueryExplanation.js';
|
|
63
|
+
export * from './QueryExplanationValidationError.js';
|
|
62
64
|
export * from './SuggestionStatusEnum.js';
|
|
63
65
|
export * from './Template.js';
|
|
64
66
|
export * from './TemplateInVariant.js';
|
package/dist/models/index.js
CHANGED
|
@@ -61,6 +61,8 @@ export * from './PatchedVariantSuggestionRequestManaNeeded.js';
|
|
|
61
61
|
export * from './PatchedVariantSuggestionRequestNotablePrerequisites.js';
|
|
62
62
|
export * from './PatchedVariantUpdateSuggestionRequest.js';
|
|
63
63
|
export * from './PatchedVariantUpdateSuggestionRequestSolution.js';
|
|
64
|
+
export * from './QueryExplanation.js';
|
|
65
|
+
export * from './QueryExplanationValidationError.js';
|
|
64
66
|
export * from './SuggestionStatusEnum.js';
|
|
65
67
|
export * from './Template.js';
|
|
66
68
|
export * from './TemplateInVariant.js';
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../spellbook-client/models/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAA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,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC"}
|
package/dist/runtime.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 6.0.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/runtime.js
CHANGED
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,89 @@
|
|
|
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: 6.0.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import * as runtime from '../runtime.js';
|
|
16
|
+
import {
|
|
17
|
+
type QueryExplanation,
|
|
18
|
+
QueryExplanationFromJSON,
|
|
19
|
+
QueryExplanationToJSON,
|
|
20
|
+
} from '../models/QueryExplanation.js';
|
|
21
|
+
import {
|
|
22
|
+
type QueryExplanationValidationError,
|
|
23
|
+
QueryExplanationValidationErrorFromJSON,
|
|
24
|
+
QueryExplanationValidationErrorToJSON,
|
|
25
|
+
} from '../models/QueryExplanationValidationError.js';
|
|
26
|
+
|
|
27
|
+
export interface ExplainQueryRetrieveRequest {
|
|
28
|
+
/**
|
|
29
|
+
* A search query to explain in plain English.
|
|
30
|
+
*/
|
|
31
|
+
q?: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export class ExplainQueryApi extends runtime.BaseAPI {
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for explainQueryRetrieve without sending the request
|
|
41
|
+
*/
|
|
42
|
+
async explainQueryRetrieveRequestOpts(requestParameters: ExplainQueryRetrieveRequest): Promise<runtime.RequestOpts> {
|
|
43
|
+
const queryParameters: any = {};
|
|
44
|
+
|
|
45
|
+
if (requestParameters['q'] != null) {
|
|
46
|
+
queryParameters['q'] = requestParameters['q'];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
50
|
+
|
|
51
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
52
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
53
|
+
}
|
|
54
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
55
|
+
const token = this.configuration.accessToken;
|
|
56
|
+
const tokenString = await token("jwtAuth", []);
|
|
57
|
+
|
|
58
|
+
if (tokenString) {
|
|
59
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
let urlPath = `/explain-query`;
|
|
64
|
+
|
|
65
|
+
return {
|
|
66
|
+
path: urlPath,
|
|
67
|
+
method: 'GET',
|
|
68
|
+
headers: headerParameters,
|
|
69
|
+
query: queryParameters,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
*/
|
|
75
|
+
async explainQueryRetrieveRaw(requestParameters: ExplainQueryRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<QueryExplanation>> {
|
|
76
|
+
const requestOptions = await this.explainQueryRetrieveRequestOpts(requestParameters);
|
|
77
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
78
|
+
|
|
79
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => QueryExplanationFromJSON(jsonValue));
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
*/
|
|
84
|
+
async explainQueryRetrieve(requestParameters: ExplainQueryRetrieveRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<QueryExplanation> {
|
|
85
|
+
const response = await this.explainQueryRetrieveRaw(requestParameters, initOverrides);
|
|
86
|
+
return await response.value();
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
}
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,6 +5,7 @@ export * from './CardListFromUrlApi.js';
|
|
|
5
5
|
export * from './CardsApi.js';
|
|
6
6
|
export * from './DefaultApi.js';
|
|
7
7
|
export * from './EstimateBracketApi.js';
|
|
8
|
+
export * from './ExplainQueryApi.js';
|
|
8
9
|
export * from './FeaturesApi.js';
|
|
9
10
|
export * from './FindMyCombosApi.js';
|
|
10
11
|
export * from './PropertiesApi.js';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# ExplainQueryApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**explainQueryRetrieve**](ExplainQueryApi.md#explainqueryretrieve) | **GET** /explain-query | |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## explainQueryRetrieve
|
|
12
|
+
|
|
13
|
+
> QueryExplanation explainQueryRetrieve(q)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
Configuration,
|
|
22
|
+
ExplainQueryApi,
|
|
23
|
+
} from '';
|
|
24
|
+
import type { ExplainQueryRetrieveRequest } from '';
|
|
25
|
+
|
|
26
|
+
async function example() {
|
|
27
|
+
console.log("🚀 Testing SDK...");
|
|
28
|
+
const config = new Configuration({
|
|
29
|
+
// To configure HTTP basic authorization: basicAuth
|
|
30
|
+
username: "YOUR USERNAME",
|
|
31
|
+
password: "YOUR PASSWORD",
|
|
32
|
+
// To configure API key authorization: cookieAuth
|
|
33
|
+
apiKey: "YOUR API KEY",
|
|
34
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
35
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
36
|
+
});
|
|
37
|
+
const api = new ExplainQueryApi(config);
|
|
38
|
+
|
|
39
|
+
const body = {
|
|
40
|
+
// string | A search query to explain in plain English. (optional)
|
|
41
|
+
q: q_example,
|
|
42
|
+
} satisfies ExplainQueryRetrieveRequest;
|
|
43
|
+
|
|
44
|
+
try {
|
|
45
|
+
const data = await api.explainQueryRetrieve(body);
|
|
46
|
+
console.log(data);
|
|
47
|
+
} catch (error) {
|
|
48
|
+
console.error(error);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Run the test
|
|
53
|
+
example().catch(console.error);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Parameters
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
| Name | Type | Description | Notes |
|
|
60
|
+
|------------- | ------------- | ------------- | -------------|
|
|
61
|
+
| **q** | `string` | A search query to explain in plain English. | [Optional] [Defaults to `undefined`] |
|
|
62
|
+
|
|
63
|
+
### Return type
|
|
64
|
+
|
|
65
|
+
[**QueryExplanation**](QueryExplanation.md)
|
|
66
|
+
|
|
67
|
+
### Authorization
|
|
68
|
+
|
|
69
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
70
|
+
|
|
71
|
+
### HTTP request headers
|
|
72
|
+
|
|
73
|
+
- **Content-Type**: Not defined
|
|
74
|
+
- **Accept**: `application/json`
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### HTTP response details
|
|
78
|
+
| Status code | Description | Response headers |
|
|
79
|
+
|-------------|-------------|------------------|
|
|
80
|
+
| **200** | | - |
|
|
81
|
+
| **400** | | - |
|
|
82
|
+
|
|
83
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
84
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# QueryExplanation
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`q` | string
|
|
10
|
+
`explanation` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { QueryExplanation } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"q": null,
|
|
20
|
+
"explanation": null,
|
|
21
|
+
} satisfies QueryExplanation
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as QueryExplanation
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# QueryExplanationValidationError
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`q` | Array<string>
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { QueryExplanationValidationError } from ''
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"q": null,
|
|
19
|
+
} satisfies QueryExplanationValidationError
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as QueryExplanationValidationError
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 6.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|