wallee
Version:
TypeScript/JavaScript client for wallee
168 lines (149 loc) • 6.39 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 { RestApiBulkOperationResult, SortingOrder, WebhookURLListResponse, WebhookURLSearchResponse, WebhookUrl, WebhookUrlCreate, WebhookUrlUpdate } from '../models/index';
export interface DeleteWebhooksUrlsBulkRequest {
space: number;
requestBody: Array<number>;
}
export interface DeleteWebhooksUrlsIdRequest {
id: number;
space: number;
}
export interface GetWebhooksUrlsRequest {
space: number;
after?: number;
before?: number;
expand?: Set<string>;
limit?: number;
order?: SortingOrder;
}
export interface GetWebhooksUrlsIdRequest {
id: number;
space: number;
expand?: Set<string>;
}
export interface GetWebhooksUrlsSearchRequest {
space: number;
expand?: Set<string>;
limit?: number;
offset?: number;
order?: string;
query?: string;
}
export interface PatchWebhooksUrlsBulkRequest {
space: number;
webhookUrlUpdate: Array<WebhookUrlUpdate>;
}
export interface PatchWebhooksUrlsIdRequest {
id: number;
space: number;
webhookUrlUpdate: WebhookUrlUpdate;
expand?: Set<string>;
}
export interface PostWebhooksUrlsRequest {
space: number;
webhookUrlCreate: WebhookUrlCreate;
expand?: Set<string>;
}
export interface PostWebhooksUrlsBulkRequest {
space: number;
webhookUrlCreate: Array<WebhookUrlCreate>;
}
/**
*
*/
export declare class WebhookURLsService extends runtime.BaseAPI {
constructor(configuration: runtime.Configuration);
/**
* Delete multiple webhook URLs
*/
deleteWebhooksUrlsBulkRaw(requestParameters: DeleteWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RestApiBulkOperationResult>>>;
/**
* Delete multiple webhook URLs
*/
deleteWebhooksUrlsBulk(requestParameters: DeleteWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RestApiBulkOperationResult>>;
/**
* Delete a webhook URL
*/
deleteWebhooksUrlsIdRaw(requestParameters: DeleteWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
/**
* Delete a webhook URL
*/
deleteWebhooksUrlsId(requestParameters: DeleteWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
/**
* List all webhook URLs
*/
getWebhooksUrlsRaw(requestParameters: GetWebhooksUrlsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookURLListResponse>>;
/**
* List all webhook URLs
*/
getWebhooksUrls(requestParameters: GetWebhooksUrlsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookURLListResponse>;
/**
* Retrieve a webhook URL
*/
getWebhooksUrlsIdRaw(requestParameters: GetWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookUrl>>;
/**
* Retrieve a webhook URL
*/
getWebhooksUrlsId(requestParameters: GetWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookUrl>;
/**
* Search webhook URLs
*/
getWebhooksUrlsSearchRaw(requestParameters: GetWebhooksUrlsSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookURLSearchResponse>>;
/**
* Search webhook URLs
*/
getWebhooksUrlsSearch(requestParameters: GetWebhooksUrlsSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookURLSearchResponse>;
/**
* Update multiple webhook URLs
*/
patchWebhooksUrlsBulkRaw(requestParameters: PatchWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RestApiBulkOperationResult>>>;
/**
* Update multiple webhook URLs
*/
patchWebhooksUrlsBulk(requestParameters: PatchWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RestApiBulkOperationResult>>;
/**
* Update a webhook URL
*/
patchWebhooksUrlsIdRaw(requestParameters: PatchWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookUrl>>;
/**
* Update a webhook URL
*/
patchWebhooksUrlsId(requestParameters: PatchWebhooksUrlsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookUrl>;
/**
* Create a webhook URL
*/
postWebhooksUrlsRaw(requestParameters: PostWebhooksUrlsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookUrl>>;
/**
* Create a webhook URL
*/
postWebhooksUrls(requestParameters: PostWebhooksUrlsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookUrl>;
/**
* Create multiple webhook URLs
*/
postWebhooksUrlsBulkRaw(requestParameters: PostWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RestApiBulkOperationResult>>>;
/**
* Create multiple webhook URLs
*/
postWebhooksUrlsBulk(requestParameters: PostWebhooksUrlsBulkRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RestApiBulkOperationResult>>;
}