/** * Kanga Exchange API * API documentation generated from Kanga Exchange source code. * * The version of the OpenAPI document: 1.0.0 * Contact: support@kanga.exchange * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { ApiV2PayCurrenciesListGet200Response, ApiV2PayPaymentCreatePost200Response, ApiV2PayPaymentCreatePostRequest, ApiV2PayPaymentGetPost200Response, ApiV2PayPaymentGetPostRequest } from '../models'; export interface ApiV2PayPaymentCreatePostOperationRequest { apiV2PayPaymentCreatePostRequest: ApiV2PayPaymentCreatePostRequest; } export interface ApiV2PayPaymentGetPostOperationRequest { apiV2PayPaymentGetPostRequest: ApiV2PayPaymentGetPostRequest; } /** * KangaPayApi - interface * * @export * @interface KangaPayApiInterface */ export interface KangaPayApiInterface { /** * This endpoint returns which currencies are exchanged with Kanga Pay * @summary Kanga Pay currencies * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KangaPayApiInterface */ apiV2PayCurrenciesListGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint returns which currencies are exchanged with Kanga Pay * Kanga Pay currencies */ apiV2PayCurrenciesListGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates a new KangaPay payment for the user identified by the payCode. * @summary Create payment * @param {ApiV2PayPaymentCreatePostRequest} apiV2PayPaymentCreatePostRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KangaPayApiInterface */ apiV2PayPaymentCreatePostRaw(requestParameters: ApiV2PayPaymentCreatePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new KangaPay payment for the user identified by the payCode. * Create payment */ apiV2PayPaymentCreatePost(requestParameters: ApiV2PayPaymentCreatePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns KangaPay payment details. * @summary Get payment details * @param {ApiV2PayPaymentGetPostRequest} apiV2PayPaymentGetPostRequest * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof KangaPayApiInterface */ apiV2PayPaymentGetPostRaw(requestParameters: ApiV2PayPaymentGetPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns KangaPay payment details. * Get payment details */ apiV2PayPaymentGetPost(requestParameters: ApiV2PayPaymentGetPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * */ export declare class KangaPayApi extends runtime.BaseAPI implements KangaPayApiInterface { /** * This endpoint returns which currencies are exchanged with Kanga Pay * Kanga Pay currencies */ apiV2PayCurrenciesListGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * This endpoint returns which currencies are exchanged with Kanga Pay * Kanga Pay currencies */ apiV2PayCurrenciesListGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Creates a new KangaPay payment for the user identified by the payCode. * Create payment */ apiV2PayPaymentCreatePostRaw(requestParameters: ApiV2PayPaymentCreatePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Creates a new KangaPay payment for the user identified by the payCode. * Create payment */ apiV2PayPaymentCreatePost(requestParameters: ApiV2PayPaymentCreatePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Returns KangaPay payment details. * Get payment details */ apiV2PayPaymentGetPostRaw(requestParameters: ApiV2PayPaymentGetPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Returns KangaPay payment details. * Get payment details */ apiV2PayPaymentGetPost(requestParameters: ApiV2PayPaymentGetPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } //# sourceMappingURL=KangaPayApi.d.ts.map