@space-cow-media/spellbook-client 3.15.4 → 4.0.1
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 +3 -7
- package/dist/apis/estimateBracketApi.js +5 -11
- package/dist/apis/estimateBracketApi.js.map +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/variantsApi.d.ts +1 -1
- package/dist/apis/variantsApi.js +1 -1
- package/dist/models/bracketEnum.d.ts +34 -0
- package/dist/models/bracketEnum.js +63 -0
- package/dist/models/bracketEnum.js.map +1 -0
- package/dist/models/card.d.ts +1 -1
- package/dist/models/card.js +1 -1
- package/dist/models/cardDetail.d.ts +9 -9
- package/dist/models/cardDetail.js +8 -8
- package/dist/models/cardDetail.js.map +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 +61 -12
- package/dist/models/estimateBracketResult.js +57 -24
- package/dist/models/estimateBracketResult.js.map +1 -1
- package/dist/models/feature.d.ts +13 -1
- package/dist/models/feature.js +6 -1
- package/dist/models/feature.js.map +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 +30 -0
- package/dist/models/featureStatusEnum.js +59 -0
- package/dist/models/featureStatusEnum.js.map +1 -0
- 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 +2 -0
- package/dist/models/index.js +2 -0
- 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/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/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 +9 -3
- package/dist/models/patchedVariantSuggestionRequest.js +5 -3
- package/dist/models/patchedVariantSuggestionRequest.js.map +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 +12 -6
- package/dist/models/variant.js +8 -5
- package/dist/models/variant.js.map +1 -1
- package/dist/models/variantAlias.d.ts +1 -1
- package/dist/models/variantAlias.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 +9 -3
- package/dist/models/variantSuggestion.js +8 -4
- package/dist/models/variantSuggestion.js.map +1 -1
- package/dist/models/variantSuggestionRequest.d.ts +9 -3
- package/dist/models/variantSuggestionRequest.js +5 -3
- package/dist/models/variantSuggestionRequest.js.map +1 -1
- package/dist/models/variantSuggestionStatusEnum.d.ts +1 -1
- package/dist/models/variantSuggestionStatusEnum.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 +4 -17
- 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/variantsApi.ts +1 -1
- package/spellbook-client/models/bracketEnum.ts +61 -0
- package/spellbook-client/models/card.ts +1 -1
- package/spellbook-client/models/cardDetail.ts +15 -15
- 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 +116 -35
- package/spellbook-client/models/feature.ts +25 -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 +57 -0
- package/spellbook-client/models/findMyCombosResponse.ts +1 -1
- package/spellbook-client/models/identityEnum.ts +1 -1
- package/spellbook-client/models/index.ts +2 -0
- package/spellbook-client/models/invalidUrlResponse.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/paginatedWebsitePropertyList.ts +1 -1
- package/spellbook-client/models/patchedUserDetailRequest.ts +1 -1
- package/spellbook-client/models/patchedVariantSuggestionRequest.ts +13 -5
- 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 +18 -10
- package/spellbook-client/models/variantAlias.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 +15 -6
- package/spellbook-client/models/variantSuggestionRequest.ts +13 -5
- package/spellbook-client/models/variantSuggestionStatusEnum.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
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -149,7 +149,13 @@ export interface Variant {
|
|
|
149
149
|
* @type {string}
|
|
150
150
|
* @memberof Variant
|
|
151
151
|
*/
|
|
152
|
-
readonly
|
|
152
|
+
readonly easyPrerequisites: string;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof Variant
|
|
157
|
+
*/
|
|
158
|
+
readonly notablePrerequisites: string;
|
|
153
159
|
/**
|
|
154
160
|
*
|
|
155
161
|
* @type {string}
|
|
@@ -175,11 +181,11 @@ export interface Variant {
|
|
|
175
181
|
*/
|
|
176
182
|
spoiler: boolean;
|
|
177
183
|
/**
|
|
178
|
-
*
|
|
179
|
-
* @type {
|
|
184
|
+
* Bracket tag for this variant
|
|
185
|
+
* @type {string}
|
|
180
186
|
* @memberof Variant
|
|
181
187
|
*/
|
|
182
|
-
readonly
|
|
188
|
+
readonly bracketTag: string;
|
|
183
189
|
/**
|
|
184
190
|
*
|
|
185
191
|
* @type {VariantLegalities}
|
|
@@ -216,12 +222,13 @@ export function instanceOfVariant(value: object): value is Variant {
|
|
|
216
222
|
if (!('identity' in value) || value['identity'] === undefined) return false;
|
|
217
223
|
if (!('manaNeeded' in value) || value['manaNeeded'] === undefined) return false;
|
|
218
224
|
if (!('manaValueNeeded' in value) || value['manaValueNeeded'] === undefined) return false;
|
|
219
|
-
if (!('
|
|
225
|
+
if (!('easyPrerequisites' in value) || value['easyPrerequisites'] === undefined) return false;
|
|
226
|
+
if (!('notablePrerequisites' in value) || value['notablePrerequisites'] === undefined) return false;
|
|
220
227
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
221
228
|
if (!('notes' in value) || value['notes'] === undefined) return false;
|
|
222
229
|
if (!('popularity' in value) || value['popularity'] === undefined) return false;
|
|
223
230
|
if (!('spoiler' in value) || value['spoiler'] === undefined) return false;
|
|
224
|
-
if (!('
|
|
231
|
+
if (!('bracketTag' in value) || value['bracketTag'] === undefined) return false;
|
|
225
232
|
if (!('legalities' in value) || value['legalities'] === undefined) return false;
|
|
226
233
|
if (!('prices' in value) || value['prices'] === undefined) return false;
|
|
227
234
|
if (!('variantCount' in value) || value['variantCount'] === undefined) return false;
|
|
@@ -248,12 +255,13 @@ export function VariantFromJSONTyped(json: any, ignoreDiscriminator: boolean): V
|
|
|
248
255
|
'identity': IdentityEnumFromJSON(json['identity']),
|
|
249
256
|
'manaNeeded': json['manaNeeded'],
|
|
250
257
|
'manaValueNeeded': json['manaValueNeeded'],
|
|
251
|
-
'
|
|
258
|
+
'easyPrerequisites': json['easyPrerequisites'],
|
|
259
|
+
'notablePrerequisites': json['notablePrerequisites'],
|
|
252
260
|
'description': json['description'],
|
|
253
261
|
'notes': json['notes'],
|
|
254
262
|
'popularity': json['popularity'],
|
|
255
263
|
'spoiler': json['spoiler'],
|
|
256
|
-
'
|
|
264
|
+
'bracketTag': json['bracketTag'],
|
|
257
265
|
'legalities': VariantLegalitiesFromJSON(json['legalities']),
|
|
258
266
|
'prices': VariantPricesFromJSON(json['prices']),
|
|
259
267
|
'variantCount': json['variantCount'],
|
|
@@ -264,7 +272,7 @@ export function VariantToJSON(json: any): Variant {
|
|
|
264
272
|
return VariantToJSONTyped(json, false);
|
|
265
273
|
}
|
|
266
274
|
|
|
267
|
-
export function VariantToJSONTyped(value?: Omit<Variant, 'uses'|'requires'|'produces'|'of'|'includes'|'manaNeeded'|'manaValueNeeded'|'
|
|
275
|
+
export function VariantToJSONTyped(value?: Omit<Variant, 'uses'|'requires'|'produces'|'of'|'includes'|'manaNeeded'|'manaValueNeeded'|'easyPrerequisites'|'notablePrerequisites'|'description'|'notes'|'popularity'|'bracketTag'|'legalities'|'prices'|'variantCount'> | null, ignoreDiscriminator: boolean = false): any {
|
|
268
276
|
if (value == null) {
|
|
269
277
|
return value;
|
|
270
278
|
}
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -104,11 +104,17 @@ export interface VariantSuggestion {
|
|
|
104
104
|
*/
|
|
105
105
|
manaNeeded: string;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Easily achievable prerequisites for this combo.
|
|
108
108
|
* @type {string}
|
|
109
109
|
* @memberof VariantSuggestion
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
easyPrerequisites: string;
|
|
112
|
+
/**
|
|
113
|
+
* Notable prerequisites for this combo.
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof VariantSuggestion
|
|
116
|
+
*/
|
|
117
|
+
notablePrerequisites: string;
|
|
112
118
|
/**
|
|
113
119
|
* Long description, in steps
|
|
114
120
|
* @type {string}
|
|
@@ -154,7 +160,8 @@ export function instanceOfVariantSuggestion(value: object): value is VariantSugg
|
|
|
154
160
|
if (!('requires' in value) || value['requires'] === undefined) return false;
|
|
155
161
|
if (!('produces' in value) || value['produces'] === undefined) return false;
|
|
156
162
|
if (!('manaNeeded' in value) || value['manaNeeded'] === undefined) return false;
|
|
157
|
-
if (!('
|
|
163
|
+
if (!('easyPrerequisites' in value) || value['easyPrerequisites'] === undefined) return false;
|
|
164
|
+
if (!('notablePrerequisites' in value) || value['notablePrerequisites'] === undefined) return false;
|
|
158
165
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
159
166
|
if (!('spoiler' in value) || value['spoiler'] === undefined) return false;
|
|
160
167
|
if (!('comment' in value) || value['comment'] === undefined) return false;
|
|
@@ -180,7 +187,8 @@ export function VariantSuggestionFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
180
187
|
'requires': ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionFromJSON)),
|
|
181
188
|
'produces': ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionFromJSON)),
|
|
182
189
|
'manaNeeded': json['manaNeeded'],
|
|
183
|
-
'
|
|
190
|
+
'easyPrerequisites': json['easyPrerequisites'],
|
|
191
|
+
'notablePrerequisites': json['notablePrerequisites'],
|
|
184
192
|
'description': json['description'],
|
|
185
193
|
'spoiler': json['spoiler'],
|
|
186
194
|
'comment': json['comment'],
|
|
@@ -205,7 +213,8 @@ export function VariantSuggestionToJSONTyped(value?: Omit<VariantSuggestion, 'id
|
|
|
205
213
|
'requires': ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionToJSON)),
|
|
206
214
|
'produces': ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionToJSON)),
|
|
207
215
|
'manaNeeded': value['manaNeeded'],
|
|
208
|
-
'
|
|
216
|
+
'easyPrerequisites': value['easyPrerequisites'],
|
|
217
|
+
'notablePrerequisites': value['notablePrerequisites'],
|
|
209
218
|
'description': value['description'],
|
|
210
219
|
'spoiler': value['spoiler'],
|
|
211
220
|
'comment': value['comment'],
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -72,11 +72,17 @@ export interface VariantSuggestionRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
manaNeeded?: string;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Easily achievable prerequisites for this combo.
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @memberof VariantSuggestionRequest
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
easyPrerequisites?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Notable prerequisites for this combo.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof VariantSuggestionRequest
|
|
84
|
+
*/
|
|
85
|
+
notablePrerequisites?: string;
|
|
80
86
|
/**
|
|
81
87
|
* Long description, in steps
|
|
82
88
|
* @type {string}
|
|
@@ -123,7 +129,8 @@ export function VariantSuggestionRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
123
129
|
'requires': ((json['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestFromJSON)),
|
|
124
130
|
'produces': ((json['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestFromJSON)),
|
|
125
131
|
'manaNeeded': json['manaNeeded'] == null ? undefined : json['manaNeeded'],
|
|
126
|
-
'
|
|
132
|
+
'easyPrerequisites': json['easyPrerequisites'] == null ? undefined : json['easyPrerequisites'],
|
|
133
|
+
'notablePrerequisites': json['notablePrerequisites'] == null ? undefined : json['notablePrerequisites'],
|
|
127
134
|
'description': json['description'],
|
|
128
135
|
'spoiler': json['spoiler'] == null ? undefined : json['spoiler'],
|
|
129
136
|
'comment': json['comment'] == null ? undefined : json['comment'],
|
|
@@ -146,7 +153,8 @@ export function VariantSuggestionRequestToJSONTyped(value?: VariantSuggestionReq
|
|
|
146
153
|
'requires': ((value['requires'] as Array<any>).map(TemplateRequiredInVariantSuggestionRequestToJSON)),
|
|
147
154
|
'produces': ((value['produces'] as Array<any>).map(FeatureProducedInVariantSuggestionRequestToJSON)),
|
|
148
155
|
'manaNeeded': value['manaNeeded'],
|
|
149
|
-
'
|
|
156
|
+
'easyPrerequisites': value['easyPrerequisites'],
|
|
157
|
+
'notablePrerequisites': value['notablePrerequisites'],
|
|
150
158
|
'description': value['description'],
|
|
151
159
|
'spoiler': value['spoiler'],
|
|
152
160
|
'comment': value['comment'],
|
|
@@ -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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
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:
|
|
7
|
+
* The version of the OpenAPI document: 4.0.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|