@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
39 lines (38 loc) • 1.22 kB
TypeScript
/**
* Commander Spellbook API
* API for Commander Spellbook, the combo database engine for Magic: The Gathering
*
* The version of the OpenAPI document: 4.8.19
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface TokenObtainPair
*/
export interface TokenObtainPair {
/**
*
* @type {string}
* @memberof TokenObtainPair
*/
readonly refresh: string;
/**
*
* @type {string}
* @memberof TokenObtainPair
*/
readonly access: string;
}
/**
* Check if a given object implements the TokenObtainPair interface.
*/
export declare function instanceOfTokenObtainPair(value: object): value is TokenObtainPair;
export declare function TokenObtainPairFromJSON(json: any): TokenObtainPair;
export declare function TokenObtainPairFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenObtainPair;
export declare function TokenObtainPairToJSON(json: any): TokenObtainPair;
export declare function TokenObtainPairToJSONTyped(value?: Omit<TokenObtainPair, 'refresh' | 'access'> | null, ignoreDiscriminator?: boolean): any;