UNPKG

@paciolan/cybersource-sdk

Version:
79 lines (78 loc) 3.14 kB
/** * 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 { KeyspasswordKeyIdBody } from '../models'; /** * KeyManagementPasswordApi - axios parameter creator * @export */ export declare const KeyManagementPasswordApiAxiosParamCreator: (configuration?: Configuration) => { /** * Activate or De-activate key of type password * @summary Activate or De-activate Password * @param {KeyspasswordKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePassword: (body: KeyspasswordKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * KeyManagementPasswordApi - functional programming interface * @export */ export declare const KeyManagementPasswordApiFp: (configuration?: Configuration) => { /** * Activate or De-activate key of type password * @summary Activate or De-activate Password * @param {KeyspasswordKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePassword(body: KeyspasswordKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<any>>>; }; /** * KeyManagementPasswordApi - factory interface * @export */ export declare const KeyManagementPasswordApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Activate or De-activate key of type password * @summary Activate or De-activate Password * @param {KeyspasswordKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePassword(body: KeyspasswordKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>; }; /** * KeyManagementPasswordApi - object-oriented interface * @export * @class KeyManagementPasswordApi * @extends {BaseAPI} */ export declare class KeyManagementPasswordApi extends BaseAPI { /** * Activate or De-activate key of type password * @summary Activate or De-activate Password * @param {KeyspasswordKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KeyManagementPasswordApi */ updatePassword(body: KeyspasswordKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>; }