/** * PostFinance TypeScript SDK * * This library allows to interact with the PostFinance payment service. * * Copyright owner: Wallee AG * Website: https://www.postfinance.ch/en/private.html * 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 { WebAppConfirmationResponse } from '../models/index'; export interface GetWebAppsInstalledRequest { space: number; } export interface PostWebAppsConfirmCodeRequest { code: string; expand?: Set; } export interface PostWebAppsUninstallRequest { space: number; } /** * */ export declare class WebAppsService extends runtime.BaseAPI { constructor(configuration: runtime.Configuration); /** * Return true if the web app is installed in the provided space. * Check whether the web app is installed */ getWebAppsInstalledRaw(requestParameters: GetWebAppsInstalledRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Return true if the web app is installed in the provided space. * Check whether the web app is installed */ getWebAppsInstalled(requestParameters: GetWebAppsInstalledRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Confirm the installation of a web app. This has to be done when the user returns to the web app after granting permissions, using the activation code provided in the request. * Confirm a web app installation */ postWebAppsConfirmCodeRaw(requestParameters: PostWebAppsConfirmCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Confirm the installation of a web app. This has to be done when the user returns to the web app after granting permissions, using the activation code provided in the request. * Confirm a web app installation */ postWebAppsConfirmCode(requestParameters: PostWebAppsConfirmCodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Uninstall the web app from the provided space. * Uninstall a web app */ postWebAppsUninstallRaw(requestParameters: PostWebAppsUninstallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Uninstall the web app from the provided space. * Uninstall a web app */ postWebAppsUninstall(requestParameters: PostWebAppsUninstallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }