@space-cow-media/spellbook-client 3.14.20 → 3.15.0
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 +33 -0
- package/dist/apis/estimateBracketApi.js +135 -0
- package/dist/apis/estimateBracketApi.js.map +1 -0
- 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 +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/card.d.ts +1 -1
- package/dist/models/card.js +1 -1
- package/dist/models/cardDetail.d.ts +25 -1
- package/dist/models/cardDetail.js +17 -1
- 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 +76 -0
- package/dist/models/estimateBracketResult.js +81 -0
- package/dist/models/estimateBracketResult.js.map +1 -0
- 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/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 +1 -0
- package/dist/models/index.js +1 -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 +1 -1
- package/dist/models/patchedVariantSuggestionRequest.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 +8 -2
- package/dist/models/variant.js +4 -1
- 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 +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/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 +110 -0
- 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 +1 -1
- package/spellbook-client/apis/variantsApi.ts +1 -1
- package/spellbook-client/models/card.ts +1 -1
- package/spellbook-client/models/cardDetail.ts +37 -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 +144 -0
- 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/findMyCombosResponse.ts +1 -1
- package/spellbook-client/models/identityEnum.ts +1 -1
- package/spellbook-client/models/index.ts +1 -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 +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 +10 -2
- 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 +1 -1
- package/spellbook-client/models/variantSuggestionRequest.ts +1 -1
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/cardsApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/cardsApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/defaultApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commander Spellbook API
|
|
3
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { DeckRequest, EstimateBracketResult } from '../models/index';
|
|
14
|
+
export interface EstimateBracketCreateRequest {
|
|
15
|
+
deckRequest?: DeckRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class EstimateBracketApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
*/
|
|
23
|
+
estimateBracketCreateRaw(requestParameters: EstimateBracketCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EstimateBracketResult>>;
|
|
24
|
+
/**
|
|
25
|
+
*/
|
|
26
|
+
estimateBracketCreate(requestParameters?: EstimateBracketCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EstimateBracketResult>;
|
|
27
|
+
/**
|
|
28
|
+
*/
|
|
29
|
+
estimateBracketRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EstimateBracketResult>>;
|
|
30
|
+
/**
|
|
31
|
+
*/
|
|
32
|
+
estimateBracketRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EstimateBracketResult>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Commander Spellbook API
|
|
6
|
+
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
49
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
51
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
53
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
54
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.EstimateBracketApi = void 0;
|
|
59
|
+
const runtime = __importStar(require("../runtime"));
|
|
60
|
+
const index_1 = require("../models/index");
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
class EstimateBracketApi extends runtime.BaseAPI {
|
|
65
|
+
/**
|
|
66
|
+
*/
|
|
67
|
+
estimateBracketCreateRaw(requestParameters, initOverrides) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const queryParameters = {};
|
|
70
|
+
const headerParameters = {};
|
|
71
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
72
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
73
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
74
|
+
}
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = yield token("jwtAuth", []);
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const response = yield this.request({
|
|
83
|
+
path: `/estimate-bracket`,
|
|
84
|
+
method: 'POST',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
body: (0, index_1.DeckRequestToJSON)(requestParameters['deckRequest']),
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EstimateBracketResultFromJSON)(jsonValue));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
*/
|
|
94
|
+
estimateBracketCreate() {
|
|
95
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
96
|
+
const response = yield this.estimateBracketCreateRaw(requestParameters, initOverrides);
|
|
97
|
+
return yield response.value();
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
*/
|
|
102
|
+
estimateBracketRetrieveRaw(initOverrides) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
const queryParameters = {};
|
|
105
|
+
const headerParameters = {};
|
|
106
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
107
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
108
|
+
}
|
|
109
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
110
|
+
const token = this.configuration.accessToken;
|
|
111
|
+
const tokenString = yield token("jwtAuth", []);
|
|
112
|
+
if (tokenString) {
|
|
113
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
const response = yield this.request({
|
|
117
|
+
path: `/estimate-bracket`,
|
|
118
|
+
method: 'GET',
|
|
119
|
+
headers: headerParameters,
|
|
120
|
+
query: queryParameters,
|
|
121
|
+
}, initOverrides);
|
|
122
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EstimateBracketResultFromJSON)(jsonValue));
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*/
|
|
127
|
+
estimateBracketRetrieve(initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const response = yield this.estimateBracketRetrieveRaw(initOverrides);
|
|
130
|
+
return yield response.value();
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.EstimateBracketApi = EstimateBracketApi;
|
|
135
|
+
//# sourceMappingURL=estimateBracketApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"estimateBracketApi.js","sourceRoot":"","sources":["../../spellbook-client/apis/estimateBracketApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAKtC,2CAKyB;AAMzB;;GAEG;AACH,MAAa,kBAAmB,SAAQ,OAAO,CAAC,OAAO;IAEnD;OACG;IACG,wBAAwB,CAAC,iBAA+C,EAAE,aAA0D;;YACtI,MAAM,eAAe,GAAQ,EAAE,CAAC;YAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;YAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAEtD,IAAI,IAAI,CAAC,aAAa,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,KAAK,SAAS,IAAI,IAAI,CAAC,aAAa,CAAC,QAAQ,KAAK,SAAS,CAAC,EAAE,CAAC;gBACjH,gBAAgB,CAAC,eAAe,CAAC,GAAG,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,GAAG,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YACzH,CAAC;YACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;gBACvD,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;gBAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;gBAE/C,IAAI,WAAW,EAAE,CAAC;oBACd,gBAAgB,CAAC,eAAe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AI,CAAC,aAAa,CAAC,WAAW,CAAC;gBAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;gBAE/C,IAAI,WAAW,EAAE,CAAC;oBACd,gBAAgB,CAAC,eAAe,CAAC,GAAG,UAAU,WAAW,EAAE,CAAC;gBAChE,CAAC;YACL,CAAC;YACD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;gBAChC,IAAI,EAAE,mBAAmB;gBACzB,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,gBAAgB;gBACzB,KAAK,EAAE,eAAe;aACzB,EAAE,aAAa,CAAC,CAAC;YAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,qCAA6B,EAAC,SAAS,CAAC,CAAC,CAAC;QAC1G,CAAC;KAAA;IAED;OACG;IACG,uBAAuB,CAAC,aAA0D;;YACpF,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAAC,CAAC;YACtE,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;QAClC,CAAC;KAAA;CAEJ;AA3ED,gDA2EC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/featuresApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './cardListFromTextApi';
|
|
|
2
2
|
export * from './cardListFromUrlApi';
|
|
3
3
|
export * from './cardsApi';
|
|
4
4
|
export * from './defaultApi';
|
|
5
|
+
export * from './estimateBracketApi';
|
|
5
6
|
export * from './featuresApi';
|
|
6
7
|
export * from './findMyCombosApi';
|
|
7
8
|
export * from './propertiesApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./cardListFromTextApi"), exports);
|
|
|
20
20
|
__exportStar(require("./cardListFromUrlApi"), exports);
|
|
21
21
|
__exportStar(require("./cardsApi"), exports);
|
|
22
22
|
__exportStar(require("./defaultApi"), exports);
|
|
23
|
+
__exportStar(require("./estimateBracketApi"), exports);
|
|
23
24
|
__exportStar(require("./featuresApi"), exports);
|
|
24
25
|
__exportStar(require("./findMyCombosApi"), exports);
|
|
25
26
|
__exportStar(require("./propertiesApi"), exports);
|
package/dist/apis/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../spellbook-client/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,wDAAsC;AACtC,uDAAqC;AACrC,6CAA2B;AAC3B,+CAA6B;AAC7B,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,iDAA+B;AAC/B,6CAA2B;AAC3B,6CAA2B;AAC3B,sDAAoC;AACpC,0DAAwC;AACxC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../spellbook-client/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,wDAAsC;AACtC,uDAAqC;AACrC,6CAA2B;AAC3B,+CAA6B;AAC7B,uDAAqC;AACrC,gDAA8B;AAC9B,oDAAkC;AAClC,kDAAgC;AAChC,iDAA+B;AAC/B,6CAA2B;AAC3B,6CAA2B;AAC3B,sDAAoC;AACpC,0DAAwC;AACxC,gDAA8B"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/tokenApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/tokenApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/usersApi.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/usersApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/variantsApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/card.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/models/card.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -97,6 +97,30 @@ export interface CardDetail {
|
|
|
97
97
|
* @memberof CardDetail
|
|
98
98
|
*/
|
|
99
99
|
reprinted: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Whether this card can tutor for other cards
|
|
102
|
+
* @type {boolean}
|
|
103
|
+
* @memberof CardDetail
|
|
104
|
+
*/
|
|
105
|
+
tutor: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Whether this card can destroy multiple lands
|
|
108
|
+
* @type {boolean}
|
|
109
|
+
* @memberof CardDetail
|
|
110
|
+
*/
|
|
111
|
+
massLandDestruction: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Whether this card grants an extra turn
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof CardDetail
|
|
116
|
+
*/
|
|
117
|
+
extraTurn: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Whether this card is in the official Game Changer card list
|
|
120
|
+
* @type {boolean}
|
|
121
|
+
* @memberof CardDetail
|
|
122
|
+
*/
|
|
123
|
+
gameChanger: boolean;
|
|
100
124
|
/**
|
|
101
125
|
*
|
|
102
126
|
* @type {Array<FeatureOfCard>}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -52,6 +52,14 @@ function instanceOfCardDetail(value) {
|
|
|
52
52
|
return false;
|
|
53
53
|
if (!('reprinted' in value) || value['reprinted'] === undefined)
|
|
54
54
|
return false;
|
|
55
|
+
if (!('tutor' in value) || value['tutor'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('massLandDestruction' in value) || value['massLandDestruction'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('extraTurn' in value) || value['extraTurn'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('gameChanger' in value) || value['gameChanger'] === undefined)
|
|
62
|
+
return false;
|
|
55
63
|
if (!('features' in value) || value['features'] === undefined)
|
|
56
64
|
return false;
|
|
57
65
|
if (!('legalities' in value) || value['legalities'] === undefined)
|
|
@@ -81,6 +89,10 @@ function CardDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
81
89
|
'reserved': json['reserved'],
|
|
82
90
|
'latestPrintingSet': json['latestPrintingSet'],
|
|
83
91
|
'reprinted': json['reprinted'],
|
|
92
|
+
'tutor': json['tutor'],
|
|
93
|
+
'massLandDestruction': json['massLandDestruction'],
|
|
94
|
+
'extraTurn': json['extraTurn'],
|
|
95
|
+
'gameChanger': json['gameChanger'],
|
|
84
96
|
'features': (json['features'].map(featureOfCard_1.FeatureOfCardFromJSON)),
|
|
85
97
|
'legalities': (0, cardLegalities_1.CardLegalitiesFromJSON)(json['legalities']),
|
|
86
98
|
'prices': (0, cardPrices_1.CardPricesFromJSON)(json['prices']),
|
|
@@ -105,6 +117,10 @@ function CardDetailToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
105
117
|
'reserved': value['reserved'],
|
|
106
118
|
'latestPrintingSet': value['latestPrintingSet'],
|
|
107
119
|
'reprinted': value['reprinted'],
|
|
120
|
+
'tutor': value['tutor'],
|
|
121
|
+
'massLandDestruction': value['massLandDestruction'],
|
|
122
|
+
'extraTurn': value['extraTurn'],
|
|
123
|
+
'gameChanger': value['gameChanger'],
|
|
108
124
|
};
|
|
109
125
|
}
|
|
110
126
|
//# sourceMappingURL=cardDetail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cardDetail.js","sourceRoot":"","sources":["../../spellbook-client/models/cardDetail.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"cardDetail.js","sourceRoot":"","sources":["../../spellbook-client/models/cardDetail.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAqKH,oDAsBC;AAED,gDAEC;AAED,0DA2BC;AAED,4CAEC;AAED,sDAuBC;AArPD,mDAKyB;AAEzB,qDAK0B;AAE1B,6CAKsB;AAEtB,iDAKwB;AAoIxB;;GAEG;AACH,SAAgB,oBAAoB,CAAC,KAAa;IAC9C,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAA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UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,CAAC;QAC/C,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Commander Spellbook API
|
|
6
6
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 3.
|
|
8
|
+
* The version of the OpenAPI document: 3.15.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Commander Spellbook API
|
|
3
3
|
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|