wallee
Version:
TypeScript/JavaScript client for wallee
76 lines (69 loc) • 3.23 kB
TypeScript
/**
* 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 { WebAppConfirmationResponse } from '../models/index';
export interface GetWebAppsInstalledRequest {
space: number;
}
export interface PostWebAppsConfirmCodeRequest {
code: string;
expand?: Set<string>;
}
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<runtime.ApiResponse<boolean>>;
/**
* 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<boolean>;
/**
* 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<runtime.ApiResponse<WebAppConfirmationResponse>>;
/**
* 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<WebAppConfirmationResponse>;
/**
* Uninstall the web app from the provided space.
* Uninstall a web app
*/
postWebAppsUninstallRaw(requestParameters: PostWebAppsUninstallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
* Uninstall the web app from the provided space.
* Uninstall a web app
*/
postWebAppsUninstall(requestParameters: PostWebAppsUninstallRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
}