export interface UpdateUserRequestHeaders { "x-user-key": string; } export interface UpdateUserRequestQuery { } export interface UpdateUserRequestParams { } export interface UpdateUserRequestBody { /** * Name of the [User](#schema_user) (not a unique identifier) */ name?: string; /** * Picture url of the [User](#schema_user) */ pictureUrl?: string; /** * User data. An object or a signed JWT token */ userData?: ({ [k: string]: any; } | string) | null; /** * Custom attributes for the user as key-value pairs. Can be an object or a signed JWT token. Set a key to null to delete it. */ attributes?: { [k: string]: string | null; } | string; } export type UpdateUserInput = UpdateUserRequestBody & UpdateUserRequestHeaders & UpdateUserRequestQuery & UpdateUserRequestParams; export type UpdateUserRequest = { headers: UpdateUserRequestHeaders; query: UpdateUserRequestQuery; params: UpdateUserRequestParams; body: UpdateUserRequestBody; }; export declare const parseReq: (input: UpdateUserInput) => UpdateUserRequest & { path: string; }; export interface UpdateUserResponse { /** * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users. */ user: { /** * Name of the [User](#schema_user) */ name?: string; /** * Picture url of the [User](#schema_user) */ pictureUrl?: string; /** * User data */ data?: { [k: string]: any; }; /** * Custom attributes of the user */ attributes?: { [k: string]: string; }; /** * Id of the [User](#schema_user) */ id: string; /** * Creation date of the [User](#schema_user) in ISO 8601 format */ createdAt: string; /** * Updating date of the [User](#schema_user) in ISO 8601 format */ updatedAt: string; }; }