@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
79 lines (78 loc) • 2.96 kB
TypeScript
/**
* CyberSource Merged Spec
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { KeysscmpKeyIdBody } from '../models';
/**
* KeyManagementScmpApi - axios parameter creator
* @export
*/
export declare const KeyManagementScmpApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* Update or Deactivate scmp api Key
* @summary Update or Deactivate
* @param {KeysscmpKeyIdBody} body
* @param {string} keyId Key ID.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateSCMP: (body: KeysscmpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>;
};
/**
* KeyManagementScmpApi - functional programming interface
* @export
*/
export declare const KeyManagementScmpApiFp: (configuration?: Configuration) => {
/**
* Update or Deactivate scmp api Key
* @summary Update or Deactivate
* @param {KeysscmpKeyIdBody} body
* @param {string} keyId Key ID.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateSCMP(body: KeysscmpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<any>>>;
};
/**
* KeyManagementScmpApi - factory interface
* @export
*/
export declare const KeyManagementScmpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* Update or Deactivate scmp api Key
* @summary Update or Deactivate
* @param {KeysscmpKeyIdBody} body
* @param {string} keyId Key ID.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
updateSCMP(body: KeysscmpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>;
};
/**
* KeyManagementScmpApi - object-oriented interface
* @export
* @class KeyManagementScmpApi
* @extends {BaseAPI}
*/
export declare class KeyManagementScmpApi extends BaseAPI {
/**
* Update or Deactivate scmp api Key
* @summary Update or Deactivate
* @param {KeysscmpKeyIdBody} body
* @param {string} keyId Key ID.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof KeyManagementScmpApi
*/
updateSCMP(body: KeysscmpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>;
}