@space-cow-media/spellbook-client 4.2.6 → 4.3.2
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/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +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 +36 -1
- package/dist/apis/variantSuggestionsApi.js +124 -1
- package/dist/apis/variantSuggestionsApi.js.map +1 -1
- package/dist/apis/variantUpdateSuggestionsApi.d.ts +111 -0
- package/dist/apis/variantUpdateSuggestionsApi.js +420 -0
- package/dist/apis/variantUpdateSuggestionsApi.js.map +1 -0
- 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/index.d.ts +8 -1
- package/dist/models/index.js +8 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/invalidUrlResponse.d.ts +1 -1
- package/dist/models/invalidUrlResponse.js +1 -1
- package/dist/models/kindEnum.d.ts +32 -0
- package/dist/models/kindEnum.js +61 -0
- package/dist/models/kindEnum.js.map +1 -0
- 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 +51 -0
- package/dist/models/paginatedVariantUpdateSuggestionList.js +64 -0
- package/dist/models/paginatedVariantUpdateSuggestionList.js.map +1 -0
- 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 +2 -2
- package/dist/models/patchedVariantSuggestionRequest.js +1 -1
- package/dist/models/patchedVariantUpdateSuggestionRequest.d.ts +64 -0
- package/dist/models/patchedVariantUpdateSuggestionRequest.js +59 -0
- package/dist/models/patchedVariantUpdateSuggestionRequest.js.map +1 -0
- package/dist/models/suggestionStatusEnum.d.ts +32 -0
- package/dist/models/suggestionStatusEnum.js +61 -0
- package/dist/models/suggestionStatusEnum.js.map +1 -0
- 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 +38 -0
- package/dist/models/variantInVariantUpdateSuggestion.js +55 -0
- package/dist/models/variantInVariantUpdateSuggestion.js.map +1 -0
- package/dist/models/variantInVariantUpdateSuggestionRequest.d.ts +38 -0
- package/dist/models/variantInVariantUpdateSuggestionRequest.js +53 -0
- package/dist/models/variantInVariantUpdateSuggestionRequest.js.map +1 -0
- 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 +5 -5
- package/dist/models/variantSuggestion.js +3 -3
- package/dist/models/variantSuggestion.js.map +1 -1
- package/dist/models/variantSuggestionRequest.d.ts +2 -2
- package/dist/models/variantSuggestionRequest.js +1 -1
- package/dist/models/variantUpdateSuggestion.d.ts +96 -0
- package/dist/models/variantUpdateSuggestion.js +83 -0
- package/dist/models/variantUpdateSuggestion.js.map +1 -0
- package/dist/models/variantUpdateSuggestionRequest.d.ts +64 -0
- package/dist/models/variantUpdateSuggestionRequest.js +63 -0
- package/dist/models/variantUpdateSuggestionRequest.js.map +1 -0
- 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/index.ts +1 -0
- 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 +163 -1
- package/spellbook-client/apis/variantUpdateSuggestionsApi.ts +501 -0
- package/spellbook-client/apis/variantsApi.ts +1 -1
- package/spellbook-client/models/bracketTagEnum.ts +1 -1
- package/spellbook-client/models/card.ts +1 -1
- package/spellbook-client/models/cardDetail.ts +1 -1
- package/spellbook-client/models/cardInDeck.ts +1 -1
- package/spellbook-client/models/cardInDeckRequest.ts +1 -1
- package/spellbook-client/models/cardInVariant.ts +1 -1
- package/spellbook-client/models/cardLegalities.ts +1 -1
- package/spellbook-client/models/cardPrices.ts +1 -1
- package/spellbook-client/models/cardUsedInVariantSuggestion.ts +1 -1
- package/spellbook-client/models/cardUsedInVariantSuggestionRequest.ts +1 -1
- package/spellbook-client/models/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/index.ts +8 -1
- package/spellbook-client/models/invalidUrlResponse.ts +1 -1
- package/spellbook-client/models/kindEnum.ts +59 -0
- 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 +101 -0
- package/spellbook-client/models/paginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/patchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/patchedVariantSuggestionRequest.ts +2 -2
- package/spellbook-client/models/patchedVariantUpdateSuggestionRequest.ts +120 -0
- package/spellbook-client/models/suggestionStatusEnum.ts +59 -0
- 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 +75 -0
- package/spellbook-client/models/variantInVariantUpdateSuggestionRequest.ts +74 -0
- 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 +12 -12
- package/spellbook-client/models/variantSuggestionRequest.ts +2 -2
- package/spellbook-client/models/variantUpdateSuggestion.ts +177 -0
- package/spellbook-client/models/variantUpdateSuggestionRequest.ts +122 -0
- 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
- package/dist/models/variantSuggestionStatusEnum.d.ts +0 -32
- package/dist/models/variantSuggestionStatusEnum.js +0 -61
- package/dist/models/variantSuggestionStatusEnum.js.map +0 -1
- package/spellbook-client/models/variantSuggestionStatusEnum.ts +0 -59
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Commander Spellbook API
|
|
5
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
PaginatedVariantUpdateSuggestionList,
|
|
19
|
+
PatchedVariantUpdateSuggestionRequest,
|
|
20
|
+
VariantUpdateSuggestion,
|
|
21
|
+
VariantUpdateSuggestionRequest,
|
|
22
|
+
} from '../models/index';
|
|
23
|
+
import {
|
|
24
|
+
PaginatedVariantUpdateSuggestionListFromJSON,
|
|
25
|
+
PaginatedVariantUpdateSuggestionListToJSON,
|
|
26
|
+
PatchedVariantUpdateSuggestionRequestFromJSON,
|
|
27
|
+
PatchedVariantUpdateSuggestionRequestToJSON,
|
|
28
|
+
VariantUpdateSuggestionFromJSON,
|
|
29
|
+
VariantUpdateSuggestionToJSON,
|
|
30
|
+
VariantUpdateSuggestionRequestFromJSON,
|
|
31
|
+
VariantUpdateSuggestionRequestToJSON,
|
|
32
|
+
} from '../models/index';
|
|
33
|
+
|
|
34
|
+
export interface VariantUpdateSuggestionsCreateRequest {
|
|
35
|
+
variantUpdateSuggestionRequest: VariantUpdateSuggestionRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface VariantUpdateSuggestionsDestroyRequest {
|
|
39
|
+
id: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface VariantUpdateSuggestionsListRequest {
|
|
43
|
+
limit?: number;
|
|
44
|
+
offset?: number;
|
|
45
|
+
suggestedBy?: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface VariantUpdateSuggestionsPartialUpdateRequest {
|
|
49
|
+
id: number;
|
|
50
|
+
patchedVariantUpdateSuggestionRequest?: PatchedVariantUpdateSuggestionRequest;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface VariantUpdateSuggestionsRetrieveRequest {
|
|
54
|
+
id: number;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface VariantUpdateSuggestionsUpdateRequest {
|
|
58
|
+
id: number;
|
|
59
|
+
variantUpdateSuggestionRequest: VariantUpdateSuggestionRequest;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface VariantUpdateSuggestionsValidateCreateRequest {
|
|
63
|
+
variantUpdateSuggestionRequest: VariantUpdateSuggestionRequest;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export interface VariantUpdateSuggestionsValidatePartialUpdateRequest {
|
|
67
|
+
id: number;
|
|
68
|
+
patchedVariantUpdateSuggestionRequest?: PatchedVariantUpdateSuggestionRequest;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface VariantUpdateSuggestionsValidateUpdateRequest {
|
|
72
|
+
id: number;
|
|
73
|
+
variantUpdateSuggestionRequest: VariantUpdateSuggestionRequest;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export class VariantUpdateSuggestionsApi extends runtime.BaseAPI {
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
*/
|
|
83
|
+
async variantUpdateSuggestionsCreateRaw(requestParameters: VariantUpdateSuggestionsCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
84
|
+
if (requestParameters['variantUpdateSuggestionRequest'] == null) {
|
|
85
|
+
throw new runtime.RequiredError(
|
|
86
|
+
'variantUpdateSuggestionRequest',
|
|
87
|
+
'Required parameter "variantUpdateSuggestionRequest" was null or undefined when calling variantUpdateSuggestionsCreate().'
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const queryParameters: any = {};
|
|
92
|
+
|
|
93
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
94
|
+
|
|
95
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
96
|
+
|
|
97
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
98
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
99
|
+
}
|
|
100
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
+
const token = this.configuration.accessToken;
|
|
102
|
+
const tokenString = await token("jwtAuth", []);
|
|
103
|
+
|
|
104
|
+
if (tokenString) {
|
|
105
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
const response = await this.request({
|
|
109
|
+
path: `/variant-update-suggestions/`,
|
|
110
|
+
method: 'POST',
|
|
111
|
+
headers: headerParameters,
|
|
112
|
+
query: queryParameters,
|
|
113
|
+
body: VariantUpdateSuggestionRequestToJSON(requestParameters['variantUpdateSuggestionRequest']),
|
|
114
|
+
}, initOverrides);
|
|
115
|
+
|
|
116
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
*/
|
|
121
|
+
async variantUpdateSuggestionsCreate(requestParameters: VariantUpdateSuggestionsCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
122
|
+
const response = await this.variantUpdateSuggestionsCreateRaw(requestParameters, initOverrides);
|
|
123
|
+
return await response.value();
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
async variantUpdateSuggestionsDestroyRaw(requestParameters: VariantUpdateSuggestionsDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
129
|
+
if (requestParameters['id'] == null) {
|
|
130
|
+
throw new runtime.RequiredError(
|
|
131
|
+
'id',
|
|
132
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsDestroy().'
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const queryParameters: any = {};
|
|
137
|
+
|
|
138
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
139
|
+
|
|
140
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
141
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
142
|
+
}
|
|
143
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
144
|
+
const token = this.configuration.accessToken;
|
|
145
|
+
const tokenString = await token("jwtAuth", []);
|
|
146
|
+
|
|
147
|
+
if (tokenString) {
|
|
148
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
const response = await this.request({
|
|
152
|
+
path: `/variant-update-suggestions/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
153
|
+
method: 'DELETE',
|
|
154
|
+
headers: headerParameters,
|
|
155
|
+
query: queryParameters,
|
|
156
|
+
}, initOverrides);
|
|
157
|
+
|
|
158
|
+
return new runtime.VoidApiResponse(response);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
*/
|
|
163
|
+
async variantUpdateSuggestionsDestroy(requestParameters: VariantUpdateSuggestionsDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
164
|
+
await this.variantUpdateSuggestionsDestroyRaw(requestParameters, initOverrides);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
*/
|
|
169
|
+
async variantUpdateSuggestionsListRaw(requestParameters: VariantUpdateSuggestionsListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedVariantUpdateSuggestionList>> {
|
|
170
|
+
const queryParameters: any = {};
|
|
171
|
+
|
|
172
|
+
if (requestParameters['limit'] != null) {
|
|
173
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (requestParameters['offset'] != null) {
|
|
177
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (requestParameters['suggestedBy'] != null) {
|
|
181
|
+
queryParameters['suggestedBy'] = requestParameters['suggestedBy'];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
185
|
+
|
|
186
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
187
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
188
|
+
}
|
|
189
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
190
|
+
const token = this.configuration.accessToken;
|
|
191
|
+
const tokenString = await token("jwtAuth", []);
|
|
192
|
+
|
|
193
|
+
if (tokenString) {
|
|
194
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
const response = await this.request({
|
|
198
|
+
path: `/variant-update-suggestions/`,
|
|
199
|
+
method: 'GET',
|
|
200
|
+
headers: headerParameters,
|
|
201
|
+
query: queryParameters,
|
|
202
|
+
}, initOverrides);
|
|
203
|
+
|
|
204
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedVariantUpdateSuggestionListFromJSON(jsonValue));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
*/
|
|
209
|
+
async variantUpdateSuggestionsList(requestParameters: VariantUpdateSuggestionsListRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedVariantUpdateSuggestionList> {
|
|
210
|
+
const response = await this.variantUpdateSuggestionsListRaw(requestParameters, initOverrides);
|
|
211
|
+
return await response.value();
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
*/
|
|
216
|
+
async variantUpdateSuggestionsPartialUpdateRaw(requestParameters: VariantUpdateSuggestionsPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
217
|
+
if (requestParameters['id'] == null) {
|
|
218
|
+
throw new runtime.RequiredError(
|
|
219
|
+
'id',
|
|
220
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsPartialUpdate().'
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const queryParameters: any = {};
|
|
225
|
+
|
|
226
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
227
|
+
|
|
228
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
229
|
+
|
|
230
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
231
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
232
|
+
}
|
|
233
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
234
|
+
const token = this.configuration.accessToken;
|
|
235
|
+
const tokenString = await token("jwtAuth", []);
|
|
236
|
+
|
|
237
|
+
if (tokenString) {
|
|
238
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
const response = await this.request({
|
|
242
|
+
path: `/variant-update-suggestions/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
243
|
+
method: 'PATCH',
|
|
244
|
+
headers: headerParameters,
|
|
245
|
+
query: queryParameters,
|
|
246
|
+
body: PatchedVariantUpdateSuggestionRequestToJSON(requestParameters['patchedVariantUpdateSuggestionRequest']),
|
|
247
|
+
}, initOverrides);
|
|
248
|
+
|
|
249
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
*/
|
|
254
|
+
async variantUpdateSuggestionsPartialUpdate(requestParameters: VariantUpdateSuggestionsPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
255
|
+
const response = await this.variantUpdateSuggestionsPartialUpdateRaw(requestParameters, initOverrides);
|
|
256
|
+
return await response.value();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
*/
|
|
261
|
+
async variantUpdateSuggestionsRetrieveRaw(requestParameters: VariantUpdateSuggestionsRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
262
|
+
if (requestParameters['id'] == null) {
|
|
263
|
+
throw new runtime.RequiredError(
|
|
264
|
+
'id',
|
|
265
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsRetrieve().'
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
const queryParameters: any = {};
|
|
270
|
+
|
|
271
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
272
|
+
|
|
273
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
274
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
275
|
+
}
|
|
276
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
277
|
+
const token = this.configuration.accessToken;
|
|
278
|
+
const tokenString = await token("jwtAuth", []);
|
|
279
|
+
|
|
280
|
+
if (tokenString) {
|
|
281
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
const response = await this.request({
|
|
285
|
+
path: `/variant-update-suggestions/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
286
|
+
method: 'GET',
|
|
287
|
+
headers: headerParameters,
|
|
288
|
+
query: queryParameters,
|
|
289
|
+
}, initOverrides);
|
|
290
|
+
|
|
291
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
*/
|
|
296
|
+
async variantUpdateSuggestionsRetrieve(requestParameters: VariantUpdateSuggestionsRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
297
|
+
const response = await this.variantUpdateSuggestionsRetrieveRaw(requestParameters, initOverrides);
|
|
298
|
+
return await response.value();
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
*/
|
|
303
|
+
async variantUpdateSuggestionsUpdateRaw(requestParameters: VariantUpdateSuggestionsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
304
|
+
if (requestParameters['id'] == null) {
|
|
305
|
+
throw new runtime.RequiredError(
|
|
306
|
+
'id',
|
|
307
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsUpdate().'
|
|
308
|
+
);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
if (requestParameters['variantUpdateSuggestionRequest'] == null) {
|
|
312
|
+
throw new runtime.RequiredError(
|
|
313
|
+
'variantUpdateSuggestionRequest',
|
|
314
|
+
'Required parameter "variantUpdateSuggestionRequest" was null or undefined when calling variantUpdateSuggestionsUpdate().'
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
const queryParameters: any = {};
|
|
319
|
+
|
|
320
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
321
|
+
|
|
322
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
323
|
+
|
|
324
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
325
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
326
|
+
}
|
|
327
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
328
|
+
const token = this.configuration.accessToken;
|
|
329
|
+
const tokenString = await token("jwtAuth", []);
|
|
330
|
+
|
|
331
|
+
if (tokenString) {
|
|
332
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
const response = await this.request({
|
|
336
|
+
path: `/variant-update-suggestions/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
337
|
+
method: 'PUT',
|
|
338
|
+
headers: headerParameters,
|
|
339
|
+
query: queryParameters,
|
|
340
|
+
body: VariantUpdateSuggestionRequestToJSON(requestParameters['variantUpdateSuggestionRequest']),
|
|
341
|
+
}, initOverrides);
|
|
342
|
+
|
|
343
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
*/
|
|
348
|
+
async variantUpdateSuggestionsUpdate(requestParameters: VariantUpdateSuggestionsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
349
|
+
const response = await this.variantUpdateSuggestionsUpdateRaw(requestParameters, initOverrides);
|
|
350
|
+
return await response.value();
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Validate the variant suggestion data.
|
|
355
|
+
*/
|
|
356
|
+
async variantUpdateSuggestionsValidateCreateRaw(requestParameters: VariantUpdateSuggestionsValidateCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
357
|
+
if (requestParameters['variantUpdateSuggestionRequest'] == null) {
|
|
358
|
+
throw new runtime.RequiredError(
|
|
359
|
+
'variantUpdateSuggestionRequest',
|
|
360
|
+
'Required parameter "variantUpdateSuggestionRequest" was null or undefined when calling variantUpdateSuggestionsValidateCreate().'
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
const queryParameters: any = {};
|
|
365
|
+
|
|
366
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
367
|
+
|
|
368
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
369
|
+
|
|
370
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
371
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
372
|
+
}
|
|
373
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
374
|
+
const token = this.configuration.accessToken;
|
|
375
|
+
const tokenString = await token("jwtAuth", []);
|
|
376
|
+
|
|
377
|
+
if (tokenString) {
|
|
378
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
const response = await this.request({
|
|
382
|
+
path: `/variant-update-suggestions/validate/`,
|
|
383
|
+
method: 'POST',
|
|
384
|
+
headers: headerParameters,
|
|
385
|
+
query: queryParameters,
|
|
386
|
+
body: VariantUpdateSuggestionRequestToJSON(requestParameters['variantUpdateSuggestionRequest']),
|
|
387
|
+
}, initOverrides);
|
|
388
|
+
|
|
389
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Validate the variant suggestion data.
|
|
394
|
+
*/
|
|
395
|
+
async variantUpdateSuggestionsValidateCreate(requestParameters: VariantUpdateSuggestionsValidateCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
396
|
+
const response = await this.variantUpdateSuggestionsValidateCreateRaw(requestParameters, initOverrides);
|
|
397
|
+
return await response.value();
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Validate the variant suggestion update data.
|
|
402
|
+
*/
|
|
403
|
+
async variantUpdateSuggestionsValidatePartialUpdateRaw(requestParameters: VariantUpdateSuggestionsValidatePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
404
|
+
if (requestParameters['id'] == null) {
|
|
405
|
+
throw new runtime.RequiredError(
|
|
406
|
+
'id',
|
|
407
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsValidatePartialUpdate().'
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
const queryParameters: any = {};
|
|
412
|
+
|
|
413
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
414
|
+
|
|
415
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
416
|
+
|
|
417
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
418
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
419
|
+
}
|
|
420
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
421
|
+
const token = this.configuration.accessToken;
|
|
422
|
+
const tokenString = await token("jwtAuth", []);
|
|
423
|
+
|
|
424
|
+
if (tokenString) {
|
|
425
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
const response = await this.request({
|
|
429
|
+
path: `/variant-update-suggestions/{id}/validate/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
430
|
+
method: 'PATCH',
|
|
431
|
+
headers: headerParameters,
|
|
432
|
+
query: queryParameters,
|
|
433
|
+
body: PatchedVariantUpdateSuggestionRequestToJSON(requestParameters['patchedVariantUpdateSuggestionRequest']),
|
|
434
|
+
}, initOverrides);
|
|
435
|
+
|
|
436
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Validate the variant suggestion update data.
|
|
441
|
+
*/
|
|
442
|
+
async variantUpdateSuggestionsValidatePartialUpdate(requestParameters: VariantUpdateSuggestionsValidatePartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
443
|
+
const response = await this.variantUpdateSuggestionsValidatePartialUpdateRaw(requestParameters, initOverrides);
|
|
444
|
+
return await response.value();
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Validate the variant suggestion update data.
|
|
449
|
+
*/
|
|
450
|
+
async variantUpdateSuggestionsValidateUpdateRaw(requestParameters: VariantUpdateSuggestionsValidateUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VariantUpdateSuggestion>> {
|
|
451
|
+
if (requestParameters['id'] == null) {
|
|
452
|
+
throw new runtime.RequiredError(
|
|
453
|
+
'id',
|
|
454
|
+
'Required parameter "id" was null or undefined when calling variantUpdateSuggestionsValidateUpdate().'
|
|
455
|
+
);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (requestParameters['variantUpdateSuggestionRequest'] == null) {
|
|
459
|
+
throw new runtime.RequiredError(
|
|
460
|
+
'variantUpdateSuggestionRequest',
|
|
461
|
+
'Required parameter "variantUpdateSuggestionRequest" was null or undefined when calling variantUpdateSuggestionsValidateUpdate().'
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
const queryParameters: any = {};
|
|
466
|
+
|
|
467
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
468
|
+
|
|
469
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
470
|
+
|
|
471
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
472
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
473
|
+
}
|
|
474
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
475
|
+
const token = this.configuration.accessToken;
|
|
476
|
+
const tokenString = await token("jwtAuth", []);
|
|
477
|
+
|
|
478
|
+
if (tokenString) {
|
|
479
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
const response = await this.request({
|
|
483
|
+
path: `/variant-update-suggestions/{id}/validate/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
484
|
+
method: 'PUT',
|
|
485
|
+
headers: headerParameters,
|
|
486
|
+
query: queryParameters,
|
|
487
|
+
body: VariantUpdateSuggestionRequestToJSON(requestParameters['variantUpdateSuggestionRequest']),
|
|
488
|
+
}, initOverrides);
|
|
489
|
+
|
|
490
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VariantUpdateSuggestionFromJSON(jsonValue));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* Validate the variant suggestion update data.
|
|
495
|
+
*/
|
|
496
|
+
async variantUpdateSuggestionsValidateUpdate(requestParameters: VariantUpdateSuggestionsValidateUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VariantUpdateSuggestion> {
|
|
497
|
+
const response = await this.variantUpdateSuggestionsValidateUpdateRaw(requestParameters, initOverrides);
|
|
498
|
+
return await response.value();
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Commander Spellbook API
|
|
5
5
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.2
|
|
7
|
+
* The version of the OpenAPI document: 4.3.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|