UNPKG

@paciolan/cybersource-sdk

Version:
76 lines (75 loc) 3.2 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 { PtsV2PayoutsPost201Response } from '../models'; import { V2PayoutsBody } from '../models'; /** * PayoutsApi - axios parameter creator * @export */ export declare const PayoutsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). * @summary Process a Payout * @param {V2PayoutsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ octCreatePayment: (body: V2PayoutsBody, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * PayoutsApi - functional programming interface * @export */ export declare const PayoutsApiFp: (configuration?: Configuration) => { /** * Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). * @summary Process a Payout * @param {V2PayoutsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ octCreatePayment(body: V2PayoutsBody, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<PtsV2PayoutsPost201Response>>>; }; /** * PayoutsApi - factory interface * @export */ export declare const PayoutsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). * @summary Process a Payout * @param {V2PayoutsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ octCreatePayment(body: V2PayoutsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<PtsV2PayoutsPost201Response>>; }; /** * PayoutsApi - object-oriented interface * @export * @class PayoutsApi * @extends {BaseAPI} */ export declare class PayoutsApi extends BaseAPI { /** * Send funds from a selected funding source to a designated credit/debit card account or a prepaid card using an Original Credit Transaction (OCT). * @summary Process a Payout * @param {V2PayoutsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof PayoutsApi */ octCreatePayment(body: V2PayoutsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<PtsV2PayoutsPost201Response>>; }