import { Method } from 'axios'; import { Executable } from './executable'; /** * The Update Wallet Input used by the constructor of Update Wallet Message. Either personId or email are required to identify the wallet. */ export interface UpdateWalletMessageInput { /** * Bambu person identifier */ personId?: string; /** * email on the person. */ email?: string; /** * message to write to the wallet card */ message?: string; } /** * The UpdateWalletMessage response expected from the execution of the object within BambuClient execute. */ export interface UpdateWalletMessageResponse { /** * the message response from the request */ message: string; /** * any error messages that were returned by the request. */ error?: any; /** * If the person already exists, the personId is returned. */ successful: boolean; } /** * The Update Wallet message takes a personId or email address and a message and uses that information to identify an existing wallet card within the tenant. Then the message field on the card is udpated. */ export declare class UpdateWalletMessage 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 UpdateWalletMessageResponse * @returns UpdateWalletMessageResponse */ getResponse(apiResponse: any): UpdateWalletMessageResponse; /** * 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?; private _message?; constructor(input?: UpdateWalletMessageInput); /** * Sets the personId on the person. * @param value person id * @returns */ setPersonId(value: string): UpdateWalletMessage; /** * Sets the email address on the person. * @param value email * @returns */ setEmail(value: string): UpdateWalletMessage; /** * Sets the message on the wallet card * @param value message to be updated. * @returns */ setMessage(value: string): UpdateWalletMessage; /** * 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; }