@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,161 @@
|
|
|
1
|
+
# PropertiesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**propertiesList**](PropertiesApi.md#propertieslist) | **GET** /properties/ | |
|
|
8
|
+
| [**propertiesRetrieve**](PropertiesApi.md#propertiesretrieve) | **GET** /properties/{key}/ | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## propertiesList
|
|
13
|
+
|
|
14
|
+
> PaginatedWebsitePropertyList propertiesList(limit, offset)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
PropertiesApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { PropertiesListRequest } 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 PropertiesApi(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
|
+
} satisfies PropertiesListRequest;
|
|
46
|
+
|
|
47
|
+
try {
|
|
48
|
+
const data = await api.propertiesList(body);
|
|
49
|
+
console.log(data);
|
|
50
|
+
} catch (error) {
|
|
51
|
+
console.error(error);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Run the test
|
|
56
|
+
example().catch(console.error);
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Parameters
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
| Name | Type | Description | Notes |
|
|
63
|
+
|------------- | ------------- | ------------- | -------------|
|
|
64
|
+
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
65
|
+
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
[**PaginatedWebsitePropertyList**](PaginatedWebsitePropertyList.md)
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: Not defined
|
|
78
|
+
- **Accept**: `application/json`
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### HTTP response details
|
|
82
|
+
| Status code | Description | Response headers |
|
|
83
|
+
|-------------|-------------|------------------|
|
|
84
|
+
| **200** | | - |
|
|
85
|
+
|
|
86
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## propertiesRetrieve
|
|
90
|
+
|
|
91
|
+
> WebsiteProperty propertiesRetrieve(key)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Example
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
import {
|
|
99
|
+
Configuration,
|
|
100
|
+
PropertiesApi,
|
|
101
|
+
} from '';
|
|
102
|
+
import type { PropertiesRetrieveRequest } from '';
|
|
103
|
+
|
|
104
|
+
async function example() {
|
|
105
|
+
console.log("🚀 Testing SDK...");
|
|
106
|
+
const config = new Configuration({
|
|
107
|
+
// To configure HTTP basic authorization: basicAuth
|
|
108
|
+
username: "YOUR USERNAME",
|
|
109
|
+
password: "YOUR PASSWORD",
|
|
110
|
+
// To configure API key authorization: cookieAuth
|
|
111
|
+
apiKey: "YOUR API KEY",
|
|
112
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
113
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
114
|
+
});
|
|
115
|
+
const api = new PropertiesApi(config);
|
|
116
|
+
|
|
117
|
+
const body = {
|
|
118
|
+
// string | A unique value identifying this Website Property.
|
|
119
|
+
key: key_example,
|
|
120
|
+
} satisfies PropertiesRetrieveRequest;
|
|
121
|
+
|
|
122
|
+
try {
|
|
123
|
+
const data = await api.propertiesRetrieve(body);
|
|
124
|
+
console.log(data);
|
|
125
|
+
} catch (error) {
|
|
126
|
+
console.error(error);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// Run the test
|
|
131
|
+
example().catch(console.error);
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Parameters
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
| Name | Type | Description | Notes |
|
|
138
|
+
|------------- | ------------- | ------------- | -------------|
|
|
139
|
+
| **key** | `string` | A unique value identifying this Website Property. | [Defaults to `undefined`] |
|
|
140
|
+
|
|
141
|
+
### Return type
|
|
142
|
+
|
|
143
|
+
[**WebsiteProperty**](WebsiteProperty.md)
|
|
144
|
+
|
|
145
|
+
### Authorization
|
|
146
|
+
|
|
147
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
148
|
+
|
|
149
|
+
### HTTP request headers
|
|
150
|
+
|
|
151
|
+
- **Content-Type**: Not defined
|
|
152
|
+
- **Accept**: `application/json`
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### HTTP response details
|
|
156
|
+
| Status code | Description | Response headers |
|
|
157
|
+
|-------------|-------------|------------------|
|
|
158
|
+
| **200** | | - |
|
|
159
|
+
|
|
160
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
161
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
# SuggestionStatusEnum
|
|
3
|
+
|
|
4
|
+
* `N` - New * `AD` - Awaiting Discussion * `PA` - Pending Approval * `A` - Accepted * `R` - Rejected
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { SuggestionStatusEnum } from ''
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
} satisfies SuggestionStatusEnum
|
|
19
|
+
|
|
20
|
+
console.log(example)
|
|
21
|
+
|
|
22
|
+
// Convert the instance to a JSON string
|
|
23
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
+
console.log(exampleJSON)
|
|
25
|
+
|
|
26
|
+
// Parse the JSON string back to an object
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as SuggestionStatusEnum
|
|
28
|
+
console.log(exampleParsed)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# Template
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`name` | string
|
|
11
|
+
`scryfallQuery` | string
|
|
12
|
+
`scryfallApi` | string
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { Template } from ''
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"name": null,
|
|
23
|
+
"scryfallQuery": null,
|
|
24
|
+
"scryfallApi": null,
|
|
25
|
+
} satisfies Template
|
|
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 Template
|
|
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
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
|
|
2
|
+
# TemplateInVariant
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`template` | [Template](Template.md)
|
|
10
|
+
`zoneLocations` | Array<string>
|
|
11
|
+
`battlefieldCardState` | string
|
|
12
|
+
`exileCardState` | string
|
|
13
|
+
`libraryCardState` | string
|
|
14
|
+
`graveyardCardState` | string
|
|
15
|
+
`mustBeCommander` | boolean
|
|
16
|
+
`quantity` | number
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { TemplateInVariant } from ''
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"template": null,
|
|
26
|
+
"zoneLocations": null,
|
|
27
|
+
"battlefieldCardState": null,
|
|
28
|
+
"exileCardState": null,
|
|
29
|
+
"libraryCardState": null,
|
|
30
|
+
"graveyardCardState": null,
|
|
31
|
+
"mustBeCommander": null,
|
|
32
|
+
"quantity": null,
|
|
33
|
+
} satisfies TemplateInVariant
|
|
34
|
+
|
|
35
|
+
console.log(example)
|
|
36
|
+
|
|
37
|
+
// Convert the instance to a JSON string
|
|
38
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
39
|
+
console.log(exampleJSON)
|
|
40
|
+
|
|
41
|
+
// Parse the JSON string back to an object
|
|
42
|
+
const exampleParsed = JSON.parse(exampleJSON) as TemplateInVariant
|
|
43
|
+
console.log(exampleParsed)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
47
|
+
|
|
48
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
# TemplateRequiredInVariantSuggestion
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`template` | string
|
|
10
|
+
`quantity` | number
|
|
11
|
+
`scryfallQuery` | string
|
|
12
|
+
`zoneLocations` | [Array<ZoneLocationsEnum>](ZoneLocationsEnum.md)
|
|
13
|
+
`battlefieldCardState` | string
|
|
14
|
+
`exileCardState` | string
|
|
15
|
+
`libraryCardState` | string
|
|
16
|
+
`graveyardCardState` | string
|
|
17
|
+
`mustBeCommander` | boolean
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { TemplateRequiredInVariantSuggestion } from ''
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"template": null,
|
|
27
|
+
"quantity": null,
|
|
28
|
+
"scryfallQuery": null,
|
|
29
|
+
"zoneLocations": null,
|
|
30
|
+
"battlefieldCardState": null,
|
|
31
|
+
"exileCardState": null,
|
|
32
|
+
"libraryCardState": null,
|
|
33
|
+
"graveyardCardState": null,
|
|
34
|
+
"mustBeCommander": null,
|
|
35
|
+
} satisfies TemplateRequiredInVariantSuggestion
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as TemplateRequiredInVariantSuggestion
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
# TemplateRequiredInVariantSuggestionRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`template` | string
|
|
10
|
+
`quantity` | number
|
|
11
|
+
`scryfallQuery` | string
|
|
12
|
+
`zoneLocations` | [Array<ZoneLocationsEnum>](ZoneLocationsEnum.md)
|
|
13
|
+
`battlefieldCardState` | string
|
|
14
|
+
`exileCardState` | string
|
|
15
|
+
`libraryCardState` | string
|
|
16
|
+
`graveyardCardState` | string
|
|
17
|
+
`mustBeCommander` | boolean
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```typescript
|
|
22
|
+
import type { TemplateRequiredInVariantSuggestionRequest } from ''
|
|
23
|
+
|
|
24
|
+
// TODO: Update the object below with actual values
|
|
25
|
+
const example = {
|
|
26
|
+
"template": null,
|
|
27
|
+
"quantity": null,
|
|
28
|
+
"scryfallQuery": null,
|
|
29
|
+
"zoneLocations": null,
|
|
30
|
+
"battlefieldCardState": null,
|
|
31
|
+
"exileCardState": null,
|
|
32
|
+
"libraryCardState": null,
|
|
33
|
+
"graveyardCardState": null,
|
|
34
|
+
"mustBeCommander": null,
|
|
35
|
+
} satisfies TemplateRequiredInVariantSuggestionRequest
|
|
36
|
+
|
|
37
|
+
console.log(example)
|
|
38
|
+
|
|
39
|
+
// Convert the instance to a JSON string
|
|
40
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
41
|
+
console.log(exampleJSON)
|
|
42
|
+
|
|
43
|
+
// Parse the JSON string back to an object
|
|
44
|
+
const exampleParsed = JSON.parse(exampleJSON) as TemplateRequiredInVariantSuggestionRequest
|
|
45
|
+
console.log(exampleParsed)
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
49
|
+
|
|
50
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# TemplatesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**templatesList**](TemplatesApi.md#templateslist) | **GET** /templates/ | |
|
|
8
|
+
| [**templatesRetrieve**](TemplatesApi.md#templatesretrieve) | **GET** /templates/{id}/ | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## templatesList
|
|
13
|
+
|
|
14
|
+
> PaginatedTemplateList templatesList(limit, offset, q)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
TemplatesApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { TemplatesListRequest } 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 TemplatesApi(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 | A search query. (optional)
|
|
46
|
+
q: q_example,
|
|
47
|
+
} satisfies TemplatesListRequest;
|
|
48
|
+
|
|
49
|
+
try {
|
|
50
|
+
const data = await api.templatesList(body);
|
|
51
|
+
console.log(data);
|
|
52
|
+
} catch (error) {
|
|
53
|
+
console.error(error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Run the test
|
|
58
|
+
example().catch(console.error);
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Parameters
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
| Name | Type | Description | Notes |
|
|
65
|
+
|------------- | ------------- | ------------- | -------------|
|
|
66
|
+
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
67
|
+
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
68
|
+
| **q** | `string` | A search query. | [Optional] [Defaults to `undefined`] |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**PaginatedTemplateList**](PaginatedTemplateList.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: Not defined
|
|
81
|
+
- **Accept**: `application/json`
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### HTTP response details
|
|
85
|
+
| Status code | Description | Response headers |
|
|
86
|
+
|-------------|-------------|------------------|
|
|
87
|
+
| **200** | | - |
|
|
88
|
+
|
|
89
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## templatesRetrieve
|
|
93
|
+
|
|
94
|
+
> Template templatesRetrieve(id)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Example
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
import {
|
|
102
|
+
Configuration,
|
|
103
|
+
TemplatesApi,
|
|
104
|
+
} from '';
|
|
105
|
+
import type { TemplatesRetrieveRequest } from '';
|
|
106
|
+
|
|
107
|
+
async function example() {
|
|
108
|
+
console.log("🚀 Testing SDK...");
|
|
109
|
+
const config = new Configuration({
|
|
110
|
+
// To configure HTTP basic authorization: basicAuth
|
|
111
|
+
username: "YOUR USERNAME",
|
|
112
|
+
password: "YOUR PASSWORD",
|
|
113
|
+
// To configure API key authorization: cookieAuth
|
|
114
|
+
apiKey: "YOUR API KEY",
|
|
115
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
116
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
117
|
+
});
|
|
118
|
+
const api = new TemplatesApi(config);
|
|
119
|
+
|
|
120
|
+
const body = {
|
|
121
|
+
// number | A unique integer value identifying this card template.
|
|
122
|
+
id: 56,
|
|
123
|
+
} satisfies TemplatesRetrieveRequest;
|
|
124
|
+
|
|
125
|
+
try {
|
|
126
|
+
const data = await api.templatesRetrieve(body);
|
|
127
|
+
console.log(data);
|
|
128
|
+
} catch (error) {
|
|
129
|
+
console.error(error);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Run the test
|
|
134
|
+
example().catch(console.error);
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### Parameters
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
| Name | Type | Description | Notes |
|
|
141
|
+
|------------- | ------------- | ------------- | -------------|
|
|
142
|
+
| **id** | `number` | A unique integer value identifying this card template. | [Defaults to `undefined`] |
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
[**Template**](Template.md)
|
|
147
|
+
|
|
148
|
+
### Authorization
|
|
149
|
+
|
|
150
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
151
|
+
|
|
152
|
+
### HTTP request headers
|
|
153
|
+
|
|
154
|
+
- **Content-Type**: Not defined
|
|
155
|
+
- **Accept**: `application/json`
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### HTTP response details
|
|
159
|
+
| Status code | Description | Response headers |
|
|
160
|
+
|-------------|-------------|------------------|
|
|
161
|
+
| **200** | | - |
|
|
162
|
+
|
|
163
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
164
|
+
|