import { GQLVariable } from "../../lib/variables.js";
import { useSingleTenantMutation } from "../../lib/useSingleTenantMutation.js";
const CONFIRM_OTP_MUTATION = `
confirmOtp(otpToken: $token) {
	ok
	error {
		code
		developerMessage
	}
}
`;
const confirmOtpVariables = {
  token: GQLVariable.Required(GQLVariable.String)
};
const useConfirmOtp = () => {
  return useSingleTenantMutation(
    CONFIRM_OTP_MUTATION,
    confirmOtpVariables
  );
};
export {
  useConfirmOtp
};
//# sourceMappingURL=confirmOtp.js.map
