import { Method } from 'axios'; import { Executable } from './executable'; /** * The RemovePersonInput used by the constructor of RemovePerson */ export interface RemovePersonInput { /** * Bambu person identifier, if not provided email is required. */ personId?: string; /** * email of the person, if not provided personId is required. */ email?: string; } /** * The RemovePerson response expected from the execution of the object within BambuClient execute. */ export interface RemovePersonResponse { /** * the message response from the request */ message: string; /** * any error messages that were returned by the request. */ error?: any; } /** * The create person api is an asyncronous request to BambuMeta to issue the provided user an person. This request * will not guarentee an person is created. But checks if there is already an existing person. If so, the person id is returned. If no person already exists, * the request will be added to the processor for consumption and a success message should be returned. */ export declare class RemovePerson extends Executable { /** * getMethod is used by the BambuClient to properly construct the request call. * @returns request method */ getMethod(): Method; /** * getResponse is used by the BambuClient to propery return the response object type. * @param apiResponse the api response object returned by the BambuMeta client before being converted to the RemovePersonResponse * @returns RemovePersonResponse */ getResponse(apiResponse: any): RemovePersonResponse; /** * getURLPath is used by the BambuClient to properly construct the request call. * @param tenantId the tenant id defined in the BambuClient * @returns request url */ getURLPath(tenantId?: string): string; private _personId?; private _email?; constructor(input?: RemovePersonInput); /** * Sets the bambu person identifier. * @param value person id * @returns */ setPersonId(value: string): RemovePerson; /** * Sets the email address on the person. * @param value email * @returns */ setEmail(value: string): RemovePerson; /** * getBody is used by the BambuClient to properly construct the request object body. * @returns Returns the expected body of the request utilizing the defined request attributes. */ getBody(): any; /** * getRootPath is used by the BambuClient to properly construct the request call. * @returns The root path of the request */ getRootPath(): string | undefined; }