UNPKG

@paciolan/cybersource-sdk

Version:
74 lines (73 loc) 3.45 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'; /** * DownloadDTDApi - axios parameter creator * @export */ export declare const DownloadDTDApiAxiosParamCreator: (configuration?: Configuration) => { /** * Used to download DTDs for reports on no-auth. * @summary Download DTD for Report * @param {string} reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDTDV2: (reportDefinitionNameVersion: string, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * DownloadDTDApi - functional programming interface * @export */ export declare const DownloadDTDApiFp: (configuration?: Configuration) => { /** * Used to download DTDs for reports on no-auth. * @summary Download DTD for Report * @param {string} reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDTDV2(reportDefinitionNameVersion: string, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<void>>>; }; /** * DownloadDTDApi - factory interface * @export */ export declare const DownloadDTDApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Used to download DTDs for reports on no-auth. * @summary Download DTD for Report * @param {string} reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 * @param {*} [options] Override http request option. * @throws {RequiredError} */ getDTDV2(reportDefinitionNameVersion: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<void>>; }; /** * DownloadDTDApi - object-oriented interface * @export * @class DownloadDTDApi * @extends {BaseAPI} */ export declare class DownloadDTDApi extends BaseAPI { /** * Used to download DTDs for reports on no-auth. * @summary Download DTD for Report * @param {string} reportDefinitionNameVersion Name and version of DTD file to download. Some DTDs only have one version. In that case version name is not needed. Some example values are ctdr-1.0, tdr, pbdr-1.1 * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DownloadDTDApi */ getDTDV2(reportDefinitionNameVersion: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<void>>; }