UNPKG

data-and-reporting-sdk

Version:

Data And Reporting product consists of API's which provides details of transaction and invoice informations about shell cards. The Shell Card Transaction and Invoice API is REST-based and employs Basic authentication in Version 1 and Oauth authentication

19 lines 842 B
/** * Shell Data & Reporting APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core.js'; import { OAuthToken } from '../models/oAuthToken.js'; import { BaseController } from './baseController.js'; export declare class OAuthAuthorizationController extends BaseController { /** * Create a new OAuth 2 token. * * @param authorization Authorization header in Basic auth format * @param scope Requested scopes as a space-delimited list. * @return Response from the API call */ requestToken(authorization: string, scope?: string, fieldParameters?: Record<string, unknown>, requestOptions?: RequestOptions): Promise<ApiResponse<OAuthToken>>; } //# sourceMappingURL=oAuthAuthorizationController.d.ts.map