UNPKG

@paciolan/cybersource-sdk

Version:
83 lines (82 loc) 5.81 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 { ReportingV3ChargebackDetailsGet200Response } from '../models'; /** * ChargebackDetailsApi - axios parameter creator * @export */ export declare const ChargebackDetailsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Chargeback Detail Report Description * @summary Get Chargeback Details * @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {string} [organizationId] Valid Organization Id * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChargebackDetails: (startTime: Date, endTime: Date, organizationId?: string, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * ChargebackDetailsApi - functional programming interface * @export */ export declare const ChargebackDetailsApiFp: (configuration?: Configuration) => { /** * Chargeback Detail Report Description * @summary Get Chargeback Details * @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {string} [organizationId] Valid Organization Id * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChargebackDetails(startTime: Date, endTime: Date, organizationId?: string, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<ReportingV3ChargebackDetailsGet200Response>>>; }; /** * ChargebackDetailsApi - factory interface * @export */ export declare const ChargebackDetailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Chargeback Detail Report Description * @summary Get Chargeback Details * @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {string} [organizationId] Valid Organization Id * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChargebackDetails(startTime: Date, endTime: Date, organizationId?: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<ReportingV3ChargebackDetailsGet200Response>>; }; /** * ChargebackDetailsApi - object-oriented interface * @export * @class ChargebackDetailsApi * @extends {BaseAPI} */ export declare class ChargebackDetailsApi extends BaseAPI { /** * Chargeback Detail Report Description * @summary Get Chargeback Details * @param {Date} startTime Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {Date} endTime Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format.[Rfc Date Format](https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) **Example date format:** - yyyy-MM-dd&#x27;T&#x27;HH:mm:ss.SSSZ (e.g. 2018-01-01T00:00:00.000Z) * @param {string} [organizationId] Valid Organization Id * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ChargebackDetailsApi */ getChargebackDetails(startTime: Date, endTime: Date, organizationId?: string, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<ReportingV3ChargebackDetailsGet200Response>>; }