UNPKG

@paciolan/cybersource-sdk

Version:
106 lines (105 loc) 4.39 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 { TransactionsEmvTagDetailsBody } from '../models'; import { TssV2GetEmvTags200Response } from '../models'; import { TssV2PostEmvTags200Response } from '../models'; /** * EMVTagDetailsApi - axios parameter creator * @export */ export declare const EMVTagDetailsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the entire EMV tag dictionary * @summary Retrieve the EMV Dictionary * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEmvTags: (options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; /** * Pass an EMV Tag-Length-Value (TLV) string for parsing. * @summary Parse an EMV String * @param {TransactionsEmvTagDetailsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ parseEmvTags: (body: TransactionsEmvTagDetailsBody, options?: AxiosRequestConfig & Configuration) => Promise<RequestArgs>; }; /** * EMVTagDetailsApi - functional programming interface * @export */ export declare const EMVTagDetailsApiFp: (configuration?: Configuration) => { /** * Returns the entire EMV tag dictionary * @summary Retrieve the EMV Dictionary * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEmvTags(options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<TssV2GetEmvTags200Response>>>; /** * Pass an EMV Tag-Length-Value (TLV) string for parsing. * @summary Parse an EMV String * @param {TransactionsEmvTagDetailsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ parseEmvTags(body: TransactionsEmvTagDetailsBody, options?: AxiosRequestConfig & Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<TssV2PostEmvTags200Response>>>; }; /** * EMVTagDetailsApi - factory interface * @export */ export declare const EMVTagDetailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the entire EMV tag dictionary * @summary Retrieve the EMV Dictionary * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEmvTags(options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<TssV2GetEmvTags200Response>>; /** * Pass an EMV Tag-Length-Value (TLV) string for parsing. * @summary Parse an EMV String * @param {TransactionsEmvTagDetailsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ parseEmvTags(body: TransactionsEmvTagDetailsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<TssV2PostEmvTags200Response>>; }; /** * EMVTagDetailsApi - object-oriented interface * @export * @class EMVTagDetailsApi * @extends {BaseAPI} */ export declare class EMVTagDetailsApi extends BaseAPI { /** * Returns the entire EMV tag dictionary * @summary Retrieve the EMV Dictionary * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EMVTagDetailsApi */ getEmvTags(options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<TssV2GetEmvTags200Response>>; /** * Pass an EMV Tag-Length-Value (TLV) string for parsing. * @summary Parse an EMV String * @param {TransactionsEmvTagDetailsBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof EMVTagDetailsApi */ parseEmvTags(body: TransactionsEmvTagDetailsBody, options?: AxiosRequestConfig & Configuration): Promise<AxiosResponse<TssV2PostEmvTags200Response>>; }