/**
 * Wallee AG TypeScript SDK
 *
 * This library allows to interact with the Wallee AG payment service.
 *
 * Copyright owner: Wallee AG
 * Website: https://en.wallee.com
 * Developer email: ecosystem-team@wallee.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import * as runtime from '../runtime';
import type { ChargeAttempt, PaymentAppChargeAttemptUpdate, PaymentAppCompletionUpdate, PaymentAppConnector, PaymentAppConnectorDetails, PaymentAppConnectorDetailsCreate, PaymentAppProcessor, PaymentAppProcessorDetails, PaymentAppProcessorDetailsCreate, PaymentAppRefundUpdate, PaymentAppVoidUpdate, Refund, TransactionCompletion, TransactionVoid } from '../models/index';
export interface DeletePaymentWebAppsConnectorsConnectorExternalIdRequest {
    connectorExternalId: string;
    space: number;
}
export interface DeletePaymentWebAppsProcessorsExternalIdRequest {
    externalId: string;
    space: number;
}
export interface PatchPaymentWebAppsChargeAttemptsIdRequest {
    id: number;
    space: number;
    paymentAppChargeAttemptUpdate: PaymentAppChargeAttemptUpdate;
    expand?: Set<string>;
}
export interface PatchPaymentWebAppsCompletionsIdRequest {
    id: number;
    space: number;
    paymentAppCompletionUpdate: PaymentAppCompletionUpdate;
    expand?: Set<string>;
}
export interface PatchPaymentWebAppsConnectorsConnectorExternalIdRequest {
    connectorExternalId: string;
    space: number;
    paymentAppConnectorDetails: PaymentAppConnectorDetails;
    expand?: Set<string>;
}
export interface PatchPaymentWebAppsProcessorsExternalIdRequest {
    externalId: string;
    space: number;
    paymentAppProcessorDetails: PaymentAppProcessorDetails;
    expand?: Set<string>;
}
export interface PatchPaymentWebAppsRefundsIdRequest {
    id: number;
    space: number;
    paymentAppRefundUpdate: PaymentAppRefundUpdate;
    expand?: Set<string>;
}
export interface PatchPaymentWebAppsVoidsIdRequest {
    id: number;
    space: number;
    paymentAppVoidUpdate: PaymentAppVoidUpdate;
    expand?: Set<string>;
}
export interface PostPaymentWebAppsProcessorsRequest {
    space: number;
    paymentAppProcessorDetailsCreate: PaymentAppProcessorDetailsCreate;
    expand?: Set<string>;
}
export interface PostPaymentWebAppsProcessorsExternalIdActivateForProductionRequest {
    externalId: string;
    space: number;
    expand?: Set<string>;
}
export interface PostPaymentWebAppsProcessorsExternalIdConnectorsRequest {
    externalId: string;
    space: number;
    paymentAppConnectorDetailsCreate: PaymentAppConnectorDetailsCreate;
    expand?: Set<string>;
}
/**
 *
 */
export declare class PaymentWebAppsService extends runtime.BaseAPI {
    constructor(configuration: runtime.Configuration);
    /**
     * Permanently deletes a connector. It cannot be undone.
     * Delete a connector
     
     */
    deletePaymentWebAppsConnectorsConnectorExternalIdRaw(requestParameters: DeletePaymentWebAppsConnectorsConnectorExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * Permanently deletes a connector. It cannot be undone.
     * Delete a connector
     
     */
    deletePaymentWebAppsConnectorsConnectorExternalId(requestParameters: DeletePaymentWebAppsConnectorsConnectorExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Permanently deletes a processor. It cannot be undone.
     * Delete a processor
     
     */
    deletePaymentWebAppsProcessorsExternalIdRaw(requestParameters: DeletePaymentWebAppsProcessorsExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
    /**
     * Permanently deletes a processor. It cannot be undone.
     * Delete a processor
     
     */
    deletePaymentWebAppsProcessorsExternalId(requestParameters: DeletePaymentWebAppsProcessorsExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
    /**
     * Updates the state of a charge attempt for transactions created with a processor linked to the invoking web app, returning the specified charge attempt.
     * Update a charge attempt
     
     */
    patchPaymentWebAppsChargeAttemptsIdRaw(requestParameters: PatchPaymentWebAppsChargeAttemptsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChargeAttempt>>;
    /**
     * Updates the state of a charge attempt for transactions created with a processor linked to the invoking web app, returning the specified charge attempt.
     * Update a charge attempt
     
     */
    patchPaymentWebAppsChargeAttemptsId(requestParameters: PatchPaymentWebAppsChargeAttemptsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChargeAttempt>;
    /**
     * Updates the state of a completion for transactions created with a processor linked to the invoking web app, returning the specified completion.
     * Update a completion
     
     */
    patchPaymentWebAppsCompletionsIdRaw(requestParameters: PatchPaymentWebAppsCompletionsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionCompletion>>;
    /**
     * Updates the state of a completion for transactions created with a processor linked to the invoking web app, returning the specified completion.
     * Update a completion
     
     */
    patchPaymentWebAppsCompletionsId(requestParameters: PatchPaymentWebAppsCompletionsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionCompletion>;
    /**
     * Update a connector
     
     */
    patchPaymentWebAppsConnectorsConnectorExternalIdRaw(requestParameters: PatchPaymentWebAppsConnectorsConnectorExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentAppConnector>>;
    /**
     * Update a connector
     
     */
    patchPaymentWebAppsConnectorsConnectorExternalId(requestParameters: PatchPaymentWebAppsConnectorsConnectorExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAppConnector>;
    /**
     * Update a processor
     
     */
    patchPaymentWebAppsProcessorsExternalIdRaw(requestParameters: PatchPaymentWebAppsProcessorsExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentAppProcessor>>;
    /**
     * Update a processor
     
     */
    patchPaymentWebAppsProcessorsExternalId(requestParameters: PatchPaymentWebAppsProcessorsExternalIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAppProcessor>;
    /**
     * Updates the state of a refund for transactions created with a processor linked to the invoking web app, returning the specified refund.
     * Update a refund
     
     */
    patchPaymentWebAppsRefundsIdRaw(requestParameters: PatchPaymentWebAppsRefundsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Refund>>;
    /**
     * Updates the state of a refund for transactions created with a processor linked to the invoking web app, returning the specified refund.
     * Update a refund
     
     */
    patchPaymentWebAppsRefundsId(requestParameters: PatchPaymentWebAppsRefundsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Refund>;
    /**
     * Updates the state of a void for transactions created with a processor linked to the invoking web app, returning the specified void.
     * Update a void
     
     */
    patchPaymentWebAppsVoidsIdRaw(requestParameters: PatchPaymentWebAppsVoidsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TransactionVoid>>;
    /**
     * Updates the state of a void for transactions created with a processor linked to the invoking web app, returning the specified void.
     * Update a void
     
     */
    patchPaymentWebAppsVoidsId(requestParameters: PatchPaymentWebAppsVoidsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TransactionVoid>;
    /**
     * Create a processor
     
     */
    postPaymentWebAppsProcessorsRaw(requestParameters: PostPaymentWebAppsProcessorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentAppProcessor>>;
    /**
     * Create a processor
     
     */
    postPaymentWebAppsProcessors(requestParameters: PostPaymentWebAppsProcessorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAppProcessor>;
    /**
     * Activate a processor for production
     
     */
    postPaymentWebAppsProcessorsExternalIdActivateForProductionRaw(requestParameters: PostPaymentWebAppsProcessorsExternalIdActivateForProductionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentAppProcessor>>;
    /**
     * Activate a processor for production
     
     */
    postPaymentWebAppsProcessorsExternalIdActivateForProduction(requestParameters: PostPaymentWebAppsProcessorsExternalIdActivateForProductionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAppProcessor>;
    /**
     * Create a connector
     
     */
    postPaymentWebAppsProcessorsExternalIdConnectorsRaw(requestParameters: PostPaymentWebAppsProcessorsExternalIdConnectorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaymentAppConnector>>;
    /**
     * Create a connector
     
     */
    postPaymentWebAppsProcessorsExternalIdConnectors(requestParameters: PostPaymentWebAppsProcessorsExternalIdConnectorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaymentAppConnector>;
}
