import { ApiResponse } from "~/apiResponse"; import { Guid } from "~/defaults"; import { GenericFreeField, GenericFreeFieldGroup } from "~/repositories"; import { RelationsCustomer, RelationsCustomerArticle } from "~/repositories/RelationsCustomer"; import { BlobImage } from "~/types"; export interface IRelationsCustomerApiService { GetFreeFieldDefinitionsAsync(): Promise>; GetGroupedFreeFieldDefinitionsAsync(): Promise>; GetCustomerAsync(publicId: string): Promise>; CheckForFreeFieldValuesAsync(name: string): Promise>; CreateCustomerAsync(customer: RelationsCustomer): Promise>; CreateCustomerPictureAsync(blobImage: BlobImage): Promise>; CreateFreeFieldsAsync(freeFields: GenericFreeField[]): Promise>; MultiEditAsync(publicIds: string[], header: string, value: string): Promise>; UpdateCustomerAsync(customer: RelationsCustomer): Promise>; UpdateFavoriteAsync(customerId: string, articleId: string): Promise>; UpdateFreeFieldAsync(freeField: GenericFreeField, oldName: string): Promise>; UpdateFreeFieldGroupNameAsync(oldName: string, newName: string): Promise>; DeleteCustomerPictureAsync(urlString: string): Promise>; DeleteFreeFieldAsync(name: string): Promise>; /** * Get articles that are available for a customer to add. * @param customerId customer id * @param search search query */ GetAvailableArticlesAsync(customerId: Guid, search: string): Promise>; } //# sourceMappingURL=iCustomerApiService.d.ts.map