@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,392 @@
|
|
|
1
|
+
# UsersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**usersDestroy**](UsersApi.md#usersdestroy) | **DELETE** /users/{id}/ | |
|
|
8
|
+
| [**usersList**](UsersApi.md#userslist) | **GET** /users/ | |
|
|
9
|
+
| [**usersPartialUpdate**](UsersApi.md#userspartialupdate) | **PATCH** /users/{id}/ | |
|
|
10
|
+
| [**usersRetrieve**](UsersApi.md#usersretrieve) | **GET** /users/{id}/ | |
|
|
11
|
+
| [**usersUpdate**](UsersApi.md#usersupdate) | **PUT** /users/{id}/ | |
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## usersDestroy
|
|
16
|
+
|
|
17
|
+
> usersDestroy(id)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import {
|
|
25
|
+
Configuration,
|
|
26
|
+
UsersApi,
|
|
27
|
+
} from '';
|
|
28
|
+
import type { UsersDestroyRequest } from '';
|
|
29
|
+
|
|
30
|
+
async function example() {
|
|
31
|
+
console.log("🚀 Testing SDK...");
|
|
32
|
+
const config = new Configuration({
|
|
33
|
+
// To configure HTTP basic authorization: basicAuth
|
|
34
|
+
username: "YOUR USERNAME",
|
|
35
|
+
password: "YOUR PASSWORD",
|
|
36
|
+
// To configure API key authorization: cookieAuth
|
|
37
|
+
apiKey: "YOUR API KEY",
|
|
38
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
39
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
40
|
+
});
|
|
41
|
+
const api = new UsersApi(config);
|
|
42
|
+
|
|
43
|
+
const body = {
|
|
44
|
+
// number | A unique integer value identifying this user.
|
|
45
|
+
id: 56,
|
|
46
|
+
} satisfies UsersDestroyRequest;
|
|
47
|
+
|
|
48
|
+
try {
|
|
49
|
+
const data = await api.usersDestroy(body);
|
|
50
|
+
console.log(data);
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.error(error);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// Run the test
|
|
57
|
+
example().catch(console.error);
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Parameters
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
| Name | Type | Description | Notes |
|
|
64
|
+
|------------- | ------------- | ------------- | -------------|
|
|
65
|
+
| **id** | `number` | A unique integer value identifying this user. | [Defaults to `undefined`] |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
`void` (Empty response body)
|
|
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**: Not defined
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### HTTP response details
|
|
82
|
+
| Status code | Description | Response headers |
|
|
83
|
+
|-------------|-------------|------------------|
|
|
84
|
+
| **204** | No response body | - |
|
|
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
|
+
## usersList
|
|
90
|
+
|
|
91
|
+
> PaginatedUserDetailList usersList(limit, offset)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Example
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
import {
|
|
99
|
+
Configuration,
|
|
100
|
+
UsersApi,
|
|
101
|
+
} from '';
|
|
102
|
+
import type { UsersListRequest } 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 UsersApi(config);
|
|
116
|
+
|
|
117
|
+
const body = {
|
|
118
|
+
// number | Number of results to return per page. (optional)
|
|
119
|
+
limit: 56,
|
|
120
|
+
// number | The initial index from which to return the results. (optional)
|
|
121
|
+
offset: 56,
|
|
122
|
+
} satisfies UsersListRequest;
|
|
123
|
+
|
|
124
|
+
try {
|
|
125
|
+
const data = await api.usersList(body);
|
|
126
|
+
console.log(data);
|
|
127
|
+
} catch (error) {
|
|
128
|
+
console.error(error);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Run the test
|
|
133
|
+
example().catch(console.error);
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Parameters
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
| Name | Type | Description | Notes |
|
|
140
|
+
|------------- | ------------- | ------------- | -------------|
|
|
141
|
+
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
142
|
+
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
143
|
+
|
|
144
|
+
### Return type
|
|
145
|
+
|
|
146
|
+
[**PaginatedUserDetailList**](PaginatedUserDetailList.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
|
+
|
|
165
|
+
|
|
166
|
+
## usersPartialUpdate
|
|
167
|
+
|
|
168
|
+
> UserDetail usersPartialUpdate(id, patchedUserDetailRequest)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
### Example
|
|
173
|
+
|
|
174
|
+
```ts
|
|
175
|
+
import {
|
|
176
|
+
Configuration,
|
|
177
|
+
UsersApi,
|
|
178
|
+
} from '';
|
|
179
|
+
import type { UsersPartialUpdateRequest } from '';
|
|
180
|
+
|
|
181
|
+
async function example() {
|
|
182
|
+
console.log("🚀 Testing SDK...");
|
|
183
|
+
const config = new Configuration({
|
|
184
|
+
// To configure HTTP basic authorization: basicAuth
|
|
185
|
+
username: "YOUR USERNAME",
|
|
186
|
+
password: "YOUR PASSWORD",
|
|
187
|
+
// To configure API key authorization: cookieAuth
|
|
188
|
+
apiKey: "YOUR API KEY",
|
|
189
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
190
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
191
|
+
});
|
|
192
|
+
const api = new UsersApi(config);
|
|
193
|
+
|
|
194
|
+
const body = {
|
|
195
|
+
// number | A unique integer value identifying this user.
|
|
196
|
+
id: 56,
|
|
197
|
+
// PatchedUserDetailRequest (optional)
|
|
198
|
+
patchedUserDetailRequest: ...,
|
|
199
|
+
} satisfies UsersPartialUpdateRequest;
|
|
200
|
+
|
|
201
|
+
try {
|
|
202
|
+
const data = await api.usersPartialUpdate(body);
|
|
203
|
+
console.log(data);
|
|
204
|
+
} catch (error) {
|
|
205
|
+
console.error(error);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// Run the test
|
|
210
|
+
example().catch(console.error);
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Parameters
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
| Name | Type | Description | Notes |
|
|
217
|
+
|------------- | ------------- | ------------- | -------------|
|
|
218
|
+
| **id** | `number` | A unique integer value identifying this user. | [Defaults to `undefined`] |
|
|
219
|
+
| **patchedUserDetailRequest** | [PatchedUserDetailRequest](PatchedUserDetailRequest.md) | | [Optional] |
|
|
220
|
+
|
|
221
|
+
### Return type
|
|
222
|
+
|
|
223
|
+
[**UserDetail**](UserDetail.md)
|
|
224
|
+
|
|
225
|
+
### Authorization
|
|
226
|
+
|
|
227
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
228
|
+
|
|
229
|
+
### HTTP request headers
|
|
230
|
+
|
|
231
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
232
|
+
- **Accept**: `application/json`
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
### HTTP response details
|
|
236
|
+
| Status code | Description | Response headers |
|
|
237
|
+
|-------------|-------------|------------------|
|
|
238
|
+
| **200** | | - |
|
|
239
|
+
|
|
240
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
## usersRetrieve
|
|
244
|
+
|
|
245
|
+
> UserDetail usersRetrieve(id)
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
### Example
|
|
250
|
+
|
|
251
|
+
```ts
|
|
252
|
+
import {
|
|
253
|
+
Configuration,
|
|
254
|
+
UsersApi,
|
|
255
|
+
} from '';
|
|
256
|
+
import type { UsersRetrieveRequest } from '';
|
|
257
|
+
|
|
258
|
+
async function example() {
|
|
259
|
+
console.log("🚀 Testing SDK...");
|
|
260
|
+
const config = new Configuration({
|
|
261
|
+
// To configure HTTP basic authorization: basicAuth
|
|
262
|
+
username: "YOUR USERNAME",
|
|
263
|
+
password: "YOUR PASSWORD",
|
|
264
|
+
// To configure API key authorization: cookieAuth
|
|
265
|
+
apiKey: "YOUR API KEY",
|
|
266
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
267
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
268
|
+
});
|
|
269
|
+
const api = new UsersApi(config);
|
|
270
|
+
|
|
271
|
+
const body = {
|
|
272
|
+
// number | A unique integer value identifying this user.
|
|
273
|
+
id: 56,
|
|
274
|
+
} satisfies UsersRetrieveRequest;
|
|
275
|
+
|
|
276
|
+
try {
|
|
277
|
+
const data = await api.usersRetrieve(body);
|
|
278
|
+
console.log(data);
|
|
279
|
+
} catch (error) {
|
|
280
|
+
console.error(error);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// Run the test
|
|
285
|
+
example().catch(console.error);
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Parameters
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
| Name | Type | Description | Notes |
|
|
292
|
+
|------------- | ------------- | ------------- | -------------|
|
|
293
|
+
| **id** | `number` | A unique integer value identifying this user. | [Defaults to `undefined`] |
|
|
294
|
+
|
|
295
|
+
### Return type
|
|
296
|
+
|
|
297
|
+
[**UserDetail**](UserDetail.md)
|
|
298
|
+
|
|
299
|
+
### Authorization
|
|
300
|
+
|
|
301
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
302
|
+
|
|
303
|
+
### HTTP request headers
|
|
304
|
+
|
|
305
|
+
- **Content-Type**: Not defined
|
|
306
|
+
- **Accept**: `application/json`
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
### HTTP response details
|
|
310
|
+
| Status code | Description | Response headers |
|
|
311
|
+
|-------------|-------------|------------------|
|
|
312
|
+
| **200** | | - |
|
|
313
|
+
|
|
314
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
## usersUpdate
|
|
318
|
+
|
|
319
|
+
> UserDetail usersUpdate(id, userDetailRequest)
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
### Example
|
|
324
|
+
|
|
325
|
+
```ts
|
|
326
|
+
import {
|
|
327
|
+
Configuration,
|
|
328
|
+
UsersApi,
|
|
329
|
+
} from '';
|
|
330
|
+
import type { UsersUpdateRequest } from '';
|
|
331
|
+
|
|
332
|
+
async function example() {
|
|
333
|
+
console.log("🚀 Testing SDK...");
|
|
334
|
+
const config = new Configuration({
|
|
335
|
+
// To configure HTTP basic authorization: basicAuth
|
|
336
|
+
username: "YOUR USERNAME",
|
|
337
|
+
password: "YOUR PASSWORD",
|
|
338
|
+
// To configure API key authorization: cookieAuth
|
|
339
|
+
apiKey: "YOUR API KEY",
|
|
340
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
341
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
342
|
+
});
|
|
343
|
+
const api = new UsersApi(config);
|
|
344
|
+
|
|
345
|
+
const body = {
|
|
346
|
+
// number | A unique integer value identifying this user.
|
|
347
|
+
id: 56,
|
|
348
|
+
// UserDetailRequest
|
|
349
|
+
userDetailRequest: ...,
|
|
350
|
+
} satisfies UsersUpdateRequest;
|
|
351
|
+
|
|
352
|
+
try {
|
|
353
|
+
const data = await api.usersUpdate(body);
|
|
354
|
+
console.log(data);
|
|
355
|
+
} catch (error) {
|
|
356
|
+
console.error(error);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
// Run the test
|
|
361
|
+
example().catch(console.error);
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### Parameters
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
| Name | Type | Description | Notes |
|
|
368
|
+
|------------- | ------------- | ------------- | -------------|
|
|
369
|
+
| **id** | `number` | A unique integer value identifying this user. | [Defaults to `undefined`] |
|
|
370
|
+
| **userDetailRequest** | [UserDetailRequest](UserDetailRequest.md) | | |
|
|
371
|
+
|
|
372
|
+
### Return type
|
|
373
|
+
|
|
374
|
+
[**UserDetail**](UserDetail.md)
|
|
375
|
+
|
|
376
|
+
### Authorization
|
|
377
|
+
|
|
378
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
379
|
+
|
|
380
|
+
### HTTP request headers
|
|
381
|
+
|
|
382
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
383
|
+
- **Accept**: `application/json`
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
### HTTP response details
|
|
387
|
+
| Status code | Description | Response headers |
|
|
388
|
+
|-------------|-------------|------------------|
|
|
389
|
+
| **200** | | - |
|
|
390
|
+
|
|
391
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
392
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
|
|
2
|
+
# Variant
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`status` | [VariantStatusEnum](VariantStatusEnum.md)
|
|
11
|
+
`uses` | [Array<CardInVariant>](CardInVariant.md)
|
|
12
|
+
`requires` | [Array<TemplateInVariant>](TemplateInVariant.md)
|
|
13
|
+
`produces` | [Array<FeatureProducedByVariant>](FeatureProducedByVariant.md)
|
|
14
|
+
`of` | [Array<Combo>](Combo.md)
|
|
15
|
+
`includes` | [Array<Combo>](Combo.md)
|
|
16
|
+
`identity` | [IdentityEnum](IdentityEnum.md)
|
|
17
|
+
`manaNeeded` | string
|
|
18
|
+
`manaValueNeeded` | number
|
|
19
|
+
`easyPrerequisites` | string
|
|
20
|
+
`notablePrerequisites` | string
|
|
21
|
+
`description` | string
|
|
22
|
+
`notes` | string
|
|
23
|
+
`popularity` | number
|
|
24
|
+
`spoiler` | boolean
|
|
25
|
+
`bracketTag` | [BracketTagEnum](BracketTagEnum.md)
|
|
26
|
+
`legalities` | [VariantLegalities](VariantLegalities.md)
|
|
27
|
+
`prices` | [VariantPrices](VariantPrices.md)
|
|
28
|
+
`variantCount` | number
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
```typescript
|
|
33
|
+
import type { Variant } from ''
|
|
34
|
+
|
|
35
|
+
// TODO: Update the object below with actual values
|
|
36
|
+
const example = {
|
|
37
|
+
"id": null,
|
|
38
|
+
"status": null,
|
|
39
|
+
"uses": null,
|
|
40
|
+
"requires": null,
|
|
41
|
+
"produces": null,
|
|
42
|
+
"of": null,
|
|
43
|
+
"includes": null,
|
|
44
|
+
"identity": null,
|
|
45
|
+
"manaNeeded": null,
|
|
46
|
+
"manaValueNeeded": null,
|
|
47
|
+
"easyPrerequisites": null,
|
|
48
|
+
"notablePrerequisites": null,
|
|
49
|
+
"description": null,
|
|
50
|
+
"notes": null,
|
|
51
|
+
"popularity": null,
|
|
52
|
+
"spoiler": null,
|
|
53
|
+
"bracketTag": null,
|
|
54
|
+
"legalities": null,
|
|
55
|
+
"prices": null,
|
|
56
|
+
"variantCount": null,
|
|
57
|
+
} satisfies Variant
|
|
58
|
+
|
|
59
|
+
console.log(example)
|
|
60
|
+
|
|
61
|
+
// Convert the instance to a JSON string
|
|
62
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
63
|
+
console.log(exampleJSON)
|
|
64
|
+
|
|
65
|
+
// Parse the JSON string back to an object
|
|
66
|
+
const exampleParsed = JSON.parse(exampleJSON) as Variant
|
|
67
|
+
console.log(exampleParsed)
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
71
|
+
|
|
72
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# VariantAlias
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`variant` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { VariantAlias } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"id": null,
|
|
20
|
+
"variant": null,
|
|
21
|
+
} satisfies VariantAlias
|
|
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 VariantAlias
|
|
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,161 @@
|
|
|
1
|
+
# VariantAliasesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**variantAliasesList**](VariantAliasesApi.md#variantaliaseslist) | **GET** /variant-aliases/ | |
|
|
8
|
+
| [**variantAliasesRetrieve**](VariantAliasesApi.md#variantaliasesretrieve) | **GET** /variant-aliases/{id}/ | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## variantAliasesList
|
|
13
|
+
|
|
14
|
+
> PaginatedVariantAliasList variantAliasesList(limit, offset)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Example
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
import {
|
|
22
|
+
Configuration,
|
|
23
|
+
VariantAliasesApi,
|
|
24
|
+
} from '';
|
|
25
|
+
import type { VariantAliasesListRequest } 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 VariantAliasesApi(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 VariantAliasesListRequest;
|
|
46
|
+
|
|
47
|
+
try {
|
|
48
|
+
const data = await api.variantAliasesList(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
|
+
[**PaginatedVariantAliasList**](PaginatedVariantAliasList.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
|
+
## variantAliasesRetrieve
|
|
90
|
+
|
|
91
|
+
> VariantAlias variantAliasesRetrieve(id)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
### Example
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
import {
|
|
99
|
+
Configuration,
|
|
100
|
+
VariantAliasesApi,
|
|
101
|
+
} from '';
|
|
102
|
+
import type { VariantAliasesRetrieveRequest } 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 VariantAliasesApi(config);
|
|
116
|
+
|
|
117
|
+
const body = {
|
|
118
|
+
// string
|
|
119
|
+
id: id_example,
|
|
120
|
+
} satisfies VariantAliasesRetrieveRequest;
|
|
121
|
+
|
|
122
|
+
try {
|
|
123
|
+
const data = await api.variantAliasesRetrieve(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
|
+
| **id** | `string` | | [Defaults to `undefined`] |
|
|
140
|
+
|
|
141
|
+
### Return type
|
|
142
|
+
|
|
143
|
+
[**VariantAlias**](VariantAlias.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,36 @@
|
|
|
1
|
+
|
|
2
|
+
# VariantInVariantUpdateSuggestion
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`variant` | string
|
|
10
|
+
`issue` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { VariantInVariantUpdateSuggestion } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"variant": null,
|
|
20
|
+
"issue": null,
|
|
21
|
+
} satisfies VariantInVariantUpdateSuggestion
|
|
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 VariantInVariantUpdateSuggestion
|
|
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
|
+
|