UNPKG

wallee

Version:
162 lines (145 loc) 6.55 kB
/** * 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 { CustomerComment, CustomerCommentActive, CustomerCommentCreate, CustomerCommentListResponse, CustomerCommentSearchResponse, SortingOrder } from '../models/index'; export interface DeleteCustomersCustomerIdCommentsIdRequest { customerId: number; id: number; space: number; } export interface GetCustomersCustomerIdCommentsRequest { customerId: number; space: number; after?: number; before?: number; expand?: Set<string>; limit?: number; order?: SortingOrder; } export interface GetCustomersCustomerIdCommentsIdRequest { customerId: number; id: number; space: number; expand?: Set<string>; } export interface GetCustomersCustomerIdCommentsSearchRequest { customerId: number; space: number; expand?: Set<string>; limit?: number; offset?: number; order?: string; query?: string; } export interface PatchCustomersCustomerIdCommentsIdRequest { customerId: number; id: number; space: number; customerCommentActive: CustomerCommentActive; expand?: Set<string>; } export interface PostCustomersCustomerIdCommentsRequest { customerId: number; space: number; customerCommentCreate: CustomerCommentCreate; expand?: Set<string>; } export interface PostCustomersCustomerIdCommentsIdPinRequest { customerId: number; id: number; space: number; } export interface PostCustomersCustomerIdCommentsIdUnpinRequest { customerId: number; id: number; space: number; } /** * */ export declare class CustomerCommentsService extends runtime.BaseAPI { constructor(configuration: runtime.Configuration); /** * Delete a customer comment */ deleteCustomersCustomerIdCommentsIdRaw(requestParameters: DeleteCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>; /** * Delete a customer comment */ deleteCustomersCustomerIdCommentsId(requestParameters: DeleteCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; /** * List all customer comments */ getCustomersCustomerIdCommentsRaw(requestParameters: GetCustomersCustomerIdCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomerCommentListResponse>>; /** * List all customer comments */ getCustomersCustomerIdComments(requestParameters: GetCustomersCustomerIdCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomerCommentListResponse>; /** * Retrieve a customer comment */ getCustomersCustomerIdCommentsIdRaw(requestParameters: GetCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomerComment>>; /** * Retrieve a customer comment */ getCustomersCustomerIdCommentsId(requestParameters: GetCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomerComment>; /** * Search customer comments */ getCustomersCustomerIdCommentsSearchRaw(requestParameters: GetCustomersCustomerIdCommentsSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomerCommentSearchResponse>>; /** * Search customer comments */ getCustomersCustomerIdCommentsSearch(requestParameters: GetCustomersCustomerIdCommentsSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomerCommentSearchResponse>; /** * Update a customer comment */ patchCustomersCustomerIdCommentsIdRaw(requestParameters: PatchCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomerComment>>; /** * Update a customer comment */ patchCustomersCustomerIdCommentsId(requestParameters: PatchCustomersCustomerIdCommentsIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomerComment>; /** * Create a customer comment */ postCustomersCustomerIdCommentsRaw(requestParameters: PostCustomersCustomerIdCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CustomerComment>>; /** * Create a customer comment */ postCustomersCustomerIdComments(requestParameters: PostCustomersCustomerIdCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CustomerComment>; /** * Pin a comment to the top */ postCustomersCustomerIdCommentsIdPinRaw(requestParameters: PostCustomersCustomerIdCommentsIdPinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>; /** * Pin a comment to the top */ postCustomersCustomerIdCommentsIdPin(requestParameters: PostCustomersCustomerIdCommentsIdPinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; /** * Remove a pinned comment from the top */ postCustomersCustomerIdCommentsIdUnpinRaw(requestParameters: PostCustomersCustomerIdCommentsIdUnpinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>; /** * Remove a pinned comment from the top */ postCustomersCustomerIdCommentsIdUnpin(requestParameters: PostCustomersCustomerIdCommentsIdUnpinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>; }