@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,707 @@
|
|
|
1
|
+
# VariantUpdateSuggestionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**variantUpdateSuggestionsCreate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionscreate) | **POST** /variant-update-suggestions/ | |
|
|
8
|
+
| [**variantUpdateSuggestionsDestroy**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsdestroy) | **DELETE** /variant-update-suggestions/{id}/ | |
|
|
9
|
+
| [**variantUpdateSuggestionsList**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionslist) | **GET** /variant-update-suggestions/ | |
|
|
10
|
+
| [**variantUpdateSuggestionsPartialUpdate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionspartialupdate) | **PATCH** /variant-update-suggestions/{id}/ | |
|
|
11
|
+
| [**variantUpdateSuggestionsRetrieve**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsretrieve) | **GET** /variant-update-suggestions/{id}/ | |
|
|
12
|
+
| [**variantUpdateSuggestionsUpdate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsupdate) | **PUT** /variant-update-suggestions/{id}/ | |
|
|
13
|
+
| [**variantUpdateSuggestionsValidateCreate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsvalidatecreate) | **POST** /variant-update-suggestions/validate/ | |
|
|
14
|
+
| [**variantUpdateSuggestionsValidatePartialUpdate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsvalidatepartialupdate) | **PATCH** /variant-update-suggestions/{id}/validate/ | |
|
|
15
|
+
| [**variantUpdateSuggestionsValidateUpdate**](VariantUpdateSuggestionsApi.md#variantupdatesuggestionsvalidateupdate) | **PUT** /variant-update-suggestions/{id}/validate/ | |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## variantUpdateSuggestionsCreate
|
|
20
|
+
|
|
21
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsCreate(variantUpdateSuggestionRequest)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Example
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import {
|
|
29
|
+
Configuration,
|
|
30
|
+
VariantUpdateSuggestionsApi,
|
|
31
|
+
} from '';
|
|
32
|
+
import type { VariantUpdateSuggestionsCreateRequest } from '';
|
|
33
|
+
|
|
34
|
+
async function example() {
|
|
35
|
+
console.log("🚀 Testing SDK...");
|
|
36
|
+
const config = new Configuration({
|
|
37
|
+
// To configure HTTP basic authorization: basicAuth
|
|
38
|
+
username: "YOUR USERNAME",
|
|
39
|
+
password: "YOUR PASSWORD",
|
|
40
|
+
// To configure API key authorization: cookieAuth
|
|
41
|
+
apiKey: "YOUR API KEY",
|
|
42
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
43
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
44
|
+
});
|
|
45
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
46
|
+
|
|
47
|
+
const body = {
|
|
48
|
+
// VariantUpdateSuggestionRequest
|
|
49
|
+
variantUpdateSuggestionRequest: ...,
|
|
50
|
+
} satisfies VariantUpdateSuggestionsCreateRequest;
|
|
51
|
+
|
|
52
|
+
try {
|
|
53
|
+
const data = await api.variantUpdateSuggestionsCreate(body);
|
|
54
|
+
console.log(data);
|
|
55
|
+
} catch (error) {
|
|
56
|
+
console.error(error);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Run the test
|
|
61
|
+
example().catch(console.error);
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
| Name | Type | Description | Notes |
|
|
68
|
+
|------------- | ------------- | ------------- | -------------|
|
|
69
|
+
| **variantUpdateSuggestionRequest** | [VariantUpdateSuggestionRequest](VariantUpdateSuggestionRequest.md) | | |
|
|
70
|
+
|
|
71
|
+
### Return type
|
|
72
|
+
|
|
73
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
74
|
+
|
|
75
|
+
### Authorization
|
|
76
|
+
|
|
77
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
78
|
+
|
|
79
|
+
### HTTP request headers
|
|
80
|
+
|
|
81
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
82
|
+
- **Accept**: `application/json`
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### HTTP response details
|
|
86
|
+
| Status code | Description | Response headers |
|
|
87
|
+
|-------------|-------------|------------------|
|
|
88
|
+
| **201** | | - |
|
|
89
|
+
|
|
90
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## variantUpdateSuggestionsDestroy
|
|
94
|
+
|
|
95
|
+
> variantUpdateSuggestionsDestroy(id)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Example
|
|
100
|
+
|
|
101
|
+
```ts
|
|
102
|
+
import {
|
|
103
|
+
Configuration,
|
|
104
|
+
VariantUpdateSuggestionsApi,
|
|
105
|
+
} from '';
|
|
106
|
+
import type { VariantUpdateSuggestionsDestroyRequest } from '';
|
|
107
|
+
|
|
108
|
+
async function example() {
|
|
109
|
+
console.log("🚀 Testing SDK...");
|
|
110
|
+
const config = new Configuration({
|
|
111
|
+
// To configure HTTP basic authorization: basicAuth
|
|
112
|
+
username: "YOUR USERNAME",
|
|
113
|
+
password: "YOUR PASSWORD",
|
|
114
|
+
// To configure API key authorization: cookieAuth
|
|
115
|
+
apiKey: "YOUR API KEY",
|
|
116
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
117
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
118
|
+
});
|
|
119
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
120
|
+
|
|
121
|
+
const body = {
|
|
122
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
123
|
+
id: 56,
|
|
124
|
+
} satisfies VariantUpdateSuggestionsDestroyRequest;
|
|
125
|
+
|
|
126
|
+
try {
|
|
127
|
+
const data = await api.variantUpdateSuggestionsDestroy(body);
|
|
128
|
+
console.log(data);
|
|
129
|
+
} catch (error) {
|
|
130
|
+
console.error(error);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Run the test
|
|
135
|
+
example().catch(console.error);
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Parameters
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
| Name | Type | Description | Notes |
|
|
142
|
+
|------------- | ------------- | ------------- | -------------|
|
|
143
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
144
|
+
|
|
145
|
+
### Return type
|
|
146
|
+
|
|
147
|
+
`void` (Empty response body)
|
|
148
|
+
|
|
149
|
+
### Authorization
|
|
150
|
+
|
|
151
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
152
|
+
|
|
153
|
+
### HTTP request headers
|
|
154
|
+
|
|
155
|
+
- **Content-Type**: Not defined
|
|
156
|
+
- **Accept**: Not defined
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### HTTP response details
|
|
160
|
+
| Status code | Description | Response headers |
|
|
161
|
+
|-------------|-------------|------------------|
|
|
162
|
+
| **204** | No response body | - |
|
|
163
|
+
|
|
164
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## variantUpdateSuggestionsList
|
|
168
|
+
|
|
169
|
+
> PaginatedVariantUpdateSuggestionList variantUpdateSuggestionsList(limit, offset, suggestedBy)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Example
|
|
174
|
+
|
|
175
|
+
```ts
|
|
176
|
+
import {
|
|
177
|
+
Configuration,
|
|
178
|
+
VariantUpdateSuggestionsApi,
|
|
179
|
+
} from '';
|
|
180
|
+
import type { VariantUpdateSuggestionsListRequest } from '';
|
|
181
|
+
|
|
182
|
+
async function example() {
|
|
183
|
+
console.log("🚀 Testing SDK...");
|
|
184
|
+
const config = new Configuration({
|
|
185
|
+
// To configure HTTP basic authorization: basicAuth
|
|
186
|
+
username: "YOUR USERNAME",
|
|
187
|
+
password: "YOUR PASSWORD",
|
|
188
|
+
// To configure API key authorization: cookieAuth
|
|
189
|
+
apiKey: "YOUR API KEY",
|
|
190
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
191
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
192
|
+
});
|
|
193
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
194
|
+
|
|
195
|
+
const body = {
|
|
196
|
+
// number | Number of results to return per page. (optional)
|
|
197
|
+
limit: 56,
|
|
198
|
+
// number | The initial index from which to return the results. (optional)
|
|
199
|
+
offset: 56,
|
|
200
|
+
// number (optional)
|
|
201
|
+
suggestedBy: 56,
|
|
202
|
+
} satisfies VariantUpdateSuggestionsListRequest;
|
|
203
|
+
|
|
204
|
+
try {
|
|
205
|
+
const data = await api.variantUpdateSuggestionsList(body);
|
|
206
|
+
console.log(data);
|
|
207
|
+
} catch (error) {
|
|
208
|
+
console.error(error);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// Run the test
|
|
213
|
+
example().catch(console.error);
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Parameters
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
| Name | Type | Description | Notes |
|
|
220
|
+
|------------- | ------------- | ------------- | -------------|
|
|
221
|
+
| **limit** | `number` | Number of results to return per page. | [Optional] [Defaults to `undefined`] |
|
|
222
|
+
| **offset** | `number` | The initial index from which to return the results. | [Optional] [Defaults to `undefined`] |
|
|
223
|
+
| **suggestedBy** | `number` | | [Optional] [Defaults to `undefined`] |
|
|
224
|
+
|
|
225
|
+
### Return type
|
|
226
|
+
|
|
227
|
+
[**PaginatedVariantUpdateSuggestionList**](PaginatedVariantUpdateSuggestionList.md)
|
|
228
|
+
|
|
229
|
+
### Authorization
|
|
230
|
+
|
|
231
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
232
|
+
|
|
233
|
+
### HTTP request headers
|
|
234
|
+
|
|
235
|
+
- **Content-Type**: Not defined
|
|
236
|
+
- **Accept**: `application/json`
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
### HTTP response details
|
|
240
|
+
| Status code | Description | Response headers |
|
|
241
|
+
|-------------|-------------|------------------|
|
|
242
|
+
| **200** | | - |
|
|
243
|
+
|
|
244
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
## variantUpdateSuggestionsPartialUpdate
|
|
248
|
+
|
|
249
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsPartialUpdate(id, patchedVariantUpdateSuggestionRequest)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
### Example
|
|
254
|
+
|
|
255
|
+
```ts
|
|
256
|
+
import {
|
|
257
|
+
Configuration,
|
|
258
|
+
VariantUpdateSuggestionsApi,
|
|
259
|
+
} from '';
|
|
260
|
+
import type { VariantUpdateSuggestionsPartialUpdateRequest } from '';
|
|
261
|
+
|
|
262
|
+
async function example() {
|
|
263
|
+
console.log("🚀 Testing SDK...");
|
|
264
|
+
const config = new Configuration({
|
|
265
|
+
// To configure HTTP basic authorization: basicAuth
|
|
266
|
+
username: "YOUR USERNAME",
|
|
267
|
+
password: "YOUR PASSWORD",
|
|
268
|
+
// To configure API key authorization: cookieAuth
|
|
269
|
+
apiKey: "YOUR API KEY",
|
|
270
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
271
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
272
|
+
});
|
|
273
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
274
|
+
|
|
275
|
+
const body = {
|
|
276
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
277
|
+
id: 56,
|
|
278
|
+
// PatchedVariantUpdateSuggestionRequest (optional)
|
|
279
|
+
patchedVariantUpdateSuggestionRequest: ...,
|
|
280
|
+
} satisfies VariantUpdateSuggestionsPartialUpdateRequest;
|
|
281
|
+
|
|
282
|
+
try {
|
|
283
|
+
const data = await api.variantUpdateSuggestionsPartialUpdate(body);
|
|
284
|
+
console.log(data);
|
|
285
|
+
} catch (error) {
|
|
286
|
+
console.error(error);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Run the test
|
|
291
|
+
example().catch(console.error);
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Parameters
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
| Name | Type | Description | Notes |
|
|
298
|
+
|------------- | ------------- | ------------- | -------------|
|
|
299
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
300
|
+
| **patchedVariantUpdateSuggestionRequest** | [PatchedVariantUpdateSuggestionRequest](PatchedVariantUpdateSuggestionRequest.md) | | [Optional] |
|
|
301
|
+
|
|
302
|
+
### Return type
|
|
303
|
+
|
|
304
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
305
|
+
|
|
306
|
+
### Authorization
|
|
307
|
+
|
|
308
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
309
|
+
|
|
310
|
+
### HTTP request headers
|
|
311
|
+
|
|
312
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
313
|
+
- **Accept**: `application/json`
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
### HTTP response details
|
|
317
|
+
| Status code | Description | Response headers |
|
|
318
|
+
|-------------|-------------|------------------|
|
|
319
|
+
| **200** | | - |
|
|
320
|
+
|
|
321
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
## variantUpdateSuggestionsRetrieve
|
|
325
|
+
|
|
326
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsRetrieve(id)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
### Example
|
|
331
|
+
|
|
332
|
+
```ts
|
|
333
|
+
import {
|
|
334
|
+
Configuration,
|
|
335
|
+
VariantUpdateSuggestionsApi,
|
|
336
|
+
} from '';
|
|
337
|
+
import type { VariantUpdateSuggestionsRetrieveRequest } from '';
|
|
338
|
+
|
|
339
|
+
async function example() {
|
|
340
|
+
console.log("🚀 Testing SDK...");
|
|
341
|
+
const config = new Configuration({
|
|
342
|
+
// To configure HTTP basic authorization: basicAuth
|
|
343
|
+
username: "YOUR USERNAME",
|
|
344
|
+
password: "YOUR PASSWORD",
|
|
345
|
+
// To configure API key authorization: cookieAuth
|
|
346
|
+
apiKey: "YOUR API KEY",
|
|
347
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
348
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
349
|
+
});
|
|
350
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
351
|
+
|
|
352
|
+
const body = {
|
|
353
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
354
|
+
id: 56,
|
|
355
|
+
} satisfies VariantUpdateSuggestionsRetrieveRequest;
|
|
356
|
+
|
|
357
|
+
try {
|
|
358
|
+
const data = await api.variantUpdateSuggestionsRetrieve(body);
|
|
359
|
+
console.log(data);
|
|
360
|
+
} catch (error) {
|
|
361
|
+
console.error(error);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// Run the test
|
|
366
|
+
example().catch(console.error);
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Parameters
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
| Name | Type | Description | Notes |
|
|
373
|
+
|------------- | ------------- | ------------- | -------------|
|
|
374
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
375
|
+
|
|
376
|
+
### Return type
|
|
377
|
+
|
|
378
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
379
|
+
|
|
380
|
+
### Authorization
|
|
381
|
+
|
|
382
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
383
|
+
|
|
384
|
+
### HTTP request headers
|
|
385
|
+
|
|
386
|
+
- **Content-Type**: Not defined
|
|
387
|
+
- **Accept**: `application/json`
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### HTTP response details
|
|
391
|
+
| Status code | Description | Response headers |
|
|
392
|
+
|-------------|-------------|------------------|
|
|
393
|
+
| **200** | | - |
|
|
394
|
+
|
|
395
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
## variantUpdateSuggestionsUpdate
|
|
399
|
+
|
|
400
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsUpdate(id, variantUpdateSuggestionRequest)
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
### Example
|
|
405
|
+
|
|
406
|
+
```ts
|
|
407
|
+
import {
|
|
408
|
+
Configuration,
|
|
409
|
+
VariantUpdateSuggestionsApi,
|
|
410
|
+
} from '';
|
|
411
|
+
import type { VariantUpdateSuggestionsUpdateRequest } from '';
|
|
412
|
+
|
|
413
|
+
async function example() {
|
|
414
|
+
console.log("🚀 Testing SDK...");
|
|
415
|
+
const config = new Configuration({
|
|
416
|
+
// To configure HTTP basic authorization: basicAuth
|
|
417
|
+
username: "YOUR USERNAME",
|
|
418
|
+
password: "YOUR PASSWORD",
|
|
419
|
+
// To configure API key authorization: cookieAuth
|
|
420
|
+
apiKey: "YOUR API KEY",
|
|
421
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
422
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
423
|
+
});
|
|
424
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
425
|
+
|
|
426
|
+
const body = {
|
|
427
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
428
|
+
id: 56,
|
|
429
|
+
// VariantUpdateSuggestionRequest
|
|
430
|
+
variantUpdateSuggestionRequest: ...,
|
|
431
|
+
} satisfies VariantUpdateSuggestionsUpdateRequest;
|
|
432
|
+
|
|
433
|
+
try {
|
|
434
|
+
const data = await api.variantUpdateSuggestionsUpdate(body);
|
|
435
|
+
console.log(data);
|
|
436
|
+
} catch (error) {
|
|
437
|
+
console.error(error);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
// Run the test
|
|
442
|
+
example().catch(console.error);
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
### Parameters
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
| Name | Type | Description | Notes |
|
|
449
|
+
|------------- | ------------- | ------------- | -------------|
|
|
450
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
451
|
+
| **variantUpdateSuggestionRequest** | [VariantUpdateSuggestionRequest](VariantUpdateSuggestionRequest.md) | | |
|
|
452
|
+
|
|
453
|
+
### Return type
|
|
454
|
+
|
|
455
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
456
|
+
|
|
457
|
+
### Authorization
|
|
458
|
+
|
|
459
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
460
|
+
|
|
461
|
+
### HTTP request headers
|
|
462
|
+
|
|
463
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
464
|
+
- **Accept**: `application/json`
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### HTTP response details
|
|
468
|
+
| Status code | Description | Response headers |
|
|
469
|
+
|-------------|-------------|------------------|
|
|
470
|
+
| **200** | | - |
|
|
471
|
+
|
|
472
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
## variantUpdateSuggestionsValidateCreate
|
|
476
|
+
|
|
477
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsValidateCreate(variantUpdateSuggestionRequest)
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
Validate the variant suggestion data.
|
|
482
|
+
|
|
483
|
+
### Example
|
|
484
|
+
|
|
485
|
+
```ts
|
|
486
|
+
import {
|
|
487
|
+
Configuration,
|
|
488
|
+
VariantUpdateSuggestionsApi,
|
|
489
|
+
} from '';
|
|
490
|
+
import type { VariantUpdateSuggestionsValidateCreateRequest } from '';
|
|
491
|
+
|
|
492
|
+
async function example() {
|
|
493
|
+
console.log("🚀 Testing SDK...");
|
|
494
|
+
const config = new Configuration({
|
|
495
|
+
// To configure HTTP basic authorization: basicAuth
|
|
496
|
+
username: "YOUR USERNAME",
|
|
497
|
+
password: "YOUR PASSWORD",
|
|
498
|
+
// To configure API key authorization: cookieAuth
|
|
499
|
+
apiKey: "YOUR API KEY",
|
|
500
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
501
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
502
|
+
});
|
|
503
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
504
|
+
|
|
505
|
+
const body = {
|
|
506
|
+
// VariantUpdateSuggestionRequest
|
|
507
|
+
variantUpdateSuggestionRequest: ...,
|
|
508
|
+
} satisfies VariantUpdateSuggestionsValidateCreateRequest;
|
|
509
|
+
|
|
510
|
+
try {
|
|
511
|
+
const data = await api.variantUpdateSuggestionsValidateCreate(body);
|
|
512
|
+
console.log(data);
|
|
513
|
+
} catch (error) {
|
|
514
|
+
console.error(error);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
// Run the test
|
|
519
|
+
example().catch(console.error);
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
### Parameters
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
| Name | Type | Description | Notes |
|
|
526
|
+
|------------- | ------------- | ------------- | -------------|
|
|
527
|
+
| **variantUpdateSuggestionRequest** | [VariantUpdateSuggestionRequest](VariantUpdateSuggestionRequest.md) | | |
|
|
528
|
+
|
|
529
|
+
### Return type
|
|
530
|
+
|
|
531
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
532
|
+
|
|
533
|
+
### Authorization
|
|
534
|
+
|
|
535
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
536
|
+
|
|
537
|
+
### HTTP request headers
|
|
538
|
+
|
|
539
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
540
|
+
- **Accept**: `application/json`
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
### HTTP response details
|
|
544
|
+
| Status code | Description | Response headers |
|
|
545
|
+
|-------------|-------------|------------------|
|
|
546
|
+
| **200** | | - |
|
|
547
|
+
|
|
548
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
## variantUpdateSuggestionsValidatePartialUpdate
|
|
552
|
+
|
|
553
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsValidatePartialUpdate(id, patchedVariantUpdateSuggestionRequest)
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
Validate the variant suggestion update data.
|
|
558
|
+
|
|
559
|
+
### Example
|
|
560
|
+
|
|
561
|
+
```ts
|
|
562
|
+
import {
|
|
563
|
+
Configuration,
|
|
564
|
+
VariantUpdateSuggestionsApi,
|
|
565
|
+
} from '';
|
|
566
|
+
import type { VariantUpdateSuggestionsValidatePartialUpdateRequest } from '';
|
|
567
|
+
|
|
568
|
+
async function example() {
|
|
569
|
+
console.log("🚀 Testing SDK...");
|
|
570
|
+
const config = new Configuration({
|
|
571
|
+
// To configure HTTP basic authorization: basicAuth
|
|
572
|
+
username: "YOUR USERNAME",
|
|
573
|
+
password: "YOUR PASSWORD",
|
|
574
|
+
// To configure API key authorization: cookieAuth
|
|
575
|
+
apiKey: "YOUR API KEY",
|
|
576
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
577
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
578
|
+
});
|
|
579
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
580
|
+
|
|
581
|
+
const body = {
|
|
582
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
583
|
+
id: 56,
|
|
584
|
+
// PatchedVariantUpdateSuggestionRequest (optional)
|
|
585
|
+
patchedVariantUpdateSuggestionRequest: ...,
|
|
586
|
+
} satisfies VariantUpdateSuggestionsValidatePartialUpdateRequest;
|
|
587
|
+
|
|
588
|
+
try {
|
|
589
|
+
const data = await api.variantUpdateSuggestionsValidatePartialUpdate(body);
|
|
590
|
+
console.log(data);
|
|
591
|
+
} catch (error) {
|
|
592
|
+
console.error(error);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// Run the test
|
|
597
|
+
example().catch(console.error);
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
### Parameters
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
| Name | Type | Description | Notes |
|
|
604
|
+
|------------- | ------------- | ------------- | -------------|
|
|
605
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
606
|
+
| **patchedVariantUpdateSuggestionRequest** | [PatchedVariantUpdateSuggestionRequest](PatchedVariantUpdateSuggestionRequest.md) | | [Optional] |
|
|
607
|
+
|
|
608
|
+
### Return type
|
|
609
|
+
|
|
610
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
611
|
+
|
|
612
|
+
### Authorization
|
|
613
|
+
|
|
614
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
615
|
+
|
|
616
|
+
### HTTP request headers
|
|
617
|
+
|
|
618
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
619
|
+
- **Accept**: `application/json`
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
### HTTP response details
|
|
623
|
+
| Status code | Description | Response headers |
|
|
624
|
+
|-------------|-------------|------------------|
|
|
625
|
+
| **200** | | - |
|
|
626
|
+
|
|
627
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
## variantUpdateSuggestionsValidateUpdate
|
|
631
|
+
|
|
632
|
+
> VariantUpdateSuggestion variantUpdateSuggestionsValidateUpdate(id, variantUpdateSuggestionRequest)
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
Validate the variant suggestion update data.
|
|
637
|
+
|
|
638
|
+
### Example
|
|
639
|
+
|
|
640
|
+
```ts
|
|
641
|
+
import {
|
|
642
|
+
Configuration,
|
|
643
|
+
VariantUpdateSuggestionsApi,
|
|
644
|
+
} from '';
|
|
645
|
+
import type { VariantUpdateSuggestionsValidateUpdateRequest } from '';
|
|
646
|
+
|
|
647
|
+
async function example() {
|
|
648
|
+
console.log("🚀 Testing SDK...");
|
|
649
|
+
const config = new Configuration({
|
|
650
|
+
// To configure HTTP basic authorization: basicAuth
|
|
651
|
+
username: "YOUR USERNAME",
|
|
652
|
+
password: "YOUR PASSWORD",
|
|
653
|
+
// To configure API key authorization: cookieAuth
|
|
654
|
+
apiKey: "YOUR API KEY",
|
|
655
|
+
// Configure HTTP bearer authorization: jwtAuth
|
|
656
|
+
accessToken: "YOUR BEARER TOKEN",
|
|
657
|
+
});
|
|
658
|
+
const api = new VariantUpdateSuggestionsApi(config);
|
|
659
|
+
|
|
660
|
+
const body = {
|
|
661
|
+
// number | A unique integer value identifying this variant update suggestion.
|
|
662
|
+
id: 56,
|
|
663
|
+
// VariantUpdateSuggestionRequest
|
|
664
|
+
variantUpdateSuggestionRequest: ...,
|
|
665
|
+
} satisfies VariantUpdateSuggestionsValidateUpdateRequest;
|
|
666
|
+
|
|
667
|
+
try {
|
|
668
|
+
const data = await api.variantUpdateSuggestionsValidateUpdate(body);
|
|
669
|
+
console.log(data);
|
|
670
|
+
} catch (error) {
|
|
671
|
+
console.error(error);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
// Run the test
|
|
676
|
+
example().catch(console.error);
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
### Parameters
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
| Name | Type | Description | Notes |
|
|
683
|
+
|------------- | ------------- | ------------- | -------------|
|
|
684
|
+
| **id** | `number` | A unique integer value identifying this variant update suggestion. | [Defaults to `undefined`] |
|
|
685
|
+
| **variantUpdateSuggestionRequest** | [VariantUpdateSuggestionRequest](VariantUpdateSuggestionRequest.md) | | |
|
|
686
|
+
|
|
687
|
+
### Return type
|
|
688
|
+
|
|
689
|
+
[**VariantUpdateSuggestion**](VariantUpdateSuggestion.md)
|
|
690
|
+
|
|
691
|
+
### Authorization
|
|
692
|
+
|
|
693
|
+
[basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [jwtAuth](../README.md#jwtAuth)
|
|
694
|
+
|
|
695
|
+
### HTTP request headers
|
|
696
|
+
|
|
697
|
+
- **Content-Type**: `application/json`, `application/x-www-form-urlencoded`, `multipart/form-data`
|
|
698
|
+
- **Accept**: `application/json`
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
### HTTP response details
|
|
702
|
+
| Status code | Description | Response headers |
|
|
703
|
+
|-------------|-------------|------------------|
|
|
704
|
+
| **200** | | - |
|
|
705
|
+
|
|
706
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
707
|
+
|