import type { CreateGroupContact } from '../models/CreateGroupContact'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseGroupContact } from '../models/ResponseGroupContact'; import type { UpdateGroupContact } from '../models/UpdateGroupContact'; export declare class GroupContactService { /** * Get all * Lists all contacts.
This includes the contact's associated groups. * @returns ResponseGroupContact * @throws ApiError */ static groupContactControllerGetAll(): Promise>; /** * Post * Create a new contact. * @param requestBody CreateGroupContact * @returns ResponseGroupContact * @throws ApiError */ static groupContactControllerPost(requestBody?: CreateGroupContact): Promise; /** * Get one * Lists all information about the contact whose id got provided.
This includes the contact's associated groups. * @param id * @returns ResponseGroupContact * @throws ApiError */ static groupContactControllerGetOne(id: number): Promise; /** * Put * Update the contact whose id you provided.
Please remember that ids can't be changed. * @param id * @param requestBody UpdateGroupContact * @returns ResponseGroupContact * @throws ApiError */ static groupContactControllerPut(id: number, requestBody?: UpdateGroupContact): Promise; /** * Remove * Delete the contact whose id you provided.
If no contact with this id exists it will just return 204(no content).
This won't delete any groups associated with the contact. * @param id * @param force * @returns ResponseGroupContact * @returns ResponseEmpty * @throws ApiError */ static groupContactControllerRemove(id: number, force?: boolean): Promise; }