UNPKG

@paciolan/cybersource-sdk

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