@space-cow-media/spellbook-client 4.8.13 → 4.8.15
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/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/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/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/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/identityEnum.d.ts +1 -1
- package/dist/models/identityEnum.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/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/patchedVariantUpdateSuggestionRequest.d.ts +1 -1
- package/dist/models/patchedVariantUpdateSuggestionRequest.js +1 -1
- 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/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/zoneLocationsEnum.d.ts +1 -1
- package/dist/models/zoneLocationsEnum.js +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/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/BracketTagEnum.md +33 -0
- package/spellbook-client/docs/Card.md +62 -0
- package/spellbook-client/docs/CardDetail.md +92 -0
- package/spellbook-client/docs/CardInDeck.md +36 -0
- package/spellbook-client/docs/CardInDeckRequest.md +36 -0
- package/spellbook-client/docs/CardInVariant.md +48 -0
- package/spellbook-client/docs/CardLegalities.md +58 -0
- package/spellbook-client/docs/CardListFromTextApi.md +150 -0
- package/spellbook-client/docs/CardListFromUrlApi.md +84 -0
- package/spellbook-client/docs/CardPrices.md +38 -0
- package/spellbook-client/docs/CardUsedInVariantSuggestion.md +48 -0
- package/spellbook-client/docs/CardUsedInVariantSuggestionRequest.md +48 -0
- package/spellbook-client/docs/CardsApi.md +170 -0
- package/spellbook-client/docs/Combo.md +34 -0
- package/spellbook-client/docs/Deck.md +36 -0
- package/spellbook-client/docs/DeckRequest.md +36 -0
- package/spellbook-client/docs/DefaultApi.md +150 -0
- package/spellbook-client/docs/EstimateBracketApi.md +150 -0
- package/spellbook-client/docs/EstimateBracketResult.md +64 -0
- package/spellbook-client/docs/Feature.md +40 -0
- package/spellbook-client/docs/FeatureOfCard.md +50 -0
- package/spellbook-client/docs/FeatureProducedByVariant.md +36 -0
- package/spellbook-client/docs/FeatureProducedInVariantSuggestion.md +34 -0
- package/spellbook-client/docs/FeatureProducedInVariantSuggestionRequest.md +34 -0
- package/spellbook-client/docs/FeatureStatusEnum.md +33 -0
- package/spellbook-client/docs/FeaturesApi.md +167 -0
- package/spellbook-client/docs/FindMyCombosApi.md +191 -0
- package/spellbook-client/docs/FindMyCombosResponse.md +46 -0
- package/spellbook-client/docs/IdentityEnum.md +33 -0
- package/spellbook-client/docs/InvalidUrlResponse.md +34 -0
- package/spellbook-client/docs/KindEnum.md +33 -0
- package/spellbook-client/docs/PaginatedCardDetailList.md +40 -0
- package/spellbook-client/docs/PaginatedFeatureList.md +40 -0
- package/spellbook-client/docs/PaginatedFindMyCombosResponseList.md +40 -0
- package/spellbook-client/docs/PaginatedFindMyCombosResponseListResults.md +46 -0
- package/spellbook-client/docs/PaginatedTemplateList.md +40 -0
- package/spellbook-client/docs/PaginatedUserDetailList.md +40 -0
- package/spellbook-client/docs/PaginatedVariantAliasList.md +40 -0
- package/spellbook-client/docs/PaginatedVariantList.md +40 -0
- package/spellbook-client/docs/PaginatedVariantSuggestionList.md +40 -0
- package/spellbook-client/docs/PaginatedVariantUpdateSuggestionList.md +40 -0
- package/spellbook-client/docs/PaginatedWebsitePropertyList.md +40 -0
- package/spellbook-client/docs/PatchedUserDetailRequest.md +38 -0
- package/spellbook-client/docs/PatchedVariantSuggestionRequest.md +52 -0
- package/spellbook-client/docs/PatchedVariantUpdateSuggestionRequest.md +42 -0
- package/spellbook-client/docs/PropertiesApi.md +161 -0
- package/spellbook-client/docs/SuggestionStatusEnum.md +33 -0
- package/spellbook-client/docs/Template.md +40 -0
- package/spellbook-client/docs/TemplateInVariant.md +48 -0
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestion.md +50 -0
- package/spellbook-client/docs/TemplateRequiredInVariantSuggestionRequest.md +50 -0
- package/spellbook-client/docs/TemplatesApi.md +164 -0
- package/spellbook-client/docs/TokenApi.md +212 -0
- package/spellbook-client/docs/TokenObtainPair.md +36 -0
- package/spellbook-client/docs/TokenObtainPairRequest.md +38 -0
- package/spellbook-client/docs/TokenRefresh.md +34 -0
- package/spellbook-client/docs/TokenRefreshRequest.md +34 -0
- package/spellbook-client/docs/TokenVerifyRequest.md +34 -0
- package/spellbook-client/docs/User.md +36 -0
- package/spellbook-client/docs/UserDetail.md +46 -0
- package/spellbook-client/docs/UserDetailRequest.md +38 -0
- package/spellbook-client/docs/UserRequest.md +34 -0
- package/spellbook-client/docs/UsersApi.md +392 -0
- package/spellbook-client/docs/Variant.md +72 -0
- package/spellbook-client/docs/VariantAlias.md +36 -0
- package/spellbook-client/docs/VariantAliasesApi.md +161 -0
- package/spellbook-client/docs/VariantInVariantUpdateSuggestion.md +36 -0
- package/spellbook-client/docs/VariantInVariantUpdateSuggestionRequest.md +36 -0
- package/spellbook-client/docs/VariantLegalities.md +58 -0
- package/spellbook-client/docs/VariantPrices.md +38 -0
- package/spellbook-client/docs/VariantStatusEnum.md +33 -0
- package/spellbook-client/docs/VariantSuggestion.md +60 -0
- package/spellbook-client/docs/VariantSuggestionRequest.md +52 -0
- package/spellbook-client/docs/VariantSuggestionsApi.md +707 -0
- package/spellbook-client/docs/VariantUpdateSuggestion.md +50 -0
- package/spellbook-client/docs/VariantUpdateSuggestionRequest.md +42 -0
- package/spellbook-client/docs/VariantUpdateSuggestionsApi.md +707 -0
- package/spellbook-client/docs/VariantsApi.md +175 -0
- package/spellbook-client/docs/VariantsQueryValidationError.md +34 -0
- package/spellbook-client/docs/WebsiteProperty.md +36 -0
- package/spellbook-client/docs/ZoneLocationsEnum.md +33 -0
- 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/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/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/identityEnum.ts +1 -1
- package/spellbook-client/models/invalidUrlResponse.ts +1 -1
- package/spellbook-client/models/kindEnum.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/patchedVariantUpdateSuggestionRequest.ts +1 -1
- 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/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/zoneLocationsEnum.ts +1 -1
- package/spellbook-client/runtime.ts +1 -1
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# CardsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**cardsList**](CardsApi.md#cardslist) | **GET** /cards/ | |
|
|
8
|
+
| [**cardsRetrieve**](CardsApi.md#cardsretrieve) | **GET** /cards/{id}/ | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## cardsList
|
|
13
|
+
|
|
14
|
+
> PaginatedCardDetailList cardsList(limit, offset, ordering, q, replaces)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
CardsApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { CardsListRequest } from '';
|
|
26
|
+
|
|
27
|
+
async function example() {
|
|
28
|
+
console.log("🚀 Testing SDK...");
|
|
29
|
+
const config = new Configuration({
|
|
30
|
+
// To configure HTTP basic authorization: basicAuth
|
|
31
|
+
username: "YOUR USERNAME",
|
|
32
|
+
password: "YOUR PASSWORD",
|
|
33
|
+
// To configure API key authorization: cookieAuth
|
|
34
|
+
apiKey: "YOUR API KEY",
|
|
35
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
36
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
37
|
+
});
|
|
38
|
+
const api = new CardsApi(config);
|
|
39
|
+
|
|
40
|
+
const body = {
|
|
41
|
+
// number | Number of results to return per page. (optional)
|
|
42
|
+
limit: 56,
|
|
43
|
+
// number | The initial index from which to return the results. (optional)
|
|
44
|
+
offset: 56,
|
|
45
|
+
// string | Which field to use when ordering the results. (optional)
|
|
46
|
+
ordering: ordering_example,
|
|
47
|
+
// string | A search query. (optional)
|
|
48
|
+
q: q_example,
|
|
49
|
+
// Array<number> (optional)
|
|
50
|
+
replaces: ...,
|
|
51
|
+
} satisfies CardsListRequest;
|
|
52
|
+
|
|
53
|
+
try {
|
|
54
|
+
const data = await api.cardsList(body);
|
|
55
|
+
console.log(data);
|
|
56
|
+
} catch (error) {
|
|
57
|
+
console.error(error);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Run the test
|
|
62
|
+
example().catch(console.error);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Parameters
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
| Name | Type | Description | Notes |
|
|
69
|
+
|------------- | ------------- | ------------- | -------------|
|
|
70
|
+
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
71
|
+
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
72
|
+
| **ordering** | `string` | Which field to use when ordering the results. | [Optional] [Defaults to `undefined`] |
|
|
73
|
+
| **q** | `string` | A search query. | [Optional] [Defaults to `undefined`] |
|
|
74
|
+
| **replaces** | `Array<number>` | | [Optional] |
|
|
75
|
+
|
|
76
|
+
### Return type
|
|
77
|
+
|
|
78
|
+
[**PaginatedCardDetailList**](PaginatedCardDetailList.md)
|
|
79
|
+
|
|
80
|
+
### Authorization
|
|
81
|
+
|
|
82
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
83
|
+
|
|
84
|
+
### HTTP request headers
|
|
85
|
+
|
|
86
|
+
- **Content-Type**: Not defined
|
|
87
|
+
- **Accept**: `application/json`
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### HTTP response details
|
|
91
|
+
| Status code | Description | Response headers |
|
|
92
|
+
|-------------|-------------|------------------|
|
|
93
|
+
| **200** | | - |
|
|
94
|
+
|
|
95
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## cardsRetrieve
|
|
99
|
+
|
|
100
|
+
> CardDetail cardsRetrieve(id)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Example
|
|
105
|
+
|
|
106
|
+
```ts
|
|
107
|
+
import {
|
|
108
|
+
Configuration,
|
|
109
|
+
CardsApi,
|
|
110
|
+
} from '';
|
|
111
|
+
import type { CardsRetrieveRequest } from '';
|
|
112
|
+
|
|
113
|
+
async function example() {
|
|
114
|
+
console.log("🚀 Testing SDK...");
|
|
115
|
+
const config = new Configuration({
|
|
116
|
+
// To configure HTTP basic authorization: basicAuth
|
|
117
|
+
username: "YOUR USERNAME",
|
|
118
|
+
password: "YOUR PASSWORD",
|
|
119
|
+
// To configure API key authorization: cookieAuth
|
|
120
|
+
apiKey: "YOUR API KEY",
|
|
121
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
122
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
123
|
+
});
|
|
124
|
+
const api = new CardsApi(config);
|
|
125
|
+
|
|
126
|
+
const body = {
|
|
127
|
+
// number | A unique integer value identifying this card.
|
|
128
|
+
id: 56,
|
|
129
|
+
} satisfies CardsRetrieveRequest;
|
|
130
|
+
|
|
131
|
+
try {
|
|
132
|
+
const data = await api.cardsRetrieve(body);
|
|
133
|
+
console.log(data);
|
|
134
|
+
} catch (error) {
|
|
135
|
+
console.error(error);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// Run the test
|
|
140
|
+
example().catch(console.error);
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
| Name | Type | Description | Notes |
|
|
147
|
+
|------------- | ------------- | ------------- | -------------|
|
|
148
|
+
| **id** | `number` | A unique integer value identifying this card. | [Defaults to `undefined`] |
|
|
149
|
+
|
|
150
|
+
### Return type
|
|
151
|
+
|
|
152
|
+
[**CardDetail**](CardDetail.md)
|
|
153
|
+
|
|
154
|
+
### Authorization
|
|
155
|
+
|
|
156
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
157
|
+
|
|
158
|
+
### HTTP request headers
|
|
159
|
+
|
|
160
|
+
- **Content-Type**: Not defined
|
|
161
|
+
- **Accept**: `application/json`
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
### HTTP response details
|
|
165
|
+
| Status code | Description | Response headers |
|
|
166
|
+
|-------------|-------------|------------------|
|
|
167
|
+
| **200** | | - |
|
|
168
|
+
|
|
169
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
170
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# Combo
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { Combo } from ''
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"id": null,
|
|
19
|
+
} satisfies Combo
|
|
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 Combo
|
|
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
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# Deck
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`main` | [Array<CardInDeck>](CardInDeck.md)
|
|
10
|
+
`commanders` | [Array<CardInDeck>](CardInDeck.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { Deck } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"main": null,
|
|
20
|
+
"commanders": null,
|
|
21
|
+
} satisfies Deck
|
|
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 Deck
|
|
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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# DeckRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`main` | [Array<CardInDeckRequest>](CardInDeckRequest.md)
|
|
10
|
+
`commanders` | [Array<CardInDeckRequest>](CardInDeckRequest.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { DeckRequest } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"main": null,
|
|
20
|
+
"commanders": null,
|
|
21
|
+
} satisfies DeckRequest
|
|
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 DeckRequest
|
|
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,150 @@
|
|
|
1
|
+
# DefaultApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**rootFormattedRetrieve**](DefaultApi.md#rootformattedretrieve) | **GET** /{format} | |
|
|
8
|
+
| [**rootRetrieve**](DefaultApi.md#rootretrieve) | **GET** / | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## rootFormattedRetrieve
|
|
13
|
+
|
|
14
|
+
> { [key: string]: any; } rootFormattedRetrieve(format)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
DefaultApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { RootFormattedRetrieveRequest } from '';
|
|
26
|
+
|
|
27
|
+
async function example() {
|
|
28
|
+
console.log("🚀 Testing SDK...");
|
|
29
|
+
const config = new Configuration({
|
|
30
|
+
// To configure HTTP basic authorization: basicAuth
|
|
31
|
+
username: "YOUR USERNAME",
|
|
32
|
+
password: "YOUR PASSWORD",
|
|
33
|
+
// To configure API key authorization: cookieAuth
|
|
34
|
+
apiKey: "YOUR API KEY",
|
|
35
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
36
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
37
|
+
});
|
|
38
|
+
const api = new DefaultApi(config);
|
|
39
|
+
|
|
40
|
+
const body = {
|
|
41
|
+
// '.json'
|
|
42
|
+
format: format_example,
|
|
43
|
+
} satisfies RootFormattedRetrieveRequest;
|
|
44
|
+
|
|
45
|
+
try {
|
|
46
|
+
const data = await api.rootFormattedRetrieve(body);
|
|
47
|
+
console.log(data);
|
|
48
|
+
} catch (error) {
|
|
49
|
+
console.error(error);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Run the test
|
|
54
|
+
example().catch(console.error);
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
| Name | Type | Description | Notes |
|
|
61
|
+
|------------- | ------------- | ------------- | -------------|
|
|
62
|
+
| **format** | `.json` | | [Defaults to `undefined`] [Enum: .json] |
|
|
63
|
+
|
|
64
|
+
### Return type
|
|
65
|
+
|
|
66
|
+
**{ [key: string]: any; }**
|
|
67
|
+
|
|
68
|
+
### Authorization
|
|
69
|
+
|
|
70
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
71
|
+
|
|
72
|
+
### HTTP request headers
|
|
73
|
+
|
|
74
|
+
- **Content-Type**: Not defined
|
|
75
|
+
- **Accept**: `application/json`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### HTTP response details
|
|
79
|
+
| Status code | Description | Response headers |
|
|
80
|
+
|-------------|-------------|------------------|
|
|
81
|
+
| **200** | | - |
|
|
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
|
+
|
|
85
|
+
|
|
86
|
+
## rootRetrieve
|
|
87
|
+
|
|
88
|
+
> { [key: string]: any; } rootRetrieve()
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Example
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
import {
|
|
96
|
+
Configuration,
|
|
97
|
+
DefaultApi,
|
|
98
|
+
} from '';
|
|
99
|
+
import type { RootRetrieveRequest } from '';
|
|
100
|
+
|
|
101
|
+
async function example() {
|
|
102
|
+
console.log("🚀 Testing SDK...");
|
|
103
|
+
const config = new Configuration({
|
|
104
|
+
// To configure HTTP basic authorization: basicAuth
|
|
105
|
+
username: "YOUR USERNAME",
|
|
106
|
+
password: "YOUR PASSWORD",
|
|
107
|
+
// To configure API key authorization: cookieAuth
|
|
108
|
+
apiKey: "YOUR API KEY",
|
|
109
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
110
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
111
|
+
});
|
|
112
|
+
const api = new DefaultApi(config);
|
|
113
|
+
|
|
114
|
+
try {
|
|
115
|
+
const data = await api.rootRetrieve();
|
|
116
|
+
console.log(data);
|
|
117
|
+
} catch (error) {
|
|
118
|
+
console.error(error);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Run the test
|
|
123
|
+
example().catch(console.error);
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Parameters
|
|
127
|
+
|
|
128
|
+
This endpoint does not need any parameter.
|
|
129
|
+
|
|
130
|
+
### Return type
|
|
131
|
+
|
|
132
|
+
**{ [key: string]: any; }**
|
|
133
|
+
|
|
134
|
+
### Authorization
|
|
135
|
+
|
|
136
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
137
|
+
|
|
138
|
+
### HTTP request headers
|
|
139
|
+
|
|
140
|
+
- **Content-Type**: Not defined
|
|
141
|
+
- **Accept**: `application/json`
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### HTTP response details
|
|
145
|
+
| Status code | Description | Response headers |
|
|
146
|
+
|-------------|-------------|------------------|
|
|
147
|
+
| **200** | | - |
|
|
148
|
+
|
|
149
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
150
|
+
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# EstimateBracketApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**estimateBracketCreate**](EstimateBracketApi.md#estimatebracketcreate) | **POST** /estimate-bracket | |
|
|
8
|
+
| [**estimateBracketRetrieve**](EstimateBracketApi.md#estimatebracketretrieve) | **GET** /estimate-bracket | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## estimateBracketCreate
|
|
13
|
+
|
|
14
|
+
> EstimateBracketResult estimateBracketCreate(deckRequest)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
EstimateBracketApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { EstimateBracketCreateRequest } from '';
|
|
26
|
+
|
|
27
|
+
async function example() {
|
|
28
|
+
console.log("🚀 Testing SDK...");
|
|
29
|
+
const config = new Configuration({
|
|
30
|
+
// To configure HTTP basic authorization: basicAuth
|
|
31
|
+
username: "YOUR USERNAME",
|
|
32
|
+
password: "YOUR PASSWORD",
|
|
33
|
+
// To configure API key authorization: cookieAuth
|
|
34
|
+
apiKey: "YOUR API KEY",
|
|
35
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
36
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
37
|
+
});
|
|
38
|
+
const api = new EstimateBracketApi(config);
|
|
39
|
+
|
|
40
|
+
const body = {
|
|
41
|
+
// DeckRequest (optional)
|
|
42
|
+
deckRequest: ...,
|
|
43
|
+
} satisfies EstimateBracketCreateRequest;
|
|
44
|
+
|
|
45
|
+
try {
|
|
46
|
+
const data = await api.estimateBracketCreate(body);
|
|
47
|
+
console.log(data);
|
|
48
|
+
} catch (error) {
|
|
49
|
+
console.error(error);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Run the test
|
|
54
|
+
example().catch(console.error);
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
| Name | Type | Description | Notes |
|
|
61
|
+
|------------- | ------------- | ------------- | -------------|
|
|
62
|
+
| **deckRequest** | [DeckRequest](DeckRequest.md) | | [Optional] |
|
|
63
|
+
|
|
64
|
+
### Return type
|
|
65
|
+
|
|
66
|
+
[**EstimateBracketResult**](EstimateBracketResult.md)
|
|
67
|
+
|
|
68
|
+
### Authorization
|
|
69
|
+
|
|
70
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
71
|
+
|
|
72
|
+
### HTTP request headers
|
|
73
|
+
|
|
74
|
+
- **Content-Type**: `application/json`, `text/plain`
|
|
75
|
+
- **Accept**: `application/json`
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### HTTP response details
|
|
79
|
+
| Status code | Description | Response headers |
|
|
80
|
+
|-------------|-------------|------------------|
|
|
81
|
+
| **200** | | - |
|
|
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
|
+
|
|
85
|
+
|
|
86
|
+
## estimateBracketRetrieve
|
|
87
|
+
|
|
88
|
+
> EstimateBracketResult estimateBracketRetrieve()
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Example
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
import {
|
|
96
|
+
Configuration,
|
|
97
|
+
EstimateBracketApi,
|
|
98
|
+
} from '';
|
|
99
|
+
import type { EstimateBracketRetrieveRequest } from '';
|
|
100
|
+
|
|
101
|
+
async function example() {
|
|
102
|
+
console.log("🚀 Testing SDK...");
|
|
103
|
+
const config = new Configuration({
|
|
104
|
+
// To configure HTTP basic authorization: basicAuth
|
|
105
|
+
username: "YOUR USERNAME",
|
|
106
|
+
password: "YOUR PASSWORD",
|
|
107
|
+
// To configure API key authorization: cookieAuth
|
|
108
|
+
apiKey: "YOUR API KEY",
|
|
109
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
110
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
111
|
+
});
|
|
112
|
+
const api = new EstimateBracketApi(config);
|
|
113
|
+
|
|
114
|
+
try {
|
|
115
|
+
const data = await api.estimateBracketRetrieve();
|
|
116
|
+
console.log(data);
|
|
117
|
+
} catch (error) {
|
|
118
|
+
console.error(error);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Run the test
|
|
123
|
+
example().catch(console.error);
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Parameters
|
|
127
|
+
|
|
128
|
+
This endpoint does not need any parameter.
|
|
129
|
+
|
|
130
|
+
### Return type
|
|
131
|
+
|
|
132
|
+
[**EstimateBracketResult**](EstimateBracketResult.md)
|
|
133
|
+
|
|
134
|
+
### Authorization
|
|
135
|
+
|
|
136
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
137
|
+
|
|
138
|
+
### HTTP request headers
|
|
139
|
+
|
|
140
|
+
- **Content-Type**: Not defined
|
|
141
|
+
- **Accept**: `application/json`
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
### HTTP response details
|
|
145
|
+
| Status code | Description | Response headers |
|
|
146
|
+
|-------------|-------------|------------------|
|
|
147
|
+
| **200** | | - |
|
|
148
|
+
|
|
149
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
150
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
|
|
2
|
+
# EstimateBracketResult
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`bracketTag` | [BracketTagEnum](BracketTagEnum.md)
|
|
10
|
+
`gameChangerCards` | [Array<Card>](Card.md)
|
|
11
|
+
`massLandDenialCards` | [Array<Card>](Card.md)
|
|
12
|
+
`massLandDenialTemplates` | [Array<Variant>](Variant.md)
|
|
13
|
+
`massLandDenialCombos` | [Array<Variant>](Variant.md)
|
|
14
|
+
`extraTurnCards` | [Array<Card>](Card.md)
|
|
15
|
+
`extraTurnTemplates` | [Array<Variant>](Variant.md)
|
|
16
|
+
`extraTurnsCombos` | [Array<Variant>](Variant.md)
|
|
17
|
+
`tutorCards` | [Array<Card>](Card.md)
|
|
18
|
+
`tutorTemplates` | [Array<Variant>](Variant.md)
|
|
19
|
+
`lockCombos` | [Array<Variant>](Variant.md)
|
|
20
|
+
`skipTurnsCombos` | [Array<Variant>](Variant.md)
|
|
21
|
+
`definitelyEarlyGameTwoCardCombos` | [Array<Variant>](Variant.md)
|
|
22
|
+
`arguablyEarlyGameTwoCardCombos` | [Array<Variant>](Variant.md)
|
|
23
|
+
`definitelyLateGameTwoCardCombos` | [Array<Variant>](Variant.md)
|
|
24
|
+
`borderlineLateGameTwoCardCombos` | [Array<Variant>](Variant.md)
|
|
25
|
+
|
|
26
|
+
## Example
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
import type { EstimateBracketResult } from ''
|
|
30
|
+
|
|
31
|
+
// TODO: Update the object below with actual values
|
|
32
|
+
const example = {
|
|
33
|
+
"bracketTag": null,
|
|
34
|
+
"gameChangerCards": null,
|
|
35
|
+
"massLandDenialCards": null,
|
|
36
|
+
"massLandDenialTemplates": null,
|
|
37
|
+
"massLandDenialCombos": null,
|
|
38
|
+
"extraTurnCards": null,
|
|
39
|
+
"extraTurnTemplates": null,
|
|
40
|
+
"extraTurnsCombos": null,
|
|
41
|
+
"tutorCards": null,
|
|
42
|
+
"tutorTemplates": null,
|
|
43
|
+
"lockCombos": null,
|
|
44
|
+
"skipTurnsCombos": null,
|
|
45
|
+
"definitelyEarlyGameTwoCardCombos": null,
|
|
46
|
+
"arguablyEarlyGameTwoCardCombos": null,
|
|
47
|
+
"definitelyLateGameTwoCardCombos": null,
|
|
48
|
+
"borderlineLateGameTwoCardCombos": null,
|
|
49
|
+
} satisfies EstimateBracketResult
|
|
50
|
+
|
|
51
|
+
console.log(example)
|
|
52
|
+
|
|
53
|
+
// Convert the instance to a JSON string
|
|
54
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
55
|
+
console.log(exampleJSON)
|
|
56
|
+
|
|
57
|
+
// Parse the JSON string back to an object
|
|
58
|
+
const exampleParsed = JSON.parse(exampleJSON) as EstimateBracketResult
|
|
59
|
+
console.log(exampleParsed)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
63
|
+
|
|
64
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# Feature
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`uncountable` | boolean
|
|
12
|
+
`status` | [FeatureStatusEnum](FeatureStatusEnum.md)
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { Feature } from ''
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"name": null,
|
|
23
|
+
"uncountable": null,
|
|
24
|
+
"status": null,
|
|
25
|
+
} satisfies Feature
|
|
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 Feature
|
|
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
|
+
|