UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

29 lines (28 loc) 804 B
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; /** OAuth 2 Authorization endpoint response */ export interface OAuthToken { /** Access token */ accessToken: string; /** Type of access token */ tokenType: string; /** Time in seconds before the access token expires */ expiresIn?: bigint; /** * List of scopes granted * This is a space-delimited list of strings. */ scope?: string; /** Time of token expiry as unix timestamp (UTC) */ expiry?: bigint; /** * Refresh token * Used to get a new access token when it expires. */ refreshToken?: string; } export declare const oAuthTokenSchema: Schema<OAuthToken>;