import BaseResource from '../../BaseResource.js'; import type * as ApiTypes from '../ApiTypes.js'; import type * as RawApiTypes from '../RawApiTypes.js'; export default class TfaDeactivateRequest extends BaseResource { static readonly TYPE: "tfa_deactivate_request"; /** * Request the belonging organization to deactivate two-factor authentication * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ create(body: ApiTypes.TfaDeactivateRequestCreateSchema): Promise; /** * Request the belonging organization to deactivate two-factor authentication * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ rawCreate(body: RawApiTypes.TfaDeactivateRequestCreateSchema): Promise; /** * List all two-factor authentication deactivate requests * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ list(): Promise; /** * List all two-factor authentication deactivate requests * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ rawList(): Promise; /** * Approve a two-factor authentication deactivate request * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ approve(tfaDeactivateRequestId: string | ApiTypes.TfaDeactivateRequestData): Promise; /** * Approve a two-factor authentication deactivate request * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ rawApprove(tfaDeactivateRequestId: string): Promise; /** * Reject a two-factor authentication deactivate request * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ reject(tfaDeactivateRequestId: string | ApiTypes.TfaDeactivateRequestData): Promise; /** * Reject a two-factor authentication deactivate request * * @throws {ApiError} * @throws {TimeoutError} * * @deprecated This API call is to be considered private and might change without notice */ rawReject(tfaDeactivateRequestId: string): Promise; }