UNPKG

@paciolan/cybersource-sdk

Version:
79 lines (78 loc) 2.97 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 { KeyspgpKeyIdBody } from '../models'; /** * KeyManagementPgpApi - axios parameter creator * @export */ export declare const KeyManagementPgpApiAxiosParamCreator: (configuration?: Configuration) => { /** * Activate or De-activate PGP Key * @summary Activate or De-activate PGP Key * @param {KeyspgpKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePGP: (body: KeyspgpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * KeyManagementPgpApi - functional programming interface * @export */ export declare const KeyManagementPgpApiFp: (configuration?: Configuration) => { /** * Activate or De-activate PGP Key * @summary Activate or De-activate PGP Key * @param {KeyspgpKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePGP(body: KeyspgpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<any>>>; }; /** * KeyManagementPgpApi - factory interface * @export */ export declare const KeyManagementPgpApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Activate or De-activate PGP Key * @summary Activate or De-activate PGP Key * @param {KeyspgpKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ updatePGP(body: KeyspgpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>; }; /** * KeyManagementPgpApi - object-oriented interface * @export * @class KeyManagementPgpApi * @extends {BaseAPI} */ export declare class KeyManagementPgpApi extends BaseAPI { /** * Activate or De-activate PGP Key * @summary Activate or De-activate PGP Key * @param {KeyspgpKeyIdBody} body * @param {string} keyId Key ID. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KeyManagementPgpApi */ updatePGP(body: KeyspgpKeyIdBody, keyId: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<any>>; }